[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.18 [ 0s] Using BUILD_ARCH=armv7l:armv7el:armv6l:armv5tejl:armv5tel:armv5l:armv4tl:armv4l:armv3l:noarch [ 0s] [ 0s] [ 0s] ip-192-168-56-98 started "build pkgmgr-server.spec" at Mon Dec 16 08:03:50 UTC 2024. [ 0s] [ 0s] [ 0s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_standard_gcov/pkgmgr-server-1.0.15-1/pkgmgr-server.spec ... [ 0s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache --define jobs 8 --define _smp_mflags -j8 --define _costomized_smp_mflags -j20 --repository /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_standard_gcov/armv7l/RPMS --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241215.110758/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241215.110758/repos/standard/debug/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241216.010411/repos/standard_gcov/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241216.010411/repos/standard_gcov/debug/ --clean /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_standard_gcov/pkgmgr-server-1.0.15-1/pkgmgr-server.spec build ... [ 0s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.18/.srcfiles.cache ... [ 0s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.18/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_standard_gcov/armv7l/RPMS [ 0s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241215.110758/repos/standard/packages/ [ 1s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241215.110758/repos/standard/debug/ [ 2s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241216.010411/repos/standard_gcov/packages/ [ 3s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241216.010411/repos/standard_gcov/debug/ [ 3s] expanding package dependencies... [ 4s] copying qemu [ 4s] /usr/bin/qemu-arm-binfmt /usr/bin/qemu-arm-static /usr/bin/qemu-arm64-binfmt /usr/bin/qemu-arm64-static /usr/sbin/qemu-binfmt-conf.sh [ 4s] [ 4s] registering binfmt handlers for cross build [ 4s] calculating packages to download... [ 10s] [1/5] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241216.010411/repos/standard_gcov/packages/armv7l/gumd-1.0.8-0.armv7l.rpm ... [ 11s] [2/5] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241216.010411/repos/standard_gcov/packages/armv7l/libgum-1.0.8-0.armv7l.rpm ... [ 11s] [3/5] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241216.010411/repos/standard_gcov/packages/armv7l/libgum-devel-1.0.8-0.armv7l.rpm ... [ 11s] [4/5] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241216.010411/repos/standard_gcov/packages/armv7l/rust-glib-sys-0.17.10-1.armv7l.rpm ... [ 11s] [5/5] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241216.010411/repos/standard_gcov/packages/armv7l/rust-minizip-sys-0.1.2-1.armv7l.rpm ... [ 11s] [ 11s] cycle: nss -> libsoftokn3 [ 11s] breaking dependency nss -> libsoftokn3 [ 11s] [1/42] preinstalling libmagic-data... [ 11s] [2/42] preinstalling libncurses... [ 11s] [3/42] preinstalling setup... [ 11s] [4/42] preinstalling filesystem... [ 12s] [5/42] preinstalling glibc... [ 12s] [6/42] preinstalling libgcc... [ 12s] [7/42] preinstalling bash... [ 12s] [8/42] preinstalling diffutils... [ 12s] [9/42] preinstalling grep... [ 12s] [10/42] preinstalling libattr... [ 12s] [11/42] preinstalling libblkid... [ 12s] [12/42] preinstalling libbz2... [ 12s] [13/42] preinstalling libcap... [ 12s] [14/42] preinstalling libfreebl3... [ 12s] [15/42] preinstalling liblua... [ 12s] [16/42] preinstalling liblzma... [ 12s] [17/42] preinstalling libpopt... [ 12s] [18/42] preinstalling libreadline... [ 12s] [19/42] preinstalling libsmack... [ 12s] [20/42] preinstalling libsqlite... [ 12s] [21/42] preinstalling libuuid... [ 12s] [22/42] preinstalling libxcrypt... [ 12s] [23/42] preinstalling libzstd1... [ 12s] [24/42] preinstalling nspr... [ 12s] [25/42] preinstalling sed... [ 12s] [26/42] preinstalling zlib... [ 12s] [27/42] preinstalling qemu-accel-x86_64-armv7l... [ 24s] [28/42] preinstalling qemu-linux-user-x86_64-cross... [ 27s] [29/42] preinstalling coreutils... [ 27s] [30/42] preinstalling libacl... [ 27s] [31/42] preinstalling libelf... [ 27s] [32/42] preinstalling libmount... [ 27s] [33/42] preinstalling smack... [ 27s] [34/42] preinstalling bzip2... [ 27s] [35/42] preinstalling libmagic... [ 27s] [36/42] preinstalling libxml2... [ 27s] [37/42] preinstalling tar... [ 27s] [38/42] preinstalling util-linux... [ 27s] [39/42] preinstalling util-linux-su... [ 27s] [40/42] preinstalling nss... [ 27s] [41/42] preinstalling libsoftokn3... [ 28s] [42/42] preinstalling rpm... [ 28s] [ 28s] running qemu-linux-user-x86_64-cross postinstall script [ 28s] running qemu-accel-x86_64-armv7l postinstall script [ 28s] mv: cannot stat `/usr/lib/gcc/armv7l-tizen-linux-gnueabi/14.2.0/liblto_plugin.so': No such file or directory [ 28s] running setup postinstall script [ 28s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 28s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 28s] initializing rpm db... [ 28s] reordering...cycle: gio-branding-upstream -> libgio [ 28s] breaking dependency libgio -> gio-branding-upstream [ 28s] cycle: pkgmgr-info -> pkgmgr-info-parser [ 28s] breaking dependency pkgmgr-info -> pkgmgr-info-parser [ 28s] cycle: libgum -> gumd [ 28s] breaking dependency libgum -> gumd [ 28s] cycle: glibc-devel -> libxcrypt-devel [ 28s] breaking dependency libxcrypt-devel -> glibc-devel [ 28s] cycle: rust -> rust-devel [ 28s] breaking dependency rust-devel -> rust [ 28s] cycle: libsoftokn3 -> nss [ 28s] breaking dependency nss -> libsoftokn3 [ 28s] reordering done [ 28s] [1/241] cumulate default-ac-domains-0.1-1.1 [ 28s] [2/241] cumulate dlog-config-persistent-logs-9.0.1-1 [ 28s] [3/241] cumulate libmagic-data-5.45-1.4 [ 28s] [4/241] cumulate pcre2-syntax-10.40-1 [ 28s] [5/241] cumulate python3-pyparsing-3.1.1-1.1 [ 28s] [6/241] cumulate python3-six-1.16.0-1.1 [ 29s] [7/241] cumulate rust-std-static-1.74.0-1 [ 29s] [8/241] cumulate setup-0.9-1.1 [ 29s] [9/241] cumulate filesystem-3.1-1.1 [ 29s] [10/241] cumulate python3-packaging-23.2-1.1 [ 29s] [11/241] cumulate glibc-2.39-1.6 [ 29s] [12/241] cumulate libatomic-14.2.0-1.6 [ 29s] [13/241] cumulate libgcc-14.2.0-1.6 [ 29s] [14/241] cumulate bash-3.2.57-1.1 [ 29s] [15/241] cumulate capi-base-common-0.4.82-1 [ 29s] [16/241] cumulate cpio-2.8-1.1 [ 29s] [17/241] cumulate diffutils-3.10-1.1 [ 29s] [18/241] cumulate fdupes-2.2.1-1.4 [ 29s] [19/241] cumulate findutils-4.3.8-1.4 [ 29s] [20/241] cumulate gdbm-1.8.3-1.6 [ 29s] [21/241] cumulate hostname-3.23-1.1 [ 29s] [22/241] cumulate iniparser-4.1-1.1 [ 29s] [23/241] cumulate libattr-2.5.1-1.4 [ 29s] [24/241] cumulate libblkid-2.39.3-1.4 [ 29s] [25/241] cumulate libbz2-1.0.8-1.4 [ 29s] [26/241] cumulate libcap-2.69-1.4 [ 29s] [27/241] cumulate libexpat-2.6.2-1.5 [ 29s] [28/241] cumulate libffi-3.4.2-1.5 [ 29s] [29/241] cumulate libfreebl3-3.98-1.6 [ 29s] [30/241] cumulate libgfortran-14.2.0-1.6 [ 29s] [31/241] cumulate libgomp-14.2.0-1.6 [ 29s] [32/241] cumulate libitm-14.2.0-1.6 [ 29s] [33/241] cumulate libjson-0.17-0 [ 29s] [34/241] cumulate libltdl-2.4.7-1.6 [ 29s] [35/241] cumulate liblua-5.1.5-1.4 [ 29s] [36/241] cumulate liblzma-5.4.5-1.6 [ 29s] [37/241] cumulate libopenssl11-1.1.1w-1.5 [ 29s] [38/241] cumulate libopenssl3-3.0.13-1.6 [ 29s] [39/241] cumulate libpcre-8.45-1.4 [ 29s] [40/241] cumulate libpopt-1.16-1.3 [ 29s] [41/241] cumulate libpython3_121_0-3.12.0-1.5 [ 29s] [42/241] cumulate libsmack-1.3.1-1.3 [ 29s] [43/241] cumulate libsmartcols-2.39.3-1.4 [ 29s] [44/241] cumulate libsqlite-3.44.0-1.4 [ 29s] [45/241] cumulate libstdc++-14.2.0-1.6 [ 29s] [46/241] cumulate libuuid-2.39.3-1.4 [ 29s] [47/241] cumulate libxcrypt-4.4.36-1.6 [ 29s] [48/241] cumulate libzstd1-1.5.5-1.5 [ 29s] [49/241] cumulate m4-1.4.19-1.1 [ 29s] [50/241] cumulate net-tools-2.0_20121208git-1.3 [ 29s] [51/241] cumulate nspr-4.35-1.4 [ 29s] [52/241] cumulate patch-2.7.6-1.3 [ 29s] [53/241] cumulate pkg-config-0.29.2-1.4 [ 29s] [54/241] cumulate rust-std-shared-1.74.0-1 [ 29s] [55/241] cumulate sed-4.1c-1.4 [ 29s] [56/241] cumulate update-alternatives-1.22.2-1.1 [ 29s] [57/241] cumulate which-2.17-1.1 [ 29s] [58/241] cumulate xdgmime-0.0.17-1.1 [ 29s] [59/241] cumulate zlib-1.3-1.5 [ 29s] [60/241] cumulate pcre2-10.40-1 [ 29s] [61/241] cumulate pcre2-utf16-10.40-1 [ 29s] [62/241] cumulate pcre2-utf32-10.40-1 [ 29s] [63/241] cumulate build-compare-2023.06.18-1.1 [ 29s] [64/241] cumulate hal-rootstrap-checker-0.1.0-1.1 [ 29s] [65/241] cumulate libstdc++-devel-14.2.0-1.6 [ 29s] [66/241] cumulate qemu-linux-user-x86_64-cross-5.2.0.2-21.1 [ 29s] [67/241] cumulate vconf-internal-keys-devel-0.0.191-0 [ 29s] [68/241] cumulate capi-base-common-devel-0.4.82-1 [ 29s] [69/241] cumulate cpp-14.2.0-1.6 [ 29s] [70/241] cumulate gcc-c++-14.2.0-1.6 [ 29s] [71/241] cumulate libblkid-devel-2.39.3-1.4 [ 29s] [72/241] cumulate libffi-devel-3.4.2-1.5 [ 29s] [73/241] cumulate tidl-2.3.0-1 [ 29s] [74/241] cumulate unzip-610c25-1.1 [ 29s] [75/241] cumulate xdgmime-devel-0.0.17-1.1 [ 29s] [76/241] cumulate xz-devel-5.4.5-1.6 [ 29s] [77/241] cumulate binutils-libs-2.43-1.6 [ 29s] [78/241] cumulate coreutils-6.9-14.1 [ 29s] [79/241] cumulate gawk-3.1.5-1.1 [ 29s] [80/241] cumulate grep-2.5.2-1.3 [ 29s] [81/241] cumulate libacl-2.3.2-1.4 [ 29s] [82/241] cumulate libcap-tools-2.69-1.4 [ 29s] [83/241] cumulate libcc1-14.2.0-1.6 [ 29s] [84/241] cumulate libelf-0.189-1.6 [ 29s] [85/241] cumulate libglib-2.80.5-0 [ 29s] [86/241] cumulate libmount-2.39.3-1.4 [ 29s] [87/241] cumulate libubsan-14.2.0-1.6 [ 29s] [88/241] cumulate make-4.4-1.4 [ 29s] [89/241] cumulate minizip-1.3-1.5 [ 29s] [90/241] cumulate nss-certs-3.98-1.6 [ 29s] [91/241] cumulate smack-1.3.1-1.3 [ 29s] [92/241] cumulate sqlite-3.44.0-1.4 [ 29s] [93/241] cumulate bzip2-1.0.8-1.4 [ 30s] [94/241] cumulate dlog-9.0.1-1 [ 30s] [95/241] cumulate gettext-runtime-0.21.1-2.5 [ 30s] [96/241] cumulate libfdisk-2.39.3-1.4 [ 30s] [97/241] cumulate libkmod-31-1.1 [ 30s] [98/241] cumulate libmagic-5.45-1.4 [ 30s] [99/241] cumulate libxml2-2.12.5-1.5 [ 30s] [100/241] cumulate shadow-utils-4.1.4.2-7.1 [ 30s] [101/241] cumulate xz-5.4.5-1.6 [ 30s] [102/241] cumulate pcre2-devel-10.40-1 [ 30s] [103/241] cumulate perl-5.38.0-1.4 [ 30s] [104/241] cumulate cynara-db-migration-0.19.4-1 [ 30s] [105/241] cumulate ttrace-1.1.0-1 [ 30s] [106/241] cumulate build-mkbaselibs-20120927-1.1 [ 30s] [107/241] cumulate linux-glibc-devel-6.6-1.6 [ 30s] [108/241] cumulate dlog-logger-9.0.1-1 [ 30s] [109/241] cumulate minizip-devel-1.3-1.5 [ 30s] [110/241] cumulate terminfo-base-full-6.4-1.6 [ 30s] [111/241] cumulate acl-2.3.2-1.4 [ 30s] [112/241] cumulate autoconf-2.71-1.7 [ 30s] [113/241] cumulate file-5.45-1.4 [ 30s] [114/241] cumulate glibc-locale-2.39-1.6 [ 30s] [115/241] cumulate libgmodule-2.80.5-0 [ 30s] [116/241] cumulate libgthread-2.80.5-0 [ 30s] [117/241] cumulate libmount-devel-2.39.3-1.4 [ 30s] [118/241] cumulate tar-1.17-1.1 [ 30s] [119/241] cumulate tizen-platform-config-5.0-1 [ 30s] [120/241] cumulate binutils-2.43-1.6 [ 30s] [121/241] cumulate gzip-1.3.12-1.4 [ 30s] [122/241] cumulate libgobject-2.80.5-0 [ 30s] [123/241] cumulate pam-1.1.6-1.3 [ 30s] [124/241] cumulate tzdata-2023c-1.1 [ 30s] [125/241] cumulate libdw-0.189-1.6 [ 30s] [126/241] cumulate security-config-1.0-1 [ 30s] [127/241] cumulate gettext-tools-0.21.1-2.5 [ 30s] [128/241] cumulate libarchive-3.7.2-1.5 [ 30s] [129/241] cumulate shared-mime-info-1.7-0 [ 30s] [130/241] cumulate gcc-14.2.0-1.6 [ 30s] [131/241] cumulate qemu-accel-x86_64-armv7l-0.4-1.1 [ 30s] [132/241] cumulate automake-1.16.5-1.6 [ 30s] [133/241] cumulate libtzplatform-config-5.0-1 [ 30s] [134/241] cumulate libasm-0.189-1.6 [ 30s] [135/241] cumulate libncurses5-6.4-1.6 [ 30s] [136/241] cumulate libncurses6-6.4-1.6 [ 30s] [137/241] cumulate build-20120927-1.1 [ 30s] [138/241] cumulate libsystemd-244-0 [ 30s] [139/241] cumulate libgirepository2-2.80.5-0 [ 30s] [140/241] cumulate libdlog-9.0.1-1 [ 30s] [141/241] cumulate libncurses-6.4-1.6 [ 30s] [142/241] cumulate libtzplatform-config-devel-5.0-1 [ 30s] [143/241] cumulate capi-system-resource-1.0.0-0 [ 30s] [144/241] cumulate dbus-libs-1.12.20-3 [ 30s] [145/241] cumulate less-643-1.1 [ 30s] [146/241] cumulate libdlog-devel-9.0.1-1 [ 30s] [147/241] cumulate libreadline-5.2-1.4 [ 30s] [148/241] cumulate libtool-2.4.7-1.6 [ 30s] [149/241] cumulate ncurses-devel-6.4-1.6 [ 30s] [150/241] cumulate parcel-0.17.3-0 [ 30s] [151/241] cumulate elfutils-0.189-1.6 [ 30s] [152/241] cumulate cmake-3.25.2-1.5 [ 30s] [153/241] cumulate libcynara-commons-0.19.4-1 [ 30s] [154/241] cumulate capi-system-info-0.5.2-1 [ 30s] [155/241] cumulate systemd-244-0 [ 30s] [156/241] cumulate readline-devel-5.2-1.4 [ 30s] [157/241] cumulate capi-system-resource-devel-1.0.0-0 [ 30s] [158/241] cumulate libcynara-session-0.19.4-1 [ 30s] [159/241] cumulate parcel-devel-0.17.3-0 [ 30s] [160/241] cumulate pkgmgr-0.20.21-0 [ 30s] [161/241] cumulate systemd-devel-244-0 [ 30s] [162/241] cumulate libcynara-creds-commons-0.19.4-1 [ 30s] [163/241] cumulate libxml2-tools-2.12.5-1.5 [ 30s] [164/241] cumulate libcynara-client-0.19.4-1 [ 30s] [165/241] cumulate python3-base-3.12.0-1.5 [ 30s] [166/241] cumulate util-linux-2.39.3-1.4 [ 30s] [167/241] cumulate python3-3.12.0-1.1 [ 30s] [168/241] cumulate pkgmgr-types-devel-0.20.21-0 [ 30s] [169/241] cumulate libcynara-creds-socket-0.19.4-1 [ 30s] [170/241] cumulate util-linux-su-2.39.3-1.4 [ 30s] [171/241] cumulate dbus-1.12.20-3 [ 30s] [172/241] cumulate python3-setuptools-69.0.2-1.1 [ 30s] [173/241] cumulate libxcrypt-devel-4.4.36-1.6 [ 30s] [174/241] cumulate rust-devel-1.74.0-1 [ 30s] [175/241] cumulate nss-3.98-1.6 [ 30s] [176/241] cumulate libgio-2.80.5-0 [ 30s] [177/241] cumulate gio-branding-upstream-2.80.5-0 [ 30s] [178/241] cumulate glibc-devel-2.39-1.6 [ 30s] [179/241] cumulate libjson-glib-1.8.0-0 [ 31s] [180/241] cumulate libsoftokn3-3.98-1.6 [ 31s] [181/241] cumulate rust-1.74.0-1 [ 31s] [182/241] cumulate glib2-tools-2.80.5-0 [ 31s] [183/241] cumulate libgum-1.0.8-0 [ 31s] [184/241] cumulate libsyscommon-5.0.0-0 [ 31s] [185/241] cumulate buxton2-1.8.10-0 [ 31s] [186/241] cumulate rpm-4.14.1.1-1.6 [ 31s] [187/241] cumulate rust-cfg-if-1.0.0-1 [ 31s] [188/241] cumulate rust-either-1.8.1-1 [ 31s] [189/241] cumulate rust-normalize-line-endings-0.3.0-1 [ 31s] [190/241] cumulate zlib-devel-1.3-1.5 [ 31s] [191/241] cumulate rust-anstyle-0.3.5-1 [ 31s] [192/241] cumulate rust-difflib-0.4.0-1 [ 31s] [193/241] cumulate rust-downcast-0.11.0-1 [ 31s] [194/241] cumulate rust-fragile-2.0.0-1 [ 31s] [195/241] cumulate rust-libc-0.2.139-1 [ 31s] [196/241] cumulate rust-libm-0.2.6-1 [ 31s] [197/241] cumulate rust-minizip-sys-0.1.2-1 [ 31s] [198/241] cumulate rust-predicates-core-1.0.6-1 [ 31s] [199/241] cumulate rust-regex-syntax-0.6.28-1 [ 31s] [200/241] cumulate rust-scopeguard-1.1.0-1 [ 31s] [201/241] cumulate rust-termtree-0.4.1-1 [ 31s] [202/241] cumulate rust-unicode-ident-1.0.6-1 [ 31s] [203/241] cumulate sqlite-devel-3.44.0-1.4 [ 31s] [204/241] cumulate vconf-compat-1.8.10-0 [ 31s] [205/241] cumulate bundle-0.17.3-0 [ 31s] [206/241] cumulate gumd-1.0.8-0 [ 31s] [207/241] cumulate rpm-build-4.14.1.1-1.6 [ 31s] [208/241] cumulate bundle-devel-0.17.3-0 [ 31s] [209/241] cumulate rust-glib-sys-0.17.10-1 [ 31s] [210/241] cumulate rust-itertools-0.10.5-1 [ 31s] [211/241] cumulate rust-lock_api-0.4.9-1 [ 31s] [212/241] cumulate rust-num-traits-0.2.15-1 [ 31s] [213/241] cumulate rust-proc-macro2-1.0.51-1 [ 31s] [214/241] cumulate rust-regex-1.7.1-1 [ 31s] [215/241] cumulate rust-predicates-tree-1.0.9-1 [ 31s] [216/241] cumulate libxml2-devel-2.12.5-1.5 [ 31s] [217/241] cumulate libstorage-1.0.0-0 [ 31s] [218/241] cumulate pkgmgr-info-0.28.5-1 [ 31s] [219/241] cumulate glib2-devel-2.80.5-0 [ 31s] [220/241] cumulate libgum-devel-1.0.8-0 [ 31s] [221/241] cumulate pkgmgr-info-devel-0.28.5-1 [ 31s] [222/241] cumulate vconf-compat-devel-1.8.10-0 [ 31s] [223/241] cumulate rust-float-cmp-0.9.0-1 [ 31s] [224/241] cumulate rust-quote-1.0.23-1 [ 31s] [225/241] cumulate rust-spin-0.9.5-1 [ 31s] [226/241] cumulate pkgmgr-info-parser-0.28.5-1 [ 31s] [227/241] cumulate aul-0.66.0-1 [ 31s] [228/241] cumulate rust-lazy_static-1.4.0-1 [ 31s] [229/241] cumulate pkgmgr-info-parser-devel-0.28.5-1 [ 31s] [230/241] cumulate rust-syn-1.0.107-1 [ 31s] [231/241] cumulate aul-devel-0.66.0-1 [ 31s] [232/241] cumulate rust-predicates-3.0.4-1 [ 31s] [233/241] cumulate rpc-port-1.19.1-0 [ 31s] [234/241] cumulate rpc-port-devel-1.19.1-0 [ 31s] [235/241] cumulate rust-mockall_derive-0.11.4-1 [ 31s] [236/241] cumulate rust-mockall_double-0.3.0-1 [ 31s] [237/241] cumulate pkgmgr-client-0.20.21-0 [ 31s] [238/241] cumulate pkgmgr-installer-0.20.21-0 [ 31s] [239/241] cumulate pkgmgr-installer-devel-0.20.21-0 [ 31s] [240/241] cumulate pkgmgr-client-devel-0.20.21-0 [ 31s] [241/241] cumulate rust-mockall-0.11.4-1 [ 31s] now installing cumulated packages [ 32s] Preparing... ######################################## [ 32s] Updating / installing... [ 32s] pcre2-syntax-10.40-1 ######################################## [ 32s] setup-0.9-1.1 ##############warning: /etc/profile created as /etc/profile.rpmnew [ 32s] ########################## [ 32s] filesystem-3.1-1.1 ######################################## [ 35s] rust-std-static-1.74.0-1 ######################################## [ 35s] python3-six-1.16.0-1.1 ######################################## [ 35s] python3-pyparsing-3.1.1-1.1 ######################################## [ 35s] python3-packaging-23.2-1.1 ######################################## [ 35s] libmagic-data-5.45-1.4 ######################################## [ 35s] dlog-config-persistent-logs-9.0.1-1 ######################################## [ 35s] default-ac-domains-0.1-1.1 ######################################## [ 35s] glibc-2.39-1.6 ######################################## [ 35s] libgcc-14.2.0-1.6 ######################################## [ 36s] bash-3.2.57-1.1 ######################################## [ 36s] rust-std-shared-1.74.0-1 ######################################## [ 36s] pkg-config-0.29.2-1.4 ######################################## [ 36s] libstdc++-14.2.0-1.6 ######################################## [ 36s] zlib-1.3-1.5 ######################################## [ 37s] coreutils-6.9-14.1 ######################################## [ 37s] liblzma-5.4.5-1.6 ######################################## [ 37s] libxml2-2.12.5-1.5 ######################################## [ 37s] capi-base-common-0.4.82-1 ######################################## [ 37s] libxcrypt-4.4.36-1.6 ######################################## [ 37s] libbz2-1.0.8-1.4 ######################################## [ 38s] libsqlite-3.44.0-1.4 ######################################## [ 38s] shadow-utils-4.1.4.2-7.1 ######################################## [ 38s] libelf-0.189-1.6 ######################################## [ 38s] libblkid-2.39.3-1.4 ######################################## [ 38s] libmount-2.39.3-1.4 ######################################## [ 38s] libcap-2.69-1.4 ######################################## [ 39s] libffi-3.4.2-1.5 ######################################## [ 39s] libuuid-2.39.3-1.4 ######################################## [ 39s] capi-base-common-devel-0.4.82-1 ######################################## [ 39s] libdw-0.189-1.6 ######################################## [ 39s] pam-1.1.6-1.3 ######################################## [ 40s] libsystemd-244-0 ######################################## [ 40s] libmagic-5.45-1.4 ######################################## [ 40s] minizip-1.3-1.5 ######################################## [ 40s] rust-cfg-if-1.0.0-1 ######################################## [ 40s] libexpat-2.6.2-1.5 ######################################## [ 41s] libsmack-1.3.1-1.3 ######################################## [ 41s] smack-1.3.1-1.3 ######################################## [ 41s] tizen-platform-config-5.0-1 ######################################## [ 42s] libtzplatform-config-5.0-1 ######################################## [ 43s] nspr-4.35-1.4 ######################################## [ 43s] pcre2-10.40-1 ######################################## [ 43s] libglib-2.80.5-0 ######################################## [ 43s] libgobject-2.80.5-0 ######################################## [ 43s] libgmodule-2.80.5-0 ######################################## [ 44s] libatomic-14.2.0-1.6 ######################################## [ 44s] terminfo-base-full-6.4-1.6 ######################################## [ 45s] libncurses6-6.4-1.6 ######################################## [ 45s] libreadline-5.2-1.4 ######################################## [ 45s] libgirepository2-2.80.5-0 ######################################## [ 45s] dlog-9.0.1-1 ######################################## [ 45s] rust-predicates-core-1.0.6-1 ######################################## [ 46s] rust-unicode-ident-1.0.6-1 ######################################## [ 46s] rust-proc-macro2-1.0.51-1 ######################################## [ 46s] rust-quote-1.0.23-1 ######################################## [ 48s] rust-syn-1.0.107-1 ######################################## [ 48s] findutils-4.3.8-1.4 ######################################## [ 48s] gdbm-1.8.3-1.6 ######################################## [ 55s] perl-5.38.0-1.4 ######################################## [ 55s] libfreebl3-3.98-1.6 ######################################## [ 55s] liblua-5.1.5-1.4 ######################################## [ 56s] libopenssl3-3.0.13-1.6 ######################################## [ 56s] libpopt-1.16-1.3 ######################################## [ 56s] libzstd1-1.5.5-1.5 ######################################## [ 56s] xdgmime-0.0.17-1.1 ######################################## [ 56s] xdgmime-devel-0.0.17-1.1 ######################################## [ 56s] build-mkbaselibs-20120927-1.1 ######################################## [ 56s] libtzplatform-config-devel-5.0-1 ######################################## [ 56s] libffi-devel-3.4.2-1.5 ######################################## [ 56s] libblkid-devel-2.39.3-1.4 ######################################## [ 56s] libmount-devel-2.39.3-1.4 ######################################## [ 57s] xz-devel-5.4.5-1.6 ######################################## [ 57s] linux-glibc-devel-6.6-1.6 ######################################## [ 57s] vconf-internal-keys-devel-0.0.191-0 ######################################## [ 57s] cynara-db-migration-0.19.4-1 ######################################## [ 57s] rust-mockall_derive-0.11.4-1 ######################################## [ 57s] dlog-logger-9.0.1-1 ######################################## [ 57s] libdlog-9.0.1-1 ######################################## [ 58s] libcynara-commons-0.19.4-1 ######################################## [ 58s] parcel-0.17.3-0 ######################################## [ 58s] parcel-devel-0.17.3-0 ######################################## [ 58s] libdlog-devel-9.0.1-1 ######################################## [ 58s] capi-system-resource-1.0.0-0 ######################################## [ 58s] libcynara-client-0.19.4-1 ######################################## [ 59s] libcynara-session-0.19.4-1 ######################################## [ 59s] capi-system-resource-devel-1.0.0-0 ######################################## [ 59s] libcynara-creds-commons-0.19.4-1 ######################################## [ 59s] libcynara-creds-socket-0.19.4-1 ######################################## [ 59s] libxml2-tools-2.12.5-1.5 ######################################## [ 59s] libncurses5-6.4-1.6 ######################################## [ 59s] ncurses-devel-6.4-1.6 ######################################## [ 59s] readline-devel-5.2-1.4 ######################################## [ 72s] rust-devel-1.74.0-1 ######################################## [ 72s] libgthread-2.80.5-0 ######################################## [ 72s] nss-certs-3.98-1.6 ######################################## [ 72s] libsoftokn3-3.98-1.6 ######################################## [ 73s] nss-3.98-1.6 ######################################## [ 73s] dbus-libs-1.12.20-3 ######################################## [ 73s] libasm-0.189-1.6 ######################################## [ 73s] libfdisk-2.39.3-1.4 ######################################## [ 73s] libcap-tools-2.69-1.4 ######################################## [ 73s] security-config-1.0-1 ######################################## [ 73s] groupadd: group 'dbus' already exists [ 76s] groupadd: group 'priv_appdebugging' already exists [ 81s] rm: cannot remove `/opt/share/security-config/test': No such file or directory [ 81s] cat: /etc/tizen-build.conf: No such file or directory [ 82s] dbus-1.12.20-3 ######################################## [ 82s] sqlite-3.44.0-1.4 ######################################## [ 82s] bzip2-1.0.8-1.4 ######################################## [ 82s] ttrace-1.1.0-1 ######################################## [ 82s] libkmod-31-1.1 ######################################## [ 82s] xz-5.4.5-1.6 ######################################## [ 82s] gzip-1.3.12-1.4 ######################################## [ 82s] binutils-libs-2.43-1.6 ######################################## [ 83s] binutils-2.43-1.6 ######################################## [ 83s] libcc1-14.2.0-1.6 ######################################## [ 83s] libubsan-14.2.0-1.6 ######################################## [ 83s] gettext-runtime-0.21.1-2.5 ######################################## [ 84s] rust-either-1.8.1-1 ######################################## [ 84s] rust-itertools-0.10.5-1 ######################################## [ 84s] rust-normalize-line-endings-0.3.0-1 ######################################## [ 84s] rust-anstyle-0.3.5-1 ######################################## [ 84s] rust-difflib-0.4.0-1 ######################################## [ 84s] rust-downcast-0.11.0-1 ######################################## [ 85s] rust-fragile-2.0.0-1 ######################################## [ 85s] rust-libc-0.2.139-1 ######################################## [ 85s] rust-libm-0.2.6-1 ######################################## [ 85s] rust-num-traits-0.2.15-1 ######################################## [ 86s] rust-float-cmp-0.9.0-1 ######################################## [ 86s] rust-regex-syntax-0.6.28-1 ######################################## [ 86s] rust-regex-1.7.1-1 ######################################## [ 87s] rust-predicates-3.0.4-1 ######################################## [ 87s] rust-scopeguard-1.1.0-1 ######################################## [ 87s] rust-lock_api-0.4.9-1 ######################################## [ 88s] rust-spin-0.9.5-1 ######################################## [ 88s] rust-lazy_static-1.4.0-1 ######################################## [ 88s] rust-termtree-0.4.1-1 ######################################## [ 89s] rust-predicates-tree-1.0.9-1 ######################################## [ 89s] make-4.4-1.4 ######################################## [ 89s] iniparser-4.1-1.1 ######################################## [ 90s] capi-system-info-0.5.2-1 ######################################## [ 90s] pkgmgr-0.20.21-0 ######################################## [ 91s] pkgmgr-types-devel-0.20.21-0 ######################################## [ 91s] libattr-2.5.1-1.4 ######################################## [ 91s] libacl-2.3.2-1.4 ######################################## [ 91s] tar-1.17-1.1 ######################################## [ 91s] libarchive-3.7.2-1.5 ######################################## [ 92s] rpm-4.14.1.1-1.6 ######################################## [ 93s] acl-2.3.2-1.4 ######################################## [ 93s] libgfortran-14.2.0-1.6 ######################################## [ 93s] libgomp-14.2.0-1.6 ######################################## [ 93s] libitm-14.2.0-1.6 ######################################## [ 97s] gcc-14.2.0-1.6 ######################################## [ 97s] libxcrypt-devel-4.4.36-1.6 ######################################## [ 97s] glibc-devel-2.39-1.6 ######################################## [ 97s] zlib-devel-1.3-1.5 ######################################## [ 97s] libxml2-devel-2.12.5-1.5 ######################################## [ 97s] libjson-0.17-0 ######################################## [ 98s] libltdl-2.4.7-1.6 ######################################## [ 98s] libopenssl11-1.1.1w-1.5 ######################################## [ 98s] libpcre-8.45-1.4 ######################################## [ 99s] grep-2.5.2-1.3 ######################################## [ 99s] shared-mime-info-1.7-0 ######################################## [ 107s] gio-branding-upstream-2.80.5-0 ######################################## [ 107s] libgio-2.80.5-0 ######################################## [ 107s] libgum-1.0.8-0 ######################################## [ 107s] gumd-1.0.8-0 ######################################## [ 108s] libjson-glib-1.8.0-0 ######################################## [ 109s] bundle-0.17.3-0 ######################################## [ 109s] bundle-devel-0.17.3-0 ######################################## [ 109s] glib2-tools-2.80.5-0 ######################################## [ 109s] libsyscommon-5.0.0-0 ######################################## [ 109s] buxton2-1.8.10-0 ######################################## [ 110s] libpython3_121_0-3.12.0-1.5 ######################################## [ 112s] python3-base-3.12.0-1.5 ######################################## [ 112s] python3-3.12.0-1.1 ######################################## [ 112s] python3-setuptools-69.0.2-1.1 ######################################## [ 112s] libsmartcols-2.39.3-1.4 ######################################## [ 112s] m4-1.4.19-1.1 ######################################## [ 112s] autoconf-2.71-1.7 ######################################## [ 113s] automake-1.16.5-1.6 ######################################## [ 113s] patch-2.7.6-1.3 ######################################## [ 113s] sed-4.1c-1.4 ######################################## [ 113s] util-linux-2.39.3-1.4 ######################################## [ 113s] vconf-compat-1.8.10-0 ######################################## [ 113s] pkgmgr-info-parser-0.28.5-1 ######################################## [ 113s] pkgmgr-info-0.28.5-1 ######################################## [ 113s] libstorage-1.0.0-0 ######################################## [ 114s] update-alternatives-1.22.2-1.1 ######################################## [ 115s] systemd-244-0 ######################################## [ 117s] update-alternatives: using /usr/lib/systemd/systemd-shutdown-original to provide /usr/lib/systemd/systemd-shutdown (systemd-shutdown) in auto mode [ 117s] update-alternatives: using /usr/sbin/reboot-original to provide /usr/sbin/reboot (reboot) in auto mode [ 117s] update-alternatives: using /usr/sbin/halt-original to provide /usr/sbin/halt (halt) in auto mode [ 117s] update-alternatives: using /usr/sbin/poweroff-original to provide /usr/sbin/poweroff (poweroff) in auto mode [ 117s] update-alternatives: using /usr/sbin/shutdown-original to provide /usr/sbin/shutdown (shutdown) in auto mode [ 117s] aul-0.66.0-1 ######################################## [ 118s] rpc-port-1.19.1-0 ######################################## [ 118s] pkgmgr-client-0.20.21-0 ######################################## [ 118s] pkgmgr-installer-0.20.21-0 ######################################## [ 118s] pcre2-utf16-10.40-1 ######################################## [ 118s] pcre2-utf32-10.40-1 ######################################## [ 118s] pcre2-devel-10.40-1 ######################################## [ 118s] pkgmgr-installer-devel-0.20.21-0 ######################################## [ 118s] pkgmgr-client-devel-0.20.21-0 ######################################## [ 118s] rpc-port-devel-1.19.1-0 ######################################## [ 118s] systemd-devel-244-0 ######################################## [ 119s] libtool-2.4.7-1.6 ######################################## [ 119s] sqlite-devel-3.44.0-1.4 ######################################## [ 128s] qemu-accel-x86_64-armv7l-0.4-1.1 ######################################## [ 128s] build-20120927-1.1 ######################################## [ 128s] libncurses-6.4-1.6 ######################################## [ 128s] minizip-devel-1.3-1.5 ######################################## [ 128s] libstdc++-devel-14.2.0-1.6 ######################################## [ 128s] build-compare-2023.06.18-1.1 ######################################## [ 128s] hal-rootstrap-checker-0.1.0-1.1 ######################################## [ 131s] qemu-linux-user-x86_64-cross-5.2.0.2-2######################################## [ 131s] glib2-devel-2.80.5-0 ######################################## [ 131s] pkgmgr-info-devel-0.28.5-1 ######################################## [ 131s] vconf-compat-devel-1.8.10-0 ######################################## [ 131s] aul-devel-0.66.0-1 ######################################## [ 131s] pkgmgr-info-parser-devel-0.28.5-1 ######################################## [ 131s] libgum-devel-1.0.8-0 ######################################## [ 131s] util-linux-su-2.39.3-1.4 ######################################## [ 131s] rpm-build-4.14.1.1-1.6 ######################################## [ 132s] cmake-3.25.2-1.5 ######################################## [ 132s] rust-mockall-0.11.4-1 ######################################## [ 132s] rust-glib-sys-0.17.10-1 ######################################## [ 133s] gettext-tools-0.21.1-2.5 ######################################## [ 133s] elfutils-0.189-1.6 ######################################## [ 138s] rust-1.74.0-1 ######################################## [ 139s] rust-mockall_double-0.3.0-1 ######################################## [ 139s] less-643-1.1 ######################################## [ 139s] file-5.45-1.4 ######################################## [ 139s] glibc-locale-2.39-1.6 ######################################## [ 139s] tzdata-2023c-1.1 ######################################## [ 141s] cpp-14.2.0-1.6 ######################################## [ 142s] gcc-c++-14.2.0-1.6 ######################################## [ 142s] rust-minizip-sys-0.1.2-1 ######################################## [ 142s] tidl-2.3.0-1 ######################################## [ 142s] unzip-610c25-1.1 ######################################## [ 142s] gawk-3.1.5-1.1 ######################################## [ 142s] cpio-2.8-1.1 ######################################## [ 142s] diffutils-3.10-1.1 ######################################## [ 142s] fdupes-2.2.1-1.4 ######################################## [ 142s] hostname-3.23-1.1 ######################################## [ 142s] net-tools-2.0_20121208git-1.3 ######################################## [ 142s] which-2.17-1.1 ######################################## [ 142s] Running capi-system-info %posttrans script [ 143s] I/O warning : failed to load external entity "/etc/config/model-config.xml" [ 143s] iniparser: cannot open /etc/info.ini [ 143s] Running pkgmgr %posttrans script [ 143s] /var/tmp/rpm-tmp.ojb5Wy: line 5: pkg_initdb: command not found [ 143s] /var/tmp/rpm-tmp.ojb5Wy: line 6: install_preload_pkg: command not found [ 143s] /var/tmp/rpm-tmp.ojb5Wy: line 13: pkgcmd: command not found [ 143s] /var/tmp/rpm-tmp.ojb5Wy: line 15: /etc/package-manager/pkgmgr-label-initial-image.sh: No such file or directory [ 143s] Running buxton2 %posttrans script [ 143s] chmod: cannot access `/etc/buxton2/*': No such file or directory [ 143s] /etc/buxton2/*: No such file or directory [ 143s] chmod: cannot access `/var/lib/buxton2/*': No such file or directory [ 143s] /var/lib/buxton2/*: No such file or directory [ 146s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.18/etc/nsswitch.conf... [ 146s] now finalizing build dir... [ 148s] ----------------------------------------------------------------- [ 148s] ----- building pkgmgr-server.spec (user abuild) [ 148s] ----------------------------------------------------------------- [ 148s] ----------------------------------------------------------------- [ 148s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_costomized_smp_mflags -j20' --define '_srcdefattr (-,root,root)' --nosignature --target=armv7l-tizen-linux --define '_build_create_debug 1' -ba /home/abuild/rpmbuild/SOURCES/pkgmgr-server.spec [ 148s] Building target platforms: armv7l-tizen-linux [ 148s] Building for target armv7l-tizen-linux [ 148s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VfrA1Y [ 148s] + umask 022 [ 148s] + cd /home/abuild/rpmbuild/BUILD [ 148s] + cd /home/abuild/rpmbuild/BUILD [ 148s] + rm -rf pkgmgr-server-1.0.15 [ 148s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/pkgmgr-server-1.0.15.tar.gz [ 148s] + /bin/tar -xof - [ 148s] + STATUS=0 [ 148s] + '[' 0 -ne 0 ']' [ 148s] + cd pkgmgr-server-1.0.15 [ 148s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 148s] + cp /home/abuild/rpmbuild/SOURCES/pkgmgr-server.manifest . [ 148s] + tidlc -s -l C -e -i ./tidl_pkgmgr_server/PkgMgr.tidl -o tidl_pkgmgr_server [ 148s] + mv tidl_pkgmgr_server.c tidl_pkgmgr_server.h ./tidl_pkgmgr_server/ [ 148s] + exit 0 [ 148s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eq2oR6 [ 148s] + umask 022 [ 148s] + cd /home/abuild/rpmbuild/BUILD [ 148s] + cd pkgmgr-server-1.0.15 [ 148s] + ref=/usr/lib/rpm [ 148s] + mints=0 [ 148s] + case $(uname -m) in [ 148s] ++ uname -m [ 148s] + for s in guess sub [ 148s] ++ find -maxdepth 8 -name config.guess [ 148s] + for s in guess sub [ 148s] ++ find -maxdepth 8 -name config.sub [ 148s] + LANG=C [ 148s] + export LANG [ 148s] + unset DISPLAY [ 148s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g' [ 148s] + export CFLAGS [ 148s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g' [ 148s] + export CXXFLAGS [ 148s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -I%_fmoddir' [ 148s] + export FFLAGS [ 148s] + LDFLAGS= [ 148s] + export LDFLAGS [ 148s] + export 'CFLAGS=-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 148s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 148s] + export 'CXXFLAGS=-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 148s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 148s] + export 'FFLAGS=-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 148s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 148s] ++ echo 1.0.15 [ 148s] ++ awk 'BEGIN {FS="."}{print $1}' [ 148s] + MAJORVER=1 [ 148s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 148s] + export CFLAGS [ 148s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 148s] + export CXXFLAGS [ 148s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 148s] + export FFLAGS [ 148s] + /usr/bin/cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_SKIP_RPATH:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -DFULLVER=1.0.15 -DMAJORVER=1 -DUNITDIR=/usr/lib/systemd/system . [ 148s] -- The C compiler identification is GNU 14.2.0 [ 149s] -- The CXX compiler identification is GNU 14.2.0 [ 149s] -- Detecting C compiler ABI info [ 149s] -- Detecting C compiler ABI info - done [ 149s] -- Check for working C compiler: /bin/cc - skipped [ 149s] -- Detecting C compile features [ 149s] -- Detecting C compile features - done [ 149s] -- Detecting CXX compiler ABI info [ 149s] -- Detecting CXX compiler ABI info - done [ 149s] -- Check for working CXX compiler: /bin/c++ - skipped [ 149s] -- Detecting CXX compile features [ 149s] -- Detecting CXX compile features - done [ 149s] -- Found PkgConfig: /bin/pkg-config (found version "0.29.2") [ 149s] -- Checking for module 'rpc-port' [ 149s] -- Found rpc-port, version [ 150s] -- Checking for module 'dlog' [ 150s] -- Found dlog, version 1.0 [ 151s] -- Checking for module 'gio-2.0' [ 151s] -- Found gio-2.0, version 2.80.5 [ 152s] -- Checking for module 'glib-2.0' [ 152s] -- Found glib-2.0, version 2.80.5 [ 153s] -- Checking for module 'capi-base-common' [ 153s] -- Found capi-base-common, version 0.4.82 [ 153s] -- Checking for module 'pkgmgr' [ 154s] -- Found pkgmgr, version 0.20.21 [ 154s] -- Checking for module 'libtzplatform-config' [ 155s] -- Found libtzplatform-config, version 2.0 [ 155s] -- Configuring done [ 155s] -- Generating done [ 155s] CMake Warning: [ 155s] Manually-specified variables were not used by the project: [ 155s] [ 155s] FULLVER [ 155s] INCLUDE_INSTALL_DIR [ 155s] MAJORVER [ 155s] SHARE_INSTALL_PREFIX [ 155s] SYSCONF_INSTALL_DIR [ 155s] [ 155s] [ 155s] -- Build files have been written to: /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 155s] + make -j8 [ 155s] /usr/bin/cmake -S/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 -B/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 --check-build-system CMakeFiles/Makefile.cmake 0 [ 155s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/CMakeFiles /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15//CMakeFiles/progress.marks [ 155s] make -f CMakeFiles/Makefile2 all [ 155s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 155s] make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/depend [ 155s] make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/depend [ 155s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 155s] cd /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/DependInfo.cmake --color= [ 155s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 155s] cd /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/DependInfo.cmake --color= [ 155s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 155s] make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build [ 155s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 155s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 155s] make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build [ 155s] [ 25%] Building C object util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o [ 155s] cd /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server && /bin/cc -DLIBDIR=\"/usr/lib\" -Dutil_pkgmgr_server_EXPORTS -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server/SYSTEM -I/usr/include/rpc-port -I/usr/include/dlog -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -fPIC -I/usr/include/rpc-port -I/usr/include/dlog -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/ -MD -MT util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o -MF CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o.d -o CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o -c /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server/util_pkgmgr_server.c [ 155s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 155s] [ 50%] Building C object tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o [ 155s] cd /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server && /bin/cc -DLIBDIR=\"/usr/lib\" -Dtidl_pkgmgr_server_EXPORTS -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server/SYSTEM -I/usr/include/rpc-port -I/usr/include/dlog -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -fPIC -I/usr/include/rpc-port -I/usr/include/dlog -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MD -MT tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o -MF CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o.d -o CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o -c /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server/tidl_pkgmgr_server.c [ 156s] [ 75%] Linking C shared library libutil_pkgmgr_server.so [ 156s] cd /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server && /usr/bin/cmake -E cmake_link_script CMakeFiles/util_pkgmgr_server.dir/link.txt --verbose=1 [ 156s] /bin/cc -fPIC -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -shared -Wl,-soname,libutil_pkgmgr_server.so -o libutil_pkgmgr_server.so CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o -lrpc-port -ldlog -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lglib-2.0 -lcapi-base-common -lpkgmgr-client -ltzplatform-config-2.0 -ldl [ 156s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 156s] [ 75%] Built target util_pkgmgr_server [ 158s] [100%] Linking C shared library libtidl_pkgmgr_server.so [ 158s] cd /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server && /usr/bin/cmake -E cmake_link_script CMakeFiles/tidl_pkgmgr_server.dir/link.txt --verbose=1 [ 158s] /bin/cc -fPIC -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -shared -Wl,-soname,libtidl_pkgmgr_server.so -o libtidl_pkgmgr_server.so CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o -lrpc-port -ldlog -lglib-2.0 -lcapi-base-common -ldl [ 158s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 158s] [100%] Built target tidl_pkgmgr_server [ 158s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 158s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/CMakeFiles 0 [ 158s] + export LD_LIBRARY_PATH=:/usr/lib/rustlib:/usr/lib/rustlib/dylib [ 158s] + LD_LIBRARY_PATH=:/usr/lib/rustlib:/usr/lib/rustlib/dylib [ 158s] ++ find /usr/lib -maxdepth 1 -name 'libstd-*.so' [ 158s] + __rust_std=/usr/lib/libstd-161dbff30b3b0c00.so [ 158s] + /usr/bin/rustc -C prefer-dynamic --extern std=/usr/lib/libstd-161dbff30b3b0c00.so -C codegen-units=1 -C debuginfo=2 -C opt-level=3 -C relocation-model=pic -C overflow-checks=on -C symbol-mangling-version=v0 -L/usr/lib/rustlib -L/usr/lib/rustlib/dylib --crate-type=bin --crate-name=rust_pkgmgr_server -L native=./tidl_pkgmgr_server -L native=./util_pkgmgr_server -l minizip --edition=2021 --extern libc=/usr/lib/rustlib/dylib/liblibc.so ./src/main.rs [ 160s] warning: unused import: `boxed` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:4:11 [ 160s] | [ 160s] 4 | use std::{boxed, str}; [ 160s] | ^^^^^ [ 160s] | [ 160s] = note: `#[warn(unused_imports)]` on by default [ 160s] [ 160s] warning: unused import: `std::mem` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:6:5 [ 160s] | [ 160s] 6 | use std::mem; [ 160s] | ^^^^^^^^ [ 160s] [ 160s] warning: unused import: `std::ptr` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:7:5 [ 160s] | [ 160s] 7 | use std::ptr; [ 160s] | ^^^^^^^^ [ 160s] [ 160s] warning: unused import: `malloc` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:8:18 [ 160s] | [ 160s] 8 | use libc::{free, malloc, strlen}; [ 160s] | ^^^^^^ [ 160s] [ 160s] warning: unused import: `super::Server` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:10:5 [ 160s] | [ 160s] 10 | use super::Server; [ 160s] | ^^^^^^^^^^^^^ [ 160s] [ 160s] warning: type `rpc_port_stub_array_string_h` should have an upper camel case name [ 160s] --> ./src/pkgmgr/server/admin_service.rs:23:6 [ 160s] | [ 160s] 23 | type rpc_port_stub_array_string_h = *mut c_void; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RpcPortStubArrayStringH` [ 160s] | [ 160s] = note: `#[warn(non_camel_case_types)]` on by default [ 160s] [ 160s] warning: unused imports: `pid_t`, `uid_t` [ 160s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 160s] | [ 160s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 160s] | ^^^^^ ^^^^^ [ 160s] [ 160s] warning: unused imports: `c_int`, `c_void` [ 160s] --> ./src/pkgmgr/server/backend_context.rs:4:16 [ 160s] | [ 160s] 4 | use std::ffi::{c_int, c_void}; [ 160s] | ^^^^^ ^^^^^^ [ 160s] [ 160s] warning: unused import: `std::path::Path` [ 160s] --> ./src/pkgmgr/server/backend_queue.rs:10:5 [ 160s] | [ 160s] 10 | use std::path::Path; [ 160s] | ^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: denote infinite loops with `loop { ... }` [ 160s] --> ./src/pkgmgr/server/backend_queue.rs:50:9 [ 160s] | [ 160s] 50 | while true { [ 160s] | ^^^^^^^^^^ help: use `loop` [ 160s] | [ 160s] = note: `#[warn(while_true)]` on by default [ 160s] [ 160s] warning: unnecessary parentheses around `if` condition [ 160s] --> ./src/pkgmgr/server/backend_queue.rs:73:8 [ 160s] | [ 160s] 73 | if (mut_queue.is_queue_empty()) { [ 160s] | ^ ^ [ 160s] | [ 160s] = note: `#[warn(unused_parens)]` on by default [ 160s] help: remove these parentheses [ 160s] | [ 160s] 73 - if (mut_queue.is_queue_empty()) { [ 160s] 73 + if mut_queue.is_queue_empty() { [ 160s] | [ 160s] [ 160s] warning: unnecessary trailing semicolon [ 160s] --> ./src/pkgmgr/server/backend_queue.rs:297:17 [ 160s] | [ 160s] 297 | ; [ 160s] | ^ help: remove this semicolon [ 160s] | [ 160s] = note: `#[warn(redundant_semicolons)]` on by default [ 160s] [ 160s] warning: unused import: `super::Server` [ 160s] --> ./src/pkgmgr/server/cache_service.rs:1:5 [ 160s] | [ 160s] 1 | use super::Server; [ 160s] | ^^^^^^^^^^^^^ [ 160s] [ 160s] warning: unused import: `super::Server` [ 160s] --> ./src/pkgmgr/server/delayed_service.rs:1:5 [ 160s] | [ 160s] 1 | use super::Server; [ 160s] | ^^^^^^^^^^^^^ [ 160s] [ 160s] warning: unused import: `super::backend_context::*` [ 160s] --> ./src/pkgmgr/server/delayed_service.rs:4:5 [ 160s] | [ 160s] 4 | use super::backend_context::*; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: unused import: `super::request_result::*` [ 160s] --> ./src/pkgmgr/server/delayed_service.rs:5:5 [ 160s] | [ 160s] 5 | use super::request_result::*; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: unused import: `super::request_type::*` [ 160s] --> ./src/pkgmgr/server/delayed_service.rs:6:5 [ 160s] | [ 160s] 6 | use super::request_type::*; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: unused import: `super::util::*` [ 160s] --> ./src/pkgmgr/server/delayed_service.rs:7:5 [ 160s] | [ 160s] 7 | use super::util::*; [ 160s] | ^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: unused imports: `pid_t`, `uid_t` [ 160s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 160s] | [ 160s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 160s] | ^^^^^ ^^^^^ [ 160s] [ 160s] warning: unused import: `std::io::Error` [ 160s] --> ./src/pkgmgr/server/info_service.rs:3:5 [ 160s] | [ 160s] 3 | use std::io::Error; [ 160s] | ^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: unused import: `std::mem` [ 160s] --> ./src/pkgmgr/server/info_service.rs:6:5 [ 160s] | [ 160s] 6 | use std::mem; [ 160s] | ^^^^^^^^ [ 160s] [ 160s] warning: unused import: `std::ptr` [ 160s] --> ./src/pkgmgr/server/info_service.rs:7:5 [ 160s] | [ 160s] 7 | use std::ptr; [ 160s] | ^^^^^^^^ [ 160s] [ 160s] warning: unused imports: `free`, `malloc`, `strlen` [ 160s] --> ./src/pkgmgr/server/info_service.rs:8:12 [ 160s] | [ 160s] 8 | use libc::{free, malloc, strlen, mkfifo}; [ 160s] | ^^^^ ^^^^^^ ^^^^^^ [ 160s] [ 160s] warning: unused import: `super::Server` [ 160s] --> ./src/pkgmgr/server/info_service.rs:10:5 [ 160s] | [ 160s] 10 | use super::Server; [ 160s] | ^^^^^^^^^^^^^ [ 160s] [ 160s] warning: unused import: `super::service::Service` [ 160s] --> ./src/pkgmgr/server/info_service.rs:13:5 [ 160s] | [ 160s] 13 | use super::service::Service; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: unnecessary trailing semicolon [ 160s] --> ./src/pkgmgr/server/info_service.rs:49:5 [ 160s] | [ 160s] 49 | ; [ 160s] | ^ help: remove this semicolon [ 160s] [ 160s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 160s] --> ./src/pkgmgr/server/request_result.rs:7:5 [ 160s] | [ 160s] 7 | GETSIZE_SYNC(String, i32, i32), [ 160s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 160s] [ 160s] warning: variant `GET_GENERATE_LICENSE_RESULT` should have an upper camel case name [ 160s] --> ./src/pkgmgr/server/request_result.rs:8:5 [ 160s] | [ 160s] 8 | GET_GENERATE_LICENSE_RESULT(String, i32, CString, CString), [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetGenerateLicenseResult` [ 160s] [ 160s] warning: variant `MOUNT_INSTALL` should have an upper camel case name [ 160s] --> ./src/pkgmgr/server/request_type.rs:3:5 [ 160s] | [ 160s] 3 | MOUNT_INSTALL, [ 160s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MountInstall` [ 160s] [ 160s] warning: variant `ENABLE_PKG` should have an upper camel case name [ 160s] --> ./src/pkgmgr/server/request_type.rs:7:5 [ 160s] | [ 160s] 7 | ENABLE_PKG, [ 160s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnablePkg` [ 160s] [ 160s] warning: variant `DISABLE_PKG` should have an upper camel case name [ 160s] --> ./src/pkgmgr/server/request_type.rs:8:5 [ 160s] | [ 160s] 8 | DISABLE_PKG, [ 160s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisablePkg` [ 160s] [ 160s] warning: variant `REGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 160s] --> ./src/pkgmgr/server/request_type.rs:9:5 [ 160s] | [ 160s] 9 | REGISTER_PKG_UPDATE_INFO, [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterPkgUpdateInfo` [ 160s] [ 160s] warning: variant `UNREGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 160s] --> ./src/pkgmgr/server/request_type.rs:10:5 [ 160s] | [ 160s] 10 | UNREGISTER_PKG_UPDATE_INFO, [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterPkgUpdateInfo` [ 160s] [ 160s] warning: variant `UNREGISTER_ALL_PKG_UPDATE_INFO` should have an upper camel case name [ 160s] --> ./src/pkgmgr/server/request_type.rs:11:5 [ 160s] | [ 160s] 11 | UNREGISTER_ALL_PKG_UPDATE_INFO, [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterAllPkgUpdateInfo` [ 160s] [ 160s] warning: variant `ENABLE_APP` should have an upper camel case name [ 160s] --> ./src/pkgmgr/server/request_type.rs:12:5 [ 160s] | [ 160s] 12 | ENABLE_APP, [ 160s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableApp` [ 160s] [ 160s] warning: variant `DISABLE_APP` should have an upper camel case name [ 160s] --> ./src/pkgmgr/server/request_type.rs:13:5 [ 160s] | [ 160s] 13 | DISABLE_APP, [ 160s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableApp` [ 160s] [ 160s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 160s] --> ./src/pkgmgr/server/request_type.rs:15:5 [ 160s] | [ 160s] 15 | GETSIZE_SYNC, [ 160s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 160s] [ 160s] warning: variant `ENABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 160s] --> ./src/pkgmgr/server/request_type.rs:18:5 [ 160s] | [ 160s] 18 | ENABLE_GLOBAL_APP_FOR_UID, [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableGlobalAppForUid` [ 160s] [ 160s] warning: variant `DISABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 160s] --> ./src/pkgmgr/server/request_type.rs:19:5 [ 160s] | [ 160s] 19 | DISABLE_GLOBAL_APP_FOR_UID, [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableGlobalAppForUid` [ 160s] [ 160s] warning: variant `GENERATE_LICENSE_REQUEST` should have an upper camel case name [ 160s] --> ./src/pkgmgr/server/request_type.rs:22:5 [ 160s] | [ 160s] 22 | GENERATE_LICENSE_REQUEST, [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GenerateLicenseRequest` [ 160s] [ 160s] warning: variant `REGISTER_LICENSE` should have an upper camel case name [ 160s] --> ./src/pkgmgr/server/request_type.rs:23:5 [ 160s] | [ 160s] 23 | REGISTER_LICENSE, [ 160s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterLicense` [ 160s] [ 160s] warning: variant `DECRYPT_PACKAGE` should have an upper camel case name [ 160s] --> ./src/pkgmgr/server/request_type.rs:24:5 [ 160s] | [ 160s] 24 | DECRYPT_PACKAGE, [ 160s] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DecryptPackage` [ 160s] [ 160s] warning: variant `ENABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 160s] --> ./src/pkgmgr/server/request_type.rs:25:5 [ 160s] | [ 160s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableAppSplashScreen` [ 160s] [ 160s] warning: variant `DISABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 160s] --> ./src/pkgmgr/server/request_type.rs:26:5 [ 160s] | [ 160s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableAppSplashScreen` [ 160s] [ 160s] warning: variant `SET_APP_LABEL` should have an upper camel case name [ 160s] --> ./src/pkgmgr/server/request_type.rs:27:5 [ 160s] | [ 160s] 27 | SET_APP_LABEL, [ 160s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppLabel` [ 160s] [ 160s] warning: variant `SET_APP_ICON` should have an upper camel case name [ 160s] --> ./src/pkgmgr/server/request_type.rs:28:5 [ 160s] | [ 160s] 28 | SET_APP_ICON, [ 160s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppIcon` [ 160s] [ 160s] warning: variant `MIGRATE_EXTERNAL_IMAGE` should have an upper camel case name [ 160s] --> ./src/pkgmgr/server/request_type.rs:29:5 [ 160s] | [ 160s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MigrateExternalImage` [ 160s] [ 160s] warning: variant `RESOURCE_SHARE_COPY` should have an upper camel case name [ 160s] --> ./src/pkgmgr/server/request_type.rs:30:5 [ 160s] | [ 160s] 30 | RESOURCE_SHARE_COPY, [ 160s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCopy` [ 160s] [ 160s] warning: variant `RESOURCE_SHARE_CREATE_DIR` should have an upper camel case name [ 160s] --> ./src/pkgmgr/server/request_type.rs:31:5 [ 160s] | [ 160s] 31 | RESOURCE_SHARE_CREATE_DIR, [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCreateDir` [ 160s] [ 160s] warning: variant `RESOURCE_SHARE_REMOVE` should have an upper camel case name [ 160s] --> ./src/pkgmgr/server/request_type.rs:32:5 [ 160s] | [ 160s] 32 | RESOURCE_SHARE_REMOVE, [ 160s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareRemove` [ 160s] [ 160s] warning: variant `RESOURCE_SHARE_UNINSTALL` should have an upper camel case name [ 160s] --> ./src/pkgmgr/server/request_type.rs:33:5 [ 160s] | [ 160s] 33 | RESOURCE_SHARE_UNINSTALL, [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareUninstall` [ 160s] [ 160s] warning: variant `REMOVE_FILE` should have an upper camel case name [ 160s] --> ./src/pkgmgr/server/request_type.rs:34:5 [ 160s] | [ 160s] 34 | REMOVE_FILE, [ 160s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RemoveFile` [ 160s] [ 160s] warning: unused import: `CStr` [ 160s] --> ./src/pkgmgr/server/signal.rs:1:39 [ 160s] | [ 160s] 1 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 160s] | ^^^^ [ 160s] [ 160s] warning: unused import: `pid_t` [ 160s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 160s] | [ 160s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 160s] | ^^^^^ [ 160s] [ 160s] warning: unused imports: `CStr`, `CString`, `c_char`, `c_void` [ 160s] --> ./src/pkgmgr/server/signal.rs:39:20 [ 160s] | [ 160s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 160s] | ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^ [ 160s] [ 160s] warning: unused import: `pid_t` [ 160s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 160s] | [ 160s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 160s] | ^^^^^ [ 160s] [ 160s] warning: unused import: `std::cell::RefCell` [ 160s] --> ./src/pkgmgr/server/util.rs:1:5 [ 160s] | [ 160s] 1 | use std::cell::RefCell; [ 160s] | ^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: unused import: `std::rc::Rc` [ 160s] --> ./src/pkgmgr/server/util.rs:8:5 [ 160s] | [ 160s] 8 | use std::rc::Rc; [ 160s] | ^^^^^^^^^^^ [ 160s] [ 160s] warning: type `xmlChar` should have an upper camel case name [ 160s] --> ./src/pkgmgr/server/util.rs:34:6 [ 160s] | [ 160s] 34 | type xmlChar = c_uchar; [ 160s] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlChar` [ 160s] [ 160s] warning: type `xmlTextReaderPtr` should have an upper camel case name [ 160s] --> ./src/pkgmgr/server/util.rs:35:6 [ 160s] | [ 160s] 35 | type xmlTextReaderPtr = *mut c_void; [ 160s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlTextReaderPtr` [ 160s] [ 160s] warning: unused imports: `CStr`, `CString` [ 160s] --> ./src/pkgmgr/server/util.rs:39:43 [ 160s] | [ 160s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 160s] | ^^^^ ^^^^^^^ [ 160s] [ 160s] warning: unused import: `pid_t` [ 160s] --> ./src/pkgmgr/server/util.rs:40:37 [ 160s] | [ 160s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 160s] | ^^^^^ [ 160s] [ 160s] warning: unnecessary parentheses around `if` condition [ 160s] --> ./src/pkgmgr/server/util.rs:474:24 [ 160s] | [ 160s] 474 | if (cur == depth + 1) { [ 160s] | ^ ^ [ 160s] | [ 160s] help: remove these parentheses [ 160s] | [ 160s] 474 - if (cur == depth + 1) { [ 160s] 474 + if cur == depth + 1 { [ 160s] | [ 160s] [ 160s] warning: unnecessary parentheses around `if` condition [ 160s] --> ./src/pkgmgr/server/util.rs:571:12 [ 160s] | [ 160s] 571 | if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 160s] | ^ ^ [ 160s] | [ 160s] help: remove these parentheses [ 160s] | [ 160s] 571 - if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 160s] 571 + if unzOpenCurrentFile(uf) != UNZ_OK as c_int { [ 160s] | [ 160s] [ 160s] warning: unused import: `super::super::super::server::signal::*` [ 160s] --> ./src/pkgmgr/server/test/signal_tests.rs:1:5 [ 160s] | [ 160s] 1 | use super::super::super::server::signal::*; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] | [ 160s] help: consider adding a `#[cfg(test)]` to the containing module [ 160s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 160s] | [ 160s] 3 | pub mod signal_tests; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: unused import: `std::ffi::CString` [ 160s] --> ./src/pkgmgr/server/test/signal_tests.rs:2:5 [ 160s] | [ 160s] 2 | use std::ffi::CString; [ 160s] | ^^^^^^^^^^^^^^^^^ [ 160s] | [ 160s] help: consider adding a `#[cfg(test)]` to the containing module [ 160s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 160s] | [ 160s] 3 | pub mod signal_tests; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: unused import: `std::ffi::CStr` [ 160s] --> ./src/pkgmgr/server/test/signal_tests.rs:3:5 [ 160s] | [ 160s] 3 | use std::ffi::CStr; [ 160s] | ^^^^^^^^^^^^^^ [ 160s] | [ 160s] help: consider adding a `#[cfg(test)]` to the containing module [ 160s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 160s] | [ 160s] 3 | pub mod signal_tests; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: unused import: `std::ffi::c_char` [ 160s] --> ./src/pkgmgr/server/test/signal_tests.rs:4:5 [ 160s] | [ 160s] 4 | use std::ffi::c_char; [ 160s] | ^^^^^^^^^^^^^^^^ [ 160s] | [ 160s] help: consider adding a `#[cfg(test)]` to the containing module [ 160s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 160s] | [ 160s] 3 | pub mod signal_tests; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: unused import: `std::mem` [ 160s] --> ./src/pkgmgr/server/test/signal_tests.rs:5:5 [ 160s] | [ 160s] 5 | use std::mem; [ 160s] | ^^^^^^^^ [ 160s] | [ 160s] help: consider adding a `#[cfg(test)]` to the containing module [ 160s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 160s] | [ 160s] 3 | pub mod signal_tests; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: unused import: `mockall::predicate::*` [ 160s] --> ./src/pkgmgr/server/test/signal_tests.rs:6:5 [ 160s] | [ 160s] 6 | use mockall::predicate::*; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^ [ 160s] | [ 160s] help: consider adding a `#[cfg(test)]` to the containing module [ 160s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 160s] | [ 160s] 3 | pub mod signal_tests; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: unused import: `mockall::*` [ 160s] --> ./src/pkgmgr/server/test/signal_tests.rs:7:5 [ 160s] | [ 160s] 7 | use mockall::*; [ 160s] | ^^^^^^^^^^ [ 160s] | [ 160s] help: consider adding a `#[cfg(test)]` to the containing module [ 160s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 160s] | [ 160s] 3 | pub mod signal_tests; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: unused imports: `pid_t`, `uid_t` [ 160s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 160s] | [ 160s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 160s] | ^^^^^ ^^^^^ [ 160s] | [ 160s] help: consider adding a `#[cfg(test)]` to the containing module [ 160s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 160s] | [ 160s] 3 | pub mod signal_tests; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 160s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:1:5 [ 160s] | [ 160s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] | [ 160s] help: consider adding a `#[cfg(test)]` to the containing module [ 160s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 160s] | [ 160s] 4 | pub mod admin_service_tests; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: unused import: `super::super::super::server::admin_service::AdminService` [ 160s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:2:5 [ 160s] | [ 160s] 2 | use super::super::super::server::admin_service::AdminService; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] | [ 160s] help: consider adding a `#[cfg(test)]` to the containing module [ 160s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 160s] | [ 160s] 4 | pub mod admin_service_tests; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: unused import: `super::super::super::server::service::Service` [ 160s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:3:5 [ 160s] | [ 160s] 3 | use super::super::super::server::service::Service; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] | [ 160s] help: consider adding a `#[cfg(test)]` to the containing module [ 160s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 160s] | [ 160s] 4 | pub mod admin_service_tests; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 160s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:1:5 [ 160s] | [ 160s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] | [ 160s] help: consider adding a `#[cfg(test)]` to the containing module [ 160s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 160s] | [ 160s] 5 | pub mod cache_service_tests; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: unused import: `super::super::super::server::cache_service::CacheService` [ 160s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:2:5 [ 160s] | [ 160s] 2 | use super::super::super::server::cache_service::CacheService; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] | [ 160s] help: consider adding a `#[cfg(test)]` to the containing module [ 160s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 160s] | [ 160s] 5 | pub mod cache_service_tests; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: unused import: `super::super::super::server::service::Service` [ 160s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:3:5 [ 160s] | [ 160s] 3 | use super::super::super::server::service::Service; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] | [ 160s] help: consider adding a `#[cfg(test)]` to the containing module [ 160s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 160s] | [ 160s] 5 | pub mod cache_service_tests; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 160s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:1:5 [ 160s] | [ 160s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] | [ 160s] help: consider adding a `#[cfg(test)]` to the containing module [ 160s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 160s] | [ 160s] 6 | pub mod delayed_service_tests; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: unused import: `super::super::super::server::delayed_service::DelayedService` [ 160s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:2:5 [ 160s] | [ 160s] 2 | use super::super::super::server::delayed_service::DelayedService; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] | [ 160s] help: consider adding a `#[cfg(test)]` to the containing module [ 160s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 160s] | [ 160s] 6 | pub mod delayed_service_tests; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: unused import: `super::super::super::server::service::Service` [ 160s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:3:5 [ 160s] | [ 160s] 3 | use super::super::super::server::service::Service; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] | [ 160s] help: consider adding a `#[cfg(test)]` to the containing module [ 160s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 160s] | [ 160s] 6 | pub mod delayed_service_tests; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 160s] --> ./src/pkgmgr/server/test/info_service_tests.rs:1:5 [ 160s] | [ 160s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] | [ 160s] help: consider adding a `#[cfg(test)]` to the containing module [ 160s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 160s] | [ 160s] 7 | pub mod info_service_tests; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: unused import: `super::super::super::server::info_service::InfoService` [ 160s] --> ./src/pkgmgr/server/test/info_service_tests.rs:2:5 [ 160s] | [ 160s] 2 | use super::super::super::server::info_service::InfoService; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] | [ 160s] help: consider adding a `#[cfg(test)]` to the containing module [ 160s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 160s] | [ 160s] 7 | pub mod info_service_tests; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: unused import: `super::super::super::server::service::Service` [ 160s] --> ./src/pkgmgr/server/test/info_service_tests.rs:3:5 [ 160s] | [ 160s] 3 | use super::super::super::server::service::Service; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] | [ 160s] help: consider adding a `#[cfg(test)]` to the containing module [ 160s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 160s] | [ 160s] 7 | pub mod info_service_tests; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: unused import: `std::cell::RefCell` [ 160s] --> ./src/pkgmgr/server/mod.rs:22:5 [ 160s] | [ 160s] 22 | use std::cell::RefCell; [ 160s] | ^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: unused import: `std::rc::Rc` [ 160s] --> ./src/pkgmgr/server/mod.rs:26:5 [ 160s] | [ 160s] 26 | use std::rc::Rc; [ 160s] | ^^^^^^^^^^^ [ 160s] [ 160s] warning: unused import: `std::process::Command` [ 160s] --> ./src/main.rs:9:5 [ 160s] | [ 160s] 9 | use std::process::Command; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 160s] --> ./src/pkgmgr/server/admin_service.rs:5:26 [ 160s] | [ 160s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 160s] | ^^^^^ [ 160s] | [ 160s] = note: `#[warn(deprecated)]` on by default [ 160s] [ 160s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 160s] --> ./src/pkgmgr/server/admin_service.rs:5:33 [ 160s] | [ 160s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 160s] | ^^^^^ [ 160s] [ 160s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 160s] --> ./src/pkgmgr/server/admin_service.rs:20:20 [ 160s] | [ 160s] 20 | const GLOBAL_USER: uid_t = 201; [ 160s] | ^^^^^ [ 160s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:322:25 [ 161s] | [ 161s] 322 | let mut caller_uid: uid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:443:25 [ 161s] | [ 161s] 443 | let mut caller_uid: uid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:548:25 [ 161s] | [ 161s] 548 | let mut caller_uid: uid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:595:25 [ 161s] | [ 161s] 595 | let mut caller_uid: uid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:718:25 [ 161s] | [ 161s] 718 | let mut caller_uid: uid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:801:25 [ 161s] | [ 161s] 801 | let mut caller_uid: uid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:853:25 [ 161s] | [ 161s] 853 | let mut caller_uid: uid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:937:25 [ 161s] | [ 161s] 937 | let mut caller_uid: uid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:990:25 [ 161s] | [ 161s] 990 | let mut caller_uid: uid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1015:76 [ 161s] | [ 161s] 1015 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, true) { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1072:25 [ 161s] | [ 161s] 1072 | let mut caller_uid: uid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1097:76 [ 161s] | [ 161s] 1097 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, false) { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1151:25 [ 161s] | [ 161s] 1151 | let mut caller_pid: pid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1152:25 [ 161s] | [ 161s] 1152 | let mut caller_uid: uid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1166:62 [ 161s] | [ 161s] 1166 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1196:66 [ 161s] | [ 161s] 1196 | let ret = Util::RegisterPkgUpdateInfo(handle, uid as uid_t); [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1215:25 [ 161s] | [ 161s] 1215 | let mut caller_pid: pid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1216:25 [ 161s] | [ 161s] 1216 | let mut caller_uid: uid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1230:62 [ 161s] | [ 161s] 1230 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1254:109 [ 161s] | [ 161s] 1254 | RequestResult::DELAYED(generated_req_key, Util::UnregisterPkgUpdateInfo(pkg_id.as_ptr(), uid as uid_t)) [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1270:25 [ 161s] | [ 161s] 1270 | let mut caller_pid: pid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1271:25 [ 161s] | [ 161s] 1271 | let mut caller_uid: uid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1303:95 [ 161s] | [ 161s] 1303 | RequestResult::DELAYED(generated_req_key, Util::UnregisterAllPkgUpdateInfo(uid as uid_t, caller_uid)) [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1312:45 [ 161s] | [ 161s] 1312 | fn handle_enable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1359:60 [ 161s] | [ 161s] 1359 | fn handle_enable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1371:40 [ 161s] | [ 161s] 1371 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1373:40 [ 161s] | [ 161s] 1373 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1380:36 [ 161s] | [ 161s] 1380 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1382:36 [ 161s] | [ 161s] 1382 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1392:36 [ 161s] | [ 161s] 1392 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1394:36 [ 161s] | [ 161s] 1394 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1400:28 [ 161s] | [ 161s] 1400 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1403:46 [ 161s] | [ 161s] 1403 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1404:59 [ 161s] | [ 161s] 1404 | Util::EnableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1405:32 [ 161s] | [ 161s] 1405 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1409:28 [ 161s] | [ 161s] 1409 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1415:46 [ 161s] | [ 161s] 1415 | fn handle_disable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1463:61 [ 161s] | [ 161s] 1463 | fn handle_disable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1475:40 [ 161s] | [ 161s] 1475 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1477:40 [ 161s] | [ 161s] 1477 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1484:36 [ 161s] | [ 161s] 1484 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1486:36 [ 161s] | [ 161s] 1486 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1496:36 [ 161s] | [ 161s] 1496 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1498:36 [ 161s] | [ 161s] 1498 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1504:28 [ 161s] | [ 161s] 1504 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1507:46 [ 161s] | [ 161s] 1507 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1508:60 [ 161s] | [ 161s] 1508 | Util::DisableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1509:32 [ 161s] | [ 161s] 1509 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1513:28 [ 161s] | [ 161s] 1513 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1535:25 [ 161s] | [ 161s] 1535 | let mut caller_uid: uid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1562:70 [ 161s] | [ 161s] 1562 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1588:25 [ 161s] | [ 161s] 1588 | let mut caller_uid: uid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1615:71 [ 161s] | [ 161s] 1615 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1673:74 [ 161s] | [ 161s] 1673 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1735:75 [ 161s] | [ 161s] 1735 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1765:25 [ 161s] | [ 161s] 1765 | let mut caller_uid: uid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1792:85 [ 161s] | [ 161s] 1792 | RequestResult::VAL(handle_enable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1818:25 [ 161s] | [ 161s] 1818 | let mut caller_uid: uid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1845:86 [ 161s] | [ 161s] 1845 | RequestResult::VAL(handle_disable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1863:40 [ 161s] | [ 161s] 1863 | Util::KillAppsInPkg(pkg_id, uid as uid_t) [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1873:25 [ 161s] | [ 161s] 1873 | let mut caller_pid: pid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1874:25 [ 161s] | [ 161s] 1874 | let mut caller_uid: uid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1985:25 [ 161s] | [ 161s] 1985 | let mut caller_pid: pid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:1986:25 [ 161s] | [ 161s] 1986 | let mut caller_uid: uid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:2035:25 [ 161s] | [ 161s] 2035 | let mut caller_pid: pid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:2036:25 [ 161s] | [ 161s] 2036 | let mut caller_uid: uid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:2083:54 [ 161s] | [ 161s] 2083 | Util::EnableGlobalAppSplashScreen(app_id, uid as uid_t) [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:2093:55 [ 161s] | [ 161s] 2093 | Util::DisableGlobalAppSplashScreen(app_id, uid as uid_t) [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:2105:25 [ 161s] | [ 161s] 2105 | let mut caller_pid: pid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:2106:25 [ 161s] | [ 161s] 2106 | let mut caller_uid: uid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:2137:102 [ 161s] | [ 161s] 2137 | RequestResult::DELAYED(generated_req_key, Util::update_app_label(app_id.as_ptr(), uid as uid_t , label.as_ptr())) [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:2155:25 [ 161s] | [ 161s] 2155 | let mut caller_pid: pid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:2156:25 [ 161s] | [ 161s] 2156 | let mut caller_uid: uid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:2187:101 [ 161s] | [ 161s] 2187 | RequestResult::DELAYED(generated_req_key, Util::update_app_icon(app_id.as_ptr(), uid as uid_t , icon_path.as_ptr())) [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:2312:25 [ 161s] | [ 161s] 2312 | let mut caller_uid: uid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:2313:25 [ 161s] | [ 161s] 2313 | let mut caller_pid: pid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:2383:25 [ 161s] | [ 161s] 2383 | let mut caller_uid: uid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:2384:25 [ 161s] | [ 161s] 2384 | let mut caller_pid: pid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:2453:25 [ 161s] | [ 161s] 2453 | let mut caller_uid: uid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:2454:25 [ 161s] | [ 161s] 2454 | let mut caller_pid: pid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:2532:25 [ 161s] | [ 161s] 2532 | let mut caller_uid: uid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:2622:41 [ 161s] | [ 161s] 2622 | if unsafe { check_valid_path(uid as uid_t, pkg_id, file_path) } != 0 { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:2681:19 [ 161s] | [ 161s] 2681 | pid: *mut pid_t, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/admin_service.rs:2682:19 [ 161s] | [ 161s] 2682 | uid: *mut uid_t [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 161s] | [ 161s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/backend_context.rs:3:33 [ 161s] | [ 161s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/cache_service.rs:12:26 [ 161s] | [ 161s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/cache_service.rs:12:33 [ 161s] | [ 161s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/cache_service.rs:23:14 [ 161s] | [ 161s] 23 | uid: uid_t, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/cache_service.rs:48:17 [ 161s] | [ 161s] 48 | target_uid: uid_t, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/cache_service.rs:53:25 [ 161s] | [ 161s] 53 | let mut caller_uid: uid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/cache_service.rs:106:19 [ 161s] | [ 161s] 106 | pid: *mut pid_t, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/cache_service.rs:107:19 [ 161s] | [ 161s] 107 | uid: *mut uid_t [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 161s] | [ 161s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/delayed_service.rs:13:33 [ 161s] | [ 161s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/info_service.rs:2:26 [ 161s] | [ 161s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/info_service.rs:2:33 [ 161s] | [ 161s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/info_service.rs:37:90 [ 161s] | [ 161s] 37 | pub rpc_port_stub_PkgMgr_GetSize_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, get_type: c_int, r... [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/info_service.rs:38:94 [ 161s] | [ 161s] 38 | pub rpc_port_stub_PkgMgr_GetSizeSync_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, get_type: c_in... [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/info_service.rs:40:88 [ 161s] | [ 161s] 40 | pub rpc_port_stub_PkgMgr_Check_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, pid: *mut pid_t, use... [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/info_service.rs:40:128 [ 161s] | [ 161s] 40 | pub rpc_port_stub_PkgMgr_Check_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, pid: *mut pid_t, use... [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/info_service.rs:54:17 [ 161s] | [ 161s] 54 | target_uid: uid_t, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/info_service.rs:60:25 [ 161s] | [ 161s] 60 | let mut caller_pid: pid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/info_service.rs:61:25 [ 161s] | [ 161s] 61 | let mut caller_uid: uid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/info_service.rs:114:17 [ 161s] | [ 161s] 114 | target_uid: uid_t, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/info_service.rs:120:25 [ 161s] | [ 161s] 120 | let mut caller_pid: pid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/info_service.rs:121:25 [ 161s] | [ 161s] 121 | let mut caller_uid: uid_t = 0; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/info_service.rs:223:17 [ 161s] | [ 161s] 223 | target_uid: uid_t, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/info_service.rs:225:15 [ 161s] | [ 161s] 225 | pid: *mut pid_t, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/info_service.rs:228:43 [ 161s] | [ 161s] 228 | Util::check_app(pkg_id, target_uid as uid_t, pid) [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/info_service.rs:242:19 [ 161s] | [ 161s] 242 | pid: *mut pid_t, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/info_service.rs:243:19 [ 161s] | [ 161s] 243 | uid: *mut uid_t [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/signal.rs:2:26 [ 161s] | [ 161s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 161s] | [ 161s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/signal.rs:99:20 [ 161s] | [ 161s] 99 | const GLOBAL_USER: uid_t = 201; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/signal.rs:101:33 [ 161s] | [ 161s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/signal.rs:101:47 [ 161s] | [ 161s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/signal.rs:102:26 [ 161s] | [ 161s] 102 | let mut uid_vec: Vec = vec![]; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/signal.rs:110:28 [ 161s] | [ 161s] 110 | let mut uids: *mut uid_t = std::ptr::null_mut(); [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/signal.rs:124:14 [ 161s] | [ 161s] 124 | uid: uid_t, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/signal.rs:53:44 [ 161s] | [ 161s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/signal.rs:62:14 [ 161s] | [ 161s] 62 | uid: uid_t, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/signal.rs:86:14 [ 161s] | [ 161s] 86 | uid: uid_t, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/signal.rs:40:30 [ 161s] | [ 161s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 161s] | [ 161s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/signal.rs:44:45 [ 161s] | [ 161s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:4:26 [ 161s] | [ 161s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:4:33 [ 161s] | [ 161s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:22:21 [ 161s] | [ 161s] 22 | const REGULAR_USER: uid_t = 5000; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:23:20 [ 161s] | [ 161s] 23 | const GLOBAL_USER: uid_t = 201; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:25:18 [ 161s] | [ 161s] 25 | const APPFW_UID: uid_t = 301; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:307:36 [ 161s] | [ 161s] 307 | let uid : uid_t = user_data as uid_t; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:307:15 [ 161s] | [ 161s] 307 | let uid : uid_t = user_data as uid_t; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:326:81 [ 161s] | [ 161s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:326:93 [ 161s] | [ 161s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:326:25 [ 161s] | [ 161s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:326:37 [ 161s] | [ 161s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:389:57 [ 161s] | [ 161s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:420:55 [ 161s] | [ 161s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:686:62 [ 161s] | [ 161s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:696:63 [ 161s] | [ 161s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:706:44 [ 161s] | [ 161s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:706:63 [ 161s] | [ 161s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:728:49 [ 161s] | [ 161s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:738:50 [ 161s] | [ 161s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:747:55 [ 161s] | [ 161s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:757:56 [ 161s] | [ 161s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:766:61 [ 161s] | [ 161s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:775:62 [ 161s] | [ 161s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:784:67 [ 161s] | [ 161s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:793:68 [ 161s] | [ 161s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:802:54 [ 161s] | [ 161s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:802:64 [ 161s] | [ 161s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:813:47 [ 161s] | [ 161s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:835:53 [ 161s] | [ 161s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:855:25 [ 161s] | [ 161s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:983:69 [ 161s] | [ 161s] 983 | pub fn get_application_info_by_appid(appid: *const c_char, uid: uid_t) -> Option<(CString, bool)> { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:1012:41 [ 161s] | [ 161s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:1012:53 [ 161s] | [ 161s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:1029:71 [ 161s] | [ 161s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:1029:90 [ 161s] | [ 161s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:1076:56 [ 161s] | [ 161s] 1076 | pub fn update_app_label(appid: *const c_char, uid: uid_t, label: *const c_char) -> c_int { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:1080:55 [ 161s] | [ 161s] 1080 | pub fn update_app_icon(appid: *const c_char, uid: uid_t, icon_path: *const c_char) -> c_int { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:1108:49 [ 161s] | [ 161s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:1108:66 [ 161s] | [ 161s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:156:14 [ 161s] | [ 161s] 156 | uid: uid_t, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:166:14 [ 161s] | [ 161s] 166 | uid: uid_t, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:180:14 [ 161s] | [ 161s] 180 | uid: uid_t [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:185:14 [ 161s] | [ 161s] 185 | uid: uid_t [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:189:14 [ 161s] | [ 161s] 189 | uid: uid_t [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:194:14 [ 161s] | [ 161s] 194 | uid: uid_t, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:200:14 [ 161s] | [ 161s] 200 | uid: uid_t, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:206:14 [ 161s] | [ 161s] 206 | uid: uid_t, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:212:14 [ 161s] | [ 161s] 212 | uid: uid_t, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:218:14 [ 161s] | [ 161s] 218 | uid: uid_t, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:224:14 [ 161s] | [ 161s] 224 | uid: uid_t, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:237:32 [ 161s] | [ 161s] 237 | fn gum_user_get_sync(uid : uid_t, offline : c_int) -> *mut c_void; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:266:21 [ 161s] | [ 161s] 266 | caller_uid: uid_t [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:274:14 [ 161s] | [ 161s] 274 | uid: uid_t, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:40:30 [ 161s] | [ 161s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:40:37 [ 161s] | [ 161s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:46:18 [ 161s] | [ 161s] 46 | uid: uid_t, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:52:18 [ 161s] | [ 161s] 52 | uid: uid_t, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:67:18 [ 161s] | [ 161s] 67 | uid: uid_t, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:101:18 [ 161s] | [ 161s] 101 | uid: uid_t, [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:122:70 [ 161s] | [ 161s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:123:66 [ 161s] | [ 161s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:124:59 [ 161s] | [ 161s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/util.rs:125:97 [ 161s] | [ 161s] 125 | pub fn aul_app_get_pkgid_bypid_for_uid(pid: c_int, pkgid: *mut c_char, len: c_int, uid: uid_t) -> c_int; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 161s] | [ 161s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 161s] | ^^^^^ [ 161s] [ 161s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 161s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 161s] | [ 161s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 161s] | ^^^^^ [ 161s] [ 164s] warning: unreachable expression [ 164s] --> ./src/pkgmgr/server/backend_queue.rs:64:5 [ 164s] | [ 164s] 61 | return G_SOURCE_CONTINUE; [ 164s] | ------------------------ any code following this expression is unreachable [ 164s] ... [ 164s] 64 | 1 [ 164s] | ^ unreachable expression [ 164s] | [ 164s] = note: `#[warn(unreachable_code)]` on by default [ 164s] [ 166s] warning: unused variable: `context` [ 166s] --> ./src/pkgmgr/server/admin_service.rs:297:5 [ 166s] | [ 166s] 297 | context: *mut c_void, [ 166s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 166s] | [ 166s] = note: `#[warn(unused_variables)]` on by default [ 166s] [ 166s] warning: unused variable: `context` [ 166s] --> ./src/pkgmgr/server/admin_service.rs:306:5 [ 166s] | [ 166s] 306 | context: *mut c_void, [ 166s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 166s] [ 166s] warning: unused variable: `user_data` [ 166s] --> ./src/pkgmgr/server/admin_service.rs:307:5 [ 166s] | [ 166s] 307 | user_data: *mut c_void, [ 166s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 166s] [ 166s] warning: unused variable: `ret` [ 166s] --> ./src/pkgmgr/server/admin_service.rs:323:9 [ 166s] | [ 166s] 323 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 166s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 166s] [ 166s] warning: unused variable: `req_id` [ 166s] --> ./src/pkgmgr/server/admin_service.rs:318:5 [ 166s] | [ 166s] 318 | req_id: *const c_char, [ 166s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 166s] [ 167s] warning: variable does not need to be mutable [ 167s] --> ./src/pkgmgr/server/admin_service.rs:415:9 [ 167s] | [ 167s] 415 | let mut backend_context = BackendContext::new( [ 167s] | ----^^^^^^^^^^^^^^^ [ 167s] | | [ 167s] | help: remove this `mut` [ 167s] | [ 167s] = note: `#[warn(unused_mut)]` on by default [ 167s] [ 167s] warning: unused variable: `ret` [ 167s] --> ./src/pkgmgr/server/admin_service.rs:444:9 [ 167s] | [ 167s] 444 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 167s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 167s] [ 167s] warning: unused variable: `req_id` [ 167s] --> ./src/pkgmgr/server/admin_service.rs:434:5 [ 167s] | [ 167s] 434 | req_id: *const c_char, [ 167s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 167s] [ 167s] warning: variable does not need to be mutable [ 167s] --> ./src/pkgmgr/server/admin_service.rs:510:9 [ 167s] | [ 167s] 510 | let mut backend_context = BackendContext::new( [ 167s] | ----^^^^^^^^^^^^^^^ [ 167s] | | [ 167s] | help: remove this `mut` [ 167s] [ 167s] warning: unused variable: `ret` [ 167s] --> ./src/pkgmgr/server/admin_service.rs:549:9 [ 167s] | [ 167s] 549 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 167s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 167s] [ 167s] warning: variable does not need to be mutable [ 167s] --> ./src/pkgmgr/server/admin_service.rs:571:9 [ 167s] | [ 167s] 571 | let mut backend_context = BackendContext::new( [ 167s] | ----^^^^^^^^^^^^^^^ [ 167s] | | [ 167s] | help: remove this `mut` [ 167s] [ 167s] warning: unused variable: `ret` [ 167s] --> ./src/pkgmgr/server/admin_service.rs:596:9 [ 167s] | [ 167s] 596 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 167s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 167s] [ 167s] warning: unused variable: `req_id` [ 167s] --> ./src/pkgmgr/server/admin_service.rs:591:5 [ 167s] | [ 167s] 591 | req_id: *const c_char, [ 167s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 167s] [ 167s] warning: variable does not need to be mutable [ 167s] --> ./src/pkgmgr/server/admin_service.rs:688:9 [ 167s] | [ 167s] 688 | let mut backend_context = BackendContext::new( [ 167s] | ----^^^^^^^^^^^^^^^ [ 167s] | | [ 167s] | help: remove this `mut` [ 167s] [ 167s] warning: unused variable: `ret` [ 167s] --> ./src/pkgmgr/server/admin_service.rs:719:9 [ 167s] | [ 167s] 719 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 167s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 167s] [ 167s] warning: unused variable: `req_id` [ 167s] --> ./src/pkgmgr/server/admin_service.rs:706:5 [ 167s] | [ 167s] 706 | req_id: *const c_char, [ 167s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 167s] [ 167s] warning: variable does not need to be mutable [ 167s] --> ./src/pkgmgr/server/admin_service.rs:763:9 [ 167s] | [ 167s] 763 | let mut backend_context = BackendContext::new( [ 167s] | ----^^^^^^^^^^^^^^^ [ 167s] | | [ 167s] | help: remove this `mut` [ 167s] [ 167s] warning: unused variable: `ret` [ 167s] --> ./src/pkgmgr/server/admin_service.rs:802:9 [ 167s] | [ 167s] 802 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 167s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 167s] [ 167s] warning: variable does not need to be mutable [ 167s] --> ./src/pkgmgr/server/admin_service.rs:824:9 [ 167s] | [ 167s] 824 | let mut backend_context = BackendContext::new( [ 167s] | ----^^^^^^^^^^^^^^^ [ 167s] | | [ 167s] | help: remove this `mut` [ 167s] [ 167s] warning: unused variable: `ret` [ 167s] --> ./src/pkgmgr/server/admin_service.rs:854:9 [ 167s] | [ 167s] 854 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 167s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 167s] [ 167s] warning: variable does not need to be mutable [ 167s] --> ./src/pkgmgr/server/admin_service.rs:898:9 [ 167s] | [ 167s] 898 | let mut backend_context = BackendContext::new( [ 167s] | ----^^^^^^^^^^^^^^^ [ 167s] | | [ 167s] | help: remove this `mut` [ 167s] [ 167s] warning: unused variable: `ret` [ 167s] --> ./src/pkgmgr/server/admin_service.rs:938:9 [ 167s] | [ 167s] 938 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 167s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 167s] [ 167s] warning: variable does not need to be mutable [ 167s] --> ./src/pkgmgr/server/admin_service.rs:961:9 [ 167s] | [ 167s] 961 | let mut backend_context = BackendContext::new( [ 167s] | ----^^^^^^^^^^^^^^^ [ 167s] | | [ 167s] | help: remove this `mut` [ 167s] [ 167s] warning: unused variable: `ret` [ 167s] --> ./src/pkgmgr/server/admin_service.rs:991:9 [ 167s] | [ 167s] 991 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 167s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 167s] [ 167s] warning: variable does not need to be mutable [ 167s] --> ./src/pkgmgr/server/admin_service.rs:1038:17 [ 167s] | [ 167s] 1038 | let mut backend_context = BackendContext::new( [ 167s] | ----^^^^^^^^^^^^^^^ [ 167s] | | [ 167s] | help: remove this `mut` [ 167s] [ 167s] warning: unused variable: `ret` [ 167s] --> ./src/pkgmgr/server/admin_service.rs:1073:9 [ 167s] | [ 167s] 1073 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 167s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 167s] [ 167s] warning: variable does not need to be mutable [ 167s] --> ./src/pkgmgr/server/admin_service.rs:1123:17 [ 167s] | [ 167s] 1123 | let mut backend_context = BackendContext::new( [ 167s] | ----^^^^^^^^^^^^^^^ [ 167s] | | [ 167s] | help: remove this `mut` [ 167s] [ 167s] warning: unused variable: `pkg_id` [ 167s] --> ./src/pkgmgr/server/admin_service.rs:1186:9 [ 167s] | [ 167s] 1186 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) }); [ 167s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 167s] [ 167s] warning: variable does not need to be mutable [ 167s] --> ./src/pkgmgr/server/admin_service.rs:1180:9 [ 167s] | [ 167s] 1180 | let mut handle : *mut c_void = Util::CreatePkgUpdateInfo(pkg_id, version, update_type); [ 167s] | ----^^^^^^ [ 167s] | | [ 167s] | help: remove this `mut` [ 167s] [ 167s] warning: variable does not need to be mutable [ 167s] --> ./src/pkgmgr/server/admin_service.rs:1190:9 [ 167s] | [ 167s] 1190 | let mut backend_context = BackendContext::new( [ 167s] | ----^^^^^^^^^^^^^^^ [ 167s] | | [ 167s] | help: remove this `mut` [ 167s] [ 167s] warning: variable does not need to be mutable [ 167s] --> ./src/pkgmgr/server/admin_service.rs:1248:9 [ 167s] | [ 167s] 1248 | let mut backend_context = BackendContext::new( [ 167s] | ----^^^^^^^^^^^^^^^ [ 167s] | | [ 167s] | help: remove this `mut` [ 167s] [ 167s] warning: variable does not need to be mutable [ 167s] --> ./src/pkgmgr/server/admin_service.rs:1297:9 [ 167s] | [ 167s] 1297 | let mut backend_context = BackendContext::new( [ 167s] | ----^^^^^^^^^^^^^^^ [ 167s] | | [ 167s] | help: remove this `mut` [ 167s] [ 167s] warning: unused variable: `is_global` [ 167s] --> ./src/pkgmgr/server/admin_service.rs:1321:17 [ 167s] | [ 167s] 1321 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 167s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 167s] [ 167s] warning: unused variable: `is_global` [ 167s] --> ./src/pkgmgr/server/admin_service.rs:1368:17 [ 167s] | [ 167s] 1368 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 167s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 167s] [ 168s] warning: unused variable: `is_global` [ 168s] --> ./src/pkgmgr/server/admin_service.rs:1424:17 [ 168s] | [ 168s] 1424 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 168s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 168s] [ 168s] warning: unused variable: `is_global` [ 168s] --> ./src/pkgmgr/server/admin_service.rs:1472:17 [ 168s] | [ 168s] 1472 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 168s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 168s] [ 168s] warning: unused variable: `caller_uid` [ 168s] --> ./src/pkgmgr/server/admin_service.rs:1535:13 [ 168s] | [ 168s] 1535 | let mut caller_uid: uid_t = 0; [ 168s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 168s] [ 168s] warning: unused variable: `context` [ 168s] --> ./src/pkgmgr/server/admin_service.rs:1521:5 [ 168s] | [ 168s] 1521 | context: *mut c_void, [ 168s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 168s] [ 168s] warning: variable does not need to be mutable [ 168s] --> ./src/pkgmgr/server/admin_service.rs:1535:9 [ 168s] | [ 168s] 1535 | let mut caller_uid: uid_t = 0; [ 168s] | ----^^^^^^^^^^ [ 168s] | | [ 168s] | help: remove this `mut` [ 168s] [ 168s] warning: variable does not need to be mutable [ 168s] --> ./src/pkgmgr/server/admin_service.rs:1558:13 [ 168s] | [ 168s] 1558 | let mut backend_context = BackendContext::new( [ 168s] | ----^^^^^^^^^^^^^^^ [ 168s] | | [ 168s] | help: remove this `mut` [ 168s] [ 168s] warning: unused variable: `caller_uid` [ 168s] --> ./src/pkgmgr/server/admin_service.rs:1588:13 [ 168s] | [ 168s] 1588 | let mut caller_uid: uid_t = 0; [ 168s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 168s] [ 168s] warning: unused variable: `context` [ 168s] --> ./src/pkgmgr/server/admin_service.rs:1574:5 [ 168s] | [ 168s] 1574 | context: *mut c_void, [ 168s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 168s] [ 168s] warning: variable does not need to be mutable [ 168s] --> ./src/pkgmgr/server/admin_service.rs:1588:9 [ 168s] | [ 168s] 1588 | let mut caller_uid: uid_t = 0; [ 168s] | ----^^^^^^^^^^ [ 168s] | | [ 168s] | help: remove this `mut` [ 168s] [ 168s] warning: variable does not need to be mutable [ 168s] --> ./src/pkgmgr/server/admin_service.rs:1611:13 [ 168s] | [ 168s] 1611 | let mut backend_context = BackendContext::new( [ 168s] | ----^^^^^^^^^^^^^^^ [ 168s] | | [ 168s] | help: remove this `mut` [ 168s] [ 168s] warning: unused variable: `context` [ 168s] --> ./src/pkgmgr/server/admin_service.rs:1627:5 [ 168s] | [ 168s] 1627 | context: *mut c_void, [ 168s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 168s] [ 168s] warning: variable does not need to be mutable [ 168s] --> ./src/pkgmgr/server/admin_service.rs:1669:17 [ 168s] | [ 168s] 1669 | let mut backend_context = BackendContext::new( [ 168s] | ----^^^^^^^^^^^^^^^ [ 168s] | | [ 168s] | help: remove this `mut` [ 168s] [ 168s] warning: unused variable: `context` [ 168s] --> ./src/pkgmgr/server/admin_service.rs:1689:5 [ 168s] | [ 168s] 1689 | context: *mut c_void, [ 168s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 168s] [ 168s] warning: variable does not need to be mutable [ 168s] --> ./src/pkgmgr/server/admin_service.rs:1731:17 [ 168s] | [ 168s] 1731 | let mut backend_context = BackendContext::new( [ 168s] | ----^^^^^^^^^^^^^^^ [ 168s] | | [ 168s] | help: remove this `mut` [ 168s] [ 168s] warning: unused variable: `caller_uid` [ 168s] --> ./src/pkgmgr/server/admin_service.rs:1765:13 [ 168s] | [ 168s] 1765 | let mut caller_uid: uid_t = 0; [ 168s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 168s] [ 168s] warning: unused variable: `context` [ 168s] --> ./src/pkgmgr/server/admin_service.rs:1751:5 [ 168s] | [ 168s] 1751 | context: *mut c_void, [ 168s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 168s] [ 168s] warning: variable does not need to be mutable [ 168s] --> ./src/pkgmgr/server/admin_service.rs:1765:9 [ 168s] | [ 168s] 1765 | let mut caller_uid: uid_t = 0; [ 168s] | ----^^^^^^^^^^ [ 168s] | | [ 168s] | help: remove this `mut` [ 168s] [ 168s] warning: variable does not need to be mutable [ 168s] --> ./src/pkgmgr/server/admin_service.rs:1788:13 [ 168s] | [ 168s] 1788 | let mut backend_context = BackendContext::new( [ 168s] | ----^^^^^^^^^^^^^^^ [ 168s] | | [ 168s] | help: remove this `mut` [ 168s] [ 168s] warning: unused variable: `caller_uid` [ 168s] --> ./src/pkgmgr/server/admin_service.rs:1818:13 [ 168s] | [ 168s] 1818 | let mut caller_uid: uid_t = 0; [ 168s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 168s] [ 168s] warning: unused variable: `context` [ 168s] --> ./src/pkgmgr/server/admin_service.rs:1804:5 [ 168s] | [ 168s] 1804 | context: *mut c_void, [ 168s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 168s] [ 168s] warning: variable does not need to be mutable [ 168s] --> ./src/pkgmgr/server/admin_service.rs:1818:9 [ 168s] | [ 168s] 1818 | let mut caller_uid: uid_t = 0; [ 168s] | ----^^^^^^^^^^ [ 168s] | | [ 168s] | help: remove this `mut` [ 168s] [ 168s] warning: variable does not need to be mutable [ 168s] --> ./src/pkgmgr/server/admin_service.rs:1841:13 [ 168s] | [ 168s] 1841 | let mut backend_context = BackendContext::new( [ 168s] | ----^^^^^^^^^^^^^^^ [ 168s] | | [ 168s] | help: remove this `mut` [ 168s] [ 168s] warning: unused variable: `context` [ 168s] --> ./src/pkgmgr/server/admin_service.rs:1857:5 [ 168s] | [ 168s] 1857 | context: *mut c_void, [ 168s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 168s] [ 168s] warning: unused variable: `pid` [ 168s] --> ./src/pkgmgr/server/admin_service.rs:1860:5 [ 168s] | [ 168s] 1860 | pid: *mut c_int, [ 168s] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [ 168s] [ 168s] warning: unused variable: `user_data` [ 168s] --> ./src/pkgmgr/server/admin_service.rs:1861:5 [ 168s] | [ 168s] 1861 | user_data: *mut c_void, [ 168s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 168s] [ 168s] warning: variable does not need to be mutable [ 168s] --> ./src/pkgmgr/server/admin_service.rs:1900:9 [ 168s] | [ 168s] 1900 | let mut backend_context = BackendContext::new( [ 168s] | ----^^^^^^^^^^^^^^^ [ 168s] | | [ 168s] | help: remove this `mut` [ 168s] [ 168s] warning: unused variable: `context` [ 168s] --> ./src/pkgmgr/server/admin_service.rs:1932:5 [ 168s] | [ 168s] 1932 | context: *mut c_void, [ 168s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 168s] [ 168s] warning: variable does not need to be mutable [ 168s] --> ./src/pkgmgr/server/admin_service.rs:2012:9 [ 168s] | [ 168s] 2012 | let mut backend_context = BackendContext::new( [ 168s] | ----^^^^^^^^^^^^^^^ [ 168s] | | [ 168s] | help: remove this `mut` [ 168s] [ 168s] warning: variable does not need to be mutable [ 168s] --> ./src/pkgmgr/server/admin_service.rs:2063:9 [ 168s] | [ 168s] 2063 | let mut backend_context = BackendContext::new( [ 168s] | ----^^^^^^^^^^^^^^^ [ 168s] | | [ 168s] | help: remove this `mut` [ 168s] [ 168s] warning: unused variable: `context` [ 168s] --> ./src/pkgmgr/server/admin_service.rs:2078:5 [ 168s] | [ 168s] 2078 | context: *mut c_void, [ 168s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 168s] [ 168s] warning: unused variable: `user_data` [ 168s] --> ./src/pkgmgr/server/admin_service.rs:2081:5 [ 168s] | [ 168s] 2081 | user_data: *mut c_void, [ 168s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 168s] [ 168s] warning: unused variable: `context` [ 168s] --> ./src/pkgmgr/server/admin_service.rs:2088:5 [ 168s] | [ 168s] 2088 | context: *mut c_void, [ 168s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 168s] [ 168s] warning: unused variable: `user_data` [ 168s] --> ./src/pkgmgr/server/admin_service.rs:2091:5 [ 168s] | [ 168s] 2091 | user_data: *mut c_void, [ 168s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 168s] [ 168s] warning: variable does not need to be mutable [ 168s] --> ./src/pkgmgr/server/admin_service.rs:2133:9 [ 168s] | [ 168s] 2133 | let mut backend_context = BackendContext::new( [ 168s] | ----^^^^^^^^^^^^^^^ [ 168s] | | [ 168s] | help: remove this `mut` [ 168s] [ 168s] warning: variable does not need to be mutable [ 168s] --> ./src/pkgmgr/server/admin_service.rs:2183:9 [ 168s] | [ 168s] 2183 | let mut backend_context = BackendContext::new( [ 168s] | ----^^^^^^^^^^^^^^^ [ 168s] | | [ 168s] | help: remove this `mut` [ 168s] [ 168s] warning: unused variable: `context` [ 168s] --> ./src/pkgmgr/server/admin_service.rs:2198:5 [ 168s] | [ 168s] 2198 | context: *mut c_void, [ 168s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 168s] [ 168s] warning: unused variable: `uid` [ 168s] --> ./src/pkgmgr/server/admin_service.rs:2199:5 [ 168s] | [ 168s] 2199 | uid: c_int, [ 168s] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [ 168s] [ 168s] warning: unused variable: `pkg_id` [ 168s] --> ./src/pkgmgr/server/admin_service.rs:2200:5 [ 168s] | [ 168s] 2200 | pkg_id: *const c_char, [ 168s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 168s] [ 168s] warning: unused variable: `user_data` [ 168s] --> ./src/pkgmgr/server/admin_service.rs:2201:5 [ 168s] | [ 168s] 2201 | user_data: *mut c_void, [ 168s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 168s] [ 168s] warning: variable does not need to be mutable [ 168s] --> ./src/pkgmgr/server/admin_service.rs:2364:9 [ 168s] | [ 168s] 2364 | let mut backend_context = BackendContext::new( [ 168s] | ----^^^^^^^^^^^^^^^ [ 168s] | | [ 168s] | help: remove this `mut` [ 168s] [ 168s] warning: variable does not need to be mutable [ 168s] --> ./src/pkgmgr/server/admin_service.rs:2434:9 [ 168s] | [ 168s] 2434 | let mut backend_context = BackendContext::new( [ 168s] | ----^^^^^^^^^^^^^^^ [ 168s] | | [ 168s] | help: remove this `mut` [ 168s] [ 168s] warning: variable does not need to be mutable [ 168s] --> ./src/pkgmgr/server/admin_service.rs:2504:9 [ 168s] | [ 168s] 2504 | let mut backend_context = BackendContext::new( [ 168s] | ----^^^^^^^^^^^^^^^ [ 168s] | | [ 168s] | help: remove this `mut` [ 168s] [ 168s] warning: unused variable: `ret` [ 168s] --> ./src/pkgmgr/server/admin_service.rs:2533:9 [ 168s] | [ 168s] 2533 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 168s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 168s] [ 168s] warning: variable does not need to be mutable [ 168s] --> ./src/pkgmgr/server/admin_service.rs:2552:9 [ 168s] | [ 168s] 2552 | let mut backend_context = BackendContext::new( [ 168s] | ----^^^^^^^^^^^^^^^ [ 168s] | | [ 168s] | help: remove this `mut` [ 168s] [ 168s] warning: unused variable: `context` [ 168s] --> ./src/pkgmgr/server/admin_service.rs:2567:5 [ 168s] | [ 168s] 2567 | context: *mut c_void, [ 168s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 168s] [ 168s] warning: variable does not need to be mutable [ 168s] --> ./src/pkgmgr/server/admin_service.rs:2597:9 [ 168s] | [ 168s] 2597 | let mut backend_context = BackendContext::new( [ 168s] | ----^^^^^^^^^^^^^^^ [ 168s] | | [ 168s] | help: remove this `mut` [ 168s] [ 168s] warning: unused variable: `context` [ 168s] --> ./src/pkgmgr/server/admin_service.rs:2612:5 [ 168s] | [ 168s] 2612 | context: *mut c_void, [ 168s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 168s] [ 169s] warning: variable does not need to be mutable [ 169s] --> ./src/pkgmgr/server/admin_service.rs:2656:9 [ 169s] | [ 169s] 2656 | let mut backend_context = BackendContext::new( [ 169s] | ----^^^^^^^^^^^^^^^ [ 169s] | | [ 169s] | help: remove this `mut` [ 169s] [ 169s] warning: unused variable: `status` [ 169s] --> ./src/pkgmgr/server/backend_queue.rs:38:17 [ 169s] | [ 169s] 38 | let mut status: c_int; [ 169s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [ 169s] [ 169s] warning: unused variable: `io` [ 169s] --> ./src/pkgmgr/server/backend_queue.rs:30:33 [ 169s] | [ 169s] 30 | extern "C" fn signal_handler_cb(io: *mut glib_sys::GIOChannel, [ 169s] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [ 169s] [ 169s] warning: unused variable: `cond` [ 169s] --> ./src/pkgmgr/server/backend_queue.rs:31:9 [ 169s] | [ 169s] 31 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 169s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 169s] [ 169s] warning: variable does not need to be mutable [ 169s] --> ./src/pkgmgr/server/backend_queue.rs:71:9 [ 169s] | [ 169s] 71 | let mut mut_queue = queue.borrow_mut(); [ 169s] | ----^^^^^^^^^ [ 169s] | | [ 169s] | help: remove this `mut` [ 169s] [ 169s] warning: variable does not need to be mutable [ 169s] --> ./src/pkgmgr/server/backend_queue.rs:189:28 [ 169s] | [ 169s] 189 | pub fn push(&mut self, mut context: BackendContext) -> i32 { [ 169s] | ----^^^^^^^ [ 169s] | | [ 169s] | help: remove this `mut` [ 169s] [ 169s] warning: unused variable: `req_key` [ 169s] --> ./src/pkgmgr/server/backend_queue.rs:296:41 [ 169s] | [ 169s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 169s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_key` [ 169s] [ 169s] warning: unused variable: `ret` [ 169s] --> ./src/pkgmgr/server/backend_queue.rs:296:50 [ 169s] | [ 169s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 169s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 169s] [ 169s] warning: unused variable: `s` [ 169s] --> ./src/pkgmgr/server/backend_queue.rs:296:55 [ 169s] | [ 169s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_s` [ 169s] [ 169s] warning: variable does not need to be mutable [ 169s] --> ./src/pkgmgr/server/backend_queue.rs:278:25 [ 169s] | [ 169s] 278 | let mut backend: &mut Backend = backend.unwrap(); [ 169s] | ----^^^^^^^ [ 169s] | | [ 169s] | help: remove this `mut` [ 169s] [ 169s] warning: unused variable: `context` [ 169s] --> ./src/pkgmgr/server/cache_service.rs:31:5 [ 169s] | [ 169s] 31 | context: *mut c_void, [ 169s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 169s] [ 169s] warning: unused variable: `context` [ 169s] --> ./src/pkgmgr/server/cache_service.rs:40:5 [ 169s] | [ 169s] 40 | context: *mut c_void, [ 169s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 169s] [ 169s] warning: unused variable: `user_data` [ 169s] --> ./src/pkgmgr/server/cache_service.rs:41:5 [ 169s] | [ 169s] 41 | user_data: *mut c_void, [ 169s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 169s] [ 169s] warning: unused variable: `ret` [ 169s] --> ./src/pkgmgr/server/cache_service.rs:54:9 [ 169s] | [ 169s] 54 | let ret = unsafe { rpc_port_stub_PkgMgrForClearCache_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 169s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 169s] [ 169s] warning: value assigned to `pkg_type` is never read [ 169s] --> ./src/pkgmgr/server/cache_service.rs:63:13 [ 169s] | [ 169s] 63 | let mut pkg_type: String = String::new(); [ 169s] | ^^^^^^^^ [ 169s] | [ 169s] = help: maybe it is overwritten before being read? [ 169s] = note: `#[warn(unused_assignments)]` on by default [ 169s] [ 169s] warning: variable does not need to be mutable [ 169s] --> ./src/pkgmgr/server/cache_service.rs:83:9 [ 169s] | [ 169s] 83 | let mut backend_context = BackendContext::new( [ 169s] | ----^^^^^^^^^^^^^^^ [ 169s] | | [ 169s] | help: remove this `mut` [ 169s] [ 169s] warning: unused variable: `context` [ 169s] --> ./src/pkgmgr/server/delayed_service.rs:32:5 [ 169s] | [ 169s] 32 | context: *mut c_void, [ 169s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 169s] [ 169s] warning: unused variable: `context` [ 169s] --> ./src/pkgmgr/server/delayed_service.rs:41:5 [ 169s] | [ 169s] 41 | context: *mut c_void, [ 169s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 169s] [ 169s] warning: unused variable: `user_data` [ 169s] --> ./src/pkgmgr/server/delayed_service.rs:42:5 [ 169s] | [ 169s] 42 | user_data: *mut c_void, [ 169s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 169s] [ 169s] warning: unused variable: `context` [ 169s] --> ./src/pkgmgr/server/delayed_service.rs:48:5 [ 169s] | [ 169s] 48 | context: *mut c_void, [ 169s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 169s] [ 169s] warning: unused variable: `context` [ 169s] --> ./src/pkgmgr/server/info_service.rs:43:55 [ 169s] | [ 169s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 169s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 169s] [ 169s] warning: unused variable: `context` [ 169s] --> ./src/pkgmgr/server/info_service.rs:48:58 [ 169s] | [ 169s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 169s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 169s] [ 169s] warning: unused variable: `user_data` [ 169s] --> ./src/pkgmgr/server/info_service.rs:48:80 [ 169s] | [ 169s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 169s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 169s] [ 169s] warning: variable does not need to be mutable [ 169s] --> ./src/pkgmgr/server/info_service.rs:98:9 [ 169s] | [ 169s] 98 | let mut backend_context = BackendContext::new( [ 169s] | ----^^^^^^^^^^^^^^^ [ 169s] | | [ 169s] | help: remove this `mut` [ 169s] [ 169s] warning: variable does not need to be mutable [ 169s] --> ./src/pkgmgr/server/info_service.rs:160:9 [ 169s] | [ 169s] 160 | let mut backend_context = BackendContext::new( [ 169s] | ----^^^^^^^^^^^^^^^ [ 169s] | | [ 169s] | help: remove this `mut` [ 169s] [ 170s] warning: unused variable: `context` [ 170s] --> ./src/pkgmgr/server/info_service.rs:195:5 [ 170s] | [ 170s] 195 | context: *mut c_void, [ 170s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 170s] [ 170s] warning: unused variable: `context` [ 170s] --> ./src/pkgmgr/server/info_service.rs:222:5 [ 170s] | [ 170s] 222 | context: *mut c_void, [ 170s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 170s] [ 170s] warning: unused variable: `user_data` [ 170s] --> ./src/pkgmgr/server/info_service.rs:226:5 [ 170s] | [ 170s] 226 | user_data: *mut c_void [ 170s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 170s] [ 170s] warning: variable does not need to be mutable [ 170s] --> ./src/pkgmgr/server/signal.rs:144:13 [ 170s] | [ 170s] 144 | let mut c_req_type: c_int; [ 170s] | ----^^^^^^^^^^ [ 170s] | | [ 170s] | help: remove this `mut` [ 170s] [ 170s] warning: value assigned to `size_result` is never read [ 170s] --> ./src/pkgmgr/server/util.rs:351:17 [ 170s] | [ 170s] 351 | let mut size_result: i64 = -1; [ 170s] | ^^^^^^^^^^^ [ 170s] | [ 170s] = help: maybe it is overwritten before being read? [ 170s] [ 170s] warning: unused variable: `cond` [ 170s] --> ./src/pkgmgr/server/util.rs:341:9 [ 170s] | [ 170s] 341 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 170s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 170s] [ 170s] warning: value assigned to `ret` is never read [ 170s] --> ./src/pkgmgr/server/util.rs:425:21 [ 170s] | [ 170s] 425 | let mut ret: c_int = 0; [ 170s] | ^^^ [ 170s] | [ 170s] = help: maybe it is overwritten before being read? [ 170s] [ 170s] warning: unreachable pattern [ 170s] --> ./src/pkgmgr/server/util.rs:478:17 [ 170s] | [ 170s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 170s] | -------------------------------------- matches any value [ 170s] ... [ 170s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 170s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 170s] | [ 170s] = note: `#[warn(unreachable_patterns)]` on by default [ 170s] [ 170s] warning: unreachable pattern [ 170s] --> ./src/pkgmgr/server/util.rs:483:17 [ 170s] | [ 170s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 170s] | -------------------------------------- matches any value [ 170s] ... [ 170s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 170s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 170s] [ 170s] warning: unreachable pattern [ 170s] --> ./src/pkgmgr/server/util.rs:488:17 [ 170s] | [ 170s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 170s] | -------------------------------------- matches any value [ 170s] ... [ 170s] 488 | _ => { [ 170s] | ^ unreachable pattern [ 170s] [ 170s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 170s] --> ./src/pkgmgr/server/util.rs:473:17 [ 170s] | [ 170s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 170s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 170s] [ 170s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_TEXT` [ 170s] --> ./src/pkgmgr/server/util.rs:478:17 [ 170s] | [ 170s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 170s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_TEXT` [ 170s] [ 170s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 170s] --> ./src/pkgmgr/server/util.rs:483:17 [ 170s] | [ 170s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 170s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 170s] [ 170s] warning: variable does not need to be mutable [ 170s] --> ./src/pkgmgr/server/util.rs:519:13 [ 170s] | [ 170s] 519 | let mut attr = xmlTextReaderGetAttribute(reader, RES_TYPE_ATTRIBUTE_KEY.as_ptr()); [ 170s] | ----^^^^ [ 170s] | | [ 170s] | help: remove this `mut` [ 170s] [ 170s] warning: variable does not need to be mutable [ 170s] --> ./src/pkgmgr/server/util.rs:588:13 [ 170s] | [ 170s] 588 | let mut reader = [ 170s] | ----^^^^^^ [ 170s] | | [ 170s] | help: remove this `mut` [ 170s] [ 170s] warning: unused variable: `gid` [ 170s] --> ./src/pkgmgr/server/util.rs:891:52 [ 170s] | [ 170s] 891 | fn set_environment(mut envs: Vec<&mut String>, gid: libc::gid_t) -> bool { [ 170s] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [ 170s] [ 171s] warning: variable does not need to be mutable [ 171s] --> ./src/pkgmgr/server/mod.rs:89:13 [ 171s] | [ 171s] 89 | let mut backend_queue = BackendQueue::new(self.mainloop); [ 171s] | ----^^^^^^^^^^^^^ [ 171s] | | [ 171s] | help: remove this `mut` [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/server/admin_service.rs:995:32 [ 171s] | [ 171s] 993 | unsafe { [ 171s] | ------ because it's nested under this `unsafe` block [ 171s] 994 | match CString::new(generated_req_key.clone()) { [ 171s] 995 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] | [ 171s] = note: `#[warn(unused_unsafe)]` on by default [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 171s] | [ 171s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] | [ 171s] ::: ./src/pkgmgr/server/admin_service.rs:993:5 [ 171s] | [ 171s] 993 | unsafe { [ 171s] | ------ because it's nested under this `unsafe` block [ 171s] ... [ 171s] 997 | error!("Fail to generate req key, err({:?})", e); [ 171s] | ------------------------------------------------ in this macro invocation [ 171s] | [ 171s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/server/admin_service.rs:1023:46 [ 171s] | [ 171s] 993 | unsafe { [ 171s] | ------ because it's nested under this `unsafe` block [ 171s] ... [ 171s] 1023 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/server/admin_service.rs:1077:32 [ 171s] | [ 171s] 1075 | unsafe { [ 171s] | ------ because it's nested under this `unsafe` block [ 171s] 1076 | match CString::new(generated_req_key.clone()) { [ 171s] 1077 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 171s] | [ 171s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] | [ 171s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 171s] | [ 171s] 1075 | unsafe { [ 171s] | ------ because it's nested under this `unsafe` block [ 171s] ... [ 171s] 1079 | error!("Fail to generate req key, err({:?})", e); [ 171s] | ------------------------------------------------ in this macro invocation [ 171s] | [ 171s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 171s] | [ 171s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] | [ 171s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 171s] | [ 171s] 1075 | unsafe { [ 171s] | ------ because it's nested under this `unsafe` block [ 171s] ... [ 171s] 1106 | debug!("push disable pkg {pkg_id}"); [ 171s] | ----------------------------------- in this macro invocation [ 171s] | [ 171s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/server/admin_service.rs:1108:46 [ 171s] | [ 171s] 1075 | unsafe { [ 171s] | ------ because it's nested under this `unsafe` block [ 171s] ... [ 171s] 1108 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/server/admin_service.rs:1537:5 [ 171s] | [ 171s] 1537 | unsafe { [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/server/admin_service.rs:1590:5 [ 171s] | [ 171s] 1590 | unsafe { [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/server/admin_service.rs:1643:32 [ 171s] | [ 171s] 1641 | unsafe { [ 171s] | ------ because it's nested under this `unsafe` block [ 171s] 1642 | match CString::new(generated_req_key.clone()) { [ 171s] 1643 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 171s] | [ 171s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] | [ 171s] ::: ./src/pkgmgr/server/admin_service.rs:1641:5 [ 171s] | [ 171s] 1641 | unsafe { [ 171s] | ------ because it's nested under this `unsafe` block [ 171s] ... [ 171s] 1645 | error!("Fail to generate req key, err({:?})", e); [ 171s] | ------------------------------------------------ in this macro invocation [ 171s] | [ 171s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/server/admin_service.rs:1657:42 [ 171s] | [ 171s] 1641 | unsafe { [ 171s] | ------ because it's nested under this `unsafe` block [ 171s] ... [ 171s] 1657 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/server/admin_service.rs:1705:32 [ 171s] | [ 171s] 1703 | unsafe { [ 171s] | ------ because it's nested under this `unsafe` block [ 171s] 1704 | match CString::new(generated_req_key.clone()) { [ 171s] 1705 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 171s] | [ 171s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] | [ 171s] ::: ./src/pkgmgr/server/admin_service.rs:1703:5 [ 171s] | [ 171s] 1703 | unsafe { [ 171s] | ------ because it's nested under this `unsafe` block [ 171s] ... [ 171s] 1707 | error!("Fail to generate req key, err({:?})", e); [ 171s] | ------------------------------------------------ in this macro invocation [ 171s] | [ 171s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/server/admin_service.rs:1719:42 [ 171s] | [ 171s] 1703 | unsafe { [ 171s] | ------ because it's nested under this `unsafe` block [ 171s] ... [ 171s] 1719 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/server/admin_service.rs:1767:5 [ 171s] | [ 171s] 1767 | unsafe { [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/server/admin_service.rs:1820:5 [ 171s] | [ 171s] 1820 | unsafe { [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/server/admin_service.rs:2296:17 [ 171s] | [ 171s] 2294 | unsafe { [ 171s] | ------ because it's nested under this `unsafe` block [ 171s] 2295 | if !(*value.offset(i as isize)).is_null() { [ 171s] 2296 | unsafe { free(*value.offset(i as isize) as *mut _) }; [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 171s] | [ 171s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] | [ 171s] ::: ./src/pkgmgr/server/admin_service.rs:2793:9 [ 171s] | [ 171s] 2793 | unsafe { [ 171s] | ------ because it's nested under this `unsafe` block [ 171s] 2794 | let ret = rpc_port_stub_PkgMgrAdmin_register(&mut self.callbacks, self as *mut _ as *mut c_void); [ 171s] 2795 | debug!("admin service start : {ret}"); [ 171s] | ------------------------------------- in this macro invocation [ 171s] | [ 171s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 171s] | [ 171s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] | [ 171s] ::: ./src/pkgmgr/server/admin_service.rs:2801:9 [ 171s] | [ 171s] 2801 | unsafe { [ 171s] | ------ because it's nested under this `unsafe` block [ 171s] 2802 | let ret = rpc_port_stub_PkgMgrAdmin_unregister(); [ 171s] 2803 | debug!("ret : {ret}"); [ 171s] | --------------------- in this macro invocation [ 171s] | [ 171s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 171s] | [ 171s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] | [ 171s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 171s] | [ 171s] 204 | unsafe { [ 171s] | ------ because it's nested under this `unsafe` block [ 171s] ... [ 171s] 210 | error!("sigprocmask failed"); [ 171s] | ---------------------------- in this macro invocation [ 171s] | [ 171s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 171s] | [ 171s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] | [ 171s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 171s] | [ 171s] 204 | unsafe { [ 171s] | ------ because it's nested under this `unsafe` block [ 171s] ... [ 171s] 216 | error!("signalfd failed"); [ 171s] | ------------------------- in this macro invocation [ 171s] | [ 171s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 171s] | [ 171s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] | [ 171s] ::: ./src/pkgmgr/server/cache_service.rs:134:9 [ 171s] | [ 171s] 134 | unsafe { [ 171s] | ------ because it's nested under this `unsafe` block [ 171s] ... [ 171s] 139 | debug!("cache service start : {ret}"); [ 171s] | ------------------------------------- in this macro invocation [ 171s] | [ 171s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 171s] | [ 171s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] | [ 171s] ::: ./src/pkgmgr/server/cache_service.rs:145:9 [ 171s] | [ 171s] 145 | unsafe { [ 171s] | ------ because it's nested under this `unsafe` block [ 171s] 146 | let ret = rpc_port_stub_PkgMgrForClearCache_unregister(); [ 171s] 147 | debug!("ret : {ret}"); [ 171s] | --------------------- in this macro invocation [ 171s] | [ 171s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 171s] | [ 171s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] | [ 171s] ::: ./src/pkgmgr/server/delayed_service.rs:107:9 [ 171s] | [ 171s] 107 | unsafe { [ 171s] | ------ because it's nested under this `unsafe` block [ 171s] ... [ 171s] 112 | debug!("delayed result service start : {ret}"); [ 171s] | ---------------------------------------------- in this macro invocation [ 171s] | [ 171s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 171s] | [ 171s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] | [ 171s] ::: ./src/pkgmgr/server/delayed_service.rs:118:9 [ 171s] | [ 171s] 118 | unsafe { [ 171s] | ------ because it's nested under this `unsafe` block [ 171s] 119 | let ret = rpc_port_stub_DelayedResult_unregister(); [ 171s] 120 | debug!("ret : {ret}"); [ 171s] | --------------------- in this macro invocation [ 171s] | [ 171s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [ 171s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/info_service.rs:165:13 [ 172s] | [ 172s] 165 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] 166 | if mkfifo(fifo_path.as_ptr() as *const c_char, 0o600) < 0 { [ 172s] 167 | error!("Failed to mkfifo"); [ 172s] | -------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/info_service.rs:268:9 [ 172s] | [ 172s] 268 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 273 | debug!("info service start : {ret}"); [ 172s] | ------------------------------------ in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/info_service.rs:279:9 [ 172s] | [ 172s] 279 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] 280 | let ret = rpc_port_stub_PkgMgr_unregister(); [ 172s] 281 | debug!("ret : {ret}"); [ 172s] | --------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 172s] | [ 172s] 131 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 134 | error!("Failure in creating the pkgmgr_installer object"); [ 172s] | --------------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 172s] | [ 172s] 131 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 139 | error!("pkgmgr_installer_set_uid fail"); [ 172s] | --------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 172s] | [ 172s] 131 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 154 | warn!("Unsupported req_type[{}]", req_type as c_int); [ 172s] | ---------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `warn` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 172s] | [ 172s] 131 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 161 | error!("pkgmgr_installer_set_request_type fail"); [ 172s] | ------------------------------------------------ in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 172s] | [ 172s] 131 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 168 | error!("pkgmgr_installer_set_session_id fail : {:?}", c_req_id); [ 172s] | --------------------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 172s] | [ 172s] 309 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] 310 | if pkgmgrinfo_appinfo_get_appid(pkgmgrinfo_appinfo_h, &mut app_id) != 0 { [ 172s] 311 | error!("Failed get appid"); [ 172s] | -------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 172s] | [ 172s] 309 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 314 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 172s] | --------------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/server/util.rs:326:46 [ 172s] | [ 172s] 325 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 172s] | [ 172s] 325 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 329 | error!("Failed get appid"); [ 172s] | -------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 172s] | [ 172s] 325 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 333 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 172s] | --------------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 172s] | [ 172s] 342 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 355 | error!("getsize fd read failed: {:?}", Util::c_char_to_cstr((*err).message)); [ 172s] | ---------------------------------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 172s] | [ 172s] 342 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 361 | error!("empty result"); [ 172s] | ---------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 172s] | [ 172s] 390 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 399 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 172s] | --------------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 172s] | [ 172s] 390 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 406 | error!("Fail to get is readonly"); [ 172s] | --------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 172s] | [ 172s] 422 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 429 | error!("Not found package"); [ 172s] | --------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 172s] | [ 172s] 422 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 445 | debug!("pkgtype - {ret_string}"); [ 172s] | -------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:803:9 [ 172s] | [ 172s] 803 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] 804 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 172s] 805 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 172s] | ------------------------------------------------------ in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `warn` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 172s] | [ 172s] 814 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] 815 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 172s] 816 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 172s] | ------------------------------------------------------ in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `warn` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 172s] | [ 172s] 814 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 822 | error!("Failed to get pid of app{:?}", CStr::from_ptr(appid)); [ 172s] | ------------------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 172s] | [ 172s] 814 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 828 | error!("Failed to terminate app{:?}", CStr::from_ptr(appid)); [ 172s] | ------------------------------------------------------------ in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 172s] | [ 172s] 836 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 840 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 172s] | --------------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 172s] | [ 172s] 836 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 848 | error!("Failed to get list for {:?}", CStr::from_ptr(pkgid)); [ 172s] | ------------------------------------------------------------ in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 172s] | [ 172s] 859 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 863 | warn!("cannot get user information from gumd, retry"); [ 172s] | ----------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `warn` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 172s] | [ 172s] 859 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 871 | error!("cannot get user information from gumd, failed"); [ 172s] | ------------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 172s] | [ 172s] 859 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 877 | error!("cannot get user type"); [ 172s] | ------------------------------ in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 172s] | [ 172s] 892 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 895 | error!("Failed to get the number of supplementary group IDs"); [ 172s] | ------------------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 172s] | [ 172s] 892 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 901 | error!("Failed to get list of supplementary group IDs"); [ 172s] | ------------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 172s] | [ 172s] 892 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 908 | error!("setgroups failed: {}", *__errno_location()); [ 172s] | --------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 172s] | [ 172s] 928 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 942 | error!("getpwuid_r fail"); [ 172s] | ------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 172s] | [ 172s] 928 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 949 | error!("Fail to get str, err({:?})", e); [ 172s] | --------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 172s] | [ 172s] 928 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 957 | error!("Fail to get str, err({:?})", e); [ 172s] | --------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 172s] | [ 172s] 928 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 966 | error!("Failed to set env for the user : {}", APPFW_UID); [ 172s] | -------------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 172s] | [ 172s] 984 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 987 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 172s] | ----------------------------------------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 172s] | [ 172s] 984 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 993 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 172s] | ---------------------------------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 172s] | [ 172s] 984 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 1000 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 172s] | ---------------------------------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/server/util.rs:1005:40 [ 172s] | [ 172s] 984 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 1005 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) } ); [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 172s] | [ 172s] 1081 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 1084 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 172s] | ----------------------------------------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 172s] | [ 172s] 1081 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 1090 | error!("Failed get root path for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 172s] | --------------------------------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 172s] | [ 172s] 1081 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 1098 | error!("Invalid path[{:?}]", Self::c_char_to_cstr(icon_path)); [ 172s] | ------------------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:1109:9 [ 172s] | [ 172s] 1109 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 1119 | error!("Fail to get list for {:?}", CStr::from_ptr(pkgid)); [ 172s] | ---------------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 172s] | [ 172s] 1129 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 1132 | error!("failed to open the fifo({}), errno({})", fifo_path, *__errno_location()); [ 172s] | -------------------------------------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 172s] | [ 172s] 1129 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 1155 | error!("failed to add io watch"); [ 172s] | -------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: constant `SD_LISTEN_FDS_START` is never used [ 172s] --> ./src/pkgmgr/server/mod.rs:28:7 [ 172s] | [ 172s] 28 | const SD_LISTEN_FDS_START: i32 = 3; [ 172s] | ^^^^^^^^^^^^^^^^^^^ [ 172s] | [ 172s] = note: `#[warn(dead_code)]` on by default [ 172s] [ 172s] warning: multiple variants are never constructed [ 172s] --> ./src/pkgmgr/server/mod.rs:43:5 [ 172s] | [ 172s] 42 | enum AUL_RETURN_VALUE { [ 172s] | ---------------- variants in this enum [ 172s] 43 | AUL_R_ENOMEM = -16, //< Out of memory (Since 5.5) [ 172s] | ^^^^^^^^^^^^ [ 172s] 44 | AUL_R_ENOENT = -15, //< App directory entry error [ 172s] | ^^^^^^^^^^^^ [ 172s] 45 | AUL_R_EREJECTED = -14, //< App disable for mode [ 172s] | ^^^^^^^^^^^^^^^ [ 172s] 46 | AUL_R_ENOAPP = -13, //< Failed to find app ID or pkg ID [ 172s] | ^^^^^^^^^^^^ [ 172s] 47 | AUL_R_EHIDDENFORGUEST = -11, //< App hidden for guest mode [ 172s] | ^^^^^^^^^^^^^^^^^^^^^ [ 172s] 48 | AUL_R_ENOLAUNCHPAD = -10, //< no launchpad [ 172s] | ^^^^^^^^^^^^^^^^^^ [ 172s] 49 | AUL_R_ETERMINATING = -9, //< application terminating [ 172s] | ^^^^^^^^^^^^^^^^^^ [ 172s] 50 | AUL_R_EILLACC = -8, //< Illegal Access [ 172s] | ^^^^^^^^^^^^^ [ 172s] 51 | AUL_R_LOCAL = -7, //< Launch by himself [ 172s] | ^^^^^^^^^^^ [ 172s] 52 | AUL_R_ETIMEOUT = -6, //< Timeout [ 172s] | ^^^^^^^^^^^^^^ [ 172s] 53 | AUL_R_ECANCELED = -5, //< Operation canceled [ 172s] | ^^^^^^^^^^^^^^^ [ 172s] 54 | AUL_R_EINVAL = -4, //< Invalid argument [ 172s] | ^^^^^^^^^^^^ [ 172s] 55 | AUL_R_ECOMM = -3, //< Comunication Error [ 172s] | ^^^^^^^^^^^ [ 172s] 56 | AUL_R_ENOINIT = -2, //< AUL handler NOT initialized [ 172s] | ^^^^^^^^^^^^^ [ 172s] 57 | AUL_R_ERROR = -1, //< General error [ 172s] | ^^^^^^^^^^^ [ 172s] [ 172s] warning: field `timer` is never read [ 172s] --> ./src/pkgmgr/server/mod.rs:63:5 [ 172s] | [ 172s] 61 | pub struct Server { [ 172s] | ------ field in this struct [ 172s] 62 | mainloop: *mut GMainLoop, [ 172s] 63 | timer: c_uint [ 172s] | ^^^^^ [ 172s] [ 172s] warning: variants `IO_ERROR`, `OUT_OF_MEMORY`, `INVALID_PARAMETER`, and `PERMISSION_DENIED` are never constructed [ 172s] --> ./src/pkgmgr/server/admin_service.rs:29:5 [ 172s] | [ 172s] 27 | enum RPC_PORT_ERROR { [ 172s] | -------------- variants in this enum [ 172s] 28 | NONE = 0, //< Successful [ 172s] 29 | IO_ERROR = -5, //< Internal I/O error [ 172s] | ^^^^^^^^ [ 172s] 30 | OUT_OF_MEMORY = -12, //< Out of memory [ 172s] | ^^^^^^^^^^^^^ [ 172s] 31 | INVALID_PARAMETER = -22, //< Invalid parameter [ 172s] | ^^^^^^^^^^^^^^^^^ [ 172s] 32 | PERMISSION_DENIED = -13, //< Permission denied [ 172s] | ^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: method `generate_request_id` is never used [ 172s] --> ./src/pkgmgr/server/admin_service.rs:2786:8 [ 172s] | [ 172s] 2713 | impl AdminService { [ 172s] | ----------------- method in this implementation [ 172s] ... [ 172s] 2786 | fn generate_request_id(&self) -> String { [ 172s] | ^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: field `request_type` is never read [ 172s] --> ./src/pkgmgr/server/backend_context.rs:7:5 [ 172s] | [ 172s] 6 | pub struct BackendContext { [ 172s] | -------------- field in this struct [ 172s] 7 | request_type: RequestType, [ 172s] | ^^^^^^^^^^^^ [ 172s] [ 172s] warning: type alias `GIOChannel` is never used [ 172s] --> ./src/pkgmgr/server/backend_queue.rs:14:6 [ 172s] | [ 172s] 14 | type GIOChannel = *mut c_void; [ 172s] | ^^^^^^^^^^ [ 172s] [ 172s] warning: type alias `GIOCondition` is never used [ 172s] --> ./src/pkgmgr/server/backend_queue.rs:15:6 [ 172s] | [ 172s] 15 | type GIOCondition = c_int; [ 172s] | ^^^^^^^^^^^^ [ 172s] [ 172s] warning: variants `EIO`, `ENOPKG`, `EPRIV`, `ETIMEOUT`, `EINVAL`, and `ECOMM` are never constructed [ 172s] --> ./src/pkgmgr/server/info_service.rs:22:5 [ 172s] | [ 172s] 20 | enum PKGMGR_RETURN_VALUE { [ 172s] | ------------------- variants in this enum [ 172s] 21 | ESYSTEM = -9, // Severe system error [ 172s] 22 | EIO = -8, // IO error [ 172s] | ^^^ [ 172s] 23 | ENOMEM = -7, // Out of memory [ 172s] 24 | ENOPKG = -6, // No such package [ 172s] | ^^^^^^ [ 172s] 25 | EPRIV = -5, // Privilege denied [ 172s] | ^^^^^ [ 172s] 26 | ETIMEOUT = -4, // Timeout [ 172s] | ^^^^^^^^ [ 172s] 27 | EINVAL = -3, // Invalid argument [ 172s] | ^^^^^^ [ 172s] 28 | ECOMM = -2, // Comunication Error [ 172s] | ^^^^^ [ 172s] [ 172s] warning: variants `EPRIV` and `ETIMEOUT` are never constructed [ 172s] --> ./src/pkgmgr/server/pkgmgr_return_value.rs:8:5 [ 172s] | [ 172s] 3 | pub enum PKGMGR_RETURN_VALUE { [ 172s] | ------------------- variants in this enum [ 172s] ... [ 172s] 8 | EPRIV = -5, // Privilege denied [ 172s] | ^^^^^ [ 172s] 9 | ETIMEOUT = -4, // Timeout [ 172s] | ^^^^^^^^ [ 172s] [ 172s] warning: variants `KILL`, `CHECK`, `ENABLE_APP_SPLASH_SCREEN`, `DISABLE_APP_SPLASH_SCREEN`, and `MIGRATE_EXTERNAL_IMAGE` are never constructed [ 172s] --> ./src/pkgmgr/server/request_type.rs:20:5 [ 172s] | [ 172s] 1 | pub enum RequestType { [ 172s] | ----------- variants in this enum [ 172s] ... [ 172s] 20 | KILL, [ 172s] | ^^^^ [ 172s] 21 | CHECK, [ 172s] | ^^^^^ [ 172s] ... [ 172s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] ... [ 172s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: multiple variants are never constructed [ 172s] --> ./src/pkgmgr/server/signal.rs:10:2 [ 172s] | [ 172s] 9 | enum PKGMGR_REQ { [ 172s] | ---------- variants in this enum [ 172s] 10 | PERM = -1, [ 172s] | ^^^^ [ 172s] 11 | INVALID = 0, [ 172s] | ^^^^^^^ [ 172s] 12 | INSTALL = 1, [ 172s] | ^^^^^^^ [ 172s] 13 | UNINSTALL = 2, [ 172s] | ^^^^^^^^^ [ 172s] 14 | CLEAR = 3, [ 172s] | ^^^^^ [ 172s] 15 | MOVE = 4, [ 172s] | ^^^^ [ 172s] 16 | RECOVER = 5, [ 172s] | ^^^^^^^ [ 172s] 17 | REINSTALL = 6, [ 172s] | ^^^^^^^^^ [ 172s] 18 | GETSIZE = 7, [ 172s] | ^^^^^^^ [ 172s] 19 | UPGRADE = 8, [ 172s] | ^^^^^^^ [ 172s] 20 | SMACK = 9, [ 172s] | ^^^^^ [ 172s] 21 | MANIFEST_DIRECT_INSTALL = 10, [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] ... [ 172s] 26 | MOUNT_INSTALL = 15, [ 172s] | ^^^^^^^^^^^^^ [ 172s] 27 | DISABLE_PKG = 16, [ 172s] | ^^^^^^^^^^^ [ 172s] 28 | ENABLE_PKG = 17, [ 172s] | ^^^^^^^^^^ [ 172s] 29 | MIGRATE_EXTIMG = 18, [ 172s] | ^^^^^^^^^^^^^^ [ 172s] 30 | RECOVER_DB = 19, [ 172s] | ^^^^^^^^^^ [ 172s] 31 | RES_COPY = 20, [ 172s] | ^^^^^^^^ [ 172s] 32 | RES_CREATE_DIR = 21, [ 172s] | ^^^^^^^^^^^^^^ [ 172s] 33 | RES_REMOVE = 22, [ 172s] | ^^^^^^^^^^ [ 172s] 34 | RES_UNINSTALL = 23 [ 172s] | ^^^^^^^^^^^^^ [ 172s] [ 172s] warning: constant `TZ_SYS_GLOBALAPP_USER` is never used [ 172s] --> ./src/pkgmgr/server/signal.rs:97:7 [ 172s] | [ 172s] 97 | const TZ_SYS_GLOBALAPP_USER: c_int = 22; [ 172s] | ^^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: function `tzplatform_getuid` is never used [ 172s] --> ./src/pkgmgr/server/signal.rs:53:12 [ 172s] | [ 172s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 172s] | ^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: constant `XML_READER_TYPE_ELEMENT` is never used [ 172s] --> ./src/pkgmgr/server/util.rs:29:7 [ 172s] | [ 172s] 29 | const XML_READER_TYPE_ELEMENT: i32 = 1; [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: constant `XML_READER_TYPE_TEXT` is never used [ 172s] --> ./src/pkgmgr/server/util.rs:30:7 [ 172s] | [ 172s] 30 | const XML_READER_TYPE_TEXT: i32 = 3; [ 172s] | ^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: constant `XML_READER_TYPE_END_ELEMENT` is never used [ 172s] --> ./src/pkgmgr/server/util.rs:31:7 [ 172s] | [ 172s] 31 | const XML_READER_TYPE_END_ELEMENT: i32 = 15; [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: type alias `GIOChannel` is never used [ 172s] --> ./src/pkgmgr/server/util.rs:33:6 [ 172s] | [ 172s] 33 | type GIOChannel = *mut c_void; [ 172s] | ^^^^^^^^^^ [ 172s] [ 172s] warning: variants `PMINFO_UI_APP`, `PMINFO_SVC_APP`, `PMINFO_WIDGET_APP`, `PMINFO_WATCH_APP`, and `PMINFO_COMPONENT_BASED_APP` are never constructed [ 172s] --> ./src/pkgmgr/server/util.rs:136:5 [ 172s] | [ 172s] 134 | enum PKGMGRINFO_APP_COMPONENT { [ 172s] | ------------------------ variants in this enum [ 172s] 135 | PMINFO_ALL_APP = 0, //< All Application [ 172s] 136 | PMINFO_UI_APP, //< UI Application [ 172s] | ^^^^^^^^^^^^^ [ 172s] 137 | PMINFO_SVC_APP, //< Service Application [ 172s] | ^^^^^^^^^^^^^^ [ 172s] 138 | PMINFO_WIDGET_APP, //< Widget Application [ 172s] | ^^^^^^^^^^^^^^^^^ [ 172s] 139 | PMINFO_WATCH_APP, //< Watch Application [ 172s] | ^^^^^^^^^^^^^^^^ [ 172s] 140 | PMINFO_COMPONENT_BASED_APP, //< Component-based Application (Since 5.5) [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: associated functions `EnableAppSplashScreen` and `DisableAppSplashScreen` are never used [ 172s] --> ./src/pkgmgr/server/util.rs:766:12 [ 172s] | [ 172s] 384 | impl Util { [ 172s] | --------- associated functions in this implementation [ 172s] ... [ 172s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 172s] | ^^^^^^^^^^^^^^^^^^^^^ [ 172s] ... [ 172s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: function `pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db` is never used [ 172s] --> ./src/pkgmgr/server/util.rs:204:8 [ 172s] | [ 172s] 204 | fn pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db( [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: unused `Result` that must be used [ 172s] --> ./src/main.rs:14:5 [ 172s] | [ 172s] 14 | pkgmgr::server::Server::run(&mut server); [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] | [ 172s] = note: this `Result` may be an `Err` variant, which should be handled [ 172s] = note: `#[warn(unused_must_use)]` on by default [ 172s] help: use `let _ = ...` to ignore the resulting value [ 172s] | [ 172s] 14 | let _ = pkgmgr::server::Server::run(&mut server); [ 172s] | +++++++ [ 172s] [ 172s] warning: unused `Result` that must be used [ 172s] --> ./src/pkgmgr/server/mod.rs:93:9 [ 172s] | [ 172s] 93 | admin_service.run(); [ 172s] | ^^^^^^^^^^^^^^^^^^^ [ 172s] | [ 172s] = note: this `Result` may be an `Err` variant, which should be handled [ 172s] help: use `let _ = ...` to ignore the resulting value [ 172s] | [ 172s] 93 | let _ = admin_service.run(); [ 172s] | +++++++ [ 172s] [ 172s] warning: unused `Result` that must be used [ 172s] --> ./src/pkgmgr/server/mod.rs:95:9 [ 172s] | [ 172s] 95 | cache_service.run(); [ 172s] | ^^^^^^^^^^^^^^^^^^^ [ 172s] | [ 172s] = note: this `Result` may be an `Err` variant, which should be handled [ 172s] help: use `let _ = ...` to ignore the resulting value [ 172s] | [ 172s] 95 | let _ = cache_service.run(); [ 172s] | +++++++ [ 172s] [ 172s] warning: unused `Result` that must be used [ 172s] --> ./src/pkgmgr/server/mod.rs:97:9 [ 172s] | [ 172s] 97 | info_service.run(); [ 172s] | ^^^^^^^^^^^^^^^^^^ [ 172s] | [ 172s] = note: this `Result` may be an `Err` variant, which should be handled [ 172s] help: use `let _ = ...` to ignore the resulting value [ 172s] | [ 172s] 97 | let _ = info_service.run(); [ 172s] | +++++++ [ 172s] [ 172s] warning: unused `Result` that must be used [ 172s] --> ./src/pkgmgr/server/mod.rs:99:9 [ 172s] | [ 172s] 99 | delayed_result_service.run(); [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] | [ 172s] = note: this `Result` may be an `Err` variant, which should be handled [ 172s] help: use `let _ = ...` to ignore the resulting value [ 172s] | [ 172s] 99 | let _ = delayed_result_service.run(); [ 172s] | +++++++ [ 172s] [ 172s] warning: unused `Result` that must be used [ 172s] --> ./src/pkgmgr/server/mod.rs:109:9 [ 172s] | [ 172s] 109 | admin_service.stop(); [ 172s] | ^^^^^^^^^^^^^^^^^^^^ [ 172s] | [ 172s] = note: this `Result` may be an `Err` variant, which should be handled [ 172s] help: use `let _ = ...` to ignore the resulting value [ 172s] | [ 172s] 109 | let _ = admin_service.stop(); [ 172s] | +++++++ [ 172s] [ 172s] warning: unused `Result` that must be used [ 172s] --> ./src/pkgmgr/server/mod.rs:110:9 [ 172s] | [ 172s] 110 | cache_service.stop(); [ 172s] | ^^^^^^^^^^^^^^^^^^^^ [ 172s] | [ 172s] = note: this `Result` may be an `Err` variant, which should be handled [ 172s] help: use `let _ = ...` to ignore the resulting value [ 172s] | [ 172s] 110 | let _ = cache_service.stop(); [ 172s] | +++++++ [ 172s] [ 172s] warning: unused `Result` that must be used [ 172s] --> ./src/pkgmgr/server/mod.rs:111:9 [ 172s] | [ 172s] 111 | info_service.stop(); [ 172s] | ^^^^^^^^^^^^^^^^^^^ [ 172s] | [ 172s] = note: this `Result` may be an `Err` variant, which should be handled [ 172s] help: use `let _ = ...` to ignore the resulting value [ 172s] | [ 172s] 111 | let _ = info_service.stop(); [ 172s] | +++++++ [ 172s] [ 172s] warning: unused `Result` that must be used [ 172s] --> ./src/pkgmgr/server/mod.rs:112:9 [ 172s] | [ 172s] 112 | delayed_result_service.stop(); [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] | [ 172s] = note: this `Result` may be an `Err` variant, which should be handled [ 172s] help: use `let _ = ...` to ignore the resulting value [ 172s] | [ 172s] 112 | let _ = delayed_result_service.stop(); [ 172s] | +++++++ [ 172s] [ 172s] warning: unused return value of `std::mem::size_of` that must be used [ 172s] --> ./src/pkgmgr/server/backend_queue.rs:40:9 [ 172s] | [ 172s] 40 | mem::size_of::(); [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] | [ 172s] help: use `let _ = ...` to ignore the resulting value [ 172s] | [ 172s] 40 | let _ = mem::size_of::(); [ 172s] | +++++++ [ 172s] [ 172s] warning: structure field `rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 172s] --> ./src/pkgmgr/server/info_service.rs:35:9 [ 172s] | [ 172s] 35 | pub rpc_port_stub_PkgMgr_create_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_create_cb` [ 172s] | [ 172s] = note: `#[warn(non_snake_case)]` on by default [ 172s] [ 172s] warning: structure field `rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 172s] --> ./src/pkgmgr/server/info_service.rs:36:9 [ 172s] | [ 172s] 36 | pub rpc_port_stub_PkgMgr_terminate_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_terminate_cb` [ 172s] [ 172s] warning: structure field `rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 172s] --> ./src/pkgmgr/server/info_service.rs:37:9 [ 172s] | [ 172s] 37 | pub rpc_port_stub_PkgMgr_GetSize_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, get_type: c_int, r... [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_cb` [ 172s] [ 172s] warning: structure field `rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 172s] --> ./src/pkgmgr/server/info_service.rs:38:9 [ 172s] | [ 172s] 38 | pub rpc_port_stub_PkgMgr_GetSizeSync_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, get_type: c_in... [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 172s] [ 172s] warning: structure field `rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 172s] --> ./src/pkgmgr/server/info_service.rs:39:9 [ 172s] | [ 172s] 39 | pub rpc_port_stub_PkgMgr_GetResultSizeSync_cb: extern "C" fn(context: *mut c_void, req_key: *const c_char, result: *mut c_int, size_i... [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 172s] [ 172s] warning: structure field `rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 172s] --> ./src/pkgmgr/server/info_service.rs:40:9 [ 172s] | [ 172s] 40 | pub rpc_port_stub_PkgMgr_Check_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, pid: *mut pid_t, use... [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_check_cb` [ 172s] [ 172s] warning: function `impl_rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 172s] --> ./src/pkgmgr/server/info_service.rs:43:19 [ 172s] | [ 172s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_create_cb` [ 172s] [ 172s] warning: function `impl_rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 172s] --> ./src/pkgmgr/server/info_service.rs:48:19 [ 172s] | [ 172s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_terminate_cb` [ 172s] [ 172s] warning: function `impl_rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 172s] --> ./src/pkgmgr/server/info_service.rs:52:19 [ 172s] | [ 172s] 52 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSize_cb( [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_cb` [ 172s] [ 172s] warning: function `impl_rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 172s] --> ./src/pkgmgr/server/info_service.rs:112:19 [ 172s] | [ 172s] 112 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSizeSync_cb( [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 172s] [ 172s] warning: function `impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 172s] --> ./src/pkgmgr/server/info_service.rs:194:19 [ 172s] | [ 172s] 194 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb( [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 172s] [ 172s] warning: function `impl_rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 172s] --> ./src/pkgmgr/server/info_service.rs:221:19 [ 172s] | [ 172s] 221 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_Check_cb( [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_check_cb` [ 172s] [ 172s] warning: method `IsPackageReadonly` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:389:12 [ 172s] | [ 172s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 172s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly` [ 172s] [ 172s] warning: method `GetPackageType` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:420:12 [ 172s] | [ 172s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 172s] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type` [ 172s] [ 172s] warning: variable `xmlReaderTypes_XML_READER_TYPE_ELEMENT` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:473:17 [ 172s] | [ 172s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_element` [ 172s] [ 172s] warning: variable `xmlReaderTypes_XML_READER_TYPE_TEXT` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:478:17 [ 172s] | [ 172s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_text` [ 172s] [ 172s] warning: variable `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:483:17 [ 172s] | [ 172s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_end_element` [ 172s] [ 172s] warning: constant `type_map` should have an upper case name [ 172s] --> ./src/pkgmgr/server/util.rs:623:15 [ 172s] | [ 172s] 623 | const type_map : [[&str; 2]; 3] = [ [ 172s] | ^^^^^^^^ help: convert the identifier to upper case: `TYPE_MAP` [ 172s] | [ 172s] = note: `#[warn(non_upper_case_globals)]` on by default [ 172s] [ 172s] warning: method `GenerateRequestId` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:646:12 [ 172s] | [ 172s] 646 | pub fn GenerateRequestId(pkgid: &str) -> Option { [ 172s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_request_id` [ 172s] [ 172s] warning: method `CreatePkgUpdateInfo` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:657:12 [ 172s] | [ 172s] 657 | pub fn CreatePkgUpdateInfo(pkgid: *const c_char, version: *const c_char, update_type: c_int) -> *mut c_void { [ 172s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info` [ 172s] [ 172s] warning: method `DestroyPkgUpdateInfo` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:680:12 [ 172s] | [ 172s] 680 | pub fn DestroyPkgUpdateInfo(handle: *mut c_void) -> c_int { [ 172s] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroy_pkg_update_info` [ 172s] [ 172s] warning: method `RegisterPkgUpdateInfo` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:686:12 [ 172s] | [ 172s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 172s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `register_pkg_update_info` [ 172s] [ 172s] warning: method `UnregisterPkgUpdateInfo` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:696:12 [ 172s] | [ 172s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_pkg_update_info` [ 172s] [ 172s] warning: method `UnregisterAllPkgUpdateInfo` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:706:12 [ 172s] | [ 172s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_all_pkg_update_info` [ 172s] [ 172s] warning: method `EnableApp` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:728:12 [ 172s] | [ 172s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 172s] | ^^^^^^^^^ help: convert the identifier to snake case: `enable_app` [ 172s] [ 172s] warning: method `DisableApp` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:738:12 [ 172s] | [ 172s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 172s] | ^^^^^^^^^^ help: convert the identifier to snake case: `disable_app` [ 172s] [ 172s] warning: method `EnableGlobalApp` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:747:12 [ 172s] | [ 172s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 172s] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app` [ 172s] [ 172s] warning: method `DisableGlobalApp` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:757:12 [ 172s] | [ 172s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 172s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app` [ 172s] [ 172s] warning: method `EnableAppSplashScreen` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:766:12 [ 172s] | [ 172s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 172s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_app_splash_screen` [ 172s] [ 172s] warning: method `DisableAppSplashScreen` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:775:12 [ 172s] | [ 172s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_app_splash_screen` [ 172s] [ 172s] warning: method `EnableGlobalAppSplashScreen` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:784:12 [ 172s] | [ 172s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app_splash_screen` [ 172s] [ 172s] warning: method `DisableGlobalAppSplashScreen` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:793:12 [ 172s] | [ 172s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app_splash_screen` [ 172s] [ 172s] warning: method `KillApp` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:813:12 [ 172s] | [ 172s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 172s] | ^^^^^^^ help: convert the identifier to snake case: `kill_app` [ 172s] [ 172s] warning: method `KillAppsInPkg` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:835:12 [ 172s] | [ 172s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 172s] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_apps_in_pkg` [ 172s] [ 172s] warning: method `IsAdminUser` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:855:8 [ 172s] | [ 172s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 172s] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_admin_user` [ 172s] [ 258s] warning: 542 warnings emitted [ 258s] [ 258s] + export LD_LIBRARY_PATH=:/usr/lib/rustlib:/usr/lib/rustlib/dylib:/usr/lib/rustlib:/usr/lib/rustlib/dylib [ 258s] + LD_LIBRARY_PATH=:/usr/lib/rustlib:/usr/lib/rustlib/dylib:/usr/lib/rustlib:/usr/lib/rustlib/dylib [ 258s] ++ find /usr/lib -maxdepth 1 -name 'libstd-*.so' [ 258s] + __rust_std=/usr/lib/libstd-161dbff30b3b0c00.so [ 258s] + /usr/bin/rustc -C prefer-dynamic --extern std=/usr/lib/libstd-161dbff30b3b0c00.so -C codegen-units=1 -C debuginfo=2 -C opt-level=3 -C relocation-model=pic -C overflow-checks=on -C symbol-mangling-version=v0 -L/usr/lib/rustlib -L/usr/lib/rustlib/dylib --test --crate-type=bin --crate-name=unittests_rust_pkgmgr_server -L native=./tidl_pkgmgr_server -L native=./util_pkgmgr_server -l minizip --edition=2021 --extern libc=/usr/lib/rustlib/dylib/liblibc.so --cap-lints warn ./src/main.rs [ 261s] warning: unused import: `boxed` [ 261s] --> ./src/pkgmgr/server/admin_service.rs:4:11 [ 261s] | [ 261s] 4 | use std::{boxed, str}; [ 261s] | ^^^^^ [ 261s] | [ 261s] = note: `#[warn(unused_imports)]` on by default [ 261s] [ 261s] warning: unused import: `std::mem` [ 261s] --> ./src/pkgmgr/server/admin_service.rs:6:5 [ 261s] | [ 261s] 6 | use std::mem; [ 261s] | ^^^^^^^^ [ 261s] [ 261s] warning: unused import: `std::ptr` [ 261s] --> ./src/pkgmgr/server/admin_service.rs:7:5 [ 261s] | [ 261s] 7 | use std::ptr; [ 261s] | ^^^^^^^^ [ 261s] [ 261s] warning: unused import: `malloc` [ 261s] --> ./src/pkgmgr/server/admin_service.rs:8:18 [ 261s] | [ 261s] 8 | use libc::{free, malloc, strlen}; [ 261s] | ^^^^^^ [ 261s] [ 261s] warning: unused import: `super::Server` [ 261s] --> ./src/pkgmgr/server/admin_service.rs:10:5 [ 261s] | [ 261s] 10 | use super::Server; [ 261s] | ^^^^^^^^^^^^^ [ 261s] [ 261s] warning: type `rpc_port_stub_array_string_h` should have an upper camel case name [ 261s] --> ./src/pkgmgr/server/admin_service.rs:23:6 [ 261s] | [ 261s] 23 | type rpc_port_stub_array_string_h = *mut c_void; [ 261s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RpcPortStubArrayStringH` [ 261s] | [ 261s] = note: `#[warn(non_camel_case_types)]` on by default [ 261s] [ 261s] warning: unused imports: `pid_t`, `uid_t` [ 261s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 261s] | [ 261s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 261s] | ^^^^^ ^^^^^ [ 261s] [ 261s] warning: unused imports: `c_int`, `c_void` [ 261s] --> ./src/pkgmgr/server/backend_context.rs:4:16 [ 261s] | [ 261s] 4 | use std::ffi::{c_int, c_void}; [ 261s] | ^^^^^ ^^^^^^ [ 261s] [ 261s] warning: unused import: `std::path::Path` [ 261s] --> ./src/pkgmgr/server/backend_queue.rs:10:5 [ 261s] | [ 261s] 10 | use std::path::Path; [ 261s] | ^^^^^^^^^^^^^^^ [ 261s] [ 261s] warning: denote infinite loops with `loop { ... }` [ 261s] --> ./src/pkgmgr/server/backend_queue.rs:50:9 [ 261s] | [ 261s] 50 | while true { [ 261s] | ^^^^^^^^^^ help: use `loop` [ 261s] | [ 261s] = note: `#[warn(while_true)]` on by default [ 261s] [ 261s] warning: unnecessary parentheses around `if` condition [ 261s] --> ./src/pkgmgr/server/backend_queue.rs:73:8 [ 261s] | [ 261s] 73 | if (mut_queue.is_queue_empty()) { [ 261s] | ^ ^ [ 261s] | [ 261s] = note: `#[warn(unused_parens)]` on by default [ 261s] help: remove these parentheses [ 261s] | [ 261s] 73 - if (mut_queue.is_queue_empty()) { [ 261s] 73 + if mut_queue.is_queue_empty() { [ 261s] | [ 261s] [ 261s] warning: unnecessary trailing semicolon [ 261s] --> ./src/pkgmgr/server/backend_queue.rs:297:17 [ 261s] | [ 261s] 297 | ; [ 261s] | ^ help: remove this semicolon [ 261s] | [ 261s] = note: `#[warn(redundant_semicolons)]` on by default [ 261s] [ 261s] warning: unused import: `super::Server` [ 261s] --> ./src/pkgmgr/server/cache_service.rs:1:5 [ 261s] | [ 261s] 1 | use super::Server; [ 261s] | ^^^^^^^^^^^^^ [ 261s] [ 261s] warning: unused import: `super::Server` [ 261s] --> ./src/pkgmgr/server/delayed_service.rs:1:5 [ 261s] | [ 261s] 1 | use super::Server; [ 261s] | ^^^^^^^^^^^^^ [ 261s] [ 261s] warning: unused import: `super::backend_context::*` [ 261s] --> ./src/pkgmgr/server/delayed_service.rs:4:5 [ 261s] | [ 261s] 4 | use super::backend_context::*; [ 261s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 261s] [ 261s] warning: unused import: `super::request_result::*` [ 261s] --> ./src/pkgmgr/server/delayed_service.rs:5:5 [ 261s] | [ 261s] 5 | use super::request_result::*; [ 261s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 261s] [ 261s] warning: unused import: `super::request_type::*` [ 261s] --> ./src/pkgmgr/server/delayed_service.rs:6:5 [ 261s] | [ 261s] 6 | use super::request_type::*; [ 261s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 261s] [ 261s] warning: unused import: `super::util::*` [ 261s] --> ./src/pkgmgr/server/delayed_service.rs:7:5 [ 261s] | [ 261s] 7 | use super::util::*; [ 261s] | ^^^^^^^^^^^^^^ [ 261s] [ 261s] warning: unused imports: `pid_t`, `uid_t` [ 261s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 261s] | [ 261s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 261s] | ^^^^^ ^^^^^ [ 261s] [ 261s] warning: unused import: `std::io::Error` [ 261s] --> ./src/pkgmgr/server/info_service.rs:3:5 [ 261s] | [ 261s] 3 | use std::io::Error; [ 261s] | ^^^^^^^^^^^^^^ [ 261s] [ 261s] warning: unused import: `std::mem` [ 261s] --> ./src/pkgmgr/server/info_service.rs:6:5 [ 261s] | [ 261s] 6 | use std::mem; [ 261s] | ^^^^^^^^ [ 261s] [ 261s] warning: unused import: `std::ptr` [ 261s] --> ./src/pkgmgr/server/info_service.rs:7:5 [ 261s] | [ 261s] 7 | use std::ptr; [ 261s] | ^^^^^^^^ [ 261s] [ 261s] warning: unused imports: `free`, `malloc`, `strlen` [ 261s] --> ./src/pkgmgr/server/info_service.rs:8:12 [ 261s] | [ 261s] 8 | use libc::{free, malloc, strlen, mkfifo}; [ 261s] | ^^^^ ^^^^^^ ^^^^^^ [ 261s] [ 261s] warning: unused import: `super::Server` [ 261s] --> ./src/pkgmgr/server/info_service.rs:10:5 [ 261s] | [ 261s] 10 | use super::Server; [ 261s] | ^^^^^^^^^^^^^ [ 261s] [ 261s] warning: unused import: `super::service::Service` [ 261s] --> ./src/pkgmgr/server/info_service.rs:13:5 [ 261s] | [ 261s] 13 | use super::service::Service; [ 261s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 261s] [ 261s] warning: unnecessary trailing semicolon [ 261s] --> ./src/pkgmgr/server/info_service.rs:49:5 [ 261s] | [ 261s] 49 | ; [ 261s] | ^ help: remove this semicolon [ 261s] [ 261s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 261s] --> ./src/pkgmgr/server/request_result.rs:7:5 [ 261s] | [ 261s] 7 | GETSIZE_SYNC(String, i32, i32), [ 261s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 261s] [ 261s] warning: variant `GET_GENERATE_LICENSE_RESULT` should have an upper camel case name [ 261s] --> ./src/pkgmgr/server/request_result.rs:8:5 [ 261s] | [ 261s] 8 | GET_GENERATE_LICENSE_RESULT(String, i32, CString, CString), [ 261s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetGenerateLicenseResult` [ 261s] [ 261s] warning: variant `MOUNT_INSTALL` should have an upper camel case name [ 261s] --> ./src/pkgmgr/server/request_type.rs:3:5 [ 261s] | [ 261s] 3 | MOUNT_INSTALL, [ 261s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MountInstall` [ 261s] [ 261s] warning: variant `ENABLE_PKG` should have an upper camel case name [ 261s] --> ./src/pkgmgr/server/request_type.rs:7:5 [ 261s] | [ 261s] 7 | ENABLE_PKG, [ 261s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnablePkg` [ 261s] [ 261s] warning: variant `DISABLE_PKG` should have an upper camel case name [ 261s] --> ./src/pkgmgr/server/request_type.rs:8:5 [ 261s] | [ 261s] 8 | DISABLE_PKG, [ 261s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisablePkg` [ 261s] [ 261s] warning: variant `REGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 261s] --> ./src/pkgmgr/server/request_type.rs:9:5 [ 261s] | [ 261s] 9 | REGISTER_PKG_UPDATE_INFO, [ 261s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterPkgUpdateInfo` [ 261s] [ 261s] warning: variant `UNREGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 261s] --> ./src/pkgmgr/server/request_type.rs:10:5 [ 261s] | [ 261s] 10 | UNREGISTER_PKG_UPDATE_INFO, [ 261s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterPkgUpdateInfo` [ 261s] [ 261s] warning: variant `UNREGISTER_ALL_PKG_UPDATE_INFO` should have an upper camel case name [ 261s] --> ./src/pkgmgr/server/request_type.rs:11:5 [ 261s] | [ 261s] 11 | UNREGISTER_ALL_PKG_UPDATE_INFO, [ 261s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterAllPkgUpdateInfo` [ 261s] [ 261s] warning: variant `ENABLE_APP` should have an upper camel case name [ 261s] --> ./src/pkgmgr/server/request_type.rs:12:5 [ 261s] | [ 261s] 12 | ENABLE_APP, [ 261s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableApp` [ 261s] [ 261s] warning: variant `DISABLE_APP` should have an upper camel case name [ 261s] --> ./src/pkgmgr/server/request_type.rs:13:5 [ 261s] | [ 261s] 13 | DISABLE_APP, [ 261s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableApp` [ 261s] [ 261s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 261s] --> ./src/pkgmgr/server/request_type.rs:15:5 [ 261s] | [ 261s] 15 | GETSIZE_SYNC, [ 261s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 261s] [ 261s] warning: variant `ENABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 261s] --> ./src/pkgmgr/server/request_type.rs:18:5 [ 261s] | [ 261s] 18 | ENABLE_GLOBAL_APP_FOR_UID, [ 261s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableGlobalAppForUid` [ 261s] [ 261s] warning: variant `DISABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 261s] --> ./src/pkgmgr/server/request_type.rs:19:5 [ 261s] | [ 261s] 19 | DISABLE_GLOBAL_APP_FOR_UID, [ 261s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableGlobalAppForUid` [ 261s] [ 261s] warning: variant `GENERATE_LICENSE_REQUEST` should have an upper camel case name [ 261s] --> ./src/pkgmgr/server/request_type.rs:22:5 [ 261s] | [ 261s] 22 | GENERATE_LICENSE_REQUEST, [ 261s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GenerateLicenseRequest` [ 261s] [ 261s] warning: variant `REGISTER_LICENSE` should have an upper camel case name [ 261s] --> ./src/pkgmgr/server/request_type.rs:23:5 [ 261s] | [ 261s] 23 | REGISTER_LICENSE, [ 261s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterLicense` [ 261s] [ 261s] warning: variant `DECRYPT_PACKAGE` should have an upper camel case name [ 261s] --> ./src/pkgmgr/server/request_type.rs:24:5 [ 261s] | [ 261s] 24 | DECRYPT_PACKAGE, [ 261s] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DecryptPackage` [ 261s] [ 261s] warning: variant `ENABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 261s] --> ./src/pkgmgr/server/request_type.rs:25:5 [ 261s] | [ 261s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 261s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableAppSplashScreen` [ 261s] [ 261s] warning: variant `DISABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 261s] --> ./src/pkgmgr/server/request_type.rs:26:5 [ 261s] | [ 261s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 261s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableAppSplashScreen` [ 261s] [ 261s] warning: variant `SET_APP_LABEL` should have an upper camel case name [ 261s] --> ./src/pkgmgr/server/request_type.rs:27:5 [ 261s] | [ 261s] 27 | SET_APP_LABEL, [ 261s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppLabel` [ 261s] [ 261s] warning: variant `SET_APP_ICON` should have an upper camel case name [ 261s] --> ./src/pkgmgr/server/request_type.rs:28:5 [ 261s] | [ 261s] 28 | SET_APP_ICON, [ 261s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppIcon` [ 261s] [ 261s] warning: variant `MIGRATE_EXTERNAL_IMAGE` should have an upper camel case name [ 261s] --> ./src/pkgmgr/server/request_type.rs:29:5 [ 261s] | [ 261s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 261s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MigrateExternalImage` [ 261s] [ 261s] warning: variant `RESOURCE_SHARE_COPY` should have an upper camel case name [ 261s] --> ./src/pkgmgr/server/request_type.rs:30:5 [ 261s] | [ 261s] 30 | RESOURCE_SHARE_COPY, [ 261s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCopy` [ 261s] [ 261s] warning: variant `RESOURCE_SHARE_CREATE_DIR` should have an upper camel case name [ 261s] --> ./src/pkgmgr/server/request_type.rs:31:5 [ 261s] | [ 261s] 31 | RESOURCE_SHARE_CREATE_DIR, [ 261s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCreateDir` [ 261s] [ 261s] warning: variant `RESOURCE_SHARE_REMOVE` should have an upper camel case name [ 261s] --> ./src/pkgmgr/server/request_type.rs:32:5 [ 261s] | [ 261s] 32 | RESOURCE_SHARE_REMOVE, [ 261s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareRemove` [ 261s] [ 261s] warning: variant `RESOURCE_SHARE_UNINSTALL` should have an upper camel case name [ 261s] --> ./src/pkgmgr/server/request_type.rs:33:5 [ 261s] | [ 261s] 33 | RESOURCE_SHARE_UNINSTALL, [ 261s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareUninstall` [ 261s] [ 261s] warning: variant `REMOVE_FILE` should have an upper camel case name [ 261s] --> ./src/pkgmgr/server/request_type.rs:34:5 [ 261s] | [ 261s] 34 | REMOVE_FILE, [ 261s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RemoveFile` [ 261s] [ 261s] warning: unused import: `CStr` [ 261s] --> ./src/pkgmgr/server/signal.rs:1:39 [ 261s] | [ 261s] 1 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 261s] | ^^^^ [ 261s] [ 261s] warning: unused import: `pid_t` [ 261s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 261s] | [ 261s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 261s] | ^^^^^ [ 261s] [ 261s] warning: unused imports: `CStr`, `CString`, `c_char`, `c_void` [ 261s] --> ./src/pkgmgr/server/signal.rs:39:20 [ 261s] | [ 261s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 261s] | ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^ [ 261s] [ 261s] warning: unused import: `pid_t` [ 261s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 261s] | [ 261s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 261s] | ^^^^^ [ 261s] [ 261s] warning: unused import: `std::cell::RefCell` [ 261s] --> ./src/pkgmgr/server/util.rs:1:5 [ 261s] | [ 261s] 1 | use std::cell::RefCell; [ 261s] | ^^^^^^^^^^^^^^^^^^ [ 261s] [ 261s] warning: unused import: `std::rc::Rc` [ 261s] --> ./src/pkgmgr/server/util.rs:8:5 [ 261s] | [ 261s] 8 | use std::rc::Rc; [ 261s] | ^^^^^^^^^^^ [ 261s] [ 261s] warning: type `xmlChar` should have an upper camel case name [ 261s] --> ./src/pkgmgr/server/util.rs:34:6 [ 261s] | [ 261s] 34 | type xmlChar = c_uchar; [ 261s] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlChar` [ 261s] [ 261s] warning: type `xmlTextReaderPtr` should have an upper camel case name [ 261s] --> ./src/pkgmgr/server/util.rs:35:6 [ 261s] | [ 261s] 35 | type xmlTextReaderPtr = *mut c_void; [ 261s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlTextReaderPtr` [ 261s] [ 261s] warning: unused imports: `CStr`, `CString` [ 261s] --> ./src/pkgmgr/server/util.rs:39:43 [ 261s] | [ 261s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 261s] | ^^^^ ^^^^^^^ [ 261s] [ 261s] warning: unused import: `pid_t` [ 261s] --> ./src/pkgmgr/server/util.rs:40:37 [ 261s] | [ 261s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 261s] | ^^^^^ [ 261s] [ 261s] warning: unnecessary parentheses around `if` condition [ 261s] --> ./src/pkgmgr/server/util.rs:474:24 [ 261s] | [ 261s] 474 | if (cur == depth + 1) { [ 261s] | ^ ^ [ 261s] | [ 261s] help: remove these parentheses [ 261s] | [ 261s] 474 - if (cur == depth + 1) { [ 261s] 474 + if cur == depth + 1 { [ 261s] | [ 261s] [ 261s] warning: unnecessary parentheses around `if` condition [ 261s] --> ./src/pkgmgr/server/util.rs:571:12 [ 261s] | [ 261s] 571 | if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 261s] | ^ ^ [ 261s] | [ 261s] help: remove these parentheses [ 261s] | [ 261s] 571 - if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 261s] 571 + if unzOpenCurrentFile(uf) != UNZ_OK as c_int { [ 261s] | [ 261s] [ 261s] warning: unused import: `std::ffi::CStr` [ 261s] --> ./src/pkgmgr/server/test/util_tests.rs:4:5 [ 261s] | [ 261s] 4 | use std::ffi::CStr; [ 261s] | ^^^^^^^^^^^^^^ [ 261s] [ 261s] warning: unused import: `std::mem` [ 261s] --> ./src/pkgmgr/server/test/util_tests.rs:6:5 [ 261s] | [ 261s] 6 | use std::mem; [ 261s] | ^^^^^^^^ [ 261s] [ 261s] warning: unused import: `mockall::predicate::*` [ 261s] --> ./src/pkgmgr/server/test/util_tests.rs:8:5 [ 261s] | [ 261s] 8 | use mockall::predicate::*; [ 261s] | ^^^^^^^^^^^^^^^^^^^^^ [ 261s] [ 261s] warning: unused import: `mockall::*` [ 261s] --> ./src/pkgmgr/server/test/util_tests.rs:9:5 [ 261s] | [ 261s] 9 | use mockall::*; [ 261s] | ^^^^^^^^^^ [ 261s] [ 261s] warning: unused import: `std::ffi::CString` [ 261s] --> ./src/pkgmgr/server/test/signal_tests.rs:2:5 [ 261s] | [ 261s] 2 | use std::ffi::CString; [ 261s] | ^^^^^^^^^^^^^^^^^ [ 261s] [ 261s] warning: unused import: `std::ffi::CStr` [ 261s] --> ./src/pkgmgr/server/test/signal_tests.rs:3:5 [ 261s] | [ 261s] 3 | use std::ffi::CStr; [ 261s] | ^^^^^^^^^^^^^^ [ 261s] [ 261s] warning: unused import: `std::ffi::c_char` [ 261s] --> ./src/pkgmgr/server/test/signal_tests.rs:4:5 [ 261s] | [ 261s] 4 | use std::ffi::c_char; [ 261s] | ^^^^^^^^^^^^^^^^ [ 261s] [ 261s] warning: unused import: `std::mem` [ 261s] --> ./src/pkgmgr/server/test/signal_tests.rs:5:5 [ 261s] | [ 261s] 5 | use std::mem; [ 261s] | ^^^^^^^^ [ 261s] [ 261s] warning: unused import: `mockall::predicate::*` [ 261s] --> ./src/pkgmgr/server/test/signal_tests.rs:6:5 [ 261s] | [ 261s] 6 | use mockall::predicate::*; [ 261s] | ^^^^^^^^^^^^^^^^^^^^^ [ 261s] [ 261s] warning: unused import: `mockall::*` [ 261s] --> ./src/pkgmgr/server/test/signal_tests.rs:7:5 [ 261s] | [ 261s] 7 | use mockall::*; [ 261s] | ^^^^^^^^^^ [ 261s] [ 261s] warning: unused import: `pid_t` [ 261s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 261s] | [ 261s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 261s] | ^^^^^ [ 261s] [ 261s] warning: unused import: `std::cell::RefCell` [ 261s] --> ./src/pkgmgr/server/mod.rs:22:5 [ 261s] | [ 261s] 22 | use std::cell::RefCell; [ 261s] | ^^^^^^^^^^^^^^^^^^ [ 261s] [ 261s] warning: unused import: `std::rc::Rc` [ 261s] --> ./src/pkgmgr/server/mod.rs:26:5 [ 261s] | [ 261s] 26 | use std::rc::Rc; [ 261s] | ^^^^^^^^^^^ [ 261s] [ 261s] warning: unused import: `std::process::Command` [ 261s] --> ./src/main.rs:9:5 [ 261s] | [ 261s] 9 | use std::process::Command; [ 261s] | ^^^^^^^^^^^^^^^^^^^^^ [ 261s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:5:26 [ 262s] | [ 262s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 262s] | ^^^^^ [ 262s] | [ 262s] = note: `#[warn(deprecated)]` on by default [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:5:33 [ 262s] | [ 262s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:20:20 [ 262s] | [ 262s] 20 | const GLOBAL_USER: uid_t = 201; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:322:25 [ 262s] | [ 262s] 322 | let mut caller_uid: uid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:443:25 [ 262s] | [ 262s] 443 | let mut caller_uid: uid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:548:25 [ 262s] | [ 262s] 548 | let mut caller_uid: uid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:595:25 [ 262s] | [ 262s] 595 | let mut caller_uid: uid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:718:25 [ 262s] | [ 262s] 718 | let mut caller_uid: uid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:801:25 [ 262s] | [ 262s] 801 | let mut caller_uid: uid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:853:25 [ 262s] | [ 262s] 853 | let mut caller_uid: uid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:937:25 [ 262s] | [ 262s] 937 | let mut caller_uid: uid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:990:25 [ 262s] | [ 262s] 990 | let mut caller_uid: uid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1015:76 [ 262s] | [ 262s] 1015 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, true) { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1072:25 [ 262s] | [ 262s] 1072 | let mut caller_uid: uid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1097:76 [ 262s] | [ 262s] 1097 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, false) { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1151:25 [ 262s] | [ 262s] 1151 | let mut caller_pid: pid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1152:25 [ 262s] | [ 262s] 1152 | let mut caller_uid: uid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1166:62 [ 262s] | [ 262s] 1166 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1196:66 [ 262s] | [ 262s] 1196 | let ret = Util::RegisterPkgUpdateInfo(handle, uid as uid_t); [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1215:25 [ 262s] | [ 262s] 1215 | let mut caller_pid: pid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1216:25 [ 262s] | [ 262s] 1216 | let mut caller_uid: uid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1230:62 [ 262s] | [ 262s] 1230 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1254:109 [ 262s] | [ 262s] 1254 | RequestResult::DELAYED(generated_req_key, Util::UnregisterPkgUpdateInfo(pkg_id.as_ptr(), uid as uid_t)) [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1270:25 [ 262s] | [ 262s] 1270 | let mut caller_pid: pid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1271:25 [ 262s] | [ 262s] 1271 | let mut caller_uid: uid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1303:95 [ 262s] | [ 262s] 1303 | RequestResult::DELAYED(generated_req_key, Util::UnregisterAllPkgUpdateInfo(uid as uid_t, caller_uid)) [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1312:45 [ 262s] | [ 262s] 1312 | fn handle_enable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1359:60 [ 262s] | [ 262s] 1359 | fn handle_enable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1371:40 [ 262s] | [ 262s] 1371 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1373:40 [ 262s] | [ 262s] 1373 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1380:36 [ 262s] | [ 262s] 1380 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1382:36 [ 262s] | [ 262s] 1382 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1392:36 [ 262s] | [ 262s] 1392 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1394:36 [ 262s] | [ 262s] 1394 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1400:28 [ 262s] | [ 262s] 1400 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1403:46 [ 262s] | [ 262s] 1403 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1404:59 [ 262s] | [ 262s] 1404 | Util::EnableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1405:32 [ 262s] | [ 262s] 1405 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1409:28 [ 262s] | [ 262s] 1409 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1415:46 [ 262s] | [ 262s] 1415 | fn handle_disable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1463:61 [ 262s] | [ 262s] 1463 | fn handle_disable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1475:40 [ 262s] | [ 262s] 1475 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1477:40 [ 262s] | [ 262s] 1477 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1484:36 [ 262s] | [ 262s] 1484 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1486:36 [ 262s] | [ 262s] 1486 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1496:36 [ 262s] | [ 262s] 1496 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1498:36 [ 262s] | [ 262s] 1498 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1504:28 [ 262s] | [ 262s] 1504 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1507:46 [ 262s] | [ 262s] 1507 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1508:60 [ 262s] | [ 262s] 1508 | Util::DisableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1509:32 [ 262s] | [ 262s] 1509 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1513:28 [ 262s] | [ 262s] 1513 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1535:25 [ 262s] | [ 262s] 1535 | let mut caller_uid: uid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1562:70 [ 262s] | [ 262s] 1562 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1588:25 [ 262s] | [ 262s] 1588 | let mut caller_uid: uid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1615:71 [ 262s] | [ 262s] 1615 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1673:74 [ 262s] | [ 262s] 1673 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1735:75 [ 262s] | [ 262s] 1735 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1765:25 [ 262s] | [ 262s] 1765 | let mut caller_uid: uid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1792:85 [ 262s] | [ 262s] 1792 | RequestResult::VAL(handle_enable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1818:25 [ 262s] | [ 262s] 1818 | let mut caller_uid: uid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1845:86 [ 262s] | [ 262s] 1845 | RequestResult::VAL(handle_disable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1863:40 [ 262s] | [ 262s] 1863 | Util::KillAppsInPkg(pkg_id, uid as uid_t) [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1873:25 [ 262s] | [ 262s] 1873 | let mut caller_pid: pid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1874:25 [ 262s] | [ 262s] 1874 | let mut caller_uid: uid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1985:25 [ 262s] | [ 262s] 1985 | let mut caller_pid: pid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1986:25 [ 262s] | [ 262s] 1986 | let mut caller_uid: uid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2035:25 [ 262s] | [ 262s] 2035 | let mut caller_pid: pid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2036:25 [ 262s] | [ 262s] 2036 | let mut caller_uid: uid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2083:54 [ 262s] | [ 262s] 2083 | Util::EnableGlobalAppSplashScreen(app_id, uid as uid_t) [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2093:55 [ 262s] | [ 262s] 2093 | Util::DisableGlobalAppSplashScreen(app_id, uid as uid_t) [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2105:25 [ 262s] | [ 262s] 2105 | let mut caller_pid: pid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2106:25 [ 262s] | [ 262s] 2106 | let mut caller_uid: uid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2137:102 [ 262s] | [ 262s] 2137 | RequestResult::DELAYED(generated_req_key, Util::update_app_label(app_id.as_ptr(), uid as uid_t , label.as_ptr())) [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2155:25 [ 262s] | [ 262s] 2155 | let mut caller_pid: pid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2156:25 [ 262s] | [ 262s] 2156 | let mut caller_uid: uid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2187:101 [ 262s] | [ 262s] 2187 | RequestResult::DELAYED(generated_req_key, Util::update_app_icon(app_id.as_ptr(), uid as uid_t , icon_path.as_ptr())) [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2312:25 [ 262s] | [ 262s] 2312 | let mut caller_uid: uid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2313:25 [ 262s] | [ 262s] 2313 | let mut caller_pid: pid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2383:25 [ 262s] | [ 262s] 2383 | let mut caller_uid: uid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2384:25 [ 262s] | [ 262s] 2384 | let mut caller_pid: pid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2453:25 [ 262s] | [ 262s] 2453 | let mut caller_uid: uid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2454:25 [ 262s] | [ 262s] 2454 | let mut caller_pid: pid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2532:25 [ 262s] | [ 262s] 2532 | let mut caller_uid: uid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2622:41 [ 262s] | [ 262s] 2622 | if unsafe { check_valid_path(uid as uid_t, pkg_id, file_path) } != 0 { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2681:19 [ 262s] | [ 262s] 2681 | pid: *mut pid_t, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2682:19 [ 262s] | [ 262s] 2682 | uid: *mut uid_t [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 262s] | [ 262s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/backend_context.rs:3:33 [ 262s] | [ 262s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/cache_service.rs:12:26 [ 262s] | [ 262s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/cache_service.rs:12:33 [ 262s] | [ 262s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/cache_service.rs:23:14 [ 262s] | [ 262s] 23 | uid: uid_t, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/cache_service.rs:48:17 [ 262s] | [ 262s] 48 | target_uid: uid_t, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/cache_service.rs:53:25 [ 262s] | [ 262s] 53 | let mut caller_uid: uid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/cache_service.rs:106:19 [ 262s] | [ 262s] 106 | pid: *mut pid_t, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/cache_service.rs:107:19 [ 262s] | [ 262s] 107 | uid: *mut uid_t [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 262s] | [ 262s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/delayed_service.rs:13:33 [ 262s] | [ 262s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/info_service.rs:2:26 [ 262s] | [ 262s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/info_service.rs:2:33 [ 262s] | [ 262s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/info_service.rs:37:90 [ 262s] | [ 262s] 37 | pub rpc_port_stub_PkgMgr_GetSize_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, get_type: c_int, r... [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/info_service.rs:38:94 [ 262s] | [ 262s] 38 | pub rpc_port_stub_PkgMgr_GetSizeSync_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, get_type: c_in... [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/info_service.rs:40:88 [ 262s] | [ 262s] 40 | pub rpc_port_stub_PkgMgr_Check_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, pid: *mut pid_t, use... [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/info_service.rs:40:128 [ 262s] | [ 262s] 40 | pub rpc_port_stub_PkgMgr_Check_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, pid: *mut pid_t, use... [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/info_service.rs:54:17 [ 262s] | [ 262s] 54 | target_uid: uid_t, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/info_service.rs:60:25 [ 262s] | [ 262s] 60 | let mut caller_pid: pid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/info_service.rs:61:25 [ 262s] | [ 262s] 61 | let mut caller_uid: uid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/info_service.rs:114:17 [ 262s] | [ 262s] 114 | target_uid: uid_t, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/info_service.rs:120:25 [ 262s] | [ 262s] 120 | let mut caller_pid: pid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/info_service.rs:121:25 [ 262s] | [ 262s] 121 | let mut caller_uid: uid_t = 0; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/info_service.rs:223:17 [ 262s] | [ 262s] 223 | target_uid: uid_t, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/info_service.rs:225:15 [ 262s] | [ 262s] 225 | pid: *mut pid_t, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/info_service.rs:228:43 [ 262s] | [ 262s] 228 | Util::check_app(pkg_id, target_uid as uid_t, pid) [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/info_service.rs:242:19 [ 262s] | [ 262s] 242 | pid: *mut pid_t, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/info_service.rs:243:19 [ 262s] | [ 262s] 243 | uid: *mut uid_t [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/signal.rs:2:26 [ 262s] | [ 262s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 262s] | [ 262s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/signal.rs:99:20 [ 262s] | [ 262s] 99 | const GLOBAL_USER: uid_t = 201; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/signal.rs:101:33 [ 262s] | [ 262s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/signal.rs:101:47 [ 262s] | [ 262s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/signal.rs:102:26 [ 262s] | [ 262s] 102 | let mut uid_vec: Vec = vec![]; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/signal.rs:110:28 [ 262s] | [ 262s] 110 | let mut uids: *mut uid_t = std::ptr::null_mut(); [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/signal.rs:124:14 [ 262s] | [ 262s] 124 | uid: uid_t, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/signal.rs:53:44 [ 262s] | [ 262s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/signal.rs:62:14 [ 262s] | [ 262s] 62 | uid: uid_t, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/signal.rs:86:14 [ 262s] | [ 262s] 86 | uid: uid_t, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/signal.rs:40:30 [ 262s] | [ 262s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 262s] | [ 262s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/signal.rs:44:45 [ 262s] | [ 262s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:4:26 [ 262s] | [ 262s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:4:33 [ 262s] | [ 262s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:22:21 [ 262s] | [ 262s] 22 | const REGULAR_USER: uid_t = 5000; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:23:20 [ 262s] | [ 262s] 23 | const GLOBAL_USER: uid_t = 201; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:25:18 [ 262s] | [ 262s] 25 | const APPFW_UID: uid_t = 301; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:307:36 [ 262s] | [ 262s] 307 | let uid : uid_t = user_data as uid_t; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:307:15 [ 262s] | [ 262s] 307 | let uid : uid_t = user_data as uid_t; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:326:81 [ 262s] | [ 262s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:326:93 [ 262s] | [ 262s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:326:25 [ 262s] | [ 262s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:326:37 [ 262s] | [ 262s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:389:57 [ 262s] | [ 262s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:420:55 [ 262s] | [ 262s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:686:62 [ 262s] | [ 262s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:696:63 [ 262s] | [ 262s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:706:44 [ 262s] | [ 262s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:706:63 [ 262s] | [ 262s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:728:49 [ 262s] | [ 262s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:738:50 [ 262s] | [ 262s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:747:55 [ 262s] | [ 262s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:757:56 [ 262s] | [ 262s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:766:61 [ 262s] | [ 262s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:775:62 [ 262s] | [ 262s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:784:67 [ 262s] | [ 262s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:793:68 [ 262s] | [ 262s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:802:54 [ 262s] | [ 262s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:802:64 [ 262s] | [ 262s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:813:47 [ 262s] | [ 262s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:835:53 [ 262s] | [ 262s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:855:25 [ 262s] | [ 262s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:983:69 [ 262s] | [ 262s] 983 | pub fn get_application_info_by_appid(appid: *const c_char, uid: uid_t) -> Option<(CString, bool)> { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:1012:41 [ 262s] | [ 262s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:1012:53 [ 262s] | [ 262s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:1029:71 [ 262s] | [ 262s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:1029:90 [ 262s] | [ 262s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:1076:56 [ 262s] | [ 262s] 1076 | pub fn update_app_label(appid: *const c_char, uid: uid_t, label: *const c_char) -> c_int { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:1080:55 [ 262s] | [ 262s] 1080 | pub fn update_app_icon(appid: *const c_char, uid: uid_t, icon_path: *const c_char) -> c_int { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:1108:49 [ 262s] | [ 262s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:1108:66 [ 262s] | [ 262s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:156:14 [ 262s] | [ 262s] 156 | uid: uid_t, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:166:14 [ 262s] | [ 262s] 166 | uid: uid_t, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:180:14 [ 262s] | [ 262s] 180 | uid: uid_t [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:185:14 [ 262s] | [ 262s] 185 | uid: uid_t [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:189:14 [ 262s] | [ 262s] 189 | uid: uid_t [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:194:14 [ 262s] | [ 262s] 194 | uid: uid_t, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:200:14 [ 262s] | [ 262s] 200 | uid: uid_t, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:206:14 [ 262s] | [ 262s] 206 | uid: uid_t, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:212:14 [ 262s] | [ 262s] 212 | uid: uid_t, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:218:14 [ 262s] | [ 262s] 218 | uid: uid_t, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:224:14 [ 262s] | [ 262s] 224 | uid: uid_t, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:237:32 [ 262s] | [ 262s] 237 | fn gum_user_get_sync(uid : uid_t, offline : c_int) -> *mut c_void; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:266:21 [ 262s] | [ 262s] 266 | caller_uid: uid_t [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:274:14 [ 262s] | [ 262s] 274 | uid: uid_t, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:40:30 [ 262s] | [ 262s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:40:37 [ 262s] | [ 262s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:46:18 [ 262s] | [ 262s] 46 | uid: uid_t, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:52:18 [ 262s] | [ 262s] 52 | uid: uid_t, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:67:18 [ 262s] | [ 262s] 67 | uid: uid_t, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:101:18 [ 262s] | [ 262s] 101 | uid: uid_t, [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:122:70 [ 262s] | [ 262s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:123:66 [ 262s] | [ 262s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:124:59 [ 262s] | [ 262s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/util.rs:125:97 [ 262s] | [ 262s] 125 | pub fn aul_app_get_pkgid_bypid_for_uid(pid: c_int, pkgid: *mut c_char, len: c_int, uid: uid_t) -> c_int; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 262s] | [ 262s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 262s] | [ 262s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/test/signal_tests.rs:12:26 [ 262s] | [ 262s] 12 | let mut uid_vec: Vec = vec![]; [ 262s] | ^^^^^ [ 262s] [ 262s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 262s] --> ./src/pkgmgr/server/test/signal_tests.rs:19:26 [ 262s] | [ 262s] 19 | let mut uid_vec: Vec = vec![]; [ 262s] | ^^^^^ [ 262s] [ 265s] warning: unreachable expression [ 265s] --> ./src/pkgmgr/server/backend_queue.rs:64:5 [ 265s] | [ 265s] 61 | return G_SOURCE_CONTINUE; [ 265s] | ------------------------ any code following this expression is unreachable [ 265s] ... [ 265s] 64 | 1 [ 265s] | ^ unreachable expression [ 265s] | [ 265s] = note: `#[warn(unreachable_code)]` on by default [ 265s] [ 270s] warning: unused import: `super::super::super::server::service::Service` [ 270s] --> ./src/pkgmgr/server/test/info_service_tests.rs:3:5 [ 270s] | [ 270s] 3 | use super::super::super::server::service::Service; [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 270s] [ 270s] warning: unused variable: `context` [ 270s] --> ./src/pkgmgr/server/admin_service.rs:297:5 [ 270s] | [ 270s] 297 | context: *mut c_void, [ 270s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 270s] | [ 270s] = note: `#[warn(unused_variables)]` on by default [ 270s] [ 270s] warning: unused variable: `context` [ 270s] --> ./src/pkgmgr/server/admin_service.rs:306:5 [ 270s] | [ 270s] 306 | context: *mut c_void, [ 270s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 270s] [ 270s] warning: unused variable: `user_data` [ 270s] --> ./src/pkgmgr/server/admin_service.rs:307:5 [ 270s] | [ 270s] 307 | user_data: *mut c_void, [ 270s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 270s] [ 270s] warning: unused variable: `ret` [ 270s] --> ./src/pkgmgr/server/admin_service.rs:323:9 [ 270s] | [ 270s] 323 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 270s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 270s] [ 270s] warning: unused variable: `req_id` [ 270s] --> ./src/pkgmgr/server/admin_service.rs:318:5 [ 270s] | [ 270s] 318 | req_id: *const c_char, [ 270s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 270s] [ 270s] warning: variable does not need to be mutable [ 270s] --> ./src/pkgmgr/server/admin_service.rs:415:9 [ 270s] | [ 270s] 415 | let mut backend_context = BackendContext::new( [ 270s] | ----^^^^^^^^^^^^^^^ [ 270s] | | [ 270s] | help: remove this `mut` [ 270s] | [ 270s] = note: `#[warn(unused_mut)]` on by default [ 270s] [ 270s] warning: unused variable: `ret` [ 270s] --> ./src/pkgmgr/server/admin_service.rs:444:9 [ 270s] | [ 270s] 444 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 270s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 270s] [ 270s] warning: unused variable: `req_id` [ 270s] --> ./src/pkgmgr/server/admin_service.rs:434:5 [ 270s] | [ 270s] 434 | req_id: *const c_char, [ 270s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 270s] [ 270s] warning: variable does not need to be mutable [ 270s] --> ./src/pkgmgr/server/admin_service.rs:510:9 [ 270s] | [ 270s] 510 | let mut backend_context = BackendContext::new( [ 270s] | ----^^^^^^^^^^^^^^^ [ 270s] | | [ 270s] | help: remove this `mut` [ 270s] [ 270s] warning: unused variable: `ret` [ 270s] --> ./src/pkgmgr/server/admin_service.rs:549:9 [ 270s] | [ 270s] 549 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 270s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 270s] [ 270s] warning: variable does not need to be mutable [ 270s] --> ./src/pkgmgr/server/admin_service.rs:571:9 [ 270s] | [ 270s] 571 | let mut backend_context = BackendContext::new( [ 270s] | ----^^^^^^^^^^^^^^^ [ 270s] | | [ 270s] | help: remove this `mut` [ 270s] [ 270s] warning: unused variable: `ret` [ 270s] --> ./src/pkgmgr/server/admin_service.rs:596:9 [ 270s] | [ 270s] 596 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 270s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 270s] [ 270s] warning: unused variable: `req_id` [ 270s] --> ./src/pkgmgr/server/admin_service.rs:591:5 [ 270s] | [ 270s] 591 | req_id: *const c_char, [ 270s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 270s] [ 270s] warning: variable does not need to be mutable [ 270s] --> ./src/pkgmgr/server/admin_service.rs:688:9 [ 270s] | [ 270s] 688 | let mut backend_context = BackendContext::new( [ 270s] | ----^^^^^^^^^^^^^^^ [ 270s] | | [ 270s] | help: remove this `mut` [ 270s] [ 270s] warning: unused variable: `ret` [ 270s] --> ./src/pkgmgr/server/admin_service.rs:719:9 [ 270s] | [ 270s] 719 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 270s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 270s] [ 270s] warning: unused variable: `req_id` [ 270s] --> ./src/pkgmgr/server/admin_service.rs:706:5 [ 270s] | [ 270s] 706 | req_id: *const c_char, [ 270s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 270s] [ 270s] warning: variable does not need to be mutable [ 270s] --> ./src/pkgmgr/server/admin_service.rs:763:9 [ 270s] | [ 270s] 763 | let mut backend_context = BackendContext::new( [ 270s] | ----^^^^^^^^^^^^^^^ [ 270s] | | [ 270s] | help: remove this `mut` [ 270s] [ 270s] warning: unused variable: `ret` [ 270s] --> ./src/pkgmgr/server/admin_service.rs:802:9 [ 270s] | [ 270s] 802 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 270s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 270s] [ 270s] warning: variable does not need to be mutable [ 270s] --> ./src/pkgmgr/server/admin_service.rs:824:9 [ 270s] | [ 270s] 824 | let mut backend_context = BackendContext::new( [ 270s] | ----^^^^^^^^^^^^^^^ [ 270s] | | [ 270s] | help: remove this `mut` [ 270s] [ 270s] warning: unused variable: `ret` [ 270s] --> ./src/pkgmgr/server/admin_service.rs:854:9 [ 270s] | [ 270s] 854 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 270s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 270s] [ 270s] warning: variable does not need to be mutable [ 270s] --> ./src/pkgmgr/server/admin_service.rs:898:9 [ 270s] | [ 270s] 898 | let mut backend_context = BackendContext::new( [ 270s] | ----^^^^^^^^^^^^^^^ [ 270s] | | [ 270s] | help: remove this `mut` [ 270s] [ 270s] warning: unused variable: `ret` [ 270s] --> ./src/pkgmgr/server/admin_service.rs:938:9 [ 270s] | [ 270s] 938 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 270s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 270s] [ 270s] warning: variable does not need to be mutable [ 270s] --> ./src/pkgmgr/server/admin_service.rs:961:9 [ 270s] | [ 270s] 961 | let mut backend_context = BackendContext::new( [ 270s] | ----^^^^^^^^^^^^^^^ [ 270s] | | [ 270s] | help: remove this `mut` [ 270s] [ 270s] warning: unused variable: `ret` [ 270s] --> ./src/pkgmgr/server/admin_service.rs:991:9 [ 270s] | [ 270s] 991 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 270s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 270s] [ 270s] warning: variable does not need to be mutable [ 270s] --> ./src/pkgmgr/server/admin_service.rs:1038:17 [ 270s] | [ 270s] 1038 | let mut backend_context = BackendContext::new( [ 270s] | ----^^^^^^^^^^^^^^^ [ 270s] | | [ 270s] | help: remove this `mut` [ 270s] [ 270s] warning: unused variable: `ret` [ 270s] --> ./src/pkgmgr/server/admin_service.rs:1073:9 [ 270s] | [ 270s] 1073 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 270s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 270s] [ 270s] warning: variable does not need to be mutable [ 270s] --> ./src/pkgmgr/server/admin_service.rs:1123:17 [ 270s] | [ 270s] 1123 | let mut backend_context = BackendContext::new( [ 270s] | ----^^^^^^^^^^^^^^^ [ 270s] | | [ 270s] | help: remove this `mut` [ 270s] [ 270s] warning: unused variable: `pkg_id` [ 270s] --> ./src/pkgmgr/server/admin_service.rs:1186:9 [ 270s] | [ 270s] 1186 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) }); [ 270s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 270s] [ 270s] warning: variable does not need to be mutable [ 270s] --> ./src/pkgmgr/server/admin_service.rs:1180:9 [ 270s] | [ 270s] 1180 | let mut handle : *mut c_void = Util::CreatePkgUpdateInfo(pkg_id, version, update_type); [ 270s] | ----^^^^^^ [ 270s] | | [ 270s] | help: remove this `mut` [ 270s] [ 270s] warning: variable does not need to be mutable [ 270s] --> ./src/pkgmgr/server/admin_service.rs:1190:9 [ 270s] | [ 270s] 1190 | let mut backend_context = BackendContext::new( [ 270s] | ----^^^^^^^^^^^^^^^ [ 270s] | | [ 270s] | help: remove this `mut` [ 270s] [ 270s] warning: variable does not need to be mutable [ 270s] --> ./src/pkgmgr/server/admin_service.rs:1248:9 [ 270s] | [ 270s] 1248 | let mut backend_context = BackendContext::new( [ 270s] | ----^^^^^^^^^^^^^^^ [ 270s] | | [ 270s] | help: remove this `mut` [ 270s] [ 270s] warning: variable does not need to be mutable [ 270s] --> ./src/pkgmgr/server/admin_service.rs:1297:9 [ 270s] | [ 270s] 1297 | let mut backend_context = BackendContext::new( [ 270s] | ----^^^^^^^^^^^^^^^ [ 270s] | | [ 270s] | help: remove this `mut` [ 270s] [ 270s] warning: unused variable: `is_global` [ 271s] --> ./src/pkgmgr/server/admin_service.rs:1321:17 [ 271s] | [ 271s] 1321 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 271s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 271s] [ 271s] warning: unused variable: `is_global` [ 271s] --> ./src/pkgmgr/server/admin_service.rs:1368:17 [ 271s] | [ 271s] 1368 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 271s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 271s] [ 271s] warning: unused variable: `is_global` [ 271s] --> ./src/pkgmgr/server/admin_service.rs:1424:17 [ 271s] | [ 271s] 1424 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 271s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 271s] [ 271s] warning: unused variable: `is_global` [ 271s] --> ./src/pkgmgr/server/admin_service.rs:1472:17 [ 271s] | [ 271s] 1472 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 271s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 271s] [ 271s] warning: unused variable: `caller_uid` [ 271s] --> ./src/pkgmgr/server/admin_service.rs:1535:13 [ 271s] | [ 271s] 1535 | let mut caller_uid: uid_t = 0; [ 271s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 271s] [ 271s] warning: unused variable: `context` [ 271s] --> ./src/pkgmgr/server/admin_service.rs:1521:5 [ 271s] | [ 271s] 1521 | context: *mut c_void, [ 271s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 271s] [ 271s] warning: variable does not need to be mutable [ 271s] --> ./src/pkgmgr/server/admin_service.rs:1535:9 [ 271s] | [ 271s] 1535 | let mut caller_uid: uid_t = 0; [ 271s] | ----^^^^^^^^^^ [ 271s] | | [ 271s] | help: remove this `mut` [ 271s] [ 271s] warning: variable does not need to be mutable [ 271s] --> ./src/pkgmgr/server/admin_service.rs:1558:13 [ 271s] | [ 271s] 1558 | let mut backend_context = BackendContext::new( [ 271s] | ----^^^^^^^^^^^^^^^ [ 271s] | | [ 271s] | help: remove this `mut` [ 271s] [ 271s] warning: unused variable: `caller_uid` [ 271s] --> ./src/pkgmgr/server/admin_service.rs:1588:13 [ 271s] | [ 271s] 1588 | let mut caller_uid: uid_t = 0; [ 271s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 271s] [ 271s] warning: unused variable: `context` [ 271s] --> ./src/pkgmgr/server/admin_service.rs:1574:5 [ 271s] | [ 271s] 1574 | context: *mut c_void, [ 271s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 271s] [ 271s] warning: variable does not need to be mutable [ 271s] --> ./src/pkgmgr/server/admin_service.rs:1588:9 [ 271s] | [ 271s] 1588 | let mut caller_uid: uid_t = 0; [ 271s] | ----^^^^^^^^^^ [ 271s] | | [ 271s] | help: remove this `mut` [ 271s] [ 271s] warning: variable does not need to be mutable [ 271s] --> ./src/pkgmgr/server/admin_service.rs:1611:13 [ 271s] | [ 271s] 1611 | let mut backend_context = BackendContext::new( [ 271s] | ----^^^^^^^^^^^^^^^ [ 271s] | | [ 271s] | help: remove this `mut` [ 271s] [ 271s] warning: unused variable: `context` [ 271s] --> ./src/pkgmgr/server/admin_service.rs:1627:5 [ 271s] | [ 271s] 1627 | context: *mut c_void, [ 271s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 271s] [ 271s] warning: variable does not need to be mutable [ 271s] --> ./src/pkgmgr/server/admin_service.rs:1669:17 [ 271s] | [ 271s] 1669 | let mut backend_context = BackendContext::new( [ 271s] | ----^^^^^^^^^^^^^^^ [ 271s] | | [ 271s] | help: remove this `mut` [ 271s] [ 271s] warning: unused variable: `context` [ 271s] --> ./src/pkgmgr/server/admin_service.rs:1689:5 [ 271s] | [ 271s] 1689 | context: *mut c_void, [ 271s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 271s] [ 271s] warning: variable does not need to be mutable [ 271s] --> ./src/pkgmgr/server/admin_service.rs:1731:17 [ 271s] | [ 271s] 1731 | let mut backend_context = BackendContext::new( [ 271s] | ----^^^^^^^^^^^^^^^ [ 271s] | | [ 271s] | help: remove this `mut` [ 271s] [ 271s] warning: unused variable: `caller_uid` [ 271s] --> ./src/pkgmgr/server/admin_service.rs:1765:13 [ 271s] | [ 271s] 1765 | let mut caller_uid: uid_t = 0; [ 271s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 271s] [ 271s] warning: unused variable: `context` [ 271s] --> ./src/pkgmgr/server/admin_service.rs:1751:5 [ 271s] | [ 271s] 1751 | context: *mut c_void, [ 271s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 271s] [ 271s] warning: variable does not need to be mutable [ 271s] --> ./src/pkgmgr/server/admin_service.rs:1765:9 [ 271s] | [ 271s] 1765 | let mut caller_uid: uid_t = 0; [ 271s] | ----^^^^^^^^^^ [ 271s] | | [ 271s] | help: remove this `mut` [ 271s] [ 271s] warning: variable does not need to be mutable [ 271s] --> ./src/pkgmgr/server/admin_service.rs:1788:13 [ 271s] | [ 271s] 1788 | let mut backend_context = BackendContext::new( [ 271s] | ----^^^^^^^^^^^^^^^ [ 271s] | | [ 271s] | help: remove this `mut` [ 271s] [ 271s] warning: unused variable: `caller_uid` [ 271s] --> ./src/pkgmgr/server/admin_service.rs:1818:13 [ 271s] | [ 271s] 1818 | let mut caller_uid: uid_t = 0; [ 271s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 271s] [ 271s] warning: unused variable: `context` [ 271s] --> ./src/pkgmgr/server/admin_service.rs:1804:5 [ 271s] | [ 271s] 1804 | context: *mut c_void, [ 271s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 271s] [ 271s] warning: variable does not need to be mutable [ 271s] --> ./src/pkgmgr/server/admin_service.rs:1818:9 [ 271s] | [ 271s] 1818 | let mut caller_uid: uid_t = 0; [ 271s] | ----^^^^^^^^^^ [ 271s] | | [ 271s] | help: remove this `mut` [ 271s] [ 271s] warning: variable does not need to be mutable [ 271s] --> ./src/pkgmgr/server/admin_service.rs:1841:13 [ 271s] | [ 271s] 1841 | let mut backend_context = BackendContext::new( [ 271s] | ----^^^^^^^^^^^^^^^ [ 271s] | | [ 271s] | help: remove this `mut` [ 271s] [ 271s] warning: unused variable: `context` [ 271s] --> ./src/pkgmgr/server/admin_service.rs:1857:5 [ 271s] | [ 271s] 1857 | context: *mut c_void, [ 271s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 271s] [ 271s] warning: unused variable: `pid` [ 271s] --> ./src/pkgmgr/server/admin_service.rs:1860:5 [ 271s] | [ 271s] 1860 | pid: *mut c_int, [ 271s] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [ 271s] [ 271s] warning: unused variable: `user_data` [ 271s] --> ./src/pkgmgr/server/admin_service.rs:1861:5 [ 271s] | [ 271s] 1861 | user_data: *mut c_void, [ 271s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 271s] [ 271s] warning: variable does not need to be mutable [ 271s] --> ./src/pkgmgr/server/admin_service.rs:1900:9 [ 271s] | [ 271s] 1900 | let mut backend_context = BackendContext::new( [ 271s] | ----^^^^^^^^^^^^^^^ [ 271s] | | [ 271s] | help: remove this `mut` [ 271s] [ 271s] warning: unused variable: `context` [ 271s] --> ./src/pkgmgr/server/admin_service.rs:1932:5 [ 271s] | [ 271s] 1932 | context: *mut c_void, [ 271s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 271s] [ 271s] warning: variable does not need to be mutable [ 271s] --> ./src/pkgmgr/server/admin_service.rs:2012:9 [ 271s] | [ 271s] 2012 | let mut backend_context = BackendContext::new( [ 271s] | ----^^^^^^^^^^^^^^^ [ 271s] | | [ 271s] | help: remove this `mut` [ 271s] [ 271s] warning: variable does not need to be mutable [ 271s] --> ./src/pkgmgr/server/admin_service.rs:2063:9 [ 271s] | [ 271s] 2063 | let mut backend_context = BackendContext::new( [ 271s] | ----^^^^^^^^^^^^^^^ [ 271s] | | [ 271s] | help: remove this `mut` [ 271s] [ 271s] warning: unused variable: `context` [ 271s] --> ./src/pkgmgr/server/admin_service.rs:2078:5 [ 271s] | [ 271s] 2078 | context: *mut c_void, [ 271s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 271s] [ 271s] warning: unused variable: `user_data` [ 271s] --> ./src/pkgmgr/server/admin_service.rs:2081:5 [ 271s] | [ 271s] 2081 | user_data: *mut c_void, [ 271s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 271s] [ 271s] warning: unused variable: `context` [ 271s] --> ./src/pkgmgr/server/admin_service.rs:2088:5 [ 271s] | [ 271s] 2088 | context: *mut c_void, [ 271s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 271s] [ 271s] warning: unused variable: `user_data` [ 271s] --> ./src/pkgmgr/server/admin_service.rs:2091:5 [ 271s] | [ 271s] 2091 | user_data: *mut c_void, [ 271s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 271s] [ 271s] warning: variable does not need to be mutable [ 271s] --> ./src/pkgmgr/server/admin_service.rs:2133:9 [ 271s] | [ 271s] 2133 | let mut backend_context = BackendContext::new( [ 271s] | ----^^^^^^^^^^^^^^^ [ 271s] | | [ 271s] | help: remove this `mut` [ 271s] [ 271s] warning: variable does not need to be mutable [ 271s] --> ./src/pkgmgr/server/admin_service.rs:2183:9 [ 271s] | [ 271s] 2183 | let mut backend_context = BackendContext::new( [ 271s] | ----^^^^^^^^^^^^^^^ [ 271s] | | [ 271s] | help: remove this `mut` [ 271s] [ 271s] warning: unused variable: `context` [ 271s] --> ./src/pkgmgr/server/admin_service.rs:2198:5 [ 271s] | [ 271s] 2198 | context: *mut c_void, [ 271s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 271s] [ 271s] warning: unused variable: `uid` [ 271s] --> ./src/pkgmgr/server/admin_service.rs:2199:5 [ 271s] | [ 271s] 2199 | uid: c_int, [ 271s] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [ 271s] [ 271s] warning: unused variable: `pkg_id` [ 271s] --> ./src/pkgmgr/server/admin_service.rs:2200:5 [ 271s] | [ 271s] 2200 | pkg_id: *const c_char, [ 271s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 271s] [ 271s] warning: unused variable: `user_data` [ 271s] --> ./src/pkgmgr/server/admin_service.rs:2201:5 [ 271s] | [ 271s] 2201 | user_data: *mut c_void, [ 271s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 271s] [ 271s] warning: variable does not need to be mutable [ 271s] --> ./src/pkgmgr/server/admin_service.rs:2364:9 [ 271s] | [ 271s] 2364 | let mut backend_context = BackendContext::new( [ 271s] | ----^^^^^^^^^^^^^^^ [ 271s] | | [ 271s] | help: remove this `mut` [ 271s] [ 271s] warning: variable does not need to be mutable [ 271s] --> ./src/pkgmgr/server/admin_service.rs:2434:9 [ 271s] | [ 271s] 2434 | let mut backend_context = BackendContext::new( [ 271s] | ----^^^^^^^^^^^^^^^ [ 271s] | | [ 271s] | help: remove this `mut` [ 271s] [ 271s] warning: variable does not need to be mutable [ 271s] --> ./src/pkgmgr/server/admin_service.rs:2504:9 [ 271s] | [ 271s] 2504 | let mut backend_context = BackendContext::new( [ 271s] | ----^^^^^^^^^^^^^^^ [ 271s] | | [ 271s] | help: remove this `mut` [ 271s] [ 271s] warning: unused variable: `ret` [ 271s] --> ./src/pkgmgr/server/admin_service.rs:2533:9 [ 271s] | [ 271s] 2533 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 271s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 271s] [ 271s] warning: variable does not need to be mutable [ 271s] --> ./src/pkgmgr/server/admin_service.rs:2552:9 [ 271s] | [ 271s] 2552 | let mut backend_context = BackendContext::new( [ 271s] | ----^^^^^^^^^^^^^^^ [ 271s] | | [ 271s] | help: remove this `mut` [ 271s] [ 271s] warning: unused variable: `context` [ 271s] --> ./src/pkgmgr/server/admin_service.rs:2567:5 [ 271s] | [ 271s] 2567 | context: *mut c_void, [ 271s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 271s] [ 271s] warning: variable does not need to be mutable [ 271s] --> ./src/pkgmgr/server/admin_service.rs:2597:9 [ 271s] | [ 271s] 2597 | let mut backend_context = BackendContext::new( [ 271s] | ----^^^^^^^^^^^^^^^ [ 271s] | | [ 271s] | help: remove this `mut` [ 271s] [ 271s] warning: unused variable: `context` [ 271s] --> ./src/pkgmgr/server/admin_service.rs:2612:5 [ 271s] | [ 271s] 2612 | context: *mut c_void, [ 271s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 271s] [ 271s] warning: variable does not need to be mutable [ 271s] --> ./src/pkgmgr/server/admin_service.rs:2656:9 [ 271s] | [ 271s] 2656 | let mut backend_context = BackendContext::new( [ 271s] | ----^^^^^^^^^^^^^^^ [ 271s] | | [ 271s] | help: remove this `mut` [ 271s] [ 271s] warning: unused variable: `status` [ 271s] --> ./src/pkgmgr/server/backend_queue.rs:38:17 [ 271s] | [ 271s] 38 | let mut status: c_int; [ 271s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [ 271s] [ 271s] warning: unused variable: `io` [ 271s] --> ./src/pkgmgr/server/backend_queue.rs:30:33 [ 271s] | [ 271s] 30 | extern "C" fn signal_handler_cb(io: *mut glib_sys::GIOChannel, [ 271s] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [ 271s] [ 271s] warning: unused variable: `cond` [ 271s] --> ./src/pkgmgr/server/backend_queue.rs:31:9 [ 271s] | [ 271s] 31 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 271s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 271s] [ 271s] warning: variable does not need to be mutable [ 271s] --> ./src/pkgmgr/server/backend_queue.rs:71:9 [ 271s] | [ 271s] 71 | let mut mut_queue = queue.borrow_mut(); [ 271s] | ----^^^^^^^^^ [ 271s] | | [ 271s] | help: remove this `mut` [ 271s] [ 271s] warning: variable does not need to be mutable [ 271s] --> ./src/pkgmgr/server/backend_queue.rs:189:28 [ 271s] | [ 271s] 189 | pub fn push(&mut self, mut context: BackendContext) -> i32 { [ 271s] | ----^^^^^^^ [ 271s] | | [ 271s] | help: remove this `mut` [ 271s] [ 271s] warning: unused variable: `req_key` [ 271s] --> ./src/pkgmgr/server/backend_queue.rs:296:41 [ 271s] | [ 271s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 271s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_key` [ 271s] [ 271s] warning: unused variable: `ret` [ 271s] --> ./src/pkgmgr/server/backend_queue.rs:296:50 [ 271s] | [ 271s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 271s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 271s] [ 271s] warning: unused variable: `s` [ 271s] --> ./src/pkgmgr/server/backend_queue.rs:296:55 [ 271s] | [ 271s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 271s] | ^ help: if this is intentional, prefix it with an underscore: `_s` [ 271s] [ 271s] warning: variable does not need to be mutable [ 271s] --> ./src/pkgmgr/server/backend_queue.rs:278:25 [ 271s] | [ 271s] 278 | let mut backend: &mut Backend = backend.unwrap(); [ 271s] | ----^^^^^^^ [ 271s] | | [ 271s] | help: remove this `mut` [ 271s] [ 271s] warning: unused variable: `context` [ 271s] --> ./src/pkgmgr/server/cache_service.rs:31:5 [ 271s] | [ 271s] 31 | context: *mut c_void, [ 271s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 271s] [ 271s] warning: unused variable: `context` [ 271s] --> ./src/pkgmgr/server/cache_service.rs:40:5 [ 271s] | [ 271s] 40 | context: *mut c_void, [ 271s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 271s] [ 271s] warning: unused variable: `user_data` [ 271s] --> ./src/pkgmgr/server/cache_service.rs:41:5 [ 271s] | [ 271s] 41 | user_data: *mut c_void, [ 271s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 271s] [ 271s] warning: unused variable: `ret` [ 271s] --> ./src/pkgmgr/server/cache_service.rs:54:9 [ 271s] | [ 271s] 54 | let ret = unsafe { rpc_port_stub_PkgMgrForClearCache_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 271s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 271s] [ 271s] warning: value assigned to `pkg_type` is never read [ 271s] --> ./src/pkgmgr/server/cache_service.rs:63:13 [ 271s] | [ 271s] 63 | let mut pkg_type: String = String::new(); [ 271s] | ^^^^^^^^ [ 271s] | [ 271s] = help: maybe it is overwritten before being read? [ 271s] = note: `#[warn(unused_assignments)]` on by default [ 271s] [ 271s] warning: variable does not need to be mutable [ 271s] --> ./src/pkgmgr/server/cache_service.rs:83:9 [ 271s] | [ 271s] 83 | let mut backend_context = BackendContext::new( [ 271s] | ----^^^^^^^^^^^^^^^ [ 271s] | | [ 271s] | help: remove this `mut` [ 271s] [ 271s] warning: unused variable: `context` [ 271s] --> ./src/pkgmgr/server/delayed_service.rs:32:5 [ 271s] | [ 271s] 32 | context: *mut c_void, [ 271s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 271s] [ 271s] warning: unused variable: `context` [ 271s] --> ./src/pkgmgr/server/delayed_service.rs:41:5 [ 271s] | [ 271s] 41 | context: *mut c_void, [ 271s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 271s] [ 271s] warning: unused variable: `user_data` [ 271s] --> ./src/pkgmgr/server/delayed_service.rs:42:5 [ 271s] | [ 271s] 42 | user_data: *mut c_void, [ 271s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 271s] [ 271s] warning: unused variable: `context` [ 271s] --> ./src/pkgmgr/server/delayed_service.rs:48:5 [ 271s] | [ 271s] 48 | context: *mut c_void, [ 271s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 271s] [ 272s] warning: unused variable: `context` [ 272s] --> ./src/pkgmgr/server/info_service.rs:43:55 [ 272s] | [ 272s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 272s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 272s] [ 272s] warning: unused variable: `context` [ 272s] --> ./src/pkgmgr/server/info_service.rs:48:58 [ 272s] | [ 272s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 272s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 272s] [ 272s] warning: unused variable: `user_data` [ 272s] --> ./src/pkgmgr/server/info_service.rs:48:80 [ 272s] | [ 272s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 272s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 272s] [ 272s] warning: variable does not need to be mutable [ 272s] --> ./src/pkgmgr/server/info_service.rs:98:9 [ 272s] | [ 272s] 98 | let mut backend_context = BackendContext::new( [ 272s] | ----^^^^^^^^^^^^^^^ [ 272s] | | [ 272s] | help: remove this `mut` [ 272s] [ 272s] warning: variable does not need to be mutable [ 272s] --> ./src/pkgmgr/server/info_service.rs:160:9 [ 272s] | [ 272s] 160 | let mut backend_context = BackendContext::new( [ 272s] | ----^^^^^^^^^^^^^^^ [ 272s] | | [ 272s] | help: remove this `mut` [ 272s] [ 272s] warning: unused variable: `context` [ 272s] --> ./src/pkgmgr/server/info_service.rs:195:5 [ 272s] | [ 272s] 195 | context: *mut c_void, [ 272s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 272s] [ 272s] warning: unused variable: `context` [ 272s] --> ./src/pkgmgr/server/info_service.rs:222:5 [ 272s] | [ 272s] 222 | context: *mut c_void, [ 272s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 272s] [ 272s] warning: unused variable: `user_data` [ 272s] --> ./src/pkgmgr/server/info_service.rs:226:5 [ 272s] | [ 272s] 226 | user_data: *mut c_void [ 272s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 272s] [ 272s] warning: variable does not need to be mutable [ 272s] --> ./src/pkgmgr/server/signal.rs:144:13 [ 272s] | [ 272s] 144 | let mut c_req_type: c_int; [ 272s] | ----^^^^^^^^^^ [ 272s] | | [ 272s] | help: remove this `mut` [ 272s] [ 277s] warning: value assigned to `size_result` is never read [ 277s] --> ./src/pkgmgr/server/util.rs:351:17 [ 277s] | [ 277s] 351 | let mut size_result: i64 = -1; [ 277s] | ^^^^^^^^^^^ [ 277s] | [ 277s] = help: maybe it is overwritten before being read? [ 277s] [ 277s] warning: unused variable: `cond` [ 277s] --> ./src/pkgmgr/server/util.rs:341:9 [ 277s] | [ 277s] 341 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 277s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 277s] [ 277s] warning: value assigned to `ret` is never read [ 277s] --> ./src/pkgmgr/server/util.rs:425:21 [ 277s] | [ 277s] 425 | let mut ret: c_int = 0; [ 277s] | ^^^ [ 277s] | [ 277s] = help: maybe it is overwritten before being read? [ 277s] [ 277s] warning: unreachable pattern [ 277s] --> ./src/pkgmgr/server/util.rs:478:17 [ 277s] | [ 277s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 277s] | -------------------------------------- matches any value [ 277s] ... [ 277s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 277s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 277s] | [ 277s] = note: `#[warn(unreachable_patterns)]` on by default [ 277s] [ 277s] warning: unreachable pattern [ 277s] --> ./src/pkgmgr/server/util.rs:483:17 [ 277s] | [ 277s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 277s] | -------------------------------------- matches any value [ 277s] ... [ 277s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 277s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 277s] [ 277s] warning: unreachable pattern [ 277s] --> ./src/pkgmgr/server/util.rs:488:17 [ 277s] | [ 277s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 277s] | -------------------------------------- matches any value [ 277s] ... [ 277s] 488 | _ => { [ 277s] | ^ unreachable pattern [ 277s] [ 277s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 277s] --> ./src/pkgmgr/server/util.rs:473:17 [ 277s] | [ 277s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 277s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 277s] [ 277s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_TEXT` [ 277s] --> ./src/pkgmgr/server/util.rs:478:17 [ 277s] | [ 277s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 277s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_TEXT` [ 277s] [ 277s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 277s] --> ./src/pkgmgr/server/util.rs:483:17 [ 277s] | [ 277s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 277s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 277s] [ 277s] warning: variable does not need to be mutable [ 277s] --> ./src/pkgmgr/server/util.rs:519:13 [ 277s] | [ 277s] 519 | let mut attr = xmlTextReaderGetAttribute(reader, RES_TYPE_ATTRIBUTE_KEY.as_ptr()); [ 277s] | ----^^^^ [ 277s] | | [ 277s] | help: remove this `mut` [ 277s] [ 277s] warning: variable does not need to be mutable [ 277s] --> ./src/pkgmgr/server/util.rs:588:13 [ 277s] | [ 277s] 588 | let mut reader = [ 277s] | ----^^^^^^ [ 277s] | | [ 277s] | help: remove this `mut` [ 277s] [ 277s] warning: unused variable: `gid` [ 277s] --> ./src/pkgmgr/server/util.rs:891:52 [ 277s] | [ 277s] 891 | fn set_environment(mut envs: Vec<&mut String>, gid: libc::gid_t) -> bool { [ 277s] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [ 277s] [ 277s] warning: unused variable: `x` [ 277s] --> ./src/pkgmgr/server/test/util_tests.rs:15:38 [ 277s] | [ 277s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 277s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 277s] [ 277s] warning: unused variable: `y` [ 277s] --> ./src/pkgmgr/server/test/util_tests.rs:15:40 [ 277s] | [ 277s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 277s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 277s] [ 277s] warning: unused variable: `z` [ 277s] --> ./src/pkgmgr/server/test/util_tests.rs:15:42 [ 277s] | [ 277s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 277s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 277s] [ 277s] warning: unused variable: `x` [ 277s] --> ./src/pkgmgr/server/test/util_tests.rs:22:38 [ 277s] | [ 277s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 277s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 277s] [ 277s] warning: unused variable: `y` [ 277s] --> ./src/pkgmgr/server/test/util_tests.rs:22:40 [ 277s] | [ 277s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 277s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 277s] [ 277s] warning: unused variable: `z` [ 277s] --> ./src/pkgmgr/server/test/util_tests.rs:22:42 [ 277s] | [ 277s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 277s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 277s] [ 277s] warning: unused variable: `x` [ 277s] --> ./src/pkgmgr/server/test/util_tests.rs:29:38 [ 277s] | [ 277s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 277s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 277s] [ 277s] warning: unused variable: `y` [ 277s] --> ./src/pkgmgr/server/test/util_tests.rs:29:40 [ 277s] | [ 277s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 277s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 277s] [ 277s] warning: unused variable: `z` [ 277s] --> ./src/pkgmgr/server/test/util_tests.rs:29:42 [ 277s] | [ 277s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 277s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 277s] [ 277s] warning: unused variable: `x` [ 277s] --> ./src/pkgmgr/server/test/util_tests.rs:31:39 [ 277s] | [ 277s] 31 | ctx2.expect().times(1).returning(|x,y| 1); [ 277s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 277s] [ 277s] warning: unused variable: `y` [ 277s] --> ./src/pkgmgr/server/test/util_tests.rs:31:41 [ 277s] | [ 277s] 31 | ctx2.expect().times(1).returning(|x,y| 1); [ 277s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 277s] [ 277s] warning: unused variable: `x` [ 277s] --> ./src/pkgmgr/server/test/util_tests.rs:38:38 [ 277s] | [ 277s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 277s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 277s] [ 277s] warning: unused variable: `y` [ 277s] --> ./src/pkgmgr/server/test/util_tests.rs:38:40 [ 277s] | [ 277s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 277s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 277s] [ 277s] warning: unused variable: `z` [ 277s] --> ./src/pkgmgr/server/test/util_tests.rs:38:42 [ 277s] | [ 277s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 277s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 277s] [ 277s] warning: unused variable: `x` [ 277s] --> ./src/pkgmgr/server/test/util_tests.rs:40:39 [ 277s] | [ 277s] 40 | ctx2.expect().times(1).returning(|x,y: *mut bool| { [ 277s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 277s] [ 277s] warning: unused variable: `x` [ 277s] --> ./src/pkgmgr/server/test/util_tests.rs:45:40 [ 277s] | [ 277s] 45 | ctx_d.expect().times(1).returning(|x| 0); [ 277s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 277s] [ 277s] warning: unused variable: `x` [ 277s] --> ./src/pkgmgr/server/test/util_tests.rs:52:38 [ 277s] | [ 277s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 277s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 277s] [ 277s] warning: unused variable: `y` [ 277s] --> ./src/pkgmgr/server/test/util_tests.rs:52:40 [ 277s] | [ 277s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 277s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 277s] [ 277s] warning: unused variable: `z` [ 277s] --> ./src/pkgmgr/server/test/util_tests.rs:52:42 [ 277s] | [ 277s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 277s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 277s] [ 277s] warning: unused variable: `x` [ 277s] --> ./src/pkgmgr/server/test/util_tests.rs:54:39 [ 277s] | [ 277s] 54 | ctx2.expect().times(1).returning(|x,y: *mut bool| { [ 277s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 277s] [ 277s] warning: unused variable: `x` [ 277s] --> ./src/pkgmgr/server/test/util_tests.rs:59:40 [ 277s] | [ 277s] 59 | ctx_d.expect().times(1).returning(|x| 0); [ 277s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 277s] [ 277s] warning: unused variable: `x` [ 277s] --> ./src/pkgmgr/server/test/util_tests.rs:67:38 [ 277s] | [ 277s] 67 | ctx.expect().times(1).returning(|x,y| 0); [ 277s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 277s] [ 277s] warning: unused variable: `y` [ 277s] --> ./src/pkgmgr/server/test/util_tests.rs:67:40 [ 277s] | [ 277s] 67 | ctx.expect().times(1).returning(|x,y| 0); [ 277s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 277s] [ 277s] warning: unused variable: `x` [ 277s] --> ./src/pkgmgr/server/test/util_tests.rs:74:38 [ 277s] | [ 277s] 74 | ctx.expect().times(1).returning(|x,y| 1); [ 277s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 277s] [ 277s] warning: unused variable: `y` [ 277s] --> ./src/pkgmgr/server/test/util_tests.rs:74:40 [ 277s] | [ 277s] 74 | ctx.expect().times(1).returning(|x,y| 1); [ 277s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 277s] [ 277s] warning: unused variable: `x` [ 277s] --> ./src/pkgmgr/server/test/util_tests.rs:76:39 [ 277s] | [ 277s] 76 | ctx2.expect().times(1).returning(|x,y| -1); [ 277s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 277s] [ 277s] warning: unused variable: `y` [ 277s] --> ./src/pkgmgr/server/test/util_tests.rs:76:41 [ 277s] | [ 277s] 76 | ctx2.expect().times(1).returning(|x,y| -1); [ 277s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 277s] [ 277s] warning: unused variable: `x` [ 277s] --> ./src/pkgmgr/server/test/util_tests.rs:83:38 [ 277s] | [ 277s] 83 | ctx.expect().times(1).returning(|x,y| 1); [ 277s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 277s] [ 277s] warning: unused variable: `y` [ 277s] --> ./src/pkgmgr/server/test/util_tests.rs:83:40 [ 277s] | [ 277s] 83 | ctx.expect().times(1).returning(|x,y| 1); [ 277s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 277s] [ 277s] warning: unused variable: `x` [ 277s] --> ./src/pkgmgr/server/test/util_tests.rs:85:39 [ 277s] | [ 277s] 85 | ctx2.expect().times(1).returning(|x,y| 1); [ 277s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 277s] [ 277s] warning: unused variable: `y` [ 277s] --> ./src/pkgmgr/server/test/util_tests.rs:85:41 [ 277s] | [ 277s] 85 | ctx2.expect().times(1).returning(|x,y| 1); [ 277s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 277s] [ 277s] warning: unused variable: `x` [ 277s] --> ./src/pkgmgr/server/test/util_tests.rs:87:39 [ 277s] | [ 277s] 87 | ctx3.expect().times(1).returning(|x,y| 1); [ 277s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 277s] [ 277s] warning: unused variable: `y` [ 277s] --> ./src/pkgmgr/server/test/util_tests.rs:87:41 [ 277s] | [ 277s] 87 | ctx3.expect().times(1).returning(|x,y| 1); [ 277s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 277s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:94:38 [ 278s] | [ 278s] 94 | ctx.expect().times(1).returning(|x,y| 1); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `y` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:94:40 [ 278s] | [ 278s] 94 | ctx.expect().times(1).returning(|x,y| 1); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:96:39 [ 278s] | [ 278s] 96 | ctx2.expect().times(1).returning(|x,y| 1); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `y` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:96:41 [ 278s] | [ 278s] 96 | ctx2.expect().times(1).returning(|x,y| 1); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:98:39 [ 278s] | [ 278s] 98 | ctx3.expect().times(1).returning(|x,y| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `y` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:98:41 [ 278s] | [ 278s] 98 | ctx3.expect().times(1).returning(|x,y| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:106:38 [ 278s] | [ 278s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `y` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:106:40 [ 278s] | [ 278s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 278s] [ 278s] warning: unused variable: `z` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:106:42 [ 278s] | [ 278s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:113:38 [ 278s] | [ 278s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `y` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:113:40 [ 278s] | [ 278s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 278s] [ 278s] warning: unused variable: `z` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:113:42 [ 278s] | [ 278s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:115:39 [ 278s] | [ 278s] 115 | ctx2.expect().times(1).returning(|x,y| 1); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `y` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:115:41 [ 278s] | [ 278s] 115 | ctx2.expect().times(1).returning(|x,y| 1); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:117:39 [ 278s] | [ 278s] 117 | ctx3.expect().times(1).returning(|x| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:124:38 [ 278s] | [ 278s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `y` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:124:40 [ 278s] | [ 278s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 278s] [ 278s] warning: unused variable: `z` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:124:42 [ 278s] | [ 278s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:126:39 [ 278s] | [ 278s] 126 | ctx2.expect().times(1).returning(|x,y| { [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:131:39 [ 278s] | [ 278s] 131 | ctx3.expect().times(1).returning(|x| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:138:38 [ 278s] | [ 278s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `y` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:138:40 [ 278s] | [ 278s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 278s] [ 278s] warning: unused variable: `z` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:138:42 [ 278s] | [ 278s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:140:39 [ 278s] | [ 278s] 140 | ctx2.expect().times(1).returning(|x,y| { [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:145:39 [ 278s] | [ 278s] 145 | ctx3.expect().times(1).returning(|x| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:153:38 [ 278s] | [ 278s] 153 | ctx.expect().times(1).returning(|x| 1); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:160:38 [ 278s] | [ 278s] 160 | ctx.expect().times(1).returning(|x| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:162:39 [ 278s] | [ 278s] 162 | ctx2.expect().times(1).returning(|x,y| 1); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `y` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:162:41 [ 278s] | [ 278s] 162 | ctx2.expect().times(1).returning(|x,y| 1); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:164:40 [ 278s] | [ 278s] 164 | ctx_d.expect().times(1).returning(|x| -1); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:171:38 [ 278s] | [ 278s] 171 | ctx.expect().times(1).returning(|x| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:173:39 [ 278s] | [ 278s] 173 | ctx2.expect().times(1).returning(|x,y| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `y` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:173:41 [ 278s] | [ 278s] 173 | ctx2.expect().times(1).returning(|x,y| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:175:39 [ 278s] | [ 278s] 175 | ctx3.expect().times(1).returning(|x,y| 1); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `y` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:175:41 [ 278s] | [ 278s] 175 | ctx3.expect().times(1).returning(|x,y| 1); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:177:40 [ 278s] | [ 278s] 177 | ctx_d.expect().times(1).returning(|x| -1); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:184:38 [ 278s] | [ 278s] 184 | ctx.expect().times(1).returning(|x| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:186:39 [ 278s] | [ 278s] 186 | ctx2.expect().times(1).returning(|x,y| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `y` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:186:41 [ 278s] | [ 278s] 186 | ctx2.expect().times(1).returning(|x,y| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:188:39 [ 278s] | [ 278s] 188 | ctx3.expect().times(1).returning(|x,y| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `y` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:188:41 [ 278s] | [ 278s] 188 | ctx3.expect().times(1).returning(|x,y| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:190:39 [ 278s] | [ 278s] 190 | ctx4.expect().times(1).returning(|x,y| 1); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `y` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:190:41 [ 278s] | [ 278s] 190 | ctx4.expect().times(1).returning(|x,y| 1); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:192:40 [ 278s] | [ 278s] 192 | ctx_d.expect().times(1).returning(|x| -1); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:199:38 [ 278s] | [ 278s] 199 | ctx.expect().times(1).returning(|x| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:201:39 [ 278s] | [ 278s] 201 | ctx2.expect().times(1).returning(|x,y| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `y` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:201:41 [ 278s] | [ 278s] 201 | ctx2.expect().times(1).returning(|x,y| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:203:39 [ 278s] | [ 278s] 203 | ctx3.expect().times(1).returning(|x,y| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `y` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:203:41 [ 278s] | [ 278s] 203 | ctx3.expect().times(1).returning(|x,y| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:205:39 [ 278s] | [ 278s] 205 | ctx4.expect().times(1).returning(|x,y| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `y` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:205:41 [ 278s] | [ 278s] 205 | ctx4.expect().times(1).returning(|x,y| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:213:38 [ 278s] | [ 278s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `y` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:213:40 [ 278s] | [ 278s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 278s] [ 278s] warning: unused variable: `z` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:213:42 [ 278s] | [ 278s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:220:38 [ 278s] | [ 278s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `y` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:220:40 [ 278s] | [ 278s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 278s] [ 278s] warning: unused variable: `z` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:220:42 [ 278s] | [ 278s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:222:39 [ 278s] | [ 278s] 222 | ctx2.expect().times(1).returning(|x,y| 1); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `y` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:222:41 [ 278s] | [ 278s] 222 | ctx2.expect().times(1).returning(|x,y| 1); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:224:40 [ 278s] | [ 278s] 224 | ctx_d.expect().times(1).returning(|x| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:231:38 [ 278s] | [ 278s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `y` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:231:40 [ 278s] | [ 278s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 278s] [ 278s] warning: unused variable: `z` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:231:42 [ 278s] | [ 278s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:233:39 [ 278s] | [ 278s] 233 | ctx2.expect().times(1).returning(|x,y| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `y` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:233:41 [ 278s] | [ 278s] 233 | ctx2.expect().times(1).returning(|x,y| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:235:39 [ 278s] | [ 278s] 235 | ctx3.expect().times(1).returning(|x,y| 1); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `y` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:235:41 [ 278s] | [ 278s] 235 | ctx3.expect().times(1).returning(|x,y| 1); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:237:40 [ 278s] | [ 278s] 237 | ctx_d.expect().times(1).returning(|x| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:244:38 [ 278s] | [ 278s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `y` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:244:40 [ 278s] | [ 278s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 278s] [ 278s] warning: unused variable: `z` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:244:42 [ 278s] | [ 278s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:246:39 [ 278s] | [ 278s] 246 | ctx2.expect().times(1).returning(|x,y| { [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:251:39 [ 278s] | [ 278s] 251 | ctx3.expect().times(1).returning(|x, y| { [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:256:40 [ 278s] | [ 278s] 256 | ctx_d.expect().times(1).returning(|x| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:264:38 [ 278s] | [ 278s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `y` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:264:40 [ 278s] | [ 278s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 278s] [ 278s] warning: unused variable: `z` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:264:42 [ 278s] | [ 278s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 278s] [ 278s] warning: unused variable: `e` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:264:44 [ 278s] | [ 278s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:271:38 [ 278s] | [ 278s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `z` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:271:42 [ 278s] | [ 278s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 278s] [ 278s] warning: unused variable: `e` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:271:44 [ 278s] | [ 278s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:285:38 [ 278s] | [ 278s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: unused variable: `z` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:285:42 [ 278s] | [ 278s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 278s] [ 278s] warning: unused variable: `e` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:285:44 [ 278s] | [ 278s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 278s] [ 278s] warning: unused variable: `x` [ 278s] --> ./src/pkgmgr/server/test/signal_tests.rs:21:38 [ 278s] | [ 278s] 21 | ctx.expect().times(1).returning(|x| 0); [ 278s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 278s] [ 278s] warning: variable does not need to be mutable [ 278s] --> ./src/pkgmgr/server/test/signal_tests.rs:19:9 [ 278s] | [ 278s] 19 | let mut uid_vec: Vec = vec![]; [ 278s] | ----^^^^^^^ [ 278s] | | [ 278s] | help: remove this `mut` [ 278s] [ 278s] warning: variable does not need to be mutable [ 278s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:7:9 [ 278s] | [ 278s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 278s] | ----^^^^^^^^^^^^^ [ 278s] | | [ 278s] | help: remove this `mut` [ 278s] [ 278s] warning: variable does not need to be mutable [ 278s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:14:9 [ 278s] | [ 278s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 278s] | ----^^^^^^^^^^^^^ [ 278s] | | [ 278s] | help: remove this `mut` [ 278s] [ 278s] warning: variable does not need to be mutable [ 278s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:7:9 [ 278s] | [ 278s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 278s] | ----^^^^^^^^^^^^^ [ 278s] | | [ 278s] | help: remove this `mut` [ 278s] [ 278s] warning: variable does not need to be mutable [ 278s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:14:9 [ 278s] | [ 278s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 278s] | ----^^^^^^^^^^^^^ [ 278s] | | [ 278s] | help: remove this `mut` [ 278s] [ 278s] warning: variable does not need to be mutable [ 278s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:7:9 [ 278s] | [ 278s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 278s] | ----^^^^^^^^^^^^^ [ 278s] | | [ 278s] | help: remove this `mut` [ 278s] [ 278s] warning: variable does not need to be mutable [ 278s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:14:9 [ 278s] | [ 278s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 278s] | ----^^^^^^^^^^^^^ [ 278s] | | [ 278s] | help: remove this `mut` [ 278s] [ 278s] warning: variable does not need to be mutable [ 278s] --> ./src/pkgmgr/server/test/info_service_tests.rs:7:9 [ 278s] | [ 278s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 278s] | ----^^^^^^^^^^^^^ [ 278s] | | [ 278s] | help: remove this `mut` [ 278s] [ 278s] warning: variable does not need to be mutable [ 278s] --> ./src/pkgmgr/server/test/info_service_tests.rs:14:9 [ 278s] | [ 278s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 278s] | ----^^^^^^^^^^^^^ [ 278s] | | [ 278s] | help: remove this `mut` [ 278s] [ 278s] warning: variable does not need to be mutable [ 278s] --> ./src/pkgmgr/server/mod.rs:89:13 [ 278s] | [ 278s] 89 | let mut backend_queue = BackendQueue::new(self.mainloop); [ 278s] | ----^^^^^^^^^^^^^ [ 278s] | | [ 278s] | help: remove this `mut` [ 278s] [ 278s] warning: unnecessary `unsafe` block [ 278s] --> ./src/pkgmgr/server/admin_service.rs:995:32 [ 278s] | [ 278s] 993 | unsafe { [ 278s] | ------ because it's nested under this `unsafe` block [ 278s] 994 | match CString::new(generated_req_key.clone()) { [ 278s] 995 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 278s] | ^^^^^^ unnecessary `unsafe` block [ 278s] | [ 278s] = note: `#[warn(unused_unsafe)]` on by default [ 278s] [ 278s] warning: unnecessary `unsafe` block [ 278s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 278s] | [ 278s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 278s] | ^^^^^^ unnecessary `unsafe` block [ 278s] | [ 278s] ::: ./src/pkgmgr/server/admin_service.rs:993:5 [ 278s] | [ 278s] 993 | unsafe { [ 278s] | ------ because it's nested under this `unsafe` block [ 278s] ... [ 278s] 997 | error!("Fail to generate req key, err({:?})", e); [ 278s] | ------------------------------------------------ in this macro invocation [ 278s] | [ 278s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 278s] [ 278s] warning: unnecessary `unsafe` block [ 278s] --> ./src/pkgmgr/server/admin_service.rs:1023:46 [ 278s] | [ 278s] 993 | unsafe { [ 278s] | ------ because it's nested under this `unsafe` block [ 278s] ... [ 278s] 1023 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 278s] | ^^^^^^ unnecessary `unsafe` block [ 278s] [ 278s] warning: unnecessary `unsafe` block [ 278s] --> ./src/pkgmgr/server/admin_service.rs:1077:32 [ 278s] | [ 278s] 1075 | unsafe { [ 278s] | ------ because it's nested under this `unsafe` block [ 278s] 1076 | match CString::new(generated_req_key.clone()) { [ 278s] 1077 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 278s] | ^^^^^^ unnecessary `unsafe` block [ 278s] [ 278s] warning: unnecessary `unsafe` block [ 278s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 278s] | [ 278s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 278s] | ^^^^^^ unnecessary `unsafe` block [ 278s] | [ 278s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 278s] | [ 278s] 1075 | unsafe { [ 278s] | ------ because it's nested under this `unsafe` block [ 278s] ... [ 278s] 1079 | error!("Fail to generate req key, err({:?})", e); [ 278s] | ------------------------------------------------ in this macro invocation [ 278s] | [ 278s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 278s] [ 278s] warning: unnecessary `unsafe` block [ 278s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 278s] | [ 278s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 278s] | ^^^^^^ unnecessary `unsafe` block [ 278s] | [ 278s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 278s] | [ 278s] 1075 | unsafe { [ 278s] | ------ because it's nested under this `unsafe` block [ 278s] ... [ 278s] 1106 | debug!("push disable pkg {pkg_id}"); [ 278s] | ----------------------------------- in this macro invocation [ 278s] | [ 278s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [ 278s] [ 278s] warning: unnecessary `unsafe` block [ 278s] --> ./src/pkgmgr/server/admin_service.rs:1108:46 [ 278s] | [ 278s] 1075 | unsafe { [ 278s] | ------ because it's nested under this `unsafe` block [ 278s] ... [ 278s] 1108 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 278s] | ^^^^^^ unnecessary `unsafe` block [ 278s] [ 278s] warning: unnecessary `unsafe` block [ 278s] --> ./src/pkgmgr/server/admin_service.rs:1537:5 [ 278s] | [ 278s] 1537 | unsafe { [ 278s] | ^^^^^^ unnecessary `unsafe` block [ 278s] [ 278s] warning: unnecessary `unsafe` block [ 278s] --> ./src/pkgmgr/server/admin_service.rs:1590:5 [ 278s] | [ 278s] 1590 | unsafe { [ 278s] | ^^^^^^ unnecessary `unsafe` block [ 278s] [ 278s] warning: unnecessary `unsafe` block [ 278s] --> ./src/pkgmgr/server/admin_service.rs:1643:32 [ 278s] | [ 278s] 1641 | unsafe { [ 278s] | ------ because it's nested under this `unsafe` block [ 278s] 1642 | match CString::new(generated_req_key.clone()) { [ 278s] 1643 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 278s] | ^^^^^^ unnecessary `unsafe` block [ 278s] [ 278s] warning: unnecessary `unsafe` block [ 278s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 278s] | [ 278s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 278s] | ^^^^^^ unnecessary `unsafe` block [ 278s] | [ 278s] ::: ./src/pkgmgr/server/admin_service.rs:1641:5 [ 278s] | [ 278s] 1641 | unsafe { [ 278s] | ------ because it's nested under this `unsafe` block [ 278s] ... [ 278s] 1645 | error!("Fail to generate req key, err({:?})", e); [ 278s] | ------------------------------------------------ in this macro invocation [ 278s] | [ 278s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 278s] [ 278s] warning: unnecessary `unsafe` block [ 278s] --> ./src/pkgmgr/server/admin_service.rs:1657:42 [ 278s] | [ 278s] 1641 | unsafe { [ 278s] | ------ because it's nested under this `unsafe` block [ 278s] ... [ 278s] 1657 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 278s] | ^^^^^^ unnecessary `unsafe` block [ 278s] [ 278s] warning: unnecessary `unsafe` block [ 278s] --> ./src/pkgmgr/server/admin_service.rs:1705:32 [ 278s] | [ 278s] 1703 | unsafe { [ 278s] | ------ because it's nested under this `unsafe` block [ 278s] 1704 | match CString::new(generated_req_key.clone()) { [ 278s] 1705 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 278s] | ^^^^^^ unnecessary `unsafe` block [ 278s] [ 278s] warning: unnecessary `unsafe` block [ 278s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 278s] | [ 278s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 278s] | ^^^^^^ unnecessary `unsafe` block [ 278s] | [ 278s] ::: ./src/pkgmgr/server/admin_service.rs:1703:5 [ 278s] | [ 278s] 1703 | unsafe { [ 278s] | ------ because it's nested under this `unsafe` block [ 278s] ... [ 278s] 1707 | error!("Fail to generate req key, err({:?})", e); [ 278s] | ------------------------------------------------ in this macro invocation [ 278s] | [ 278s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 278s] [ 278s] warning: unnecessary `unsafe` block [ 278s] --> ./src/pkgmgr/server/admin_service.rs:1719:42 [ 278s] | [ 278s] 1703 | unsafe { [ 278s] | ------ because it's nested under this `unsafe` block [ 278s] ... [ 278s] 1719 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 278s] | ^^^^^^ unnecessary `unsafe` block [ 278s] [ 278s] warning: unnecessary `unsafe` block [ 278s] --> ./src/pkgmgr/server/admin_service.rs:1767:5 [ 278s] | [ 278s] 1767 | unsafe { [ 278s] | ^^^^^^ unnecessary `unsafe` block [ 278s] [ 278s] warning: unnecessary `unsafe` block [ 278s] --> ./src/pkgmgr/server/admin_service.rs:1820:5 [ 278s] | [ 278s] 1820 | unsafe { [ 278s] | ^^^^^^ unnecessary `unsafe` block [ 278s] [ 278s] warning: unnecessary `unsafe` block [ 278s] --> ./src/pkgmgr/server/admin_service.rs:2296:17 [ 278s] | [ 278s] 2294 | unsafe { [ 278s] | ------ because it's nested under this `unsafe` block [ 278s] 2295 | if !(*value.offset(i as isize)).is_null() { [ 278s] 2296 | unsafe { free(*value.offset(i as isize) as *mut _) }; [ 278s] | ^^^^^^ unnecessary `unsafe` block [ 278s] [ 279s] warning: unnecessary `unsafe` block [ 279s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 279s] | [ 279s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 279s] | ^^^^^^ unnecessary `unsafe` block [ 279s] | [ 279s] ::: ./src/pkgmgr/server/admin_service.rs:2793:9 [ 279s] | [ 279s] 2793 | unsafe { [ 279s] | ------ because it's nested under this `unsafe` block [ 279s] 2794 | let ret = rpc_port_stub_PkgMgrAdmin_register(&mut self.callbacks, self as *mut _ as *mut c_void); [ 279s] 2795 | debug!("admin service start : {ret}"); [ 279s] | ------------------------------------- in this macro invocation [ 279s] | [ 279s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [ 279s] [ 279s] warning: unnecessary `unsafe` block [ 279s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 279s] | [ 279s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 279s] | ^^^^^^ unnecessary `unsafe` block [ 279s] | [ 279s] ::: ./src/pkgmgr/server/admin_service.rs:2801:9 [ 279s] | [ 279s] 2801 | unsafe { [ 279s] | ------ because it's nested under this `unsafe` block [ 279s] 2802 | let ret = rpc_port_stub_PkgMgrAdmin_unregister(); [ 279s] 2803 | debug!("ret : {ret}"); [ 279s] | --------------------- in this macro invocation [ 279s] | [ 279s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [ 279s] [ 279s] warning: unnecessary `unsafe` block [ 279s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 279s] | [ 279s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 279s] | ^^^^^^ unnecessary `unsafe` block [ 279s] | [ 279s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 279s] | [ 279s] 204 | unsafe { [ 279s] | ------ because it's nested under this `unsafe` block [ 279s] ... [ 279s] 210 | error!("sigprocmask failed"); [ 279s] | ---------------------------- in this macro invocation [ 279s] | [ 279s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 279s] [ 279s] warning: unnecessary `unsafe` block [ 279s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 279s] | [ 279s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 279s] | ^^^^^^ unnecessary `unsafe` block [ 279s] | [ 279s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 279s] | [ 279s] 204 | unsafe { [ 279s] | ------ because it's nested under this `unsafe` block [ 279s] ... [ 279s] 216 | error!("signalfd failed"); [ 279s] | ------------------------- in this macro invocation [ 279s] | [ 279s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 279s] [ 279s] warning: unnecessary `unsafe` block [ 279s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 279s] | [ 279s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 279s] | ^^^^^^ unnecessary `unsafe` block [ 279s] | [ 279s] ::: ./src/pkgmgr/server/cache_service.rs:134:9 [ 279s] | [ 279s] 134 | unsafe { [ 279s] | ------ because it's nested under this `unsafe` block [ 279s] ... [ 279s] 139 | debug!("cache service start : {ret}"); [ 279s] | ------------------------------------- in this macro invocation [ 279s] | [ 279s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [ 279s] [ 279s] warning: unnecessary `unsafe` block [ 279s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 279s] | [ 279s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 279s] | ^^^^^^ unnecessary `unsafe` block [ 279s] | [ 279s] ::: ./src/pkgmgr/server/cache_service.rs:145:9 [ 279s] | [ 279s] 145 | unsafe { [ 279s] | ------ because it's nested under this `unsafe` block [ 279s] 146 | let ret = rpc_port_stub_PkgMgrForClearCache_unregister(); [ 279s] 147 | debug!("ret : {ret}"); [ 279s] | --------------------- in this macro invocation [ 279s] | [ 279s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [ 279s] [ 279s] warning: unnecessary `unsafe` block [ 279s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 279s] | [ 279s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 279s] | ^^^^^^ unnecessary `unsafe` block [ 279s] | [ 279s] ::: ./src/pkgmgr/server/delayed_service.rs:107:9 [ 279s] | [ 279s] 107 | unsafe { [ 279s] | ------ because it's nested under this `unsafe` block [ 279s] ... [ 279s] 112 | debug!("delayed result service start : {ret}"); [ 279s] | ---------------------------------------------- in this macro invocation [ 279s] | [ 279s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [ 279s] [ 279s] warning: unnecessary `unsafe` block [ 279s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 279s] | [ 279s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 279s] | ^^^^^^ unnecessary `unsafe` block [ 279s] | [ 279s] ::: ./src/pkgmgr/server/delayed_service.rs:118:9 [ 279s] | [ 279s] 118 | unsafe { [ 279s] | ------ because it's nested under this `unsafe` block [ 279s] 119 | let ret = rpc_port_stub_DelayedResult_unregister(); [ 279s] 120 | debug!("ret : {ret}"); [ 279s] | --------------------- in this macro invocation [ 279s] | [ 279s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [ 279s] [ 279s] warning: unnecessary `unsafe` block [ 279s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 279s] | [ 279s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 279s] | ^^^^^^ unnecessary `unsafe` block [ 279s] | [ 279s] ::: ./src/pkgmgr/server/info_service.rs:165:13 [ 279s] | [ 279s] 165 | unsafe { [ 279s] | ------ because it's nested under this `unsafe` block [ 279s] 166 | if mkfifo(fifo_path.as_ptr() as *const c_char, 0o600) < 0 { [ 279s] 167 | error!("Failed to mkfifo"); [ 279s] | -------------------------- in this macro invocation [ 279s] | [ 279s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 279s] [ 279s] warning: unnecessary `unsafe` block [ 279s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 279s] | [ 279s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 279s] | ^^^^^^ unnecessary `unsafe` block [ 279s] | [ 279s] ::: ./src/pkgmgr/server/info_service.rs:268:9 [ 279s] | [ 279s] 268 | unsafe { [ 279s] | ------ because it's nested under this `unsafe` block [ 279s] ... [ 279s] 273 | debug!("info service start : {ret}"); [ 279s] | ------------------------------------ in this macro invocation [ 279s] | [ 279s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [ 279s] [ 279s] warning: unnecessary `unsafe` block [ 279s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 279s] | [ 279s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 279s] | ^^^^^^ unnecessary `unsafe` block [ 279s] | [ 279s] ::: ./src/pkgmgr/server/info_service.rs:279:9 [ 279s] | [ 279s] 279 | unsafe { [ 279s] | ------ because it's nested under this `unsafe` block [ 279s] 280 | let ret = rpc_port_stub_PkgMgr_unregister(); [ 279s] 281 | debug!("ret : {ret}"); [ 279s] | --------------------- in this macro invocation [ 279s] | [ 279s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [ 279s] [ 279s] warning: unnecessary `unsafe` block [ 279s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 279s] | [ 279s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 279s] | ^^^^^^ unnecessary `unsafe` block [ 279s] | [ 279s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 279s] | [ 279s] 131 | unsafe { [ 279s] | ------ because it's nested under this `unsafe` block [ 279s] ... [ 279s] 134 | error!("Failure in creating the pkgmgr_installer object"); [ 279s] | --------------------------------------------------------- in this macro invocation [ 279s] | [ 279s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 279s] [ 279s] warning: unnecessary `unsafe` block [ 279s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 279s] | [ 279s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 279s] | ^^^^^^ unnecessary `unsafe` block [ 279s] | [ 279s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 279s] | [ 279s] 131 | unsafe { [ 279s] | ------ because it's nested under this `unsafe` block [ 279s] ... [ 279s] 139 | error!("pkgmgr_installer_set_uid fail"); [ 279s] | --------------------------------------- in this macro invocation [ 279s] | [ 279s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 279s] [ 279s] warning: unnecessary `unsafe` block [ 279s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 279s] | [ 279s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 279s] | ^^^^^^ unnecessary `unsafe` block [ 279s] | [ 279s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 279s] | [ 279s] 131 | unsafe { [ 279s] | ------ because it's nested under this `unsafe` block [ 279s] ... [ 279s] 154 | warn!("Unsupported req_type[{}]", req_type as c_int); [ 279s] | ---------------------------------------------------- in this macro invocation [ 279s] | [ 279s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `warn` (in Nightly builds, run with -Z macro-backtrace for more info) [ 279s] [ 279s] warning: unnecessary `unsafe` block [ 279s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 279s] | [ 279s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 279s] | ^^^^^^ unnecessary `unsafe` block [ 279s] | [ 279s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 279s] | [ 279s] 131 | unsafe { [ 279s] | ------ because it's nested under this `unsafe` block [ 279s] ... [ 279s] 161 | error!("pkgmgr_installer_set_request_type fail"); [ 279s] | ------------------------------------------------ in this macro invocation [ 279s] | [ 279s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 279s] [ 279s] warning: unnecessary `unsafe` block [ 279s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 279s] | [ 279s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 279s] | ^^^^^^ unnecessary `unsafe` block [ 279s] | [ 279s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 279s] | [ 279s] 131 | unsafe { [ 279s] | ------ because it's nested under this `unsafe` block [ 279s] ... [ 279s] 168 | error!("pkgmgr_installer_set_session_id fail : {:?}", c_req_id); [ 279s] | --------------------------------------------------------------- in this macro invocation [ 279s] | [ 279s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 279s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 280s] | [ 280s] 309 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] 310 | if pkgmgrinfo_appinfo_get_appid(pkgmgrinfo_appinfo_h, &mut app_id) != 0 { [ 280s] 311 | error!("Failed get appid"); [ 280s] | -------------------------- in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 280s] | [ 280s] 309 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] ... [ 280s] 314 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 280s] | --------------------------------------------------------- in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/server/util.rs:326:46 [ 280s] | [ 280s] 325 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 280s] | [ 280s] 325 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] ... [ 280s] 329 | error!("Failed get appid"); [ 280s] | -------------------------- in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 280s] | [ 280s] 325 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] ... [ 280s] 333 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 280s] | --------------------------------------------------------- in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 280s] | [ 280s] 342 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] ... [ 280s] 355 | error!("getsize fd read failed: {:?}", Util::c_char_to_cstr((*err).message)); [ 280s] | ---------------------------------------------------------------------------- in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 280s] | [ 280s] 342 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] ... [ 280s] 361 | error!("empty result"); [ 280s] | ---------------------- in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 280s] | [ 280s] 390 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] ... [ 280s] 399 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 280s] | --------------------------------------------------------- in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 280s] | [ 280s] 390 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] ... [ 280s] 406 | error!("Fail to get is readonly"); [ 280s] | --------------------------------- in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 280s] | [ 280s] 422 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] ... [ 280s] 429 | error!("Not found package"); [ 280s] | --------------------------- in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 280s] | [ 280s] 422 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] ... [ 280s] 445 | debug!("pkgtype - {ret_string}"); [ 280s] | -------------------------------- in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:803:9 [ 280s] | [ 280s] 803 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] 804 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 280s] 805 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 280s] | ------------------------------------------------------ in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `warn` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 280s] | [ 280s] 814 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] 815 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 280s] 816 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 280s] | ------------------------------------------------------ in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `warn` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 280s] | [ 280s] 814 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] ... [ 280s] 822 | error!("Failed to get pid of app{:?}", CStr::from_ptr(appid)); [ 280s] | ------------------------------------------------------------- in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 280s] | [ 280s] 814 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] ... [ 280s] 828 | error!("Failed to terminate app{:?}", CStr::from_ptr(appid)); [ 280s] | ------------------------------------------------------------ in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 280s] | [ 280s] 836 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] ... [ 280s] 840 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 280s] | --------------------------------------------------------- in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 280s] | [ 280s] 836 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] ... [ 280s] 848 | error!("Failed to get list for {:?}", CStr::from_ptr(pkgid)); [ 280s] | ------------------------------------------------------------ in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 280s] | [ 280s] 859 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] ... [ 280s] 863 | warn!("cannot get user information from gumd, retry"); [ 280s] | ----------------------------------------------------- in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `warn` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 280s] | [ 280s] 859 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] ... [ 280s] 871 | error!("cannot get user information from gumd, failed"); [ 280s] | ------------------------------------------------------- in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 280s] | [ 280s] 859 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] ... [ 280s] 877 | error!("cannot get user type"); [ 280s] | ------------------------------ in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 280s] | [ 280s] 892 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] ... [ 280s] 895 | error!("Failed to get the number of supplementary group IDs"); [ 280s] | ------------------------------------------------------------- in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 280s] | [ 280s] 892 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] ... [ 280s] 901 | error!("Failed to get list of supplementary group IDs"); [ 280s] | ------------------------------------------------------- in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 280s] | [ 280s] 892 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] ... [ 280s] 908 | error!("setgroups failed: {}", *__errno_location()); [ 280s] | --------------------------------------------------- in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 280s] | [ 280s] 928 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] ... [ 280s] 942 | error!("getpwuid_r fail"); [ 280s] | ------------------------- in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 280s] | [ 280s] 928 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] ... [ 280s] 949 | error!("Fail to get str, err({:?})", e); [ 280s] | --------------------------------------- in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 280s] | [ 280s] 928 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] ... [ 280s] 957 | error!("Fail to get str, err({:?})", e); [ 280s] | --------------------------------------- in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 280s] | [ 280s] 928 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] ... [ 280s] 966 | error!("Failed to set env for the user : {}", APPFW_UID); [ 280s] | -------------------------------------------------------- in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 280s] | [ 280s] 984 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] ... [ 280s] 987 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 280s] | ----------------------------------------------------------------------------------- in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 280s] | [ 280s] 984 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] ... [ 280s] 993 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 280s] | ---------------------------------------------------------------------------- in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 280s] | [ 280s] 984 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] ... [ 280s] 1000 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 280s] | ---------------------------------------------------------------------------- in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/server/util.rs:1005:40 [ 280s] | [ 280s] 984 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] ... [ 280s] 1005 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) } ); [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 280s] | [ 280s] 1081 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] ... [ 280s] 1084 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 280s] | ----------------------------------------------------------------------------------- in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 280s] | [ 280s] 1081 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] ... [ 280s] 1090 | error!("Failed get root path for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 280s] | --------------------------------------------------------------------------- in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 280s] | [ 280s] 1081 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] ... [ 280s] 1098 | error!("Invalid path[{:?}]", Self::c_char_to_cstr(icon_path)); [ 280s] | ------------------------------------------------------------- in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:1109:9 [ 280s] | [ 280s] 1109 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] ... [ 280s] 1119 | error!("Fail to get list for {:?}", CStr::from_ptr(pkgid)); [ 280s] | ---------------------------------------------------------- in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 280s] | [ 280s] 1129 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] ... [ 280s] 1132 | error!("failed to open the fifo({}), errno({})", fifo_path, *__errno_location()); [ 280s] | -------------------------------------------------------------------------------- in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 280s] warning: unnecessary `unsafe` block [ 280s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 280s] | [ 280s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 280s] | ^^^^^^ unnecessary `unsafe` block [ 280s] | [ 280s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 280s] | [ 280s] 1129 | unsafe { [ 280s] | ------ because it's nested under this `unsafe` block [ 280s] ... [ 280s] 1155 | error!("failed to add io watch"); [ 280s] | -------------------------------- in this macro invocation [ 280s] | [ 280s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 280s] [ 281s] warning: constant `SD_LISTEN_FDS_START` is never used [ 281s] --> ./src/pkgmgr/server/mod.rs:28:7 [ 281s] | [ 281s] 28 | const SD_LISTEN_FDS_START: i32 = 3; [ 281s] | ^^^^^^^^^^^^^^^^^^^ [ 281s] | [ 281s] = note: `#[warn(dead_code)]` on by default [ 281s] [ 281s] warning: multiple variants are never constructed [ 281s] --> ./src/pkgmgr/server/mod.rs:43:5 [ 281s] | [ 281s] 42 | enum AUL_RETURN_VALUE { [ 281s] | ---------------- variants in this enum [ 281s] 43 | AUL_R_ENOMEM = -16, //< Out of memory (Since 5.5) [ 281s] | ^^^^^^^^^^^^ [ 281s] 44 | AUL_R_ENOENT = -15, //< App directory entry error [ 281s] | ^^^^^^^^^^^^ [ 281s] 45 | AUL_R_EREJECTED = -14, //< App disable for mode [ 281s] | ^^^^^^^^^^^^^^^ [ 281s] 46 | AUL_R_ENOAPP = -13, //< Failed to find app ID or pkg ID [ 281s] | ^^^^^^^^^^^^ [ 281s] 47 | AUL_R_EHIDDENFORGUEST = -11, //< App hidden for guest mode [ 281s] | ^^^^^^^^^^^^^^^^^^^^^ [ 281s] 48 | AUL_R_ENOLAUNCHPAD = -10, //< no launchpad [ 281s] | ^^^^^^^^^^^^^^^^^^ [ 281s] 49 | AUL_R_ETERMINATING = -9, //< application terminating [ 281s] | ^^^^^^^^^^^^^^^^^^ [ 281s] 50 | AUL_R_EILLACC = -8, //< Illegal Access [ 281s] | ^^^^^^^^^^^^^ [ 281s] 51 | AUL_R_LOCAL = -7, //< Launch by himself [ 281s] | ^^^^^^^^^^^ [ 281s] 52 | AUL_R_ETIMEOUT = -6, //< Timeout [ 281s] | ^^^^^^^^^^^^^^ [ 281s] 53 | AUL_R_ECANCELED = -5, //< Operation canceled [ 281s] | ^^^^^^^^^^^^^^^ [ 281s] 54 | AUL_R_EINVAL = -4, //< Invalid argument [ 281s] | ^^^^^^^^^^^^ [ 281s] 55 | AUL_R_ECOMM = -3, //< Comunication Error [ 281s] | ^^^^^^^^^^^ [ 281s] 56 | AUL_R_ENOINIT = -2, //< AUL handler NOT initialized [ 281s] | ^^^^^^^^^^^^^ [ 281s] 57 | AUL_R_ERROR = -1, //< General error [ 281s] | ^^^^^^^^^^^ [ 281s] [ 281s] warning: field `timer` is never read [ 281s] --> ./src/pkgmgr/server/mod.rs:63:5 [ 281s] | [ 281s] 61 | pub struct Server { [ 281s] | ------ field in this struct [ 281s] 62 | mainloop: *mut GMainLoop, [ 281s] 63 | timer: c_uint [ 281s] | ^^^^^ [ 281s] [ 281s] warning: variants `IO_ERROR`, `OUT_OF_MEMORY`, `INVALID_PARAMETER`, and `PERMISSION_DENIED` are never constructed [ 281s] --> ./src/pkgmgr/server/admin_service.rs:29:5 [ 281s] | [ 281s] 27 | enum RPC_PORT_ERROR { [ 281s] | -------------- variants in this enum [ 281s] 28 | NONE = 0, //< Successful [ 281s] 29 | IO_ERROR = -5, //< Internal I/O error [ 281s] | ^^^^^^^^ [ 281s] 30 | OUT_OF_MEMORY = -12, //< Out of memory [ 281s] | ^^^^^^^^^^^^^ [ 281s] 31 | INVALID_PARAMETER = -22, //< Invalid parameter [ 281s] | ^^^^^^^^^^^^^^^^^ [ 281s] 32 | PERMISSION_DENIED = -13, //< Permission denied [ 281s] | ^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: method `generate_request_id` is never used [ 281s] --> ./src/pkgmgr/server/admin_service.rs:2786:8 [ 281s] | [ 281s] 2713 | impl AdminService { [ 281s] | ----------------- method in this implementation [ 281s] ... [ 281s] 2786 | fn generate_request_id(&self) -> String { [ 281s] | ^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: field `request_type` is never read [ 281s] --> ./src/pkgmgr/server/backend_context.rs:7:5 [ 281s] | [ 281s] 6 | pub struct BackendContext { [ 281s] | -------------- field in this struct [ 281s] 7 | request_type: RequestType, [ 281s] | ^^^^^^^^^^^^ [ 281s] [ 281s] warning: type alias `GIOChannel` is never used [ 281s] --> ./src/pkgmgr/server/backend_queue.rs:14:6 [ 281s] | [ 281s] 14 | type GIOChannel = *mut c_void; [ 281s] | ^^^^^^^^^^ [ 281s] [ 281s] warning: type alias `GIOCondition` is never used [ 281s] --> ./src/pkgmgr/server/backend_queue.rs:15:6 [ 281s] | [ 281s] 15 | type GIOCondition = c_int; [ 281s] | ^^^^^^^^^^^^ [ 281s] [ 281s] warning: variants `EIO`, `ENOPKG`, `EPRIV`, `ETIMEOUT`, `EINVAL`, and `ECOMM` are never constructed [ 281s] --> ./src/pkgmgr/server/info_service.rs:22:5 [ 281s] | [ 281s] 20 | enum PKGMGR_RETURN_VALUE { [ 281s] | ------------------- variants in this enum [ 281s] 21 | ESYSTEM = -9, // Severe system error [ 281s] 22 | EIO = -8, // IO error [ 281s] | ^^^ [ 281s] 23 | ENOMEM = -7, // Out of memory [ 281s] 24 | ENOPKG = -6, // No such package [ 281s] | ^^^^^^ [ 281s] 25 | EPRIV = -5, // Privilege denied [ 281s] | ^^^^^ [ 281s] 26 | ETIMEOUT = -4, // Timeout [ 281s] | ^^^^^^^^ [ 281s] 27 | EINVAL = -3, // Invalid argument [ 281s] | ^^^^^^ [ 281s] 28 | ECOMM = -2, // Comunication Error [ 281s] | ^^^^^ [ 281s] [ 281s] warning: variants `EPRIV` and `ETIMEOUT` are never constructed [ 281s] --> ./src/pkgmgr/server/pkgmgr_return_value.rs:8:5 [ 281s] | [ 281s] 3 | pub enum PKGMGR_RETURN_VALUE { [ 281s] | ------------------- variants in this enum [ 281s] ... [ 281s] 8 | EPRIV = -5, // Privilege denied [ 281s] | ^^^^^ [ 281s] 9 | ETIMEOUT = -4, // Timeout [ 281s] | ^^^^^^^^ [ 281s] [ 281s] warning: variants `KILL`, `CHECK`, `ENABLE_APP_SPLASH_SCREEN`, `DISABLE_APP_SPLASH_SCREEN`, and `MIGRATE_EXTERNAL_IMAGE` are never constructed [ 281s] --> ./src/pkgmgr/server/request_type.rs:20:5 [ 281s] | [ 281s] 1 | pub enum RequestType { [ 281s] | ----------- variants in this enum [ 281s] ... [ 281s] 20 | KILL, [ 281s] | ^^^^ [ 281s] 21 | CHECK, [ 281s] | ^^^^^ [ 281s] ... [ 281s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 281s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 281s] ... [ 281s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: multiple variants are never constructed [ 281s] --> ./src/pkgmgr/server/signal.rs:10:2 [ 281s] | [ 281s] 9 | enum PKGMGR_REQ { [ 281s] | ---------- variants in this enum [ 281s] 10 | PERM = -1, [ 281s] | ^^^^ [ 281s] 11 | INVALID = 0, [ 281s] | ^^^^^^^ [ 281s] 12 | INSTALL = 1, [ 281s] | ^^^^^^^ [ 281s] 13 | UNINSTALL = 2, [ 281s] | ^^^^^^^^^ [ 281s] 14 | CLEAR = 3, [ 281s] | ^^^^^ [ 281s] 15 | MOVE = 4, [ 281s] | ^^^^ [ 281s] 16 | RECOVER = 5, [ 281s] | ^^^^^^^ [ 281s] 17 | REINSTALL = 6, [ 281s] | ^^^^^^^^^ [ 281s] 18 | GETSIZE = 7, [ 281s] | ^^^^^^^ [ 281s] 19 | UPGRADE = 8, [ 281s] | ^^^^^^^ [ 281s] 20 | SMACK = 9, [ 281s] | ^^^^^ [ 281s] 21 | MANIFEST_DIRECT_INSTALL = 10, [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 281s] ... [ 281s] 26 | MOUNT_INSTALL = 15, [ 281s] | ^^^^^^^^^^^^^ [ 281s] 27 | DISABLE_PKG = 16, [ 281s] | ^^^^^^^^^^^ [ 281s] 28 | ENABLE_PKG = 17, [ 281s] | ^^^^^^^^^^ [ 281s] 29 | MIGRATE_EXTIMG = 18, [ 281s] | ^^^^^^^^^^^^^^ [ 281s] 30 | RECOVER_DB = 19, [ 281s] | ^^^^^^^^^^ [ 281s] 31 | RES_COPY = 20, [ 281s] | ^^^^^^^^ [ 281s] 32 | RES_CREATE_DIR = 21, [ 281s] | ^^^^^^^^^^^^^^ [ 281s] 33 | RES_REMOVE = 22, [ 281s] | ^^^^^^^^^^ [ 281s] 34 | RES_UNINSTALL = 23 [ 281s] | ^^^^^^^^^^^^^ [ 281s] [ 281s] warning: constant `TZ_SYS_GLOBALAPP_USER` is never used [ 281s] --> ./src/pkgmgr/server/signal.rs:97:7 [ 281s] | [ 281s] 97 | const TZ_SYS_GLOBALAPP_USER: c_int = 22; [ 281s] | ^^^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: function `tzplatform_getuid` is never used [ 281s] --> ./src/pkgmgr/server/signal.rs:53:12 [ 281s] | [ 281s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 281s] | ^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: function `sd_get_uids` is never used [ 281s] --> ./src/pkgmgr/server/signal.rs:44:16 [ 281s] | [ 281s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 281s] | ^^^^^^^^^^^ [ 281s] [ 281s] warning: constant `XML_READER_TYPE_ELEMENT` is never used [ 281s] --> ./src/pkgmgr/server/util.rs:29:7 [ 281s] | [ 281s] 29 | const XML_READER_TYPE_ELEMENT: i32 = 1; [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: constant `XML_READER_TYPE_TEXT` is never used [ 281s] --> ./src/pkgmgr/server/util.rs:30:7 [ 281s] | [ 281s] 30 | const XML_READER_TYPE_TEXT: i32 = 3; [ 281s] | ^^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: constant `XML_READER_TYPE_END_ELEMENT` is never used [ 281s] --> ./src/pkgmgr/server/util.rs:31:7 [ 281s] | [ 281s] 31 | const XML_READER_TYPE_END_ELEMENT: i32 = 15; [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: type alias `GIOChannel` is never used [ 281s] --> ./src/pkgmgr/server/util.rs:33:6 [ 281s] | [ 281s] 33 | type GIOChannel = *mut c_void; [ 281s] | ^^^^^^^^^^ [ 281s] [ 281s] warning: variants `PMINFO_UI_APP`, `PMINFO_SVC_APP`, `PMINFO_WIDGET_APP`, `PMINFO_WATCH_APP`, and `PMINFO_COMPONENT_BASED_APP` are never constructed [ 281s] --> ./src/pkgmgr/server/util.rs:136:5 [ 281s] | [ 281s] 134 | enum PKGMGRINFO_APP_COMPONENT { [ 281s] | ------------------------ variants in this enum [ 281s] 135 | PMINFO_ALL_APP = 0, //< All Application [ 281s] 136 | PMINFO_UI_APP, //< UI Application [ 281s] | ^^^^^^^^^^^^^ [ 281s] 137 | PMINFO_SVC_APP, //< Service Application [ 281s] | ^^^^^^^^^^^^^^ [ 281s] 138 | PMINFO_WIDGET_APP, //< Widget Application [ 281s] | ^^^^^^^^^^^^^^^^^ [ 281s] 139 | PMINFO_WATCH_APP, //< Watch Application [ 281s] | ^^^^^^^^^^^^^^^^ [ 281s] 140 | PMINFO_COMPONENT_BASED_APP, //< Component-based Application (Since 5.5) [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: associated functions `EnableAppSplashScreen` and `DisableAppSplashScreen` are never used [ 281s] --> ./src/pkgmgr/server/util.rs:766:12 [ 281s] | [ 281s] 384 | impl Util { [ 281s] | --------- associated functions in this implementation [ 281s] ... [ 281s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^ [ 281s] ... [ 281s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: function `pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db` is never used [ 281s] --> ./src/pkgmgr/server/util.rs:204:8 [ 281s] | [ 281s] 204 | fn pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db( [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: function `pkgmgrinfo_pkginfo_get_usr_pkginfo` is never used [ 281s] --> ./src/pkgmgr/server/util.rs:44:16 [ 281s] | [ 281s] 44 | pub fn pkgmgrinfo_pkginfo_get_usr_pkginfo( [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: function `pkgmgrinfo_pkginfo_get_usr_disabled_pkginfo` is never used [ 281s] --> ./src/pkgmgr/server/util.rs:50:16 [ 281s] | [ 281s] 50 | pub fn pkgmgrinfo_pkginfo_get_usr_disabled_pkginfo( [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: function `pkgmgrinfo_pkginfo_is_readonly` is never used [ 281s] --> ./src/pkgmgr/server/util.rs:56:16 [ 281s] | [ 281s] 56 | pub fn pkgmgrinfo_pkginfo_is_readonly( [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: function `pkgmgrinfo_pkginfo_destroy_pkginfo` is never used [ 281s] --> ./src/pkgmgr/server/util.rs:61:16 [ 281s] | [ 281s] 61 | pub fn pkgmgrinfo_pkginfo_destroy_pkginfo( [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: function `pkgmgrinfo_pkginfo_get_usr_all_pkginfo` is never used [ 281s] --> ./src/pkgmgr/server/util.rs:65:16 [ 281s] | [ 281s] 65 | pub fn pkgmgrinfo_pkginfo_get_usr_all_pkginfo( [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: function `pkgmgrinfo_pkginfo_get_type` is never used [ 281s] --> ./src/pkgmgr/server/util.rs:71:16 [ 281s] | [ 281s] 71 | pub fn pkgmgrinfo_pkginfo_get_type( [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: function `pkgmgrinfo_updateinfo_create` is never used [ 281s] --> ./src/pkgmgr/server/util.rs:76:16 [ 281s] | [ 281s] 76 | pub fn pkgmgrinfo_updateinfo_create( [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: function `pkgmgrinfo_updateinfo_set_pkgid` is never used [ 281s] --> ./src/pkgmgr/server/util.rs:80:16 [ 281s] | [ 281s] 80 | pub fn pkgmgrinfo_updateinfo_set_pkgid( [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: function `pkgmgrinfo_updateinfo_set_version` is never used [ 281s] --> ./src/pkgmgr/server/util.rs:85:16 [ 281s] | [ 281s] 85 | pub fn pkgmgrinfo_updateinfo_set_version( [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: function `pkgmgrinfo_updateinfo_set_type` is never used [ 281s] --> ./src/pkgmgr/server/util.rs:90:16 [ 281s] | [ 281s] 90 | pub fn pkgmgrinfo_updateinfo_set_type( [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: function `pkgmgrinfo_updateinfo_destroy` is never used [ 281s] --> ./src/pkgmgr/server/util.rs:95:16 [ 281s] | [ 281s] 95 | pub fn pkgmgrinfo_updateinfo_destroy( [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: function `pkgmgrinfo_appinfo_get_usr_all_appinfo` is never used [ 281s] --> ./src/pkgmgr/server/util.rs:99:16 [ 281s] | [ 281s] 99 | pub fn pkgmgrinfo_appinfo_get_usr_all_appinfo( [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: function `pkgmgrinfo_appinfo_is_global` is never used [ 281s] --> ./src/pkgmgr/server/util.rs:105:16 [ 281s] | [ 281s] 105 | pub fn pkgmgrinfo_appinfo_is_global( [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: function `pkgmgrinfo_appinfo_get_pkgid` is never used [ 281s] --> ./src/pkgmgr/server/util.rs:110:16 [ 281s] | [ 281s] 110 | pub fn pkgmgrinfo_appinfo_get_pkgid( [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: function `pkgmgrinfo_appinfo_destroy_appinfo` is never used [ 281s] --> ./src/pkgmgr/server/util.rs:115:16 [ 281s] | [ 281s] 115 | pub fn pkgmgrinfo_appinfo_destroy_appinfo( [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: function `aul_app_is_running_for_uid` is never used [ 281s] --> ./src/pkgmgr/server/util.rs:122:16 [ 281s] | [ 281s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: function `aul_app_get_pid_for_uid` is never used [ 281s] --> ./src/pkgmgr/server/util.rs:123:16 [ 281s] | [ 281s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: function `aul_terminate_pid_for_uid` is never used [ 281s] --> ./src/pkgmgr/server/util.rs:124:16 [ 281s] | [ 281s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: function `aul_app_get_pkgid_bypid_for_uid` is never used [ 281s] --> ./src/pkgmgr/server/util.rs:125:16 [ 281s] | [ 281s] 125 | pub fn aul_app_get_pkgid_bypid_for_uid(pid: c_int, pkgid: *mut c_char, len: c_int, uid: uid_t) -> c_int; [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: unused `Result` that must be used [ 281s] --> ./src/main.rs:14:5 [ 281s] | [ 281s] 14 | pkgmgr::server::Server::run(&mut server); [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 281s] | [ 281s] = note: this `Result` may be an `Err` variant, which should be handled [ 281s] = note: `#[warn(unused_must_use)]` on by default [ 281s] help: use `let _ = ...` to ignore the resulting value [ 281s] | [ 281s] 14 | let _ = pkgmgr::server::Server::run(&mut server); [ 281s] | +++++++ [ 281s] [ 281s] warning: unused `Result` that must be used [ 281s] --> ./src/pkgmgr/server/mod.rs:93:9 [ 281s] | [ 281s] 93 | admin_service.run(); [ 281s] | ^^^^^^^^^^^^^^^^^^^ [ 281s] | [ 281s] = note: this `Result` may be an `Err` variant, which should be handled [ 281s] help: use `let _ = ...` to ignore the resulting value [ 281s] | [ 281s] 93 | let _ = admin_service.run(); [ 281s] | +++++++ [ 281s] [ 281s] warning: unused `Result` that must be used [ 281s] --> ./src/pkgmgr/server/mod.rs:95:9 [ 281s] | [ 281s] 95 | cache_service.run(); [ 281s] | ^^^^^^^^^^^^^^^^^^^ [ 281s] | [ 281s] = note: this `Result` may be an `Err` variant, which should be handled [ 281s] help: use `let _ = ...` to ignore the resulting value [ 281s] | [ 281s] 95 | let _ = cache_service.run(); [ 281s] | +++++++ [ 281s] [ 281s] warning: unused `Result` that must be used [ 281s] --> ./src/pkgmgr/server/mod.rs:97:9 [ 281s] | [ 281s] 97 | info_service.run(); [ 281s] | ^^^^^^^^^^^^^^^^^^ [ 281s] | [ 281s] = note: this `Result` may be an `Err` variant, which should be handled [ 281s] help: use `let _ = ...` to ignore the resulting value [ 281s] | [ 281s] 97 | let _ = info_service.run(); [ 281s] | +++++++ [ 281s] [ 281s] warning: unused `Result` that must be used [ 281s] --> ./src/pkgmgr/server/mod.rs:99:9 [ 281s] | [ 281s] 99 | delayed_result_service.run(); [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 281s] | [ 281s] = note: this `Result` may be an `Err` variant, which should be handled [ 281s] help: use `let _ = ...` to ignore the resulting value [ 281s] | [ 281s] 99 | let _ = delayed_result_service.run(); [ 281s] | +++++++ [ 281s] [ 281s] warning: unused `Result` that must be used [ 281s] --> ./src/pkgmgr/server/mod.rs:109:9 [ 281s] | [ 281s] 109 | admin_service.stop(); [ 281s] | ^^^^^^^^^^^^^^^^^^^^ [ 281s] | [ 281s] = note: this `Result` may be an `Err` variant, which should be handled [ 281s] help: use `let _ = ...` to ignore the resulting value [ 281s] | [ 281s] 109 | let _ = admin_service.stop(); [ 281s] | +++++++ [ 281s] [ 281s] warning: unused `Result` that must be used [ 281s] --> ./src/pkgmgr/server/mod.rs:110:9 [ 281s] | [ 281s] 110 | cache_service.stop(); [ 281s] | ^^^^^^^^^^^^^^^^^^^^ [ 281s] | [ 281s] = note: this `Result` may be an `Err` variant, which should be handled [ 281s] help: use `let _ = ...` to ignore the resulting value [ 281s] | [ 281s] 110 | let _ = cache_service.stop(); [ 281s] | +++++++ [ 281s] [ 281s] warning: unused `Result` that must be used [ 281s] --> ./src/pkgmgr/server/mod.rs:111:9 [ 281s] | [ 281s] 111 | info_service.stop(); [ 281s] | ^^^^^^^^^^^^^^^^^^^ [ 281s] | [ 281s] = note: this `Result` may be an `Err` variant, which should be handled [ 281s] help: use `let _ = ...` to ignore the resulting value [ 281s] | [ 281s] 111 | let _ = info_service.stop(); [ 281s] | +++++++ [ 281s] [ 281s] warning: unused `Result` that must be used [ 281s] --> ./src/pkgmgr/server/mod.rs:112:9 [ 281s] | [ 281s] 112 | delayed_result_service.stop(); [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 281s] | [ 281s] = note: this `Result` may be an `Err` variant, which should be handled [ 281s] help: use `let _ = ...` to ignore the resulting value [ 281s] | [ 281s] 112 | let _ = delayed_result_service.stop(); [ 281s] | +++++++ [ 281s] [ 281s] warning: unused return value of `std::mem::size_of` that must be used [ 281s] --> ./src/pkgmgr/server/backend_queue.rs:40:9 [ 281s] | [ 281s] 40 | mem::size_of::(); [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 281s] | [ 281s] help: use `let _ = ...` to ignore the resulting value [ 281s] | [ 281s] 40 | let _ = mem::size_of::(); [ 281s] | +++++++ [ 281s] [ 281s] warning: structure field `rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 281s] --> ./src/pkgmgr/server/info_service.rs:35:9 [ 281s] | [ 281s] 35 | pub rpc_port_stub_PkgMgr_create_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_create_cb` [ 281s] | [ 281s] = note: `#[warn(non_snake_case)]` on by default [ 281s] [ 281s] warning: structure field `rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 281s] --> ./src/pkgmgr/server/info_service.rs:36:9 [ 281s] | [ 281s] 36 | pub rpc_port_stub_PkgMgr_terminate_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_terminate_cb` [ 281s] [ 281s] warning: structure field `rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 281s] --> ./src/pkgmgr/server/info_service.rs:37:9 [ 281s] | [ 281s] 37 | pub rpc_port_stub_PkgMgr_GetSize_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, get_type: c_int, r... [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_cb` [ 281s] [ 281s] warning: structure field `rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 281s] --> ./src/pkgmgr/server/info_service.rs:38:9 [ 281s] | [ 281s] 38 | pub rpc_port_stub_PkgMgr_GetSizeSync_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, get_type: c_in... [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 281s] [ 281s] warning: structure field `rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 281s] --> ./src/pkgmgr/server/info_service.rs:39:9 [ 281s] | [ 281s] 39 | pub rpc_port_stub_PkgMgr_GetResultSizeSync_cb: extern "C" fn(context: *mut c_void, req_key: *const c_char, result: *mut c_int, size_i... [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 281s] [ 281s] warning: structure field `rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 281s] --> ./src/pkgmgr/server/info_service.rs:40:9 [ 281s] | [ 281s] 40 | pub rpc_port_stub_PkgMgr_Check_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, pid: *mut pid_t, use... [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_check_cb` [ 281s] [ 281s] warning: function `impl_rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 281s] --> ./src/pkgmgr/server/info_service.rs:43:19 [ 281s] | [ 281s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_create_cb` [ 281s] [ 281s] warning: function `impl_rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 281s] --> ./src/pkgmgr/server/info_service.rs:48:19 [ 281s] | [ 281s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_terminate_cb` [ 281s] [ 281s] warning: function `impl_rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 281s] --> ./src/pkgmgr/server/info_service.rs:52:19 [ 281s] | [ 281s] 52 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSize_cb( [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_cb` [ 281s] [ 281s] warning: function `impl_rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 281s] --> ./src/pkgmgr/server/info_service.rs:112:19 [ 281s] | [ 281s] 112 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSizeSync_cb( [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 281s] [ 281s] warning: function `impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 281s] --> ./src/pkgmgr/server/info_service.rs:194:19 [ 281s] | [ 281s] 194 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb( [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 281s] [ 281s] warning: function `impl_rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 281s] --> ./src/pkgmgr/server/info_service.rs:221:19 [ 281s] | [ 281s] 221 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_Check_cb( [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_check_cb` [ 281s] [ 281s] warning: method `IsPackageReadonly` should have a snake case name [ 281s] --> ./src/pkgmgr/server/util.rs:389:12 [ 281s] | [ 281s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 281s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly` [ 281s] [ 281s] warning: method `GetPackageType` should have a snake case name [ 281s] --> ./src/pkgmgr/server/util.rs:420:12 [ 281s] | [ 281s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 281s] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type` [ 281s] [ 281s] warning: variable `xmlReaderTypes_XML_READER_TYPE_ELEMENT` should have a snake case name [ 281s] --> ./src/pkgmgr/server/util.rs:473:17 [ 281s] | [ 281s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_element` [ 281s] [ 281s] warning: variable `xmlReaderTypes_XML_READER_TYPE_TEXT` should have a snake case name [ 281s] --> ./src/pkgmgr/server/util.rs:478:17 [ 281s] | [ 281s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_text` [ 281s] [ 281s] warning: variable `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` should have a snake case name [ 281s] --> ./src/pkgmgr/server/util.rs:483:17 [ 281s] | [ 281s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_end_element` [ 281s] [ 281s] warning: constant `type_map` should have an upper case name [ 281s] --> ./src/pkgmgr/server/util.rs:623:15 [ 281s] | [ 281s] 623 | const type_map : [[&str; 2]; 3] = [ [ 281s] | ^^^^^^^^ help: convert the identifier to upper case: `TYPE_MAP` [ 281s] | [ 281s] = note: `#[warn(non_upper_case_globals)]` on by default [ 281s] [ 281s] warning: method `GenerateRequestId` should have a snake case name [ 281s] --> ./src/pkgmgr/server/util.rs:646:12 [ 281s] | [ 281s] 646 | pub fn GenerateRequestId(pkgid: &str) -> Option { [ 281s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_request_id` [ 281s] [ 281s] warning: method `CreatePkgUpdateInfo` should have a snake case name [ 281s] --> ./src/pkgmgr/server/util.rs:657:12 [ 281s] | [ 281s] 657 | pub fn CreatePkgUpdateInfo(pkgid: *const c_char, version: *const c_char, update_type: c_int) -> *mut c_void { [ 281s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info` [ 281s] [ 281s] warning: method `DestroyPkgUpdateInfo` should have a snake case name [ 281s] --> ./src/pkgmgr/server/util.rs:680:12 [ 281s] | [ 281s] 680 | pub fn DestroyPkgUpdateInfo(handle: *mut c_void) -> c_int { [ 281s] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroy_pkg_update_info` [ 281s] [ 281s] warning: method `RegisterPkgUpdateInfo` should have a snake case name [ 281s] --> ./src/pkgmgr/server/util.rs:686:12 [ 281s] | [ 281s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `register_pkg_update_info` [ 281s] [ 281s] warning: method `UnregisterPkgUpdateInfo` should have a snake case name [ 281s] --> ./src/pkgmgr/server/util.rs:696:12 [ 281s] | [ 281s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_pkg_update_info` [ 281s] [ 281s] warning: method `UnregisterAllPkgUpdateInfo` should have a snake case name [ 281s] --> ./src/pkgmgr/server/util.rs:706:12 [ 281s] | [ 281s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_all_pkg_update_info` [ 281s] [ 281s] warning: method `EnableApp` should have a snake case name [ 281s] --> ./src/pkgmgr/server/util.rs:728:12 [ 281s] | [ 281s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 281s] | ^^^^^^^^^ help: convert the identifier to snake case: `enable_app` [ 281s] [ 281s] warning: method `DisableApp` should have a snake case name [ 281s] --> ./src/pkgmgr/server/util.rs:738:12 [ 281s] | [ 281s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 281s] | ^^^^^^^^^^ help: convert the identifier to snake case: `disable_app` [ 281s] [ 281s] warning: method `EnableGlobalApp` should have a snake case name [ 281s] --> ./src/pkgmgr/server/util.rs:747:12 [ 281s] | [ 281s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 281s] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app` [ 281s] [ 281s] warning: method `DisableGlobalApp` should have a snake case name [ 281s] --> ./src/pkgmgr/server/util.rs:757:12 [ 281s] | [ 281s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 281s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app` [ 281s] [ 281s] warning: method `EnableAppSplashScreen` should have a snake case name [ 281s] --> ./src/pkgmgr/server/util.rs:766:12 [ 281s] | [ 281s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_app_splash_screen` [ 281s] [ 281s] warning: method `DisableAppSplashScreen` should have a snake case name [ 281s] --> ./src/pkgmgr/server/util.rs:775:12 [ 281s] | [ 281s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_app_splash_screen` [ 281s] [ 281s] warning: method `EnableGlobalAppSplashScreen` should have a snake case name [ 281s] --> ./src/pkgmgr/server/util.rs:784:12 [ 281s] | [ 281s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app_splash_screen` [ 281s] [ 281s] warning: method `DisableGlobalAppSplashScreen` should have a snake case name [ 281s] --> ./src/pkgmgr/server/util.rs:793:12 [ 281s] | [ 281s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app_splash_screen` [ 281s] [ 281s] warning: method `KillApp` should have a snake case name [ 281s] --> ./src/pkgmgr/server/util.rs:813:12 [ 281s] | [ 281s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 281s] | ^^^^^^^ help: convert the identifier to snake case: `kill_app` [ 281s] [ 281s] warning: method `KillAppsInPkg` should have a snake case name [ 281s] --> ./src/pkgmgr/server/util.rs:835:12 [ 281s] | [ 281s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 281s] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_apps_in_pkg` [ 281s] [ 281s] warning: method `IsAdminUser` should have a snake case name [ 281s] --> ./src/pkgmgr/server/util.rs:855:8 [ 281s] | [ 281s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 281s] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_admin_user` [ 281s] [ 281s] warning: function `IsPackageReadonly_test_return_None_from_disable1` should have a snake case name [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:13:4 [ 281s] | [ 281s] 13 | fn IsPackageReadonly_test_return_None_from_disable1() { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_disable1` [ 281s] [ 281s] warning: getting the inner pointer of a temporary `CString` [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:16:77 [ 281s] | [ 281s] 16 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, false)); [ 281s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 281s] | | [ 281s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 281s] | [ 281s] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [ 281s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 281s] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [ 281s] [ 281s] warning: function `IsPackageReadonly_test_return_None_from_disable2` should have a snake case name [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:20:4 [ 281s] | [ 281s] 20 | fn IsPackageReadonly_test_return_None_from_disable2() { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_disable2` [ 281s] [ 281s] warning: getting the inner pointer of a temporary `CString` [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:23:77 [ 281s] | [ 281s] 23 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 281s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 281s] | | [ 281s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 281s] | [ 281s] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [ 281s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 281s] [ 281s] warning: function `IsPackageReadonly_test_return_None_from_readonly` should have a snake case name [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:27:4 [ 281s] | [ 281s] 27 | fn IsPackageReadonly_test_return_None_from_readonly() { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_readonly` [ 281s] [ 281s] warning: getting the inner pointer of a temporary `CString` [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:32:77 [ 281s] | [ 281s] 32 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 281s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 281s] | | [ 281s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 281s] | [ 281s] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [ 281s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 281s] [ 281s] warning: function `IsPackageReadonly_test_return_someTrue_from_readonly` should have a snake case name [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:36:4 [ 281s] | [ 281s] 36 | fn IsPackageReadonly_test_return_someTrue_from_readonly() { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_some_true_from_readonly` [ 281s] [ 281s] warning: getting the inner pointer of a temporary `CString` [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:46:83 [ 281s] | [ 281s] 46 | assert_eq!(Some(true), Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 281s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 281s] | | [ 281s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 281s] | [ 281s] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [ 281s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 281s] [ 281s] warning: function `IsPackageReadonly_test_return_someFalse_from_readonly` should have a snake case name [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:50:4 [ 281s] | [ 281s] 50 | fn IsPackageReadonly_test_return_someFalse_from_readonly() { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_some_false_from_readonly` [ 281s] [ 281s] warning: getting the inner pointer of a temporary `CString` [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:60:84 [ 281s] | [ 281s] 60 | assert_eq!(Some(false), Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 281s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 281s] | | [ 281s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 281s] | [ 281s] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [ 281s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 281s] [ 281s] warning: function `KillApp_test_return_0_from_running` should have a snake case name [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:65:4 [ 281s] | [ 281s] 65 | fn KillApp_test_return_0_from_running() { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_0_from_running` [ 281s] [ 281s] warning: getting the inner pointer of a temporary `CString` [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:68:64 [ 281s] | [ 281s] 68 | assert_eq!(0, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 281s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 281s] | | [ 281s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 281s] | [ 281s] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [ 281s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 281s] [ 281s] warning: function `KillApp_test_return_minus_from_getpid` should have a snake case name [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:72:4 [ 281s] | [ 281s] 72 | fn KillApp_test_return_minus_from_getpid() { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_minus_from_getpid` [ 281s] [ 281s] warning: getting the inner pointer of a temporary `CString` [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:77:65 [ 281s] | [ 281s] 77 | assert_eq!(-1, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 281s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 281s] | | [ 281s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 281s] | [ 281s] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [ 281s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 281s] [ 281s] warning: function `KillApp_test_return_minus_from_terminate` should have a snake case name [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:81:4 [ 281s] | [ 281s] 81 | fn KillApp_test_return_minus_from_terminate() { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_minus_from_terminate` [ 281s] [ 281s] warning: getting the inner pointer of a temporary `CString` [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:88:65 [ 281s] | [ 281s] 88 | assert_eq!(-1, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 281s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 281s] | | [ 281s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 281s] | [ 281s] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [ 281s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 281s] [ 281s] warning: function `KillApp_test_return_0_from_end` should have a snake case name [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:92:4 [ 281s] | [ 281s] 92 | fn KillApp_test_return_0_from_end() { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_0_from_end` [ 281s] [ 281s] warning: getting the inner pointer of a temporary `CString` [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:99:64 [ 281s] | [ 281s] 99 | assert_eq!(0, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 281s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 281s] | | [ 281s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 281s] | [ 281s] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [ 281s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 281s] [ 281s] warning: function `GetPackageType_test_return_new_from_all` should have a snake case name [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:104:4 [ 281s] | [ 281s] 104 | fn GetPackageType_test_return_new_from_all() { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_new_from_all` [ 281s] [ 281s] warning: getting the inner pointer of a temporary `CString` [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:107:83 [ 281s] | [ 281s] 107 | assert_eq!(String::new(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 281s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 281s] | | [ 281s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 281s] | [ 281s] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [ 281s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 281s] [ 281s] warning: function `GetPackageType_test_return_new_from_type` should have a snake case name [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:111:4 [ 281s] | [ 281s] 111 | fn GetPackageType_test_return_new_from_type() { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_new_from_type` [ 281s] [ 281s] warning: getting the inner pointer of a temporary `CString` [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:118:83 [ 281s] | [ 281s] 118 | assert_eq!(String::new(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 281s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 281s] | | [ 281s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 281s] | [ 281s] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [ 281s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 281s] [ 281s] warning: function `GetPackageType_test_return_rpk_from_end` should have a snake case name [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:122:4 [ 281s] | [ 281s] 122 | fn GetPackageType_test_return_rpk_from_end() { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_rpk_from_end` [ 281s] [ 281s] warning: getting the inner pointer of a temporary `CString` [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:132:87 [ 281s] | [ 281s] 132 | assert_eq!("rpk".to_string(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 281s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 281s] | | [ 281s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 281s] | [ 281s] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [ 281s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 281s] [ 281s] warning: function `GetPackageType_test_return_newtype_from_end` should have a snake case name [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:136:4 [ 281s] | [ 281s] 136 | fn GetPackageType_test_return_newtype_from_end() { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_newtype_from_end` [ 281s] [ 281s] warning: getting the inner pointer of a temporary `CString` [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:146:87 [ 281s] | [ 281s] 146 | assert_eq!("ABC".to_string(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 281s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 281s] | | [ 281s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 281s] | [ 281s] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [ 281s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 281s] [ 281s] warning: function `CreatePkgUpdateInfo_test_return_null1` should have a snake case name [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:151:4 [ 281s] | [ 281s] 151 | fn CreatePkgUpdateInfo_test_return_null1() { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null1` [ 281s] [ 281s] warning: getting the inner pointer of a temporary `CString` [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:154:95 [ 281s] | [ 281s] 154 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 281s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 281s] | | [ 281s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 281s] | [ 281s] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [ 281s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 281s] [ 281s] warning: getting the inner pointer of a temporary `CString` [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:154:138 [ 281s] | [ 281s] 154 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 281s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 281s] | | [ 281s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 281s] | [ 281s] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [ 281s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 281s] [ 281s] warning: function `CreatePkgUpdateInfo_test_return_null2` should have a snake case name [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:158:4 [ 281s] | [ 281s] 158 | fn CreatePkgUpdateInfo_test_return_null2() { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null2` [ 281s] [ 281s] warning: getting the inner pointer of a temporary `CString` [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:165:95 [ 281s] | [ 281s] 165 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 281s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 281s] | | [ 281s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 281s] | [ 281s] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [ 281s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 281s] [ 281s] warning: getting the inner pointer of a temporary `CString` [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:165:138 [ 281s] | [ 281s] 165 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 281s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 281s] | | [ 281s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 281s] | [ 281s] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [ 281s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 281s] [ 281s] warning: function `CreatePkgUpdateInfo_test_return_null3` should have a snake case name [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:169:4 [ 281s] | [ 281s] 169 | fn CreatePkgUpdateInfo_test_return_null3() { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null3` [ 281s] [ 281s] warning: getting the inner pointer of a temporary `CString` [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:178:95 [ 281s] | [ 281s] 178 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 281s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 281s] | | [ 281s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 281s] | [ 281s] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [ 281s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 281s] [ 281s] warning: getting the inner pointer of a temporary `CString` [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:178:138 [ 281s] | [ 281s] 178 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 281s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 281s] | | [ 281s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 281s] | [ 281s] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [ 281s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 281s] [ 281s] warning: function `CreatePkgUpdateInfo_test_return_null4` should have a snake case name [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:182:4 [ 281s] | [ 281s] 182 | fn CreatePkgUpdateInfo_test_return_null4() { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null4` [ 281s] [ 281s] warning: getting the inner pointer of a temporary `CString` [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:193:95 [ 281s] | [ 281s] 193 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 281s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 281s] | | [ 281s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 281s] | [ 281s] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [ 281s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 281s] [ 281s] warning: getting the inner pointer of a temporary `CString` [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:193:138 [ 281s] | [ 281s] 193 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 281s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 281s] | | [ 281s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 281s] | [ 281s] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [ 281s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 281s] [ 281s] warning: function `CreatePkgUpdateInfo_test_return_handle` should have a snake case name [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:197:4 [ 281s] | [ 281s] 197 | fn CreatePkgUpdateInfo_test_return_handle() { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_handle` [ 281s] [ 281s] warning: getting the inner pointer of a temporary `CString` [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:206:95 [ 281s] | [ 281s] 206 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 281s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 281s] | | [ 281s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 281s] | [ 281s] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [ 281s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 281s] [ 281s] warning: getting the inner pointer of a temporary `CString` [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:206:138 [ 281s] | [ 281s] 206 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 281s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 281s] | | [ 281s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 281s] | [ 281s] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [ 281s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 281s] [ 281s] warning: function `getapplicationinfobyappid_test_return_None_from_appinfo` should have a snake case name [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:211:4 [ 281s] | [ 281s] 211 | fn getapplicationinfobyappid_test_return_None_from_appinfo() { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_appinfo` [ 281s] [ 281s] warning: getting the inner pointer of a temporary `CString` [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:214:89 [ 281s] | [ 281s] 214 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 281s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 281s] | | [ 281s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 281s] | [ 281s] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [ 281s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 281s] [ 281s] warning: function `getapplicationinfobyappid_test_return_None_from_global` should have a snake case name [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:218:4 [ 281s] | [ 281s] 218 | fn getapplicationinfobyappid_test_return_None_from_global() { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_global` [ 281s] [ 281s] warning: getting the inner pointer of a temporary `CString` [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:225:89 [ 281s] | [ 281s] 225 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 281s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 281s] | | [ 281s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 281s] | [ 281s] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [ 281s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 281s] [ 281s] warning: function `getapplicationinfobyappid_test_return_None_from_pkgid` should have a snake case name [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:229:4 [ 281s] | [ 281s] 229 | fn getapplicationinfobyappid_test_return_None_from_pkgid() { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_pkgid` [ 281s] [ 281s] warning: getting the inner pointer of a temporary `CString` [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:238:89 [ 281s] | [ 281s] 238 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 281s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 281s] | | [ 281s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 281s] | [ 281s] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [ 281s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 281s] [ 281s] warning: function `getapplicationinfobyappid_test_return_Some_from_end` should have a snake case name [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:242:4 [ 281s] | [ 281s] 242 | fn getapplicationinfobyappid_test_return_Some_from_end() { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `getapplicationinfobyappid_test_return_some_from_end` [ 281s] [ 281s] warning: getting the inner pointer of a temporary `CString` [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:257:127 [ 281s] | [ 281s] 257 | assert_eq!(Some((CString::new("aaa").unwrap(), true)), Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 281s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 281s] | | [ 281s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 281s] | [ 281s] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [ 281s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 281s] [ 281s] warning: function `get_pkgid_bypid_for_uid_test_return_None` should have a snake case name [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:262:4 [ 281s] | [ 281s] 262 | fn get_pkgid_bypid_for_uid_test_return_None() { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_pkgid_bypid_for_uid_test_return_none` [ 281s] [ 281s] warning: function `get_pkgid_bypid_for_uid_test_return_Some` should have a snake case name [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:269:4 [ 281s] | [ 281s] 269 | fn get_pkgid_bypid_for_uid_test_return_Some() { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `get_pkgid_bypid_for_uid_test_return_some` [ 281s] [ 281s] warning: function `get_pkgid_bypid_for_uid_test_return_None_from_end` should have a snake case name [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:283:4 [ 281s] | [ 281s] 283 | fn get_pkgid_bypid_for_uid_test_return_None_from_end() { [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_pkgid_bypid_for_uid_test_return_none_from_end` [ 281s] [ 442s] warning: 735 warnings emitted [ 442s] [ 442s] + exit 0 [ 442s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wdeWmF [ 442s] + umask 022 [ 442s] + cd /home/abuild/rpmbuild/BUILD [ 442s] + cd pkgmgr-server-1.0.15 [ 442s] + LANG=C [ 442s] + export LANG [ 442s] + unset DISPLAY [ 442s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 442s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 442s] + /bin/make DESTDIR=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm INSTALL_ROOT=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm install [ 442s] /usr/bin/cmake -S/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 -B/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 --check-build-system CMakeFiles/Makefile.cmake 0 [ 442s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/CMakeFiles /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15//CMakeFiles/progress.marks [ 442s] /bin/make -f CMakeFiles/Makefile2 all [ 442s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 442s] /bin/make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/depend [ 442s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 442s] cd /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/DependInfo.cmake --color= [ 442s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 442s] /bin/make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build [ 442s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 442s] make[2]: Nothing to be done for 'tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build'. [ 442s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 442s] [ 50%] Built target tidl_pkgmgr_server [ 442s] /bin/make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/depend [ 442s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 442s] cd /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/DependInfo.cmake --color= [ 442s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 442s] /bin/make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build [ 442s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 442s] make[2]: Nothing to be done for 'util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build'. [ 442s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 442s] [100%] Built target util_pkgmgr_server [ 442s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 442s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/CMakeFiles 0 [ 442s] /bin/make -f CMakeFiles/Makefile2 preinstall [ 442s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 442s] make[1]: Nothing to be done for 'preinstall'. [ 442s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 442s] Install the project... [ 442s] /usr/bin/cmake -P cmake_install.cmake [ 442s] -- Install configuration: "" [ 442s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/systemd/system/package-manager.service [ 442s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/systemd/system/package-manager.socket [ 442s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/libtidl_pkgmgr_server.so [ 442s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/libutil_pkgmgr_server.so [ 442s] + rm -f /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/share/info/dir [ 442s] + find /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm -regex '.*\.la$' [ 442s] + xargs rm -f -- [ 442s] + find /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm -regex '.*\.a$' [ 442s] + xargs rm -f -- [ 442s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/systemd/system/basic.target.wants [ 442s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/systemd/system/sockets.target.wants [ 442s] + ln -sf ../package-manager.socket /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/systemd/system/sockets.target.wants/package-manager.socket [ 442s] + install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/bin [ 442s] + install -m 0755 ./rust_pkgmgr_server /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/bin/pkgmgr-server [ 442s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/etc/package-manager/server [ 442s] + _target= [ 442s] + _symlinks=0 [ 442s] + _files=() [ 442s] + fdupes -q -n -r /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 442s] + read _file [ 442s] + /usr/lib/rpm/find-debuginfo.sh -j8 --build-id-seed 1.0.15-1 --unique-debug-src-base pkgmgr-server-1.0.15-1.arm -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 442s] 1+0 records in [ 442s] 1+0 records out [ 442s] 1+0 records in [ 442s] 1+0 records out [ 442s] 1+0 records in [ 442s] 1+0 records out [ 442s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/libutil_pkgmgr_server.so [ 442s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/bin/pkgmgr-server [ 442s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/libtidl_pkgmgr_server.so [ 442s] 0+0 records in [ 442s] 0+0 records out [ 442s] 0+0 records in [ 442s] 0+0 records out [ 442s] 0+0 records in [ 442s] 0+0 records out [ 442s] 797 blocks [ 442s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/pkgmgr-server-debuginfo.manifest [ 442s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/pkgmgr-server-debugsource.manifest [ 442s] + /usr/lib/rpm/check-buildroot [ 442s] + /usr/lib/rpm//brp-compress [ 442s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 442s] + /usr/lib/rpm/brp-python-hardlink [ 442s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 442s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/isu.list [ 442s] ~/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm ~/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 442s] ~/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 442s] + /etc/hal/rootstrap/hal-rootstrap-checker.sh 0 /home/abuild/rpmbuild/SOURCES [ 443s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.MXhZKg [ 443s] Processing files: pkgmgr-server-1.0.15-1.armv7l [ 443s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIiAvPgoJPC9y [ 443s] ZXF1ZXN0PgoJPGFzc2lnbj4KCQk8ZmlsZXN5c3RlbSBwYXRoPSIvdXNyL2Jpbi9w [ 443s] a2dtZ3Itc2VydmVyIiBsYWJlbD0iU3lzdGVtIiBleGVjX2xhYmVsPSJub25lIiAv [ 443s] PgoJCTxmaWxlc3lzdGVtIHBhdGg9Ii92YXIvbGliL3BhY2thZ2UtbWFuYWdlciIg [ 443s] bGFiZWw9IlN5c3RlbSIgLz4KCTwvYXNzaWduPgo8L21hbmlmZXN0Pgo= [ 443s] [ 443s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ySyx6c [ 443s] + umask 022 [ 443s] + cd /home/abuild/rpmbuild/BUILD [ 443s] + cd pkgmgr-server-1.0.15 [ 443s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/share/licenses/pkgmgr-server [ 443s] + export LC_ALL=C [ 443s] + LC_ALL=C [ 443s] + export LICENSEDIR [ 443s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/share/licenses/pkgmgr-server [ 443s] + cp -pr LICENSE /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/share/licenses/pkgmgr-server [ 443s] + exit 0 [ 443s] Provides: libtidl_pkgmgr_server.so libutil_pkgmgr_server.so pkgmgr-server = 1.0.15-1 pkgmgr-server(armv7l-32) = 1.0.15-1 [ 443s] Requires(interp): /bin/sh [ 443s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 443s] Requires(post): /bin/sh [ 443s] Requires: ld-linux.so.3 ld-linux.so.3(GLIBC_2.4) libaul.so.0 libc.so.6 libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libcapi-base-common.so.0 libdlog.so.0 libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.5) libgio-2.0.so.0 libglib-2.0.so.0 libgobject-2.0.so.0 libgum.so.0 libminizip.so.1 libpkgmgr-info.so.0 libpkgmgr_installer.so.0 libpkgmgr_parser.so.0 librpc-port.so.1 libstd-161dbff30b3b0c00.so libsystemd.so.0 libsystemd.so.0(LIBSYSTEMD_209) libtidl_pkgmgr_server.so libtzplatform-config-2.0.so.2 libtzplatform-config-2.0.so.2(TPC) libutil_pkgmgr_server.so libxml2.so.2 libxml2.so.2(LIBXML2_2.4.30) libxml2.so.2(LIBXML2_2.5.0) libxml2.so.2(LIBXML2_2.6.0) rtld(GNU_HASH) [ 443s] Processing files: pkgmgr-server-debugsource-1.0.15-1.armv7l [ 443s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 443s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 443s] [ 443s] Provides: pkgmgr-server-debugsource = 1.0.15-1 pkgmgr-server-debugsource(armv7l-32) = 1.0.15-1 [ 443s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 443s] Processing files: pkgmgr-server-debuginfo-1.0.15-1.armv7l [ 443s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 443s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 443s] [ 443s] Provides: pkgmgr-server-debuginfo = 1.0.15-1 pkgmgr-server-debuginfo(armv7l-32) = 1.0.15-1 [ 443s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 443s] Recommends: pkgmgr-server-debugsource(armv7l-32) = 1.0.15-1 [ 443s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 443s] Wrote: /home/abuild/rpmbuild/SRPMS/pkgmgr-server-1.0.15-1.src.rpm [ 443s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/pkgmgr-server-1.0.15-1.armv7l.rpm [ 443s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/pkgmgr-server-debugsource-1.0.15-1.armv7l.rpm [ 443s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/pkgmgr-server-debuginfo-1.0.15-1.armv7l.rpm [ 443s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3UJMHr [ 443s] + umask 022 [ 443s] + cd /home/abuild/rpmbuild/BUILD [ 443s] + cd pkgmgr-server-1.0.15 [ 443s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 443s] + exit 0 [ 443s] ... checking for files with abuild user/group [ 443s] ... creating baselibs [ 444s] [ 444s] ip-192-168-56-98 finished "build pkgmgr-server.spec" at Mon Dec 16 08:11:14 UTC 2024. [ 444s]