[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.aarch64.13 [ 0s] Using BUILD_ARCH=aarch64:noarch [ 0s] [ 0s] [ 0s] ip-192-168-56-230 started "build pkgmgr-server.spec" at Sun Dec 15 23:59:58 UTC 2024. [ 0s] [ 0s] [ 0s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_standard/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/aarch64/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_20241215.123135/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/debug/ --clean /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_standard/pkgmgr-server-1.0.15-1/pkgmgr-server.spec build ... [ 0s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.aarch64.13/.srcfiles.cache ... [ 0s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.aarch64.13/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_standard/aarch64/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_20241215.123135/repos/standard/packages/ [ 6s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/debug/ [ 8s] expanding package dependencies... [ 9s] copying qemu [ 9s] /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 [ 9s] [ 9s] registering binfmt handlers for cross build [ 9s] calculating packages to download... [ 12s] [1/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/dbus-1.12.20-3.aarch64.rpm ... [ 12s] [2/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/gumd-1.0.8-0.aarch64.rpm ... [ 12s] [3/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/libgum-1.0.8-0.aarch64.rpm ... [ 12s] [4/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/libgum-devel-1.0.8-0.aarch64.rpm ... [ 12s] [5/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-1.74.0-1.aarch64.rpm ... [ 13s] [6/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-anstyle-0.3.5-1.aarch64.rpm ... [ 13s] [7/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-cfg-if-1.0.0-1.aarch64.rpm ... [ 13s] [8/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-devel-1.74.0-1.aarch64.rpm ... [ 14s] [9/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-difflib-0.4.0-1.aarch64.rpm ... [ 14s] [10/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-downcast-0.11.0-1.aarch64.rpm ... [ 14s] [11/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-either-1.8.1-1.aarch64.rpm ... [ 14s] [12/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-float-cmp-0.9.0-1.aarch64.rpm ... [ 14s] [13/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-fragile-2.0.0-1.aarch64.rpm ... [ 15s] [14/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-glib-sys-0.17.10-1.aarch64.rpm ... [ 15s] [15/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-itertools-0.10.5-1.aarch64.rpm ... [ 15s] [16/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-lazy_static-1.4.0-1.aarch64.rpm ... [ 15s] [17/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-libc-0.2.139-1.aarch64.rpm ... [ 15s] [18/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-libm-0.2.6-1.aarch64.rpm ... [ 15s] [19/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-lock_api-0.4.9-1.aarch64.rpm ... [ 15s] [20/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-minizip-sys-0.1.2-1.aarch64.rpm ... [ 15s] [21/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-mockall-0.11.4-1.aarch64.rpm ... [ 15s] [22/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-mockall_derive-0.11.4-1.aarch64.rpm ... [ 16s] [23/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-mockall_double-0.3.0-1.aarch64.rpm ... [ 16s] [24/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-normalize-line-endings-0.3.0-1.aarch64.rpm ... [ 16s] [25/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-num-traits-0.2.15-1.aarch64.rpm ... [ 16s] [26/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-predicates-3.0.4-1.aarch64.rpm ... [ 16s] [27/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-predicates-core-1.0.6-1.aarch64.rpm ... [ 16s] [28/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-predicates-tree-1.0.9-1.aarch64.rpm ... [ 16s] [29/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-proc-macro2-1.0.51-1.aarch64.rpm ... [ 16s] [30/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-quote-1.0.23-1.aarch64.rpm ... [ 17s] [31/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-regex-1.7.1-1.aarch64.rpm ... [ 17s] [32/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-regex-syntax-0.6.28-1.aarch64.rpm ... [ 17s] [33/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-scopeguard-1.1.0-1.aarch64.rpm ... [ 17s] [34/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-spin-0.9.5-1.aarch64.rpm ... [ 17s] [35/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-std-shared-1.74.0-1.aarch64.rpm ... [ 17s] [36/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-std-static-1.74.0-1.aarch64.rpm ... [ 18s] [37/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-syn-1.0.107-1.aarch64.rpm ... [ 18s] [38/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-termtree-0.4.1-1.aarch64.rpm ... [ 18s] [39/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/standard/packages/aarch64/rust-unicode-ident-1.0.6-1.aarch64.rpm ... [ 18s] [ 18s] cycle: nss -> libsoftokn3 [ 18s] breaking dependency nss -> libsoftokn3 [ 18s] [1/42] preinstalling libmagic-data... [ 18s] [2/42] preinstalling libncurses... [ 18s] [3/42] preinstalling setup... [ 18s] [4/42] preinstalling filesystem... [ 18s] [5/42] preinstalling glibc... [ 19s] [6/42] preinstalling bash... [ 19s] [7/42] preinstalling diffutils... [ 19s] [8/42] preinstalling grep... [ 19s] [9/42] preinstalling libattr... [ 19s] [10/42] preinstalling libblkid... [ 19s] [11/42] preinstalling libbz2... [ 19s] [12/42] preinstalling libfreebl3... [ 19s] [13/42] preinstalling libgcc... [ 19s] [14/42] preinstalling liblua... [ 19s] [15/42] preinstalling liblzma... [ 19s] [16/42] preinstalling libpopt... [ 19s] [17/42] preinstalling libreadline... [ 19s] [18/42] preinstalling libsmack... [ 19s] [19/42] preinstalling libsqlite... [ 19s] [20/42] preinstalling libuuid... [ 19s] [21/42] preinstalling libxcrypt... [ 19s] [22/42] preinstalling libzstd1... [ 19s] [23/42] preinstalling nspr... [ 19s] [24/42] preinstalling sed... [ 19s] [25/42] preinstalling zlib... [ 19s] [26/42] preinstalling qemu-accel-x86_64-aarch64... [ 26s] [27/42] preinstalling qemu-linux-user-x86_64-cross... [ 29s] [28/42] preinstalling coreutils... [ 29s] [29/42] preinstalling libacl... [ 29s] [30/42] preinstalling libcap... [ 29s] [31/42] preinstalling libelf... [ 29s] [32/42] preinstalling libmount... [ 29s] [33/42] preinstalling smack... [ 29s] [34/42] preinstalling bzip2... [ 29s] [35/42] preinstalling libmagic... [ 29s] [36/42] preinstalling libxml2... [ 29s] [37/42] preinstalling tar... [ 29s] [38/42] preinstalling util-linux... [ 30s] [39/42] preinstalling util-linux-su... [ 30s] [40/42] preinstalling nss... [ 30s] [41/42] preinstalling libsoftokn3... [ 30s] [42/42] preinstalling rpm... [ 30s] [ 30s] running qemu-linux-user-x86_64-cross postinstall script [ 30s] running qemu-accel-x86_64-aarch64 postinstall script [ 31s] mv: cannot stat `/usr/lib64/gcc/aarch64-tizen-linux-gnu/14.2.0/liblto_plugin.so': No such file or directory [ 31s] running setup postinstall script [ 31s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 31s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 31s] initializing rpm db... [ 31s] reordering...cycle: gio-branding-upstream -> libgio [ 31s] breaking dependency libgio -> gio-branding-upstream [ 31s] cycle: pkgmgr-info -> pkgmgr-info-parser [ 31s] breaking dependency pkgmgr-info -> pkgmgr-info-parser [ 31s] cycle: libgum -> gumd [ 31s] breaking dependency libgum -> gumd [ 31s] cycle: glibc-devel -> libxcrypt-devel [ 31s] breaking dependency libxcrypt-devel -> glibc-devel [ 31s] cycle: rust -> rust-devel [ 31s] breaking dependency rust-devel -> rust [ 31s] cycle: libsoftokn3 -> nss [ 31s] breaking dependency nss -> libsoftokn3 [ 31s] reordering done [ 31s] [1/242] cumulate default-ac-domains-0.1-1.1 [ 31s] [2/242] cumulate dlog-config-persistent-logs-9.0.1-1 [ 31s] [3/242] cumulate libmagic-data-5.45-1.3 [ 31s] [4/242] cumulate pcre2-syntax-10.40-1 [ 31s] [5/242] cumulate python3-pyparsing-3.1.1-1.1 [ 31s] [6/242] cumulate python3-six-1.16.0-1.1 [ 31s] [7/242] cumulate rust-std-static-1.74.0-1 [ 31s] [8/242] cumulate setup-0.9-1.1 [ 31s] [9/242] cumulate filesystem-3.1-1.1 [ 31s] [10/242] cumulate python3-packaging-23.2-1.1 [ 31s] [11/242] cumulate glibc-2.39-1.6 [ 31s] [12/242] cumulate bash-3.2.57-1.1 [ 31s] [13/242] cumulate capi-base-common-0.4.82-1 [ 31s] [14/242] cumulate cpio-2.8-1.1 [ 31s] [15/242] cumulate diffutils-3.10-1.1 [ 32s] [16/242] cumulate fdupes-2.2.1-1.4 [ 32s] [17/242] cumulate findutils-4.3.8-1.4 [ 32s] [18/242] cumulate gdbm-1.8.3-1.6 [ 32s] [19/242] cumulate hostname-3.23-1.1 [ 32s] [20/242] cumulate iniparser-4.1-1.1 [ 32s] [21/242] cumulate libatomic-14.2.0-1.6 [ 32s] [22/242] cumulate libattr-2.5.1-1.4 [ 32s] [23/242] cumulate libblkid-2.39.3-1.4 [ 32s] [24/242] cumulate libbz2-1.0.8-1.4 [ 32s] [25/242] cumulate libexpat-2.6.2-1.5 [ 32s] [26/242] cumulate libffi-3.4.2-1.5 [ 32s] [27/242] cumulate libfreebl3-3.98-1.5 [ 32s] [28/242] cumulate libgcc-14.2.0-1.6 [ 32s] [29/242] cumulate libgomp-14.2.0-1.6 [ 32s] [30/242] cumulate libitm-14.2.0-1.6 [ 32s] [31/242] cumulate libjson-0.17-0 [ 32s] [32/242] cumulate libltdl-2.4.7-1.6 [ 32s] [33/242] cumulate liblua-5.1.5-1.4 [ 32s] [34/242] cumulate liblzma-5.4.5-1.6 [ 32s] [35/242] cumulate libopenssl11-1.1.1w-1.5 [ 32s] [36/242] cumulate libopenssl3-3.0.13-1.6 [ 32s] [37/242] cumulate libpcre-8.45-1.4 [ 32s] [38/242] cumulate libpopt-1.16-1.3 [ 32s] [39/242] cumulate libpython3_121_0-3.12.0-1.5 [ 32s] [40/242] cumulate libsmack-1.3.1-1.3 [ 32s] [41/242] cumulate libsmartcols-2.39.3-1.4 [ 32s] [42/242] cumulate libsqlite-3.44.0-1.4 [ 32s] [43/242] cumulate libuuid-2.39.3-1.4 [ 32s] [44/242] cumulate libxcrypt-4.4.36-1.5 [ 32s] [45/242] cumulate libzstd1-1.5.5-1.5 [ 32s] [46/242] cumulate m4-1.4.19-1.1 [ 32s] [47/242] cumulate net-tools-2.0_20121208git-1.3 [ 32s] [48/242] cumulate nspr-4.35-1.4 [ 32s] [49/242] cumulate patch-2.7.6-1.3 [ 32s] [50/242] cumulate pkg-config-0.29.2-1.4 [ 32s] [51/242] cumulate sed-4.1c-1.4 [ 32s] [52/242] cumulate update-alternatives-1.22.2-1.1 [ 32s] [53/242] cumulate which-2.17-1.1 [ 32s] [54/242] cumulate xdgmime-0.0.17-1.1 [ 32s] [55/242] cumulate zlib-1.3-1.5 [ 32s] [56/242] cumulate pcre2-10.40-1 [ 32s] [57/242] cumulate pcre2-utf16-10.40-1 [ 32s] [58/242] cumulate pcre2-utf32-10.40-1 [ 32s] [59/242] cumulate build-compare-2023.06.18-1.1 [ 32s] [60/242] cumulate hal-rootstrap-checker-0.1.0-1.1 [ 32s] [61/242] cumulate qemu-linux-user-x86_64-cross-5.2.0.2-21.1 [ 32s] [62/242] cumulate vconf-internal-keys-devel-0.0.191-0 [ 32s] [63/242] cumulate binutils-libs-2.43-1.6 [ 32s] [64/242] cumulate capi-base-common-devel-0.4.82-1 [ 32s] [65/242] cumulate coreutils-6.9-14.1 [ 32s] [66/242] cumulate cpp-14.2.0-1.6 [ 32s] [67/242] cumulate gawk-3.1.5-1.1 [ 32s] [68/242] cumulate gcc-c++-14.2.0-1.6 [ 32s] [69/242] cumulate grep-2.5.2-1.3 [ 32s] [70/242] cumulate libacl-2.3.2-1.4 [ 32s] [71/242] cumulate libblkid-devel-2.39.3-1.4 [ 33s] [72/242] cumulate libcap-2.69-1.4 [ 33s] [73/242] cumulate libelf-0.189-1.6 [ 33s] [74/242] cumulate libffi-devel-3.4.2-1.5 [ 33s] [75/242] cumulate libgfortran-14.2.0-1.6 [ 33s] [76/242] cumulate libmount-2.39.3-1.4 [ 33s] [77/242] cumulate libstdc++-14.2.0-1.6 [ 33s] [78/242] cumulate make-4.4-1.4 [ 33s] [79/242] cumulate minizip-1.3-1.5 [ 33s] [80/242] cumulate nss-certs-3.98-1.5 [ 33s] [81/242] cumulate rust-std-shared-1.74.0-1 [ 33s] [82/242] cumulate smack-1.3.1-1.3 [ 33s] [83/242] cumulate sqlite-3.44.0-1.4 [ 33s] [84/242] cumulate tidl-2.3.4-1 [ 33s] [85/242] cumulate unzip-610c25-1.1 [ 33s] [86/242] cumulate xdgmime-devel-0.0.17-1.1 [ 33s] [87/242] cumulate xz-devel-5.4.5-1.6 [ 33s] [88/242] cumulate bzip2-1.0.8-1.4 [ 33s] [89/242] cumulate libfdisk-2.39.3-1.4 [ 33s] [90/242] cumulate libglib-2.80.5-0 [ 33s] [91/242] cumulate libmagic-5.45-1.3 [ 33s] [92/242] cumulate libxml2-2.12.5-1.5 [ 33s] [93/242] cumulate shadow-utils-4.1.4.2-7.1 [ 33s] [94/242] cumulate xz-5.4.5-1.6 [ 33s] [95/242] cumulate libkmod-31-1.1 [ 33s] [96/242] cumulate perl-5.38.0-1.5 [ 33s] [97/242] cumulate pcre2-devel-10.40-1 [ 33s] [98/242] cumulate build-mkbaselibs-20120927-1.1 [ 33s] [99/242] cumulate libstdc++-devel-14.2.0-1.6 [ 33s] [100/242] cumulate linux-glibc-devel-6.6-1.5 [ 33s] [101/242] cumulate acl-2.3.2-1.4 [ 33s] [102/242] cumulate file-5.45-1.3 [ 33s] [103/242] cumulate libcap-tools-2.69-1.4 [ 33s] [104/242] cumulate libgmodule-2.80.5-0 [ 33s] [105/242] cumulate libgthread-2.80.5-0 [ 33s] [106/242] cumulate minizip-devel-1.3-1.5 [ 33s] [107/242] cumulate tar-1.17-1.1 [ 33s] [108/242] cumulate terminfo-base-full-6.4-1.6 [ 33s] [109/242] cumulate autoconf-2.71-1.7 [ 33s] [110/242] cumulate glibc-locale-2.39-1.6 [ 33s] [111/242] cumulate gzip-1.3.12-1.3 [ 33s] [112/242] cumulate libcc1-14.2.0-1.6 [ 33s] [113/242] cumulate libgobject-2.80.5-0 [ 33s] [114/242] cumulate libhwasan-14.2.0-1.6 [ 33s] [115/242] cumulate libmount-devel-2.39.3-1.4 [ 33s] [116/242] cumulate libubsan-14.2.0-1.6 [ 33s] [117/242] cumulate tizen-platform-config-5.0-1 [ 33s] [118/242] cumulate binutils-2.43-1.6 [ 33s] [119/242] cumulate gettext-runtime-0.21.1-2.5 [ 33s] [120/242] cumulate pam-1.1.6-1.3 [ 33s] [121/242] cumulate tzdata-2023c-1.1 [ 33s] [122/242] cumulate dlog-9.0.1-1 [ 33s] [123/242] cumulate cynara-db-migration-0.19.4-1 [ 33s] [124/242] cumulate libdw-0.189-1.6 [ 34s] [125/242] cumulate ttrace-1.1.0-1 [ 34s] [126/242] cumulate libarchive-3.7.2-1.5 [ 34s] [127/242] cumulate shared-mime-info-1.7-0 [ 34s] [128/242] cumulate dlog-logger-9.0.1-1 [ 34s] [129/242] cumulate libtzplatform-config-5.0-1 [ 34s] [130/242] cumulate automake-1.16.5-1.6 [ 34s] [131/242] cumulate libasm-0.189-1.6 [ 34s] [132/242] cumulate libncurses5-6.4-1.6 [ 34s] [133/242] cumulate libncurses6-6.4-1.6 [ 34s] [134/242] cumulate build-20120927-1.1 [ 34s] [135/242] cumulate libgirepository2-2.80.5-0 [ 34s] [136/242] cumulate libsystemd-244-0 [ 34s] [137/242] cumulate security-config-1.0-1 [ 34s] [138/242] cumulate gettext-tools-0.21.1-2.5 [ 34s] [139/242] cumulate gcc-14.2.0-1.6 [ 34s] [140/242] cumulate libncurses-6.4-1.6 [ 34s] [141/242] cumulate dbus-libs-1.12.20-3 [ 34s] [142/242] cumulate less-643-1.1 [ 34s] [143/242] cumulate libreadline-5.2-1.4 [ 34s] [144/242] cumulate libtzplatform-config-devel-5.0-1 [ 34s] [145/242] cumulate qemu-accel-x86_64-aarch64-0.4-1.1 [ 34s] [146/242] cumulate libtool-2.4.7-1.6 [ 34s] [147/242] cumulate ncurses-devel-6.4-1.6 [ 34s] [148/242] cumulate elfutils-0.189-1.6 [ 34s] [149/242] cumulate libdlog-9.0.1-1 [ 34s] [150/242] cumulate cmake-3.25.2-1.5 [ 34s] [151/242] cumulate capi-system-resource-1.0.0-0 [ 34s] [152/242] cumulate readline-devel-5.2-1.4 [ 34s] [153/242] cumulate libdlog-devel-9.0.1-1 [ 34s] [154/242] cumulate libxml2-tools-2.12.5-1.5 [ 34s] [155/242] cumulate parcel-0.17.3-0 [ 34s] [156/242] cumulate libcynara-commons-0.19.4-1 [ 34s] [157/242] cumulate capi-system-info-0.5.2-1 [ 34s] [158/242] cumulate python3-base-3.12.0-1.5 [ 34s] [159/242] cumulate util-linux-2.39.3-1.4 [ 34s] [160/242] cumulate systemd-244-0 [ 34s] [161/242] cumulate python3-3.12.0-1.1 [ 34s] [162/242] cumulate capi-system-resource-devel-1.0.0-0 [ 34s] [163/242] cumulate parcel-devel-0.17.3-0 [ 34s] [164/242] cumulate pkgmgr-0.20.21-0 [ 34s] [165/242] cumulate systemd-devel-244-0 [ 34s] [166/242] cumulate util-linux-su-2.39.3-1.4 [ 34s] [167/242] cumulate libcynara-creds-commons-0.19.4-1 [ 34s] [168/242] cumulate libcynara-session-0.19.4-1 [ 34s] [169/242] cumulate libcynara-client-0.19.4-1 [ 34s] [170/242] cumulate python3-setuptools-69.0.2-1.1 [ 34s] [171/242] cumulate pkgmgr-types-devel-0.20.21-0 [ 34s] [172/242] cumulate libcynara-creds-socket-0.19.4-1 [ 34s] [173/242] cumulate dbus-1.12.20-3 [ 34s] [174/242] cumulate libxcrypt-devel-4.4.36-1.5 [ 34s] [175/242] cumulate rust-devel-1.74.0-1 [ 35s] [176/242] cumulate nss-3.98-1.5 [ 35s] [177/242] cumulate libgio-2.80.5-0 [ 35s] [178/242] cumulate gio-branding-upstream-2.80.5-0 [ 35s] [179/242] cumulate libjson-glib-1.8.0-0 [ 35s] [180/242] cumulate glibc-devel-2.39-1.6 [ 35s] [181/242] cumulate libsoftokn3-3.98-1.5 [ 35s] [182/242] cumulate rust-1.74.0-1 [ 35s] [183/242] cumulate glib2-tools-2.80.5-0 [ 35s] [184/242] cumulate libgum-1.0.8-0 [ 35s] [185/242] cumulate libsyscommon-5.0.0-0 [ 35s] [186/242] cumulate buxton2-1.8.10-0 [ 35s] [187/242] cumulate rpm-4.14.1.1-1.5 [ 35s] [188/242] cumulate rust-anstyle-0.3.5-1 [ 35s] [189/242] cumulate rust-cfg-if-1.0.0-1 [ 35s] [190/242] cumulate rust-downcast-0.11.0-1 [ 35s] [191/242] cumulate rust-either-1.8.1-1 [ 35s] [192/242] cumulate rust-libc-0.2.139-1 [ 35s] [193/242] cumulate rust-libm-0.2.6-1 [ 35s] [194/242] cumulate rust-minizip-sys-0.1.2-1 [ 35s] [195/242] cumulate rust-normalize-line-endings-0.3.0-1 [ 35s] [196/242] cumulate rust-scopeguard-1.1.0-1 [ 35s] [197/242] cumulate rust-termtree-0.4.1-1 [ 35s] [198/242] cumulate rust-unicode-ident-1.0.6-1 [ 35s] [199/242] cumulate zlib-devel-1.3-1.5 [ 35s] [200/242] cumulate rust-difflib-0.4.0-1 [ 35s] [201/242] cumulate rust-fragile-2.0.0-1 [ 35s] [202/242] cumulate rust-predicates-core-1.0.6-1 [ 35s] [203/242] cumulate rust-regex-syntax-0.6.28-1 [ 35s] [204/242] cumulate sqlite-devel-3.44.0-1.4 [ 35s] [205/242] cumulate vconf-compat-1.8.10-0 [ 35s] [206/242] cumulate bundle-0.17.3-0 [ 35s] [207/242] cumulate gumd-1.0.8-0 [ 35s] [208/242] cumulate rpm-build-4.14.1.1-1.5 [ 35s] [209/242] cumulate bundle-devel-0.17.3-0 [ 35s] [210/242] cumulate rust-lock_api-0.4.9-1 [ 35s] [211/242] cumulate rust-num-traits-0.2.15-1 [ 35s] [212/242] cumulate rust-glib-sys-0.17.10-1 [ 35s] [213/242] cumulate rust-itertools-0.10.5-1 [ 35s] [214/242] cumulate rust-proc-macro2-1.0.51-1 [ 35s] [215/242] cumulate rust-regex-1.7.1-1 [ 35s] [216/242] cumulate rust-predicates-tree-1.0.9-1 [ 35s] [217/242] cumulate libxml2-devel-2.12.5-1.5 [ 35s] [218/242] cumulate libstorage-1.0.0-0 [ 35s] [219/242] cumulate glib2-devel-2.80.5-0 [ 35s] [220/242] cumulate pkgmgr-info-0.28.5-1 [ 35s] [221/242] cumulate libgum-devel-1.0.8-0 [ 35s] [222/242] cumulate pkgmgr-info-devel-0.28.5-1 [ 35s] [223/242] cumulate rust-float-cmp-0.9.0-1 [ 35s] [224/242] cumulate rust-spin-0.9.5-1 [ 35s] [225/242] cumulate vconf-compat-devel-1.8.10-0 [ 35s] [226/242] cumulate pkgmgr-info-parser-0.28.5-1 [ 35s] [227/242] cumulate rust-quote-1.0.23-1 [ 35s] [228/242] cumulate aul-0.65.1-1 [ 36s] [229/242] cumulate rust-lazy_static-1.4.0-1 [ 36s] [230/242] cumulate pkgmgr-info-parser-devel-0.28.5-1 [ 36s] [231/242] cumulate rust-syn-1.0.107-1 [ 36s] [232/242] cumulate aul-devel-0.65.1-1 [ 36s] [233/242] cumulate rust-predicates-3.0.4-1 [ 36s] [234/242] cumulate rpc-port-1.19.1-0 [ 36s] [235/242] cumulate rpc-port-devel-1.19.1-0 [ 36s] [236/242] cumulate rust-mockall_derive-0.11.4-1 [ 36s] [237/242] cumulate rust-mockall_double-0.3.0-1 [ 36s] [238/242] cumulate pkgmgr-client-0.20.21-0 [ 36s] [239/242] cumulate pkgmgr-installer-0.20.21-0 [ 36s] [240/242] cumulate pkgmgr-installer-devel-0.20.21-0 [ 36s] [241/242] cumulate pkgmgr-client-devel-0.20.21-0 [ 36s] [242/242] cumulate rust-mockall-0.11.4-1 [ 36s] now installing cumulated packages [ 38s] Preparing... ######################################## [ 38s] Updating / installing... [ 38s] pcre2-syntax-10.40-1 ######################################## [ 38s] setup-0.9-1.1 ######################################## [ 38s] filesystem-3.1-1.1 ######################################## [ 38s] glibc-2.39-1.6 ######################################## [ 39s] bash-3.2.57-1.1 ######################################## [ 39s] libgcc-14.2.0-1.6 ######################################## [ 40s] rust-std-shared-1.74.0-1 ######################################## [ 40s] pkg-config-0.29.2-1.4 ######################################## [ 40s] libstdc++-14.2.0-1.6 ######################################## [ 40s] zlib-1.3-1.5 ######################################## [ 41s] coreutils-6.9-14.1 ######################################## [ 41s] liblzma-5.4.5-1.6 ######################################## [ 41s] libxml2-2.12.5-1.5 ######################################## [ 42s] capi-base-common-0.4.82-1 ######################################## [ 42s] libxcrypt-4.4.36-1.5 ######################################## [ 42s] libbz2-1.0.8-1.4 ######################################## [ 42s] libsqlite-3.44.0-1.4 ######################################## [ 43s] shadow-utils-4.1.4.2-7.1 ######################################## [ 43s] libelf-0.189-1.6 ######################################## [ 43s] libblkid-2.39.3-1.4 ######################################## [ 43s] libmount-2.39.3-1.4 ######################################## [ 43s] libcap-2.69-1.4 ######################################## [ 43s] libffi-3.4.2-1.5 ######################################## [ 44s] libuuid-2.39.3-1.4 ######################################## [ 44s] libdw-0.189-1.6 ######################################## [ 44s] pam-1.1.6-1.3 ######################################## [ 44s] libsystemd-244-0 ######################################## [ 44s] capi-base-common-devel-0.4.82-1 ######################################## [ 44s] minizip-1.3-1.5 ######################################## [ 44s] rust-cfg-if-1.0.0-1 ######################################## [ 45s] libexpat-2.6.2-1.5 ######################################## [ 45s] libsmack-1.3.1-1.3 ######################################## [ 45s] smack-1.3.1-1.3 ######################################## [ 45s] tizen-platform-config-5.0-1 ######################################## [ 46s] libtzplatform-config-5.0-1 ######################################## [ 46s] nspr-4.35-1.4 ######################################## [ 47s] pcre2-10.40-1 ######################################## [ 47s] libglib-2.80.5-0 ######################################## [ 47s] libgobject-2.80.5-0 ######################################## [ 47s] libgmodule-2.80.5-0 ######################################## [ 47s] libgirepository2-2.80.5-0 ######################################## [ 47s] terminfo-base-full-6.4-1.6 ######################################## [ 47s] libncurses6-6.4-1.6 ######################################## [ 48s] libreadline-5.2-1.4 ######################################## [ 48s] rust-unicode-ident-1.0.6-1 ######################################## [ 48s] rust-proc-macro2-1.0.51-1 ######################################## [ 48s] rust-quote-1.0.23-1 ######################################## [ 50s] rust-syn-1.0.107-1 ######################################## [ 50s] rust-predicates-core-1.0.6-1 ######################################## [ 51s] findutils-4.3.8-1.4 ######################################## [ 51s] gdbm-1.8.3-1.6 ######################################## [ 57s] perl-5.38.0-1.5 ######################################## [ 57s] libfreebl3-3.98-1.5 ######################################## [ 57s] liblua-5.1.5-1.4 ######################################## [ 58s] libopenssl3-3.0.13-1.6 ######################################## [ 58s] libpopt-1.16-1.3 ######################################## [ 59s] libzstd1-1.5.5-1.5 ######################################## [ 59s] xdgmime-0.0.17-1.1 ######################################## [ 59s] xdgmime-devel-0.0.17-1.1 ######################################## [ 59s] build-mkbaselibs-20120927-1.1 ######################################## [ 59s] cynara-db-migration-0.19.4-1 ######################################## [ 60s] rust-mockall_derive-0.11.4-1 ######################################## [ 60s] libxml2-tools-2.12.5-1.5 ######################################## [ 60s] libncurses5-6.4-1.6 ######################################## [ 61s] ncurses-devel-6.4-1.6 ######################################## [ 61s] readline-devel-5.2-1.4 ######################################## [ 61s] libgthread-2.80.5-0 ######################################## [ 61s] nss-certs-3.98-1.5 ######################################## [ 62s] libsoftokn3-3.98-1.5 ######################################## [ 62s] nss-3.98-1.5 ######################################## [ 62s] libtzplatform-config-devel-5.0-1 ######################################## [ 62s] dbus-libs-1.12.20-3 ######################################## [ 63s] libasm-0.189-1.6 ######################################## [ 63s] libfdisk-2.39.3-1.4 ######################################## [ 63s] libffi-devel-3.4.2-1.5 ######################################## [ 63s] libcap-tools-2.69-1.4 ######################################## [ 63s] libblkid-devel-2.39.3-1.4 ######################################## [ 63s] libmount-devel-2.39.3-1.4 ######################################## [ 63s] sqlite-3.44.0-1.4 ######################################## [ 63s] bzip2-1.0.8-1.4 ######################################## [ 63s] ttrace-1.1.0-1 ######################################## [ 64s] xz-devel-5.4.5-1.6 ######################################## [ 64s] xz-5.4.5-1.6 ######################################## [ 64s] libkmod-31-1.1 ######################################## [ 65s] linux-glibc-devel-6.6-1.5 ######################################## [ 65s] gzip-1.3.12-1.3 ######################################## [ 65s] binutils-libs-2.43-1.6 ######################################## [ 68s] binutils-2.43-1.6 ######################################## [ 68s] libcc1-14.2.0-1.6 ######################################## [ 68s] libhwasan-14.2.0-1.6 ######################################## [ 68s] libubsan-14.2.0-1.6 ######################################## [ 69s] gettext-runtime-0.21.1-2.5 ######################################## [ 69s] vconf-internal-keys-devel-0.0.191-0 ######################################## [ 93s] rust-devel-1.74.0-1 ######################################## [ 93s] rust-anstyle-0.3.5-1 ######################################## [ 94s] rust-downcast-0.11.0-1 ######################################## [ 94s] rust-either-1.8.1-1 ######################################## [ 94s] rust-itertools-0.10.5-1 ######################################## [ 94s] rust-libc-0.2.139-1 ######################################## [ 94s] rust-libm-0.2.6-1 ######################################## [ 95s] rust-num-traits-0.2.15-1 ######################################## [ 95s] rust-float-cmp-0.9.0-1 ######################################## [ 95s] rust-normalize-line-endings-0.3.0-1 ######################################## [ 95s] rust-scopeguard-1.1.0-1 ######################################## [ 95s] rust-lock_api-0.4.9-1 ######################################## [ 95s] rust-spin-0.9.5-1 ######################################## [ 96s] rust-lazy_static-1.4.0-1 ######################################## [ 96s] rust-termtree-0.4.1-1 ######################################## [ 96s] rust-predicates-tree-1.0.9-1 ######################################## [ 96s] rust-difflib-0.4.0-1 ######################################## [ 96s] rust-fragile-2.0.0-1 ######################################## [ 97s] rust-regex-syntax-0.6.28-1 ######################################## [ 97s] rust-regex-1.7.1-1 ######################################## [ 97s] rust-predicates-3.0.4-1 ######################################## [ 97s] libgfortran-14.2.0-1.6 ######################################## [ 97s] make-4.4-1.4 ######################################## [ 97s] iniparser-4.1-1.1 ######################################## [ 98s] libatomic-14.2.0-1.6 ######################################## [ 98s] libattr-2.5.1-1.4 ######################################## [ 98s] libacl-2.3.2-1.4 ######################################## [ 98s] tar-1.17-1.1 ######################################## [ 98s] libarchive-3.7.2-1.5 ######################################## [ 98s] acl-2.3.2-1.4 ######################################## [ 98s] libgomp-14.2.0-1.6 ######################################## [ 98s] libitm-14.2.0-1.6 ######################################## [ 101s] gcc-14.2.0-1.6 ######################################## [ 101s] libxcrypt-devel-4.4.36-1.5 ######################################## [ 101s] glibc-devel-2.39-1.6 ######################################## [ 101s] zlib-devel-1.3-1.5 ######################################## [ 101s] libxml2-devel-2.12.5-1.5 ######################################## [ 101s] libjson-0.17-0 ######################################## [ 101s] libltdl-2.4.7-1.6 ######################################## [ 102s] libopenssl11-1.1.1w-1.5 ######################################## [ 102s] libpcre-8.45-1.4 ######################################## [ 102s] grep-2.5.2-1.3 ######################################## [ 102s] shared-mime-info-1.7-0 ######################################## [ 110s] gio-branding-upstream-2.80.5-0 ######################################## [ 110s] libgio-2.80.5-0 ######################################## [ 110s] libjson-glib-1.8.0-0 ######################################## [ 111s] glib2-tools-2.80.5-0 ######################################## [ 111s] libpython3_121_0-3.12.0-1.5 ######################################## [ 113s] python3-base-3.12.0-1.5 ######################################## [ 113s] python3-3.12.0-1.1 ######################################## [ 114s] python3-setuptools-69.0.2-1.1 ######################################## [ 114s] libsmartcols-2.39.3-1.4 ######################################## [ 114s] m4-1.4.19-1.1 ######################################## [ 114s] autoconf-2.71-1.7 ######################################## [ 114s] automake-1.16.5-1.6 ######################################## [ 114s] patch-2.7.6-1.3 ######################################## [ 115s] sed-4.1c-1.4 ######################################## [ 116s] util-linux-2.39.3-1.4 ######################################## [ 116s] update-alternatives-1.22.2-1.1 ######################################## [ 116s] pcre2-utf16-10.40-1 ######################################## [ 116s] pcre2-utf32-10.40-1 ######################################## [ 116s] pcre2-devel-10.40-1 ######################################## [ 125s] rust-std-static-1.74.0-1 ######################################## [ 126s] python3-six-1.16.0-1.1 ######################################## [ 126s] python3-pyparsing-3.1.1-1.1 ######################################## [ 126s] python3-packaging-23.2-1.1 ######################################## [ 126s] glib2-devel-2.80.5-0 ######################################## [ 126s] libmagic-data-5.45-1.3 ######################################## [ 126s] libmagic-5.45-1.3 ######################################## [ 126s] security-config-1.0-1 ######################################## [ 126s] groupadd: group 'dbus' already exists [ 128s] groupadd: group 'priv_appdebugging' already exists [ 133s] rm: cannot remove `/opt/share/security-config/test': No such file or directory [ 133s] cat: /etc/tizen-build.conf: No such file or directory [ 133s] rpm-4.14.1.1-1.5 ######################################## [ 133s] dlog-config-persistent-logs-9.0.1-1 ######################################## [ 133s] dlog-9.0.1-1 ######################################## [ 133s] dlog-logger-9.0.1-1 ######################################## [ 133s] libdlog-9.0.1-1 ######################################## [ 134s] parcel-0.17.3-0 ######################################## [ 134s] capi-system-resource-1.0.0-0 ######################################## [ 134s] capi-system-info-0.5.2-1 ######################################## [ 134s] pkgmgr-0.20.21-0 ######################################## [ 134s] bundle-0.17.3-0 ######################################## [ 135s] systemd-244-0 ######################################## [ 136s] update-alternatives: using /usr/lib/systemd/systemd-shutdown-original to provide /usr/lib/systemd/systemd-shutdown (systemd-shutdown) in auto mode [ 136s] update-alternatives: using /usr/sbin/reboot-original to provide /usr/sbin/reboot (reboot) in auto mode [ 136s] update-alternatives: using /usr/sbin/halt-original to provide /usr/sbin/halt (halt) in auto mode [ 136s] update-alternatives: using /usr/sbin/poweroff-original to provide /usr/sbin/poweroff (poweroff) in auto mode [ 136s] update-alternatives: using /usr/sbin/shutdown-original to provide /usr/sbin/shutdown (shutdown) in auto mode [ 136s] bundle-devel-0.17.3-0 ######################################## [ 136s] pkgmgr-types-devel-0.20.21-0 ######################################## [ 136s] libsyscommon-5.0.0-0 ######################################## [ 136s] capi-system-resource-devel-1.0.0-0 ######################################## [ 136s] parcel-devel-0.17.3-0 ######################################## [ 136s] libdlog-devel-9.0.1-1 ######################################## [ 136s] default-ac-domains-0.1-1.1 ######################################## [ 137s] libcynara-commons-0.19.4-1 ######################################## [ 137s] libcynara-client-0.19.4-1 ######################################## [ 137s] libcynara-session-0.19.4-1 ######################################## [ 138s] dbus-1.12.20-3 ######################################## [ 138s] libgum-1.0.8-0 ######################################## [ 139s] gumd-1.0.8-0 ######################################## [ 139s] buxton2-1.8.10-0 ######################################## [ 140s] vconf-compat-1.8.10-0 ######################################## [ 140s] libstorage-1.0.0-0 ######################################## [ 140s] vconf-compat-devel-1.8.10-0 ######################################## [ 140s] libcynara-creds-commons-0.19.4-1 ######################################## [ 141s] libcynara-creds-socket-0.19.4-1 ######################################## [ 141s] pkgmgr-info-parser-0.28.5-1 ######################################## [ 141s] pkgmgr-info-0.28.5-1 ######################################## [ 142s] aul-0.65.1-1 ######################################## [ 142s] rpc-port-1.19.1-0 ######################################## [ 142s] pkgmgr-client-0.20.21-0 ######################################## [ 142s] pkgmgr-installer-0.20.21-0 ######################################## [ 143s] pkgmgr-info-devel-0.28.5-1 ######################################## [ 143s] pkgmgr-info-parser-devel-0.28.5-1 ######################################## [ 143s] pkgmgr-installer-devel-0.20.21-0 ######################################## [ 143s] pkgmgr-client-devel-0.20.21-0 ######################################## [ 143s] rpc-port-devel-1.19.1-0 ######################################## [ 143s] aul-devel-0.65.1-1 ######################################## [ 143s] libgum-devel-1.0.8-0 ######################################## [ 143s] systemd-devel-244-0 ######################################## [ 143s] rpm-build-4.14.1.1-1.5 ######################################## [ 143s] file-5.45-1.3 ######################################## [ 147s] rust-1.74.0-1 ######################################## [ 147s] util-linux-su-2.39.3-1.4 ######################################## [ 148s] libtool-2.4.7-1.6 ######################################## [ 149s] cmake-3.25.2-1.5 ######################################## [ 149s] sqlite-devel-3.44.0-1.4 ######################################## [ 159s] qemu-accel-x86_64-aarch64-0.4-1.1 ######################################## [ 160s] build-20120927-1.1 ######################################## [ 160s] rust-mockall-0.11.4-1 ######################################## [ 160s] rust-glib-sys-0.17.10-1 ######################################## [ 160s] gettext-tools-0.21.1-2.5 ######################################## [ 160s] elfutils-0.189-1.6 ######################################## [ 160s] rust-mockall_double-0.3.0-1 ######################################## [ 160s] libncurses-6.4-1.6 ######################################## [ 160s] less-643-1.1 ######################################## [ 160s] minizip-devel-1.3-1.5 ######################################## [ 161s] glibc-locale-2.39-1.6 ######################################## [ 161s] tzdata-2023c-1.1 ######################################## [ 162s] cpp-14.2.0-1.6 ######################################## [ 163s] gcc-c++-14.2.0-1.6 ######################################## [ 164s] libstdc++-devel-14.2.0-1.6 ######################################## [ 164s] rust-minizip-sys-0.1.2-1 ######################################## [ 164s] build-compare-2023.06.18-1.1 ######################################## [ 164s] hal-rootstrap-checker-0.1.0-1.1 ######################################## [ 166s] qemu-linux-user-x86_64-cross-5.2.0.2-2######################################## [ 167s] gawk-3.1.5-1.1 ######################################## [ 167s] tidl-2.3.4-1 ######################################## [ 167s] unzip-610c25-1.1 ######################################## [ 167s] cpio-2.8-1.1 ######################################## [ 167s] diffutils-3.10-1.1 ######################################## [ 167s] fdupes-2.2.1-1.4 ######################################## [ 167s] hostname-3.23-1.1 ######################################## [ 167s] net-tools-2.0_20121208git-1.3 ######################################## [ 167s] which-2.17-1.1 ######################################## [ 167s] Running capi-system-info %posttrans script [ 167s] I/O warning : failed to load external entity "/etc/config/model-config.xml" [ 167s] iniparser: cannot open /etc/info.ini [ 168s] Running pkgmgr %posttrans script [ 168s] /var/tmp/rpm-tmp.qKDXd4: line 5: pkg_initdb: command not found [ 168s] /var/tmp/rpm-tmp.qKDXd4: line 6: install_preload_pkg: command not found [ 168s] /var/tmp/rpm-tmp.qKDXd4: line 13: pkgcmd: command not found [ 168s] /var/tmp/rpm-tmp.qKDXd4: line 15: /etc/package-manager/pkgmgr-label-initial-image.sh: No such file or directory [ 168s] Running buxton2 %posttrans script [ 168s] chmod: cannot access `/etc/buxton2/*': No such file or directory [ 168s] /etc/buxton2/*: No such file or directory [ 168s] chmod: cannot access `/var/lib/buxton2/*': No such file or directory [ 168s] /var/lib/buxton2/*: No such file or directory [ 169s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.aarch64.13/etc/nsswitch.conf... [ 169s] now finalizing build dir... [ 171s] ----------------------------------------------------------------- [ 171s] ----- building pkgmgr-server.spec (user abuild) [ 171s] ----------------------------------------------------------------- [ 171s] ----------------------------------------------------------------- [ 171s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_costomized_smp_mflags -j20' --define '_srcdefattr (-,root,root)' --nosignature --target=aarch64-tizen-linux --define '_build_create_debug 1' -ba /home/abuild/rpmbuild/SOURCES/pkgmgr-server.spec [ 171s] Building target platforms: aarch64-tizen-linux [ 171s] Building for target aarch64-tizen-linux [ 171s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JJVeQJ [ 171s] + umask 022 [ 171s] + cd /home/abuild/rpmbuild/BUILD [ 171s] + cd /home/abuild/rpmbuild/BUILD [ 171s] + rm -rf pkgmgr-server-1.0.15 [ 171s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/pkgmgr-server-1.0.15.tar.gz [ 171s] + /bin/tar -xof - [ 171s] + STATUS=0 [ 171s] + '[' 0 -ne 0 ']' [ 171s] + cd pkgmgr-server-1.0.15 [ 171s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 171s] + cp /home/abuild/rpmbuild/SOURCES/pkgmgr-server.manifest . [ 171s] + tidlc -s -l C -e -i ./tidl_pkgmgr_server/PkgMgr.tidl -o tidl_pkgmgr_server [ 172s] + mv tidl_pkgmgr_server.c tidl_pkgmgr_server.h ./tidl_pkgmgr_server/ [ 172s] + exit 0 [ 172s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.o3iyyN [ 172s] + umask 022 [ 172s] + cd /home/abuild/rpmbuild/BUILD [ 172s] + cd pkgmgr-server-1.0.15 [ 172s] + ref=/usr/lib/rpm [ 172s] + mints=0 [ 172s] + case $(uname -m) in [ 172s] ++ uname -m [ 172s] + mints=20120610 [ 172s] + for s in guess sub [ 172s] ++ find -maxdepth 8 -name config.guess [ 172s] + for s in guess sub [ 172s] ++ find -maxdepth 8 -name config.sub [ 172s] + LANG=C [ 172s] + export LANG [ 172s] + unset DISPLAY [ 172s] + 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 -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g' [ 172s] + export CFLAGS [ 172s] + 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 -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g' [ 172s] + export CXXFLAGS [ 172s] + 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 -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I%_fmoddir' [ 172s] + export FFLAGS [ 172s] + LDFLAGS= [ 172s] + export LDFLAGS [ 172s] + 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 -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -DTIZEN_DEBUG_ENABLE' [ 172s] + 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 -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -DTIZEN_DEBUG_ENABLE' [ 172s] + 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 -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -DTIZEN_DEBUG_ENABLE' [ 172s] + 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 -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -DTIZEN_DEBUG_ENABLE' [ 172s] + 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 -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 172s] + 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 -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 172s] ++ echo 1.0.15 [ 172s] ++ awk 'BEGIN {FS="."}{print $1}' [ 172s] + MAJORVER=1 [ 172s] + 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 -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -DTIZEN_DEBUG_ENABLE' [ 172s] + export CFLAGS [ 172s] + 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 -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -DTIZEN_DEBUG_ENABLE' [ 172s] + export CXXFLAGS [ 172s] + 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 -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 172s] + export FFLAGS [ 172s] + /usr/bin/cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64 -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DCMAKE_SKIP_RPATH:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -DFULLVER=1.0.15 -DMAJORVER=1 -DUNITDIR=/usr/lib/systemd/system . [ 172s] -- The C compiler identification is GNU 14.2.0 [ 172s] -- The CXX compiler identification is GNU 14.2.0 [ 172s] -- Detecting C compiler ABI info [ 172s] -- Detecting C compiler ABI info - done [ 172s] -- Check for working C compiler: /bin/cc - skipped [ 172s] -- Detecting C compile features [ 172s] -- Detecting C compile features - done [ 172s] -- Detecting CXX compiler ABI info [ 173s] -- Detecting CXX compiler ABI info - done [ 173s] -- Check for working CXX compiler: /bin/c++ - skipped [ 173s] -- Detecting CXX compile features [ 173s] -- Detecting CXX compile features - done [ 173s] -- Found PkgConfig: /bin/pkg-config (found version "0.29.2") [ 173s] -- Checking for module 'rpc-port' [ 173s] -- Found rpc-port, version [ 174s] -- Checking for module 'dlog' [ 174s] -- Found dlog, version 1.0 [ 175s] -- Checking for module 'gio-2.0' [ 175s] -- Found gio-2.0, version 2.80.5 [ 176s] -- Checking for module 'glib-2.0' [ 176s] -- Found glib-2.0, version 2.80.5 [ 177s] -- Checking for module 'capi-base-common' [ 177s] -- Found capi-base-common, version 0.4.82 [ 178s] -- Checking for module 'pkgmgr' [ 178s] -- Found pkgmgr, version 0.20.21 [ 179s] -- Checking for module 'libtzplatform-config' [ 179s] -- Found libtzplatform-config, version 2.0 [ 180s] -- Configuring done [ 180s] -- Generating done [ 180s] CMake Warning: [ 180s] Manually-specified variables were not used by the project: [ 180s] [ 180s] FULLVER [ 180s] INCLUDE_INSTALL_DIR [ 180s] LIB_SUFFIX [ 180s] MAJORVER [ 180s] SHARE_INSTALL_PREFIX [ 180s] SYSCONF_INSTALL_DIR [ 180s] [ 180s] [ 180s] -- Build files have been written to: /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 180s] + make -j8 [ 180s] /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 [ 180s] /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 [ 180s] make -f CMakeFiles/Makefile2 all [ 180s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 180s] make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/depend [ 180s] make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/depend [ 180s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 180s] 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= [ 180s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 180s] 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= [ 180s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 180s] make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build [ 180s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 180s] [ 25%] Building C object tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o [ 180s] cd /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server && /bin/cc -DLIBDIR=\"/usr/lib64\" -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/lib64/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 -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -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/lib64/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 [ 180s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 180s] make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build [ 180s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 180s] [ 50%] Building C object util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o [ 180s] cd /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server && /bin/cc -DLIBDIR=\"/usr/lib64\" -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/lib64/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 -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -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/lib64/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 [ 180s] [ 75%] Linking C shared library libutil_pkgmgr_server.so [ 180s] 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 [ 180s] /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 -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -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 [ 180s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 180s] [ 75%] Built target util_pkgmgr_server [ 182s] [100%] Linking C shared library libtidl_pkgmgr_server.so [ 182s] 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 [ 182s] /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 -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -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 [ 182s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 182s] [100%] Built target tidl_pkgmgr_server [ 182s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 182s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/CMakeFiles 0 [ 182s] + export LD_LIBRARY_PATH=:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib [ 182s] + LD_LIBRARY_PATH=:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib [ 182s] ++ find /usr/lib64 -maxdepth 1 -name 'libstd-*.so' [ 182s] + __rust_std=/usr/lib64/libstd-173ad5c1e159cc01.so [ 182s] + /usr/bin/rustc -C prefer-dynamic --extern std=/usr/lib64/libstd-173ad5c1e159cc01.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/lib64/rustlib -L/usr/lib64/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/lib64/rustlib/dylib/liblibc.so ./src/main.rs [ 184s] warning: unused import: `boxed` [ 184s] --> ./src/pkgmgr/server/admin_service.rs:4:11 [ 184s] | [ 184s] 4 | use std::{boxed, str}; [ 184s] | ^^^^^ [ 184s] | [ 184s] = note: `#[warn(unused_imports)]` on by default [ 184s] [ 184s] warning: unused import: `std::mem` [ 184s] --> ./src/pkgmgr/server/admin_service.rs:6:5 [ 184s] | [ 184s] 6 | use std::mem; [ 184s] | ^^^^^^^^ [ 184s] [ 184s] warning: unused import: `std::ptr` [ 184s] --> ./src/pkgmgr/server/admin_service.rs:7:5 [ 184s] | [ 184s] 7 | use std::ptr; [ 184s] | ^^^^^^^^ [ 184s] [ 184s] warning: unused import: `malloc` [ 184s] --> ./src/pkgmgr/server/admin_service.rs:8:18 [ 184s] | [ 184s] 8 | use libc::{free, malloc, strlen}; [ 184s] | ^^^^^^ [ 184s] [ 184s] warning: unused import: `super::Server` [ 184s] --> ./src/pkgmgr/server/admin_service.rs:10:5 [ 184s] | [ 184s] 10 | use super::Server; [ 184s] | ^^^^^^^^^^^^^ [ 184s] [ 184s] warning: type `rpc_port_stub_array_string_h` should have an upper camel case name [ 184s] --> ./src/pkgmgr/server/admin_service.rs:23:6 [ 184s] | [ 184s] 23 | type rpc_port_stub_array_string_h = *mut c_void; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RpcPortStubArrayStringH` [ 184s] | [ 184s] = note: `#[warn(non_camel_case_types)]` on by default [ 184s] [ 184s] warning: unused imports: `pid_t`, `uid_t` [ 184s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 184s] | [ 184s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 184s] | ^^^^^ ^^^^^ [ 184s] [ 184s] warning: unused imports: `c_int`, `c_void` [ 184s] --> ./src/pkgmgr/server/backend_context.rs:4:16 [ 184s] | [ 184s] 4 | use std::ffi::{c_int, c_void}; [ 184s] | ^^^^^ ^^^^^^ [ 184s] [ 184s] warning: unused import: `std::path::Path` [ 184s] --> ./src/pkgmgr/server/backend_queue.rs:10:5 [ 184s] | [ 184s] 10 | use std::path::Path; [ 184s] | ^^^^^^^^^^^^^^^ [ 184s] [ 184s] warning: denote infinite loops with `loop { ... }` [ 184s] --> ./src/pkgmgr/server/backend_queue.rs:50:9 [ 184s] | [ 184s] 50 | while true { [ 184s] | ^^^^^^^^^^ help: use `loop` [ 184s] | [ 184s] = note: `#[warn(while_true)]` on by default [ 184s] [ 184s] warning: unnecessary parentheses around `if` condition [ 184s] --> ./src/pkgmgr/server/backend_queue.rs:73:8 [ 184s] | [ 184s] 73 | if (mut_queue.is_queue_empty()) { [ 184s] | ^ ^ [ 184s] | [ 184s] = note: `#[warn(unused_parens)]` on by default [ 184s] help: remove these parentheses [ 184s] | [ 184s] 73 - if (mut_queue.is_queue_empty()) { [ 184s] 73 + if mut_queue.is_queue_empty() { [ 184s] | [ 184s] [ 184s] warning: unnecessary trailing semicolon [ 184s] --> ./src/pkgmgr/server/backend_queue.rs:297:17 [ 184s] | [ 184s] 297 | ; [ 184s] | ^ help: remove this semicolon [ 184s] | [ 184s] = note: `#[warn(redundant_semicolons)]` on by default [ 184s] [ 184s] warning: unused import: `super::Server` [ 184s] --> ./src/pkgmgr/server/cache_service.rs:1:5 [ 184s] | [ 184s] 1 | use super::Server; [ 184s] | ^^^^^^^^^^^^^ [ 184s] [ 184s] warning: unused import: `super::Server` [ 184s] --> ./src/pkgmgr/server/delayed_service.rs:1:5 [ 184s] | [ 184s] 1 | use super::Server; [ 184s] | ^^^^^^^^^^^^^ [ 184s] [ 184s] warning: unused import: `super::backend_context::*` [ 184s] --> ./src/pkgmgr/server/delayed_service.rs:4:5 [ 184s] | [ 184s] 4 | use super::backend_context::*; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 184s] [ 184s] warning: unused import: `super::request_result::*` [ 184s] --> ./src/pkgmgr/server/delayed_service.rs:5:5 [ 184s] | [ 184s] 5 | use super::request_result::*; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 184s] [ 184s] warning: unused import: `super::request_type::*` [ 184s] --> ./src/pkgmgr/server/delayed_service.rs:6:5 [ 184s] | [ 184s] 6 | use super::request_type::*; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 184s] [ 184s] warning: unused import: `super::util::*` [ 184s] --> ./src/pkgmgr/server/delayed_service.rs:7:5 [ 184s] | [ 184s] 7 | use super::util::*; [ 184s] | ^^^^^^^^^^^^^^ [ 184s] [ 184s] warning: unused imports: `pid_t`, `uid_t` [ 184s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 184s] | [ 184s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 184s] | ^^^^^ ^^^^^ [ 184s] [ 184s] warning: unused import: `std::io::Error` [ 184s] --> ./src/pkgmgr/server/info_service.rs:3:5 [ 184s] | [ 184s] 3 | use std::io::Error; [ 184s] | ^^^^^^^^^^^^^^ [ 184s] [ 184s] warning: unused import: `std::mem` [ 184s] --> ./src/pkgmgr/server/info_service.rs:6:5 [ 184s] | [ 184s] 6 | use std::mem; [ 184s] | ^^^^^^^^ [ 184s] [ 184s] warning: unused import: `std::ptr` [ 184s] --> ./src/pkgmgr/server/info_service.rs:7:5 [ 184s] | [ 184s] 7 | use std::ptr; [ 184s] | ^^^^^^^^ [ 184s] [ 184s] warning: unused imports: `free`, `malloc`, `strlen` [ 184s] --> ./src/pkgmgr/server/info_service.rs:8:12 [ 184s] | [ 184s] 8 | use libc::{free, malloc, strlen, mkfifo}; [ 184s] | ^^^^ ^^^^^^ ^^^^^^ [ 184s] [ 184s] warning: unused import: `super::Server` [ 184s] --> ./src/pkgmgr/server/info_service.rs:10:5 [ 184s] | [ 184s] 10 | use super::Server; [ 184s] | ^^^^^^^^^^^^^ [ 184s] [ 184s] warning: unused import: `super::service::Service` [ 184s] --> ./src/pkgmgr/server/info_service.rs:13:5 [ 184s] | [ 184s] 13 | use super::service::Service; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 184s] [ 184s] warning: unnecessary trailing semicolon [ 184s] --> ./src/pkgmgr/server/info_service.rs:49:5 [ 184s] | [ 184s] 49 | ; [ 184s] | ^ help: remove this semicolon [ 184s] [ 184s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 184s] --> ./src/pkgmgr/server/request_result.rs:7:5 [ 184s] | [ 184s] 7 | GETSIZE_SYNC(String, i32, i32), [ 184s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 184s] [ 184s] warning: variant `GET_GENERATE_LICENSE_RESULT` should have an upper camel case name [ 184s] --> ./src/pkgmgr/server/request_result.rs:8:5 [ 184s] | [ 184s] 8 | GET_GENERATE_LICENSE_RESULT(String, i32, CString, CString), [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetGenerateLicenseResult` [ 184s] [ 184s] warning: variant `MOUNT_INSTALL` should have an upper camel case name [ 184s] --> ./src/pkgmgr/server/request_type.rs:3:5 [ 184s] | [ 184s] 3 | MOUNT_INSTALL, [ 184s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MountInstall` [ 184s] [ 184s] warning: variant `ENABLE_PKG` should have an upper camel case name [ 184s] --> ./src/pkgmgr/server/request_type.rs:7:5 [ 184s] | [ 184s] 7 | ENABLE_PKG, [ 184s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnablePkg` [ 184s] [ 184s] warning: variant `DISABLE_PKG` should have an upper camel case name [ 184s] --> ./src/pkgmgr/server/request_type.rs:8:5 [ 184s] | [ 184s] 8 | DISABLE_PKG, [ 184s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisablePkg` [ 184s] [ 184s] warning: variant `REGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 184s] --> ./src/pkgmgr/server/request_type.rs:9:5 [ 184s] | [ 184s] 9 | REGISTER_PKG_UPDATE_INFO, [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterPkgUpdateInfo` [ 184s] [ 184s] warning: variant `UNREGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 184s] --> ./src/pkgmgr/server/request_type.rs:10:5 [ 184s] | [ 184s] 10 | UNREGISTER_PKG_UPDATE_INFO, [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterPkgUpdateInfo` [ 184s] [ 184s] warning: variant `UNREGISTER_ALL_PKG_UPDATE_INFO` should have an upper camel case name [ 184s] --> ./src/pkgmgr/server/request_type.rs:11:5 [ 184s] | [ 184s] 11 | UNREGISTER_ALL_PKG_UPDATE_INFO, [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterAllPkgUpdateInfo` [ 184s] [ 184s] warning: variant `ENABLE_APP` should have an upper camel case name [ 184s] --> ./src/pkgmgr/server/request_type.rs:12:5 [ 184s] | [ 184s] 12 | ENABLE_APP, [ 184s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableApp` [ 184s] [ 184s] warning: variant `DISABLE_APP` should have an upper camel case name [ 184s] --> ./src/pkgmgr/server/request_type.rs:13:5 [ 184s] | [ 184s] 13 | DISABLE_APP, [ 184s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableApp` [ 184s] [ 184s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 184s] --> ./src/pkgmgr/server/request_type.rs:15:5 [ 184s] | [ 184s] 15 | GETSIZE_SYNC, [ 184s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 184s] [ 184s] warning: variant `ENABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 184s] --> ./src/pkgmgr/server/request_type.rs:18:5 [ 184s] | [ 184s] 18 | ENABLE_GLOBAL_APP_FOR_UID, [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableGlobalAppForUid` [ 184s] [ 184s] warning: variant `DISABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 184s] --> ./src/pkgmgr/server/request_type.rs:19:5 [ 184s] | [ 184s] 19 | DISABLE_GLOBAL_APP_FOR_UID, [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableGlobalAppForUid` [ 184s] [ 184s] warning: variant `GENERATE_LICENSE_REQUEST` should have an upper camel case name [ 184s] --> ./src/pkgmgr/server/request_type.rs:22:5 [ 184s] | [ 184s] 22 | GENERATE_LICENSE_REQUEST, [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GenerateLicenseRequest` [ 184s] [ 184s] warning: variant `REGISTER_LICENSE` should have an upper camel case name [ 184s] --> ./src/pkgmgr/server/request_type.rs:23:5 [ 184s] | [ 184s] 23 | REGISTER_LICENSE, [ 184s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterLicense` [ 184s] [ 184s] warning: variant `DECRYPT_PACKAGE` should have an upper camel case name [ 184s] --> ./src/pkgmgr/server/request_type.rs:24:5 [ 184s] | [ 184s] 24 | DECRYPT_PACKAGE, [ 184s] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DecryptPackage` [ 184s] [ 184s] warning: variant `ENABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 184s] --> ./src/pkgmgr/server/request_type.rs:25:5 [ 184s] | [ 184s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableAppSplashScreen` [ 184s] [ 184s] warning: variant `DISABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 184s] --> ./src/pkgmgr/server/request_type.rs:26:5 [ 184s] | [ 184s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableAppSplashScreen` [ 184s] [ 184s] warning: variant `SET_APP_LABEL` should have an upper camel case name [ 184s] --> ./src/pkgmgr/server/request_type.rs:27:5 [ 184s] | [ 184s] 27 | SET_APP_LABEL, [ 184s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppLabel` [ 184s] [ 184s] warning: variant `SET_APP_ICON` should have an upper camel case name [ 184s] --> ./src/pkgmgr/server/request_type.rs:28:5 [ 184s] | [ 184s] 28 | SET_APP_ICON, [ 184s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppIcon` [ 184s] [ 184s] warning: variant `MIGRATE_EXTERNAL_IMAGE` should have an upper camel case name [ 184s] --> ./src/pkgmgr/server/request_type.rs:29:5 [ 184s] | [ 184s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MigrateExternalImage` [ 184s] [ 184s] warning: variant `RESOURCE_SHARE_COPY` should have an upper camel case name [ 184s] --> ./src/pkgmgr/server/request_type.rs:30:5 [ 184s] | [ 184s] 30 | RESOURCE_SHARE_COPY, [ 184s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCopy` [ 184s] [ 184s] warning: variant `RESOURCE_SHARE_CREATE_DIR` should have an upper camel case name [ 184s] --> ./src/pkgmgr/server/request_type.rs:31:5 [ 184s] | [ 184s] 31 | RESOURCE_SHARE_CREATE_DIR, [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCreateDir` [ 184s] [ 184s] warning: variant `RESOURCE_SHARE_REMOVE` should have an upper camel case name [ 184s] --> ./src/pkgmgr/server/request_type.rs:32:5 [ 184s] | [ 184s] 32 | RESOURCE_SHARE_REMOVE, [ 184s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareRemove` [ 184s] [ 184s] warning: variant `RESOURCE_SHARE_UNINSTALL` should have an upper camel case name [ 184s] --> ./src/pkgmgr/server/request_type.rs:33:5 [ 184s] | [ 184s] 33 | RESOURCE_SHARE_UNINSTALL, [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareUninstall` [ 184s] [ 184s] warning: variant `REMOVE_FILE` should have an upper camel case name [ 184s] --> ./src/pkgmgr/server/request_type.rs:34:5 [ 184s] | [ 184s] 34 | REMOVE_FILE, [ 184s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RemoveFile` [ 184s] [ 184s] warning: unused import: `CStr` [ 184s] --> ./src/pkgmgr/server/signal.rs:1:39 [ 184s] | [ 184s] 1 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 184s] | ^^^^ [ 184s] [ 184s] warning: unused import: `pid_t` [ 184s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 184s] | [ 184s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: unused imports: `CStr`, `CString`, `c_char`, `c_void` [ 184s] --> ./src/pkgmgr/server/signal.rs:39:20 [ 184s] | [ 184s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 184s] | ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^ [ 184s] [ 184s] warning: unused import: `pid_t` [ 184s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 184s] | [ 184s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: unused import: `std::cell::RefCell` [ 184s] --> ./src/pkgmgr/server/util.rs:1:5 [ 184s] | [ 184s] 1 | use std::cell::RefCell; [ 184s] | ^^^^^^^^^^^^^^^^^^ [ 184s] [ 184s] warning: unused import: `std::rc::Rc` [ 184s] --> ./src/pkgmgr/server/util.rs:8:5 [ 184s] | [ 184s] 8 | use std::rc::Rc; [ 184s] | ^^^^^^^^^^^ [ 184s] [ 184s] warning: type `xmlChar` should have an upper camel case name [ 184s] --> ./src/pkgmgr/server/util.rs:34:6 [ 184s] | [ 184s] 34 | type xmlChar = c_uchar; [ 184s] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlChar` [ 184s] [ 184s] warning: type `xmlTextReaderPtr` should have an upper camel case name [ 184s] --> ./src/pkgmgr/server/util.rs:35:6 [ 184s] | [ 184s] 35 | type xmlTextReaderPtr = *mut c_void; [ 184s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlTextReaderPtr` [ 184s] [ 184s] warning: unused imports: `CStr`, `CString` [ 184s] --> ./src/pkgmgr/server/util.rs:39:43 [ 184s] | [ 184s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 184s] | ^^^^ ^^^^^^^ [ 184s] [ 184s] warning: unused import: `pid_t` [ 184s] --> ./src/pkgmgr/server/util.rs:40:37 [ 184s] | [ 184s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: unnecessary parentheses around `if` condition [ 184s] --> ./src/pkgmgr/server/util.rs:474:24 [ 184s] | [ 184s] 474 | if (cur == depth + 1) { [ 184s] | ^ ^ [ 184s] | [ 184s] help: remove these parentheses [ 184s] | [ 184s] 474 - if (cur == depth + 1) { [ 184s] 474 + if cur == depth + 1 { [ 184s] | [ 184s] [ 184s] warning: unnecessary parentheses around `if` condition [ 184s] --> ./src/pkgmgr/server/util.rs:571:12 [ 184s] | [ 184s] 571 | if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 184s] | ^ ^ [ 184s] | [ 184s] help: remove these parentheses [ 184s] | [ 184s] 571 - if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 184s] 571 + if unzOpenCurrentFile(uf) != UNZ_OK as c_int { [ 184s] | [ 184s] [ 184s] warning: unused import: `super::super::super::server::signal::*` [ 184s] --> ./src/pkgmgr/server/test/signal_tests.rs:1:5 [ 184s] | [ 184s] 1 | use super::super::super::server::signal::*; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 184s] | [ 184s] help: consider adding a `#[cfg(test)]` to the containing module [ 184s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 184s] | [ 184s] 3 | pub mod signal_tests; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^ [ 184s] [ 184s] warning: unused import: `std::ffi::CString` [ 184s] --> ./src/pkgmgr/server/test/signal_tests.rs:2:5 [ 184s] | [ 184s] 2 | use std::ffi::CString; [ 184s] | ^^^^^^^^^^^^^^^^^ [ 184s] | [ 184s] help: consider adding a `#[cfg(test)]` to the containing module [ 184s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 184s] | [ 184s] 3 | pub mod signal_tests; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^ [ 184s] [ 184s] warning: unused import: `std::ffi::CStr` [ 184s] --> ./src/pkgmgr/server/test/signal_tests.rs:3:5 [ 184s] | [ 184s] 3 | use std::ffi::CStr; [ 184s] | ^^^^^^^^^^^^^^ [ 184s] | [ 184s] help: consider adding a `#[cfg(test)]` to the containing module [ 184s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 184s] | [ 184s] 3 | pub mod signal_tests; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^ [ 184s] [ 184s] warning: unused import: `std::ffi::c_char` [ 184s] --> ./src/pkgmgr/server/test/signal_tests.rs:4:5 [ 184s] | [ 184s] 4 | use std::ffi::c_char; [ 184s] | ^^^^^^^^^^^^^^^^ [ 184s] | [ 184s] help: consider adding a `#[cfg(test)]` to the containing module [ 184s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 184s] | [ 184s] 3 | pub mod signal_tests; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^ [ 184s] [ 184s] warning: unused import: `std::mem` [ 184s] --> ./src/pkgmgr/server/test/signal_tests.rs:5:5 [ 184s] | [ 184s] 5 | use std::mem; [ 184s] | ^^^^^^^^ [ 184s] | [ 184s] help: consider adding a `#[cfg(test)]` to the containing module [ 184s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 184s] | [ 184s] 3 | pub mod signal_tests; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^ [ 184s] [ 184s] warning: unused import: `mockall::predicate::*` [ 184s] --> ./src/pkgmgr/server/test/signal_tests.rs:6:5 [ 184s] | [ 184s] 6 | use mockall::predicate::*; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^ [ 184s] | [ 184s] help: consider adding a `#[cfg(test)]` to the containing module [ 184s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 184s] | [ 184s] 3 | pub mod signal_tests; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^ [ 184s] [ 184s] warning: unused import: `mockall::*` [ 184s] --> ./src/pkgmgr/server/test/signal_tests.rs:7:5 [ 184s] | [ 184s] 7 | use mockall::*; [ 184s] | ^^^^^^^^^^ [ 184s] | [ 184s] help: consider adding a `#[cfg(test)]` to the containing module [ 184s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 184s] | [ 184s] 3 | pub mod signal_tests; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^ [ 184s] [ 184s] warning: unused imports: `pid_t`, `uid_t` [ 184s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 184s] | [ 184s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 184s] | ^^^^^ ^^^^^ [ 184s] | [ 184s] help: consider adding a `#[cfg(test)]` to the containing module [ 184s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 184s] | [ 184s] 3 | pub mod signal_tests; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^ [ 184s] [ 184s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 184s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:1:5 [ 184s] | [ 184s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 184s] | [ 184s] help: consider adding a `#[cfg(test)]` to the containing module [ 184s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 184s] | [ 184s] 4 | pub mod admin_service_tests; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 184s] [ 184s] warning: unused import: `super::super::super::server::admin_service::AdminService` [ 184s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:2:5 [ 184s] | [ 184s] 2 | use super::super::super::server::admin_service::AdminService; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 184s] | [ 184s] help: consider adding a `#[cfg(test)]` to the containing module [ 184s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 184s] | [ 184s] 4 | pub mod admin_service_tests; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 184s] [ 184s] warning: unused import: `super::super::super::server::service::Service` [ 184s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:3:5 [ 184s] | [ 184s] 3 | use super::super::super::server::service::Service; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 184s] | [ 184s] help: consider adding a `#[cfg(test)]` to the containing module [ 184s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 184s] | [ 184s] 4 | pub mod admin_service_tests; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 184s] [ 184s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 184s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:1:5 [ 184s] | [ 184s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 184s] | [ 184s] help: consider adding a `#[cfg(test)]` to the containing module [ 184s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 184s] | [ 184s] 5 | pub mod cache_service_tests; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 184s] [ 184s] warning: unused import: `super::super::super::server::cache_service::CacheService` [ 184s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:2:5 [ 184s] | [ 184s] 2 | use super::super::super::server::cache_service::CacheService; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 184s] | [ 184s] help: consider adding a `#[cfg(test)]` to the containing module [ 184s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 184s] | [ 184s] 5 | pub mod cache_service_tests; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 184s] [ 184s] warning: unused import: `super::super::super::server::service::Service` [ 184s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:3:5 [ 184s] | [ 184s] 3 | use super::super::super::server::service::Service; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 184s] | [ 184s] help: consider adding a `#[cfg(test)]` to the containing module [ 184s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 184s] | [ 184s] 5 | pub mod cache_service_tests; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 184s] [ 184s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 184s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:1:5 [ 184s] | [ 184s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 184s] | [ 184s] help: consider adding a `#[cfg(test)]` to the containing module [ 184s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 184s] | [ 184s] 6 | pub mod delayed_service_tests; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 184s] [ 184s] warning: unused import: `super::super::super::server::delayed_service::DelayedService` [ 184s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:2:5 [ 184s] | [ 184s] 2 | use super::super::super::server::delayed_service::DelayedService; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 184s] | [ 184s] help: consider adding a `#[cfg(test)]` to the containing module [ 184s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 184s] | [ 184s] 6 | pub mod delayed_service_tests; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 184s] [ 184s] warning: unused import: `super::super::super::server::service::Service` [ 184s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:3:5 [ 184s] | [ 184s] 3 | use super::super::super::server::service::Service; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 184s] | [ 184s] help: consider adding a `#[cfg(test)]` to the containing module [ 184s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 184s] | [ 184s] 6 | pub mod delayed_service_tests; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 184s] [ 184s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 184s] --> ./src/pkgmgr/server/test/info_service_tests.rs:1:5 [ 184s] | [ 184s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 184s] | [ 184s] help: consider adding a `#[cfg(test)]` to the containing module [ 184s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 184s] | [ 184s] 7 | pub mod info_service_tests; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 184s] [ 184s] warning: unused import: `super::super::super::server::info_service::InfoService` [ 184s] --> ./src/pkgmgr/server/test/info_service_tests.rs:2:5 [ 184s] | [ 184s] 2 | use super::super::super::server::info_service::InfoService; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 184s] | [ 184s] help: consider adding a `#[cfg(test)]` to the containing module [ 184s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 184s] | [ 184s] 7 | pub mod info_service_tests; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 184s] [ 184s] warning: unused import: `super::super::super::server::service::Service` [ 184s] --> ./src/pkgmgr/server/test/info_service_tests.rs:3:5 [ 184s] | [ 184s] 3 | use super::super::super::server::service::Service; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 184s] | [ 184s] help: consider adding a `#[cfg(test)]` to the containing module [ 184s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 184s] | [ 184s] 7 | pub mod info_service_tests; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 184s] [ 184s] warning: unused import: `std::cell::RefCell` [ 184s] --> ./src/pkgmgr/server/mod.rs:22:5 [ 184s] | [ 184s] 22 | use std::cell::RefCell; [ 184s] | ^^^^^^^^^^^^^^^^^^ [ 184s] [ 184s] warning: unused import: `std::rc::Rc` [ 184s] --> ./src/pkgmgr/server/mod.rs:26:5 [ 184s] | [ 184s] 26 | use std::rc::Rc; [ 184s] | ^^^^^^^^^^^ [ 184s] [ 184s] warning: unused import: `std::process::Command` [ 184s] --> ./src/main.rs:9:5 [ 184s] | [ 184s] 9 | use std::process::Command; [ 184s] | ^^^^^^^^^^^^^^^^^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:5:26 [ 184s] | [ 184s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 184s] | ^^^^^ [ 184s] | [ 184s] = note: `#[warn(deprecated)]` on by default [ 184s] [ 184s] 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 [ 184s] --> ./src/pkgmgr/server/admin_service.rs:5:33 [ 184s] | [ 184s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:20:20 [ 184s] | [ 184s] 20 | const GLOBAL_USER: uid_t = 201; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:322:25 [ 184s] | [ 184s] 322 | let mut caller_uid: uid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:443:25 [ 184s] | [ 184s] 443 | let mut caller_uid: uid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:548:25 [ 184s] | [ 184s] 548 | let mut caller_uid: uid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:595:25 [ 184s] | [ 184s] 595 | let mut caller_uid: uid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:718:25 [ 184s] | [ 184s] 718 | let mut caller_uid: uid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:801:25 [ 184s] | [ 184s] 801 | let mut caller_uid: uid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:853:25 [ 184s] | [ 184s] 853 | let mut caller_uid: uid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:937:25 [ 184s] | [ 184s] 937 | let mut caller_uid: uid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:990:25 [ 184s] | [ 184s] 990 | let mut caller_uid: uid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1015:76 [ 184s] | [ 184s] 1015 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, true) { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1072:25 [ 184s] | [ 184s] 1072 | let mut caller_uid: uid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1097:76 [ 184s] | [ 184s] 1097 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, false) { [ 184s] | ^^^^^ [ 184s] [ 184s] 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 [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1151:25 [ 184s] | [ 184s] 1151 | let mut caller_pid: pid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1152:25 [ 184s] | [ 184s] 1152 | let mut caller_uid: uid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1166:62 [ 184s] | [ 184s] 1166 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1196:66 [ 184s] | [ 184s] 1196 | let ret = Util::RegisterPkgUpdateInfo(handle, uid as uid_t); [ 184s] | ^^^^^ [ 184s] [ 184s] 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 [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1215:25 [ 184s] | [ 184s] 1215 | let mut caller_pid: pid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1216:25 [ 184s] | [ 184s] 1216 | let mut caller_uid: uid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1230:62 [ 184s] | [ 184s] 1230 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1254:109 [ 184s] | [ 184s] 1254 | RequestResult::DELAYED(generated_req_key, Util::UnregisterPkgUpdateInfo(pkg_id.as_ptr(), uid as uid_t)) [ 184s] | ^^^^^ [ 184s] [ 184s] 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 [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1270:25 [ 184s] | [ 184s] 1270 | let mut caller_pid: pid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1271:25 [ 184s] | [ 184s] 1271 | let mut caller_uid: uid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1303:95 [ 184s] | [ 184s] 1303 | RequestResult::DELAYED(generated_req_key, Util::UnregisterAllPkgUpdateInfo(uid as uid_t, caller_uid)) [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1312:45 [ 184s] | [ 184s] 1312 | fn handle_enable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1359:60 [ 184s] | [ 184s] 1359 | fn handle_enable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1371:40 [ 184s] | [ 184s] 1371 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1373:40 [ 184s] | [ 184s] 1373 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1380:36 [ 184s] | [ 184s] 1380 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1382:36 [ 184s] | [ 184s] 1382 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1392:36 [ 184s] | [ 184s] 1392 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1394:36 [ 184s] | [ 184s] 1394 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1400:28 [ 184s] | [ 184s] 1400 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1403:46 [ 184s] | [ 184s] 1403 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1404:59 [ 184s] | [ 184s] 1404 | Util::EnableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1405:32 [ 184s] | [ 184s] 1405 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1409:28 [ 184s] | [ 184s] 1409 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1415:46 [ 184s] | [ 184s] 1415 | fn handle_disable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1463:61 [ 184s] | [ 184s] 1463 | fn handle_disable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1475:40 [ 184s] | [ 184s] 1475 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1477:40 [ 184s] | [ 184s] 1477 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1484:36 [ 184s] | [ 184s] 1484 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1486:36 [ 184s] | [ 184s] 1486 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1496:36 [ 184s] | [ 184s] 1496 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1498:36 [ 184s] | [ 184s] 1498 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1504:28 [ 184s] | [ 184s] 1504 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1507:46 [ 184s] | [ 184s] 1507 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1508:60 [ 184s] | [ 184s] 1508 | Util::DisableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1509:32 [ 184s] | [ 184s] 1509 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1513:28 [ 184s] | [ 184s] 1513 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1535:25 [ 184s] | [ 184s] 1535 | let mut caller_uid: uid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1562:70 [ 184s] | [ 184s] 1562 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1588:25 [ 184s] | [ 184s] 1588 | let mut caller_uid: uid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1615:71 [ 184s] | [ 184s] 1615 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1673:74 [ 184s] | [ 184s] 1673 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1735:75 [ 184s] | [ 184s] 1735 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1765:25 [ 184s] | [ 184s] 1765 | let mut caller_uid: uid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1792:85 [ 184s] | [ 184s] 1792 | RequestResult::VAL(handle_enable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1818:25 [ 184s] | [ 184s] 1818 | let mut caller_uid: uid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1845:86 [ 184s] | [ 184s] 1845 | RequestResult::VAL(handle_disable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1863:40 [ 184s] | [ 184s] 1863 | Util::KillAppsInPkg(pkg_id, uid as uid_t) [ 184s] | ^^^^^ [ 184s] [ 184s] 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 [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1873:25 [ 184s] | [ 184s] 1873 | let mut caller_pid: pid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1874:25 [ 184s] | [ 184s] 1874 | let mut caller_uid: uid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] 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 [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1985:25 [ 184s] | [ 184s] 1985 | let mut caller_pid: pid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:1986:25 [ 184s] | [ 184s] 1986 | let mut caller_uid: uid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] 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 [ 184s] --> ./src/pkgmgr/server/admin_service.rs:2035:25 [ 184s] | [ 184s] 2035 | let mut caller_pid: pid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:2036:25 [ 184s] | [ 184s] 2036 | let mut caller_uid: uid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:2083:54 [ 184s] | [ 184s] 2083 | Util::EnableGlobalAppSplashScreen(app_id, uid as uid_t) [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:2093:55 [ 184s] | [ 184s] 2093 | Util::DisableGlobalAppSplashScreen(app_id, uid as uid_t) [ 184s] | ^^^^^ [ 184s] [ 184s] 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 [ 184s] --> ./src/pkgmgr/server/admin_service.rs:2105:25 [ 184s] | [ 184s] 2105 | let mut caller_pid: pid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:2106:25 [ 184s] | [ 184s] 2106 | let mut caller_uid: uid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:2137:102 [ 184s] | [ 184s] 2137 | RequestResult::DELAYED(generated_req_key, Util::update_app_label(app_id.as_ptr(), uid as uid_t , label.as_ptr())) [ 184s] | ^^^^^ [ 184s] [ 184s] 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 [ 184s] --> ./src/pkgmgr/server/admin_service.rs:2155:25 [ 184s] | [ 184s] 2155 | let mut caller_pid: pid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:2156:25 [ 184s] | [ 184s] 2156 | let mut caller_uid: uid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:2187:101 [ 184s] | [ 184s] 2187 | RequestResult::DELAYED(generated_req_key, Util::update_app_icon(app_id.as_ptr(), uid as uid_t , icon_path.as_ptr())) [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:2312:25 [ 184s] | [ 184s] 2312 | let mut caller_uid: uid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] 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 [ 184s] --> ./src/pkgmgr/server/admin_service.rs:2313:25 [ 184s] | [ 184s] 2313 | let mut caller_pid: pid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:2383:25 [ 184s] | [ 184s] 2383 | let mut caller_uid: uid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] 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 [ 184s] --> ./src/pkgmgr/server/admin_service.rs:2384:25 [ 184s] | [ 184s] 2384 | let mut caller_pid: pid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:2453:25 [ 184s] | [ 184s] 2453 | let mut caller_uid: uid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] 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 [ 184s] --> ./src/pkgmgr/server/admin_service.rs:2454:25 [ 184s] | [ 184s] 2454 | let mut caller_pid: pid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:2532:25 [ 184s] | [ 184s] 2532 | let mut caller_uid: uid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:2622:41 [ 184s] | [ 184s] 2622 | if unsafe { check_valid_path(uid as uid_t, pkg_id, file_path) } != 0 { [ 184s] | ^^^^^ [ 184s] [ 184s] 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 [ 184s] --> ./src/pkgmgr/server/admin_service.rs:2681:19 [ 184s] | [ 184s] 2681 | pid: *mut pid_t, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/admin_service.rs:2682:19 [ 184s] | [ 184s] 2682 | uid: *mut uid_t [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 184s] | [ 184s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 184s] | ^^^^^ [ 184s] [ 184s] 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 [ 184s] --> ./src/pkgmgr/server/backend_context.rs:3:33 [ 184s] | [ 184s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/cache_service.rs:12:26 [ 184s] | [ 184s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 184s] | ^^^^^ [ 184s] [ 184s] 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 [ 184s] --> ./src/pkgmgr/server/cache_service.rs:12:33 [ 184s] | [ 184s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/cache_service.rs:23:14 [ 184s] | [ 184s] 23 | uid: uid_t, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/cache_service.rs:48:17 [ 184s] | [ 184s] 48 | target_uid: uid_t, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/cache_service.rs:53:25 [ 184s] | [ 184s] 53 | let mut caller_uid: uid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] 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 [ 184s] --> ./src/pkgmgr/server/cache_service.rs:106:19 [ 184s] | [ 184s] 106 | pid: *mut pid_t, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/cache_service.rs:107:19 [ 184s] | [ 184s] 107 | uid: *mut uid_t [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 184s] | [ 184s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 184s] | ^^^^^ [ 184s] [ 184s] 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 [ 184s] --> ./src/pkgmgr/server/delayed_service.rs:13:33 [ 184s] | [ 184s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/info_service.rs:2:26 [ 184s] | [ 184s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 184s] | ^^^^^ [ 184s] [ 184s] 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 [ 184s] --> ./src/pkgmgr/server/info_service.rs:2:33 [ 184s] | [ 184s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/info_service.rs:37:90 [ 184s] | [ 184s] 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... [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/info_service.rs:38:94 [ 184s] | [ 184s] 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... [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/info_service.rs:40:88 [ 184s] | [ 184s] 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... [ 184s] | ^^^^^ [ 184s] [ 184s] 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 [ 184s] --> ./src/pkgmgr/server/info_service.rs:40:128 [ 184s] | [ 184s] 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... [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/info_service.rs:54:17 [ 184s] | [ 184s] 54 | target_uid: uid_t, [ 184s] | ^^^^^ [ 184s] [ 184s] 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 [ 184s] --> ./src/pkgmgr/server/info_service.rs:60:25 [ 184s] | [ 184s] 60 | let mut caller_pid: pid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/info_service.rs:61:25 [ 184s] | [ 184s] 61 | let mut caller_uid: uid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/info_service.rs:114:17 [ 184s] | [ 184s] 114 | target_uid: uid_t, [ 184s] | ^^^^^ [ 184s] [ 184s] 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 [ 184s] --> ./src/pkgmgr/server/info_service.rs:120:25 [ 184s] | [ 184s] 120 | let mut caller_pid: pid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/info_service.rs:121:25 [ 184s] | [ 184s] 121 | let mut caller_uid: uid_t = 0; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/info_service.rs:223:17 [ 184s] | [ 184s] 223 | target_uid: uid_t, [ 184s] | ^^^^^ [ 184s] [ 184s] 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 [ 184s] --> ./src/pkgmgr/server/info_service.rs:225:15 [ 184s] | [ 184s] 225 | pid: *mut pid_t, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/info_service.rs:228:43 [ 184s] | [ 184s] 228 | Util::check_app(pkg_id, target_uid as uid_t, pid) [ 184s] | ^^^^^ [ 184s] [ 184s] 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 [ 184s] --> ./src/pkgmgr/server/info_service.rs:242:19 [ 184s] | [ 184s] 242 | pid: *mut pid_t, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/info_service.rs:243:19 [ 184s] | [ 184s] 243 | uid: *mut uid_t [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/signal.rs:2:26 [ 184s] | [ 184s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 184s] | ^^^^^ [ 184s] [ 184s] 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 [ 184s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 184s] | [ 184s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/signal.rs:99:20 [ 184s] | [ 184s] 99 | const GLOBAL_USER: uid_t = 201; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/signal.rs:101:33 [ 184s] | [ 184s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/signal.rs:101:47 [ 184s] | [ 184s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/signal.rs:102:26 [ 184s] | [ 184s] 102 | let mut uid_vec: Vec = vec![]; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/signal.rs:110:28 [ 184s] | [ 184s] 110 | let mut uids: *mut uid_t = std::ptr::null_mut(); [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/signal.rs:124:14 [ 184s] | [ 184s] 124 | uid: uid_t, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/signal.rs:53:44 [ 184s] | [ 184s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/signal.rs:62:14 [ 184s] | [ 184s] 62 | uid: uid_t, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/signal.rs:86:14 [ 184s] | [ 184s] 86 | uid: uid_t, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/signal.rs:40:30 [ 184s] | [ 184s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 184s] | ^^^^^ [ 184s] [ 184s] 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 [ 184s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 184s] | [ 184s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/signal.rs:44:45 [ 184s] | [ 184s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:4:26 [ 184s] | [ 184s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 184s] | ^^^^^ [ 184s] [ 184s] 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 [ 184s] --> ./src/pkgmgr/server/util.rs:4:33 [ 184s] | [ 184s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:22:21 [ 184s] | [ 184s] 22 | const REGULAR_USER: uid_t = 5000; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:23:20 [ 184s] | [ 184s] 23 | const GLOBAL_USER: uid_t = 201; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:25:18 [ 184s] | [ 184s] 25 | const APPFW_UID: uid_t = 301; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:307:36 [ 184s] | [ 184s] 307 | let uid : uid_t = user_data as uid_t; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:307:15 [ 184s] | [ 184s] 307 | let uid : uid_t = user_data as uid_t; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:326:81 [ 184s] | [ 184s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 184s] | ^^^^^ [ 184s] [ 184s] 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 [ 184s] --> ./src/pkgmgr/server/util.rs:326:93 [ 184s] | [ 184s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:326:25 [ 184s] | [ 184s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 184s] | ^^^^^ [ 184s] [ 184s] 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 [ 184s] --> ./src/pkgmgr/server/util.rs:326:37 [ 184s] | [ 184s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:389:57 [ 184s] | [ 184s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:420:55 [ 184s] | [ 184s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:686:62 [ 184s] | [ 184s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:696:63 [ 184s] | [ 184s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:706:44 [ 184s] | [ 184s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:706:63 [ 184s] | [ 184s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:728:49 [ 184s] | [ 184s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:738:50 [ 184s] | [ 184s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:747:55 [ 184s] | [ 184s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:757:56 [ 184s] | [ 184s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:766:61 [ 184s] | [ 184s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:775:62 [ 184s] | [ 184s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:784:67 [ 184s] | [ 184s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:793:68 [ 184s] | [ 184s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:802:54 [ 184s] | [ 184s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 184s] | ^^^^^ [ 184s] [ 184s] 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 [ 184s] --> ./src/pkgmgr/server/util.rs:802:64 [ 184s] | [ 184s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:813:47 [ 184s] | [ 184s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:835:53 [ 184s] | [ 184s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:855:25 [ 184s] | [ 184s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:983:69 [ 184s] | [ 184s] 983 | pub fn get_application_info_by_appid(appid: *const c_char, uid: uid_t) -> Option<(CString, bool)> { [ 184s] | ^^^^^ [ 184s] [ 184s] 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 [ 184s] --> ./src/pkgmgr/server/util.rs:1012:41 [ 184s] | [ 184s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:1012:53 [ 184s] | [ 184s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:1029:71 [ 184s] | [ 184s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:1029:90 [ 184s] | [ 184s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:1076:56 [ 184s] | [ 184s] 1076 | pub fn update_app_label(appid: *const c_char, uid: uid_t, label: *const c_char) -> c_int { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:1080:55 [ 184s] | [ 184s] 1080 | pub fn update_app_icon(appid: *const c_char, uid: uid_t, icon_path: *const c_char) -> c_int { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:1108:49 [ 184s] | [ 184s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 184s] | ^^^^^ [ 184s] [ 184s] 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 [ 184s] --> ./src/pkgmgr/server/util.rs:1108:66 [ 184s] | [ 184s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:156:14 [ 184s] | [ 184s] 156 | uid: uid_t, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:166:14 [ 184s] | [ 184s] 166 | uid: uid_t, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:180:14 [ 184s] | [ 184s] 180 | uid: uid_t [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:185:14 [ 184s] | [ 184s] 185 | uid: uid_t [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:189:14 [ 184s] | [ 184s] 189 | uid: uid_t [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:194:14 [ 184s] | [ 184s] 194 | uid: uid_t, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:200:14 [ 184s] | [ 184s] 200 | uid: uid_t, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:206:14 [ 184s] | [ 184s] 206 | uid: uid_t, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:212:14 [ 184s] | [ 184s] 212 | uid: uid_t, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:218:14 [ 184s] | [ 184s] 218 | uid: uid_t, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:224:14 [ 184s] | [ 184s] 224 | uid: uid_t, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:237:32 [ 184s] | [ 184s] 237 | fn gum_user_get_sync(uid : uid_t, offline : c_int) -> *mut c_void; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:266:21 [ 184s] | [ 184s] 266 | caller_uid: uid_t [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:274:14 [ 184s] | [ 184s] 274 | uid: uid_t, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:40:30 [ 184s] | [ 184s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 184s] | ^^^^^ [ 184s] [ 184s] 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 [ 184s] --> ./src/pkgmgr/server/util.rs:40:37 [ 184s] | [ 184s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:46:18 [ 184s] | [ 184s] 46 | uid: uid_t, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:52:18 [ 184s] | [ 184s] 52 | uid: uid_t, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:67:18 [ 184s] | [ 184s] 67 | uid: uid_t, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:101:18 [ 184s] | [ 184s] 101 | uid: uid_t, [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:122:70 [ 184s] | [ 184s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:123:66 [ 184s] | [ 184s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:124:59 [ 184s] | [ 184s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/util.rs:125:97 [ 184s] | [ 184s] 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; [ 184s] | ^^^^^ [ 184s] [ 184s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 184s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 184s] | [ 184s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 184s] | ^^^^^ [ 184s] [ 184s] 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 [ 184s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 184s] | [ 184s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 184s] | ^^^^^ [ 184s] [ 188s] warning: unreachable expression [ 188s] --> ./src/pkgmgr/server/backend_queue.rs:64:5 [ 188s] | [ 188s] 61 | return G_SOURCE_CONTINUE; [ 188s] | ------------------------ any code following this expression is unreachable [ 188s] ... [ 188s] 64 | 1 [ 188s] | ^ unreachable expression [ 188s] | [ 188s] = note: `#[warn(unreachable_code)]` on by default [ 188s] [ 190s] warning: unused variable: `context` [ 190s] --> ./src/pkgmgr/server/admin_service.rs:297:5 [ 190s] | [ 190s] 297 | context: *mut c_void, [ 190s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 190s] | [ 190s] = note: `#[warn(unused_variables)]` on by default [ 190s] [ 190s] warning: unused variable: `context` [ 190s] --> ./src/pkgmgr/server/admin_service.rs:306:5 [ 190s] | [ 190s] 306 | context: *mut c_void, [ 190s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 190s] [ 190s] warning: unused variable: `user_data` [ 190s] --> ./src/pkgmgr/server/admin_service.rs:307:5 [ 190s] | [ 190s] 307 | user_data: *mut c_void, [ 190s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 190s] [ 190s] warning: unused variable: `ret` [ 190s] --> ./src/pkgmgr/server/admin_service.rs:323:9 [ 190s] | [ 190s] 323 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 190s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 190s] [ 190s] warning: unused variable: `req_id` [ 190s] --> ./src/pkgmgr/server/admin_service.rs:318:5 [ 190s] | [ 190s] 318 | req_id: *const c_char, [ 190s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 190s] [ 191s] warning: variable does not need to be mutable [ 191s] --> ./src/pkgmgr/server/admin_service.rs:415:9 [ 191s] | [ 191s] 415 | let mut backend_context = BackendContext::new( [ 191s] | ----^^^^^^^^^^^^^^^ [ 191s] | | [ 191s] | help: remove this `mut` [ 191s] | [ 191s] = note: `#[warn(unused_mut)]` on by default [ 191s] [ 191s] warning: unused variable: `ret` [ 191s] --> ./src/pkgmgr/server/admin_service.rs:444:9 [ 191s] | [ 191s] 444 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 191s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 191s] [ 191s] warning: unused variable: `req_id` [ 191s] --> ./src/pkgmgr/server/admin_service.rs:434:5 [ 191s] | [ 191s] 434 | req_id: *const c_char, [ 191s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 191s] [ 191s] warning: variable does not need to be mutable [ 191s] --> ./src/pkgmgr/server/admin_service.rs:510:9 [ 191s] | [ 191s] 510 | let mut backend_context = BackendContext::new( [ 191s] | ----^^^^^^^^^^^^^^^ [ 191s] | | [ 191s] | help: remove this `mut` [ 191s] [ 191s] warning: unused variable: `ret` [ 191s] --> ./src/pkgmgr/server/admin_service.rs:549:9 [ 191s] | [ 191s] 549 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 191s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 191s] [ 191s] warning: variable does not need to be mutable [ 191s] --> ./src/pkgmgr/server/admin_service.rs:571:9 [ 191s] | [ 191s] 571 | let mut backend_context = BackendContext::new( [ 191s] | ----^^^^^^^^^^^^^^^ [ 191s] | | [ 191s] | help: remove this `mut` [ 191s] [ 191s] warning: unused variable: `ret` [ 191s] --> ./src/pkgmgr/server/admin_service.rs:596:9 [ 191s] | [ 191s] 596 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 191s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 191s] [ 191s] warning: unused variable: `req_id` [ 191s] --> ./src/pkgmgr/server/admin_service.rs:591:5 [ 191s] | [ 191s] 591 | req_id: *const c_char, [ 191s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 191s] [ 191s] warning: variable does not need to be mutable [ 191s] --> ./src/pkgmgr/server/admin_service.rs:688:9 [ 191s] | [ 191s] 688 | let mut backend_context = BackendContext::new( [ 191s] | ----^^^^^^^^^^^^^^^ [ 191s] | | [ 191s] | help: remove this `mut` [ 191s] [ 191s] warning: unused variable: `ret` [ 191s] --> ./src/pkgmgr/server/admin_service.rs:719:9 [ 191s] | [ 191s] 719 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 191s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 191s] [ 191s] warning: unused variable: `req_id` [ 191s] --> ./src/pkgmgr/server/admin_service.rs:706:5 [ 191s] | [ 191s] 706 | req_id: *const c_char, [ 191s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 191s] [ 191s] warning: variable does not need to be mutable [ 191s] --> ./src/pkgmgr/server/admin_service.rs:763:9 [ 191s] | [ 191s] 763 | let mut backend_context = BackendContext::new( [ 191s] | ----^^^^^^^^^^^^^^^ [ 191s] | | [ 191s] | help: remove this `mut` [ 191s] [ 191s] warning: unused variable: `ret` [ 191s] --> ./src/pkgmgr/server/admin_service.rs:802:9 [ 191s] | [ 191s] 802 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 191s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 191s] [ 191s] warning: variable does not need to be mutable [ 191s] --> ./src/pkgmgr/server/admin_service.rs:824:9 [ 191s] | [ 191s] 824 | let mut backend_context = BackendContext::new( [ 191s] | ----^^^^^^^^^^^^^^^ [ 191s] | | [ 191s] | help: remove this `mut` [ 191s] [ 191s] warning: unused variable: `ret` [ 191s] --> ./src/pkgmgr/server/admin_service.rs:854:9 [ 191s] | [ 191s] 854 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 191s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 191s] [ 191s] warning: variable does not need to be mutable [ 191s] --> ./src/pkgmgr/server/admin_service.rs:898:9 [ 191s] | [ 191s] 898 | let mut backend_context = BackendContext::new( [ 191s] | ----^^^^^^^^^^^^^^^ [ 191s] | | [ 191s] | help: remove this `mut` [ 191s] [ 191s] warning: unused variable: `ret` [ 191s] --> ./src/pkgmgr/server/admin_service.rs:938:9 [ 191s] | [ 191s] 938 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 191s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 191s] [ 191s] warning: variable does not need to be mutable [ 191s] --> ./src/pkgmgr/server/admin_service.rs:961:9 [ 191s] | [ 191s] 961 | let mut backend_context = BackendContext::new( [ 191s] | ----^^^^^^^^^^^^^^^ [ 191s] | | [ 191s] | help: remove this `mut` [ 191s] [ 191s] warning: unused variable: `ret` [ 191s] --> ./src/pkgmgr/server/admin_service.rs:991:9 [ 191s] | [ 191s] 991 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 191s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 191s] [ 191s] warning: variable does not need to be mutable [ 191s] --> ./src/pkgmgr/server/admin_service.rs:1038:17 [ 191s] | [ 191s] 1038 | let mut backend_context = BackendContext::new( [ 191s] | ----^^^^^^^^^^^^^^^ [ 191s] | | [ 191s] | help: remove this `mut` [ 191s] [ 191s] warning: unused variable: `ret` [ 191s] --> ./src/pkgmgr/server/admin_service.rs:1073:9 [ 191s] | [ 191s] 1073 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 191s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 191s] [ 191s] warning: variable does not need to be mutable [ 191s] --> ./src/pkgmgr/server/admin_service.rs:1123:17 [ 191s] | [ 191s] 1123 | let mut backend_context = BackendContext::new( [ 191s] | ----^^^^^^^^^^^^^^^ [ 191s] | | [ 191s] | help: remove this `mut` [ 191s] [ 191s] warning: unused variable: `pkg_id` [ 191s] --> ./src/pkgmgr/server/admin_service.rs:1186:9 [ 191s] | [ 191s] 1186 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) }); [ 191s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 191s] [ 191s] warning: variable does not need to be mutable [ 191s] --> ./src/pkgmgr/server/admin_service.rs:1180:9 [ 191s] | [ 191s] 1180 | let mut handle : *mut c_void = Util::CreatePkgUpdateInfo(pkg_id, version, update_type); [ 191s] | ----^^^^^^ [ 191s] | | [ 191s] | help: remove this `mut` [ 191s] [ 191s] warning: variable does not need to be mutable [ 191s] --> ./src/pkgmgr/server/admin_service.rs:1190:9 [ 191s] | [ 191s] 1190 | let mut backend_context = BackendContext::new( [ 191s] | ----^^^^^^^^^^^^^^^ [ 191s] | | [ 191s] | help: remove this `mut` [ 191s] [ 191s] warning: variable does not need to be mutable [ 191s] --> ./src/pkgmgr/server/admin_service.rs:1248:9 [ 191s] | [ 191s] 1248 | let mut backend_context = BackendContext::new( [ 191s] | ----^^^^^^^^^^^^^^^ [ 191s] | | [ 191s] | help: remove this `mut` [ 191s] [ 191s] warning: variable does not need to be mutable [ 191s] --> ./src/pkgmgr/server/admin_service.rs:1297:9 [ 191s] | [ 191s] 1297 | let mut backend_context = BackendContext::new( [ 191s] | ----^^^^^^^^^^^^^^^ [ 191s] | | [ 191s] | help: remove this `mut` [ 191s] [ 191s] warning: unused variable: `is_global` [ 191s] --> ./src/pkgmgr/server/admin_service.rs:1321:17 [ 191s] | [ 191s] 1321 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 191s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 191s] [ 191s] warning: unused variable: `is_global` [ 191s] --> ./src/pkgmgr/server/admin_service.rs:1368:17 [ 191s] | [ 191s] 1368 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 191s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 191s] [ 191s] warning: unused variable: `is_global` [ 191s] --> ./src/pkgmgr/server/admin_service.rs:1424:17 [ 191s] | [ 191s] 1424 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 191s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 191s] [ 191s] warning: unused variable: `is_global` [ 191s] --> ./src/pkgmgr/server/admin_service.rs:1472:17 [ 191s] | [ 191s] 1472 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 191s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 191s] [ 191s] warning: unused variable: `caller_uid` [ 191s] --> ./src/pkgmgr/server/admin_service.rs:1535:13 [ 191s] | [ 191s] 1535 | let mut caller_uid: uid_t = 0; [ 191s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 191s] [ 191s] warning: unused variable: `context` [ 191s] --> ./src/pkgmgr/server/admin_service.rs:1521:5 [ 191s] | [ 191s] 1521 | context: *mut c_void, [ 191s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 191s] [ 191s] warning: variable does not need to be mutable [ 191s] --> ./src/pkgmgr/server/admin_service.rs:1535:9 [ 191s] | [ 191s] 1535 | let mut caller_uid: uid_t = 0; [ 191s] | ----^^^^^^^^^^ [ 191s] | | [ 191s] | help: remove this `mut` [ 191s] [ 191s] warning: variable does not need to be mutable [ 191s] --> ./src/pkgmgr/server/admin_service.rs:1558:13 [ 191s] | [ 191s] 1558 | let mut backend_context = BackendContext::new( [ 191s] | ----^^^^^^^^^^^^^^^ [ 191s] | | [ 191s] | help: remove this `mut` [ 191s] [ 191s] warning: unused variable: `caller_uid` [ 191s] --> ./src/pkgmgr/server/admin_service.rs:1588:13 [ 191s] | [ 191s] 1588 | let mut caller_uid: uid_t = 0; [ 191s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 191s] [ 191s] warning: unused variable: `context` [ 191s] --> ./src/pkgmgr/server/admin_service.rs:1574:5 [ 191s] | [ 191s] 1574 | context: *mut c_void, [ 191s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 191s] [ 191s] warning: variable does not need to be mutable [ 191s] --> ./src/pkgmgr/server/admin_service.rs:1588:9 [ 191s] | [ 191s] 1588 | let mut caller_uid: uid_t = 0; [ 191s] | ----^^^^^^^^^^ [ 191s] | | [ 191s] | help: remove this `mut` [ 191s] [ 191s] warning: variable does not need to be mutable [ 191s] --> ./src/pkgmgr/server/admin_service.rs:1611:13 [ 191s] | [ 191s] 1611 | let mut backend_context = BackendContext::new( [ 191s] | ----^^^^^^^^^^^^^^^ [ 191s] | | [ 191s] | help: remove this `mut` [ 191s] [ 191s] warning: unused variable: `context` [ 191s] --> ./src/pkgmgr/server/admin_service.rs:1627:5 [ 191s] | [ 191s] 1627 | context: *mut c_void, [ 191s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 191s] [ 191s] warning: variable does not need to be mutable [ 191s] --> ./src/pkgmgr/server/admin_service.rs:1669:17 [ 191s] | [ 191s] 1669 | let mut backend_context = BackendContext::new( [ 191s] | ----^^^^^^^^^^^^^^^ [ 191s] | | [ 191s] | help: remove this `mut` [ 191s] [ 191s] warning: unused variable: `context` [ 191s] --> ./src/pkgmgr/server/admin_service.rs:1689:5 [ 191s] | [ 191s] 1689 | context: *mut c_void, [ 191s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 191s] [ 191s] warning: variable does not need to be mutable [ 191s] --> ./src/pkgmgr/server/admin_service.rs:1731:17 [ 191s] | [ 191s] 1731 | let mut backend_context = BackendContext::new( [ 191s] | ----^^^^^^^^^^^^^^^ [ 191s] | | [ 191s] | help: remove this `mut` [ 191s] [ 191s] warning: unused variable: `caller_uid` [ 191s] --> ./src/pkgmgr/server/admin_service.rs:1765:13 [ 191s] | [ 191s] 1765 | let mut caller_uid: uid_t = 0; [ 191s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 191s] [ 191s] warning: unused variable: `context` [ 191s] --> ./src/pkgmgr/server/admin_service.rs:1751:5 [ 191s] | [ 191s] 1751 | context: *mut c_void, [ 191s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 191s] [ 191s] warning: variable does not need to be mutable [ 191s] --> ./src/pkgmgr/server/admin_service.rs:1765:9 [ 191s] | [ 191s] 1765 | let mut caller_uid: uid_t = 0; [ 191s] | ----^^^^^^^^^^ [ 191s] | | [ 191s] | help: remove this `mut` [ 191s] [ 191s] warning: variable does not need to be mutable [ 191s] --> ./src/pkgmgr/server/admin_service.rs:1788:13 [ 191s] | [ 191s] 1788 | let mut backend_context = BackendContext::new( [ 191s] | ----^^^^^^^^^^^^^^^ [ 191s] | | [ 191s] | help: remove this `mut` [ 191s] [ 191s] warning: unused variable: `caller_uid` [ 191s] --> ./src/pkgmgr/server/admin_service.rs:1818:13 [ 191s] | [ 191s] 1818 | let mut caller_uid: uid_t = 0; [ 191s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 191s] [ 191s] warning: unused variable: `context` [ 191s] --> ./src/pkgmgr/server/admin_service.rs:1804:5 [ 191s] | [ 191s] 1804 | context: *mut c_void, [ 191s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 191s] [ 192s] warning: variable does not need to be mutable [ 192s] --> ./src/pkgmgr/server/admin_service.rs:1818:9 [ 192s] | [ 192s] 1818 | let mut caller_uid: uid_t = 0; [ 192s] | ----^^^^^^^^^^ [ 192s] | | [ 192s] | help: remove this `mut` [ 192s] [ 192s] warning: variable does not need to be mutable [ 192s] --> ./src/pkgmgr/server/admin_service.rs:1841:13 [ 192s] | [ 192s] 1841 | let mut backend_context = BackendContext::new( [ 192s] | ----^^^^^^^^^^^^^^^ [ 192s] | | [ 192s] | help: remove this `mut` [ 192s] [ 192s] warning: unused variable: `context` [ 192s] --> ./src/pkgmgr/server/admin_service.rs:1857:5 [ 192s] | [ 192s] 1857 | context: *mut c_void, [ 192s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 192s] [ 192s] warning: unused variable: `pid` [ 192s] --> ./src/pkgmgr/server/admin_service.rs:1860:5 [ 192s] | [ 192s] 1860 | pid: *mut c_int, [ 192s] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [ 192s] [ 192s] warning: unused variable: `user_data` [ 192s] --> ./src/pkgmgr/server/admin_service.rs:1861:5 [ 192s] | [ 192s] 1861 | user_data: *mut c_void, [ 192s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 192s] [ 192s] warning: variable does not need to be mutable [ 192s] --> ./src/pkgmgr/server/admin_service.rs:1900:9 [ 192s] | [ 192s] 1900 | let mut backend_context = BackendContext::new( [ 192s] | ----^^^^^^^^^^^^^^^ [ 192s] | | [ 192s] | help: remove this `mut` [ 192s] [ 192s] warning: unused variable: `context` [ 192s] --> ./src/pkgmgr/server/admin_service.rs:1932:5 [ 192s] | [ 192s] 1932 | context: *mut c_void, [ 192s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 192s] [ 192s] warning: variable does not need to be mutable [ 192s] --> ./src/pkgmgr/server/admin_service.rs:2012:9 [ 192s] | [ 192s] 2012 | let mut backend_context = BackendContext::new( [ 192s] | ----^^^^^^^^^^^^^^^ [ 192s] | | [ 192s] | help: remove this `mut` [ 192s] [ 192s] warning: variable does not need to be mutable [ 192s] --> ./src/pkgmgr/server/admin_service.rs:2063:9 [ 192s] | [ 192s] 2063 | let mut backend_context = BackendContext::new( [ 192s] | ----^^^^^^^^^^^^^^^ [ 192s] | | [ 192s] | help: remove this `mut` [ 192s] [ 192s] warning: unused variable: `context` [ 192s] --> ./src/pkgmgr/server/admin_service.rs:2078:5 [ 192s] | [ 192s] 2078 | context: *mut c_void, [ 192s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 192s] [ 192s] warning: unused variable: `user_data` [ 192s] --> ./src/pkgmgr/server/admin_service.rs:2081:5 [ 192s] | [ 192s] 2081 | user_data: *mut c_void, [ 192s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 192s] [ 192s] warning: unused variable: `context` [ 192s] --> ./src/pkgmgr/server/admin_service.rs:2088:5 [ 192s] | [ 192s] 2088 | context: *mut c_void, [ 192s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 192s] [ 192s] warning: unused variable: `user_data` [ 192s] --> ./src/pkgmgr/server/admin_service.rs:2091:5 [ 192s] | [ 192s] 2091 | user_data: *mut c_void, [ 192s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 192s] [ 192s] warning: variable does not need to be mutable [ 192s] --> ./src/pkgmgr/server/admin_service.rs:2133:9 [ 192s] | [ 192s] 2133 | let mut backend_context = BackendContext::new( [ 192s] | ----^^^^^^^^^^^^^^^ [ 192s] | | [ 192s] | help: remove this `mut` [ 192s] [ 192s] warning: variable does not need to be mutable [ 192s] --> ./src/pkgmgr/server/admin_service.rs:2183:9 [ 192s] | [ 192s] 2183 | let mut backend_context = BackendContext::new( [ 192s] | ----^^^^^^^^^^^^^^^ [ 192s] | | [ 192s] | help: remove this `mut` [ 192s] [ 192s] warning: unused variable: `context` [ 192s] --> ./src/pkgmgr/server/admin_service.rs:2198:5 [ 192s] | [ 192s] 2198 | context: *mut c_void, [ 192s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 192s] [ 192s] warning: unused variable: `uid` [ 192s] --> ./src/pkgmgr/server/admin_service.rs:2199:5 [ 192s] | [ 192s] 2199 | uid: c_int, [ 192s] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [ 192s] [ 192s] warning: unused variable: `pkg_id` [ 192s] --> ./src/pkgmgr/server/admin_service.rs:2200:5 [ 192s] | [ 192s] 2200 | pkg_id: *const c_char, [ 192s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 192s] [ 192s] warning: unused variable: `user_data` [ 192s] --> ./src/pkgmgr/server/admin_service.rs:2201:5 [ 192s] | [ 192s] 2201 | user_data: *mut c_void, [ 192s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 192s] [ 192s] warning: variable does not need to be mutable [ 192s] --> ./src/pkgmgr/server/admin_service.rs:2364:9 [ 192s] | [ 192s] 2364 | let mut backend_context = BackendContext::new( [ 192s] | ----^^^^^^^^^^^^^^^ [ 192s] | | [ 192s] | help: remove this `mut` [ 192s] [ 192s] warning: variable does not need to be mutable [ 192s] --> ./src/pkgmgr/server/admin_service.rs:2434:9 [ 192s] | [ 192s] 2434 | let mut backend_context = BackendContext::new( [ 192s] | ----^^^^^^^^^^^^^^^ [ 192s] | | [ 192s] | help: remove this `mut` [ 192s] [ 192s] warning: variable does not need to be mutable [ 192s] --> ./src/pkgmgr/server/admin_service.rs:2504:9 [ 192s] | [ 192s] 2504 | let mut backend_context = BackendContext::new( [ 192s] | ----^^^^^^^^^^^^^^^ [ 192s] | | [ 192s] | help: remove this `mut` [ 192s] [ 192s] warning: unused variable: `ret` [ 192s] --> ./src/pkgmgr/server/admin_service.rs:2533:9 [ 192s] | [ 192s] 2533 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 192s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 192s] [ 192s] warning: variable does not need to be mutable [ 192s] --> ./src/pkgmgr/server/admin_service.rs:2552:9 [ 192s] | [ 192s] 2552 | let mut backend_context = BackendContext::new( [ 192s] | ----^^^^^^^^^^^^^^^ [ 192s] | | [ 192s] | help: remove this `mut` [ 192s] [ 192s] warning: unused variable: `context` [ 192s] --> ./src/pkgmgr/server/admin_service.rs:2567:5 [ 192s] | [ 192s] 2567 | context: *mut c_void, [ 192s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 192s] [ 192s] warning: variable does not need to be mutable [ 192s] --> ./src/pkgmgr/server/admin_service.rs:2597:9 [ 192s] | [ 192s] 2597 | let mut backend_context = BackendContext::new( [ 192s] | ----^^^^^^^^^^^^^^^ [ 192s] | | [ 192s] | help: remove this `mut` [ 192s] [ 192s] warning: unused variable: `context` [ 192s] --> ./src/pkgmgr/server/admin_service.rs:2612:5 [ 192s] | [ 192s] 2612 | context: *mut c_void, [ 192s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 192s] [ 192s] warning: variable does not need to be mutable [ 192s] --> ./src/pkgmgr/server/admin_service.rs:2656:9 [ 192s] | [ 192s] 2656 | let mut backend_context = BackendContext::new( [ 192s] | ----^^^^^^^^^^^^^^^ [ 192s] | | [ 192s] | help: remove this `mut` [ 192s] [ 192s] warning: unused variable: `status` [ 192s] --> ./src/pkgmgr/server/backend_queue.rs:38:17 [ 192s] | [ 192s] 38 | let mut status: c_int; [ 192s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [ 192s] [ 192s] warning: unused variable: `io` [ 192s] --> ./src/pkgmgr/server/backend_queue.rs:30:33 [ 192s] | [ 192s] 30 | extern "C" fn signal_handler_cb(io: *mut glib_sys::GIOChannel, [ 192s] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [ 192s] [ 192s] warning: unused variable: `cond` [ 192s] --> ./src/pkgmgr/server/backend_queue.rs:31:9 [ 192s] | [ 192s] 31 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 192s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 192s] [ 192s] warning: variable does not need to be mutable [ 192s] --> ./src/pkgmgr/server/backend_queue.rs:71:9 [ 192s] | [ 192s] 71 | let mut mut_queue = queue.borrow_mut(); [ 192s] | ----^^^^^^^^^ [ 192s] | | [ 192s] | help: remove this `mut` [ 192s] [ 192s] warning: variable does not need to be mutable [ 192s] --> ./src/pkgmgr/server/backend_queue.rs:189:28 [ 192s] | [ 192s] 189 | pub fn push(&mut self, mut context: BackendContext) -> i32 { [ 192s] | ----^^^^^^^ [ 192s] | | [ 192s] | help: remove this `mut` [ 192s] [ 192s] warning: unused variable: `req_key` [ 192s] --> ./src/pkgmgr/server/backend_queue.rs:296:41 [ 192s] | [ 192s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 192s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_key` [ 192s] [ 192s] warning: unused variable: `ret` [ 192s] --> ./src/pkgmgr/server/backend_queue.rs:296:50 [ 192s] | [ 192s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 192s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 192s] [ 192s] warning: unused variable: `s` [ 192s] --> ./src/pkgmgr/server/backend_queue.rs:296:55 [ 192s] | [ 192s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 192s] | ^ help: if this is intentional, prefix it with an underscore: `_s` [ 192s] [ 192s] warning: variable does not need to be mutable [ 192s] --> ./src/pkgmgr/server/backend_queue.rs:278:25 [ 192s] | [ 192s] 278 | let mut backend: &mut Backend = backend.unwrap(); [ 192s] | ----^^^^^^^ [ 192s] | | [ 192s] | help: remove this `mut` [ 192s] [ 193s] warning: unused variable: `context` [ 193s] --> ./src/pkgmgr/server/cache_service.rs:31:5 [ 193s] | [ 193s] 31 | context: *mut c_void, [ 193s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 193s] [ 193s] warning: unused variable: `context` [ 193s] --> ./src/pkgmgr/server/cache_service.rs:40:5 [ 193s] | [ 193s] 40 | context: *mut c_void, [ 193s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 193s] [ 193s] warning: unused variable: `user_data` [ 193s] --> ./src/pkgmgr/server/cache_service.rs:41:5 [ 193s] | [ 193s] 41 | user_data: *mut c_void, [ 193s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 193s] [ 193s] warning: unused variable: `ret` [ 193s] --> ./src/pkgmgr/server/cache_service.rs:54:9 [ 193s] | [ 193s] 54 | let ret = unsafe { rpc_port_stub_PkgMgrForClearCache_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 193s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 193s] [ 193s] warning: value assigned to `pkg_type` is never read [ 193s] --> ./src/pkgmgr/server/cache_service.rs:63:13 [ 193s] | [ 193s] 63 | let mut pkg_type: String = String::new(); [ 193s] | ^^^^^^^^ [ 193s] | [ 193s] = help: maybe it is overwritten before being read? [ 193s] = note: `#[warn(unused_assignments)]` on by default [ 193s] [ 193s] warning: variable does not need to be mutable [ 193s] --> ./src/pkgmgr/server/cache_service.rs:83:9 [ 193s] | [ 193s] 83 | let mut backend_context = BackendContext::new( [ 193s] | ----^^^^^^^^^^^^^^^ [ 193s] | | [ 193s] | help: remove this `mut` [ 193s] [ 193s] warning: unused variable: `context` [ 193s] --> ./src/pkgmgr/server/delayed_service.rs:32:5 [ 193s] | [ 193s] 32 | context: *mut c_void, [ 193s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 193s] [ 193s] warning: unused variable: `context` [ 193s] --> ./src/pkgmgr/server/delayed_service.rs:41:5 [ 193s] | [ 193s] 41 | context: *mut c_void, [ 193s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 193s] [ 193s] warning: unused variable: `user_data` [ 193s] --> ./src/pkgmgr/server/delayed_service.rs:42:5 [ 193s] | [ 193s] 42 | user_data: *mut c_void, [ 193s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 193s] [ 193s] warning: unused variable: `context` [ 193s] --> ./src/pkgmgr/server/delayed_service.rs:48:5 [ 193s] | [ 193s] 48 | context: *mut c_void, [ 193s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 193s] [ 193s] warning: unused variable: `context` [ 193s] --> ./src/pkgmgr/server/info_service.rs:43:55 [ 193s] | [ 193s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 193s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 193s] [ 193s] warning: unused variable: `context` [ 193s] --> ./src/pkgmgr/server/info_service.rs:48:58 [ 193s] | [ 193s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 193s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 193s] [ 193s] warning: unused variable: `user_data` [ 193s] --> ./src/pkgmgr/server/info_service.rs:48:80 [ 193s] | [ 193s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 193s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 193s] [ 193s] warning: variable does not need to be mutable [ 193s] --> ./src/pkgmgr/server/info_service.rs:98:9 [ 193s] | [ 193s] 98 | let mut backend_context = BackendContext::new( [ 193s] | ----^^^^^^^^^^^^^^^ [ 193s] | | [ 193s] | help: remove this `mut` [ 193s] [ 193s] warning: variable does not need to be mutable [ 193s] --> ./src/pkgmgr/server/info_service.rs:160:9 [ 193s] | [ 193s] 160 | let mut backend_context = BackendContext::new( [ 193s] | ----^^^^^^^^^^^^^^^ [ 193s] | | [ 193s] | help: remove this `mut` [ 193s] [ 193s] warning: unused variable: `context` [ 193s] --> ./src/pkgmgr/server/info_service.rs:195:5 [ 193s] | [ 193s] 195 | context: *mut c_void, [ 193s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 193s] [ 193s] warning: unused variable: `context` [ 193s] --> ./src/pkgmgr/server/info_service.rs:222:5 [ 193s] | [ 193s] 222 | context: *mut c_void, [ 193s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 193s] [ 193s] warning: unused variable: `user_data` [ 193s] --> ./src/pkgmgr/server/info_service.rs:226:5 [ 193s] | [ 193s] 226 | user_data: *mut c_void [ 193s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 193s] [ 193s] warning: variable does not need to be mutable [ 193s] --> ./src/pkgmgr/server/signal.rs:144:13 [ 193s] | [ 193s] 144 | let mut c_req_type: c_int; [ 193s] | ----^^^^^^^^^^ [ 193s] | | [ 193s] | help: remove this `mut` [ 193s] [ 193s] warning: value assigned to `size_result` is never read [ 193s] --> ./src/pkgmgr/server/util.rs:351:17 [ 193s] | [ 193s] 351 | let mut size_result: i64 = -1; [ 193s] | ^^^^^^^^^^^ [ 193s] | [ 193s] = help: maybe it is overwritten before being read? [ 193s] [ 193s] warning: unused variable: `cond` [ 193s] --> ./src/pkgmgr/server/util.rs:341:9 [ 193s] | [ 193s] 341 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 193s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 193s] [ 193s] warning: value assigned to `ret` is never read [ 193s] --> ./src/pkgmgr/server/util.rs:425:21 [ 193s] | [ 193s] 425 | let mut ret: c_int = 0; [ 193s] | ^^^ [ 193s] | [ 193s] = help: maybe it is overwritten before being read? [ 193s] [ 193s] warning: unreachable pattern [ 193s] --> ./src/pkgmgr/server/util.rs:478:17 [ 193s] | [ 193s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 193s] | -------------------------------------- matches any value [ 193s] ... [ 193s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 193s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 193s] | [ 193s] = note: `#[warn(unreachable_patterns)]` on by default [ 193s] [ 193s] warning: unreachable pattern [ 193s] --> ./src/pkgmgr/server/util.rs:483:17 [ 193s] | [ 193s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 193s] | -------------------------------------- matches any value [ 193s] ... [ 193s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 193s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 193s] [ 193s] warning: unreachable pattern [ 193s] --> ./src/pkgmgr/server/util.rs:488:17 [ 193s] | [ 193s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 193s] | -------------------------------------- matches any value [ 193s] ... [ 193s] 488 | _ => { [ 193s] | ^ unreachable pattern [ 193s] [ 193s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 193s] --> ./src/pkgmgr/server/util.rs:473:17 [ 193s] | [ 193s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 193s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 193s] [ 193s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_TEXT` [ 193s] --> ./src/pkgmgr/server/util.rs:478:17 [ 193s] | [ 193s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 193s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_TEXT` [ 193s] [ 193s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 193s] --> ./src/pkgmgr/server/util.rs:483:17 [ 193s] | [ 193s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 193s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 193s] [ 193s] warning: variable does not need to be mutable [ 193s] --> ./src/pkgmgr/server/util.rs:519:13 [ 193s] | [ 193s] 519 | let mut attr = xmlTextReaderGetAttribute(reader, RES_TYPE_ATTRIBUTE_KEY.as_ptr()); [ 193s] | ----^^^^ [ 193s] | | [ 193s] | help: remove this `mut` [ 193s] [ 193s] warning: variable does not need to be mutable [ 193s] --> ./src/pkgmgr/server/util.rs:588:13 [ 193s] | [ 193s] 588 | let mut reader = [ 193s] | ----^^^^^^ [ 193s] | | [ 193s] | help: remove this `mut` [ 193s] [ 193s] warning: unused variable: `gid` [ 193s] --> ./src/pkgmgr/server/util.rs:891:52 [ 193s] | [ 193s] 891 | fn set_environment(mut envs: Vec<&mut String>, gid: libc::gid_t) -> bool { [ 193s] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [ 193s] [ 194s] warning: variable does not need to be mutable [ 194s] --> ./src/pkgmgr/server/mod.rs:89:13 [ 194s] | [ 194s] 89 | let mut backend_queue = BackendQueue::new(self.mainloop); [ 194s] | ----^^^^^^^^^^^^^ [ 194s] | | [ 194s] | help: remove this `mut` [ 194s] [ 194s] warning: unnecessary `unsafe` block [ 194s] --> ./src/pkgmgr/server/admin_service.rs:995:32 [ 194s] | [ 194s] 993 | unsafe { [ 194s] | ------ because it's nested under this `unsafe` block [ 194s] 994 | match CString::new(generated_req_key.clone()) { [ 194s] 995 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 194s] | ^^^^^^ unnecessary `unsafe` block [ 194s] | [ 194s] = note: `#[warn(unused_unsafe)]` on by default [ 194s] [ 194s] warning: unnecessary `unsafe` block [ 194s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 194s] | [ 194s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 194s] | ^^^^^^ unnecessary `unsafe` block [ 194s] | [ 194s] ::: ./src/pkgmgr/server/admin_service.rs:993:5 [ 194s] | [ 194s] 993 | unsafe { [ 194s] | ------ because it's nested under this `unsafe` block [ 194s] ... [ 194s] 997 | error!("Fail to generate req key, err({:?})", e); [ 194s] | ------------------------------------------------ in this macro invocation [ 194s] | [ 194s] = 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) [ 194s] [ 194s] warning: unnecessary `unsafe` block [ 194s] --> ./src/pkgmgr/server/admin_service.rs:1023:46 [ 194s] | [ 194s] 993 | unsafe { [ 194s] | ------ because it's nested under this `unsafe` block [ 194s] ... [ 194s] 1023 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 194s] | ^^^^^^ unnecessary `unsafe` block [ 194s] [ 194s] warning: unnecessary `unsafe` block [ 194s] --> ./src/pkgmgr/server/admin_service.rs:1077:32 [ 194s] | [ 194s] 1075 | unsafe { [ 194s] | ------ because it's nested under this `unsafe` block [ 194s] 1076 | match CString::new(generated_req_key.clone()) { [ 194s] 1077 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 194s] | ^^^^^^ unnecessary `unsafe` block [ 194s] [ 194s] warning: unnecessary `unsafe` block [ 194s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 194s] | [ 194s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 194s] | ^^^^^^ unnecessary `unsafe` block [ 194s] | [ 194s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 194s] | [ 194s] 1075 | unsafe { [ 194s] | ------ because it's nested under this `unsafe` block [ 194s] ... [ 194s] 1079 | error!("Fail to generate req key, err({:?})", e); [ 194s] | ------------------------------------------------ in this macro invocation [ 194s] | [ 194s] = 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) [ 194s] [ 194s] warning: unnecessary `unsafe` block [ 194s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 194s] | [ 194s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 194s] | ^^^^^^ unnecessary `unsafe` block [ 194s] | [ 194s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 194s] | [ 194s] 1075 | unsafe { [ 194s] | ------ because it's nested under this `unsafe` block [ 194s] ... [ 194s] 1106 | debug!("push disable pkg {pkg_id}"); [ 194s] | ----------------------------------- in this macro invocation [ 194s] | [ 194s] = 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) [ 194s] [ 194s] warning: unnecessary `unsafe` block [ 194s] --> ./src/pkgmgr/server/admin_service.rs:1108:46 [ 194s] | [ 194s] 1075 | unsafe { [ 194s] | ------ because it's nested under this `unsafe` block [ 194s] ... [ 194s] 1108 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 194s] | ^^^^^^ unnecessary `unsafe` block [ 194s] [ 194s] warning: unnecessary `unsafe` block [ 194s] --> ./src/pkgmgr/server/admin_service.rs:1537:5 [ 194s] | [ 194s] 1537 | unsafe { [ 194s] | ^^^^^^ unnecessary `unsafe` block [ 194s] [ 194s] warning: unnecessary `unsafe` block [ 194s] --> ./src/pkgmgr/server/admin_service.rs:1590:5 [ 194s] | [ 194s] 1590 | unsafe { [ 194s] | ^^^^^^ unnecessary `unsafe` block [ 194s] [ 194s] warning: unnecessary `unsafe` block [ 194s] --> ./src/pkgmgr/server/admin_service.rs:1643:32 [ 194s] | [ 194s] 1641 | unsafe { [ 194s] | ------ because it's nested under this `unsafe` block [ 194s] 1642 | match CString::new(generated_req_key.clone()) { [ 194s] 1643 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 194s] | ^^^^^^ unnecessary `unsafe` block [ 194s] [ 194s] warning: unnecessary `unsafe` block [ 194s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 194s] | [ 194s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 194s] | ^^^^^^ unnecessary `unsafe` block [ 194s] | [ 194s] ::: ./src/pkgmgr/server/admin_service.rs:1641:5 [ 194s] | [ 194s] 1641 | unsafe { [ 194s] | ------ because it's nested under this `unsafe` block [ 194s] ... [ 194s] 1645 | error!("Fail to generate req key, err({:?})", e); [ 194s] | ------------------------------------------------ in this macro invocation [ 194s] | [ 194s] = 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) [ 194s] [ 194s] warning: unnecessary `unsafe` block [ 194s] --> ./src/pkgmgr/server/admin_service.rs:1657:42 [ 194s] | [ 194s] 1641 | unsafe { [ 194s] | ------ because it's nested under this `unsafe` block [ 194s] ... [ 194s] 1657 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 194s] | ^^^^^^ unnecessary `unsafe` block [ 194s] [ 194s] warning: unnecessary `unsafe` block [ 194s] --> ./src/pkgmgr/server/admin_service.rs:1705:32 [ 194s] | [ 194s] 1703 | unsafe { [ 194s] | ------ because it's nested under this `unsafe` block [ 194s] 1704 | match CString::new(generated_req_key.clone()) { [ 194s] 1705 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 194s] | ^^^^^^ unnecessary `unsafe` block [ 194s] [ 194s] warning: unnecessary `unsafe` block [ 194s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 194s] | [ 194s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 194s] | ^^^^^^ unnecessary `unsafe` block [ 194s] | [ 194s] ::: ./src/pkgmgr/server/admin_service.rs:1703:5 [ 194s] | [ 194s] 1703 | unsafe { [ 194s] | ------ because it's nested under this `unsafe` block [ 194s] ... [ 194s] 1707 | error!("Fail to generate req key, err({:?})", e); [ 194s] | ------------------------------------------------ in this macro invocation [ 194s] | [ 194s] = 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) [ 194s] [ 194s] warning: unnecessary `unsafe` block [ 194s] --> ./src/pkgmgr/server/admin_service.rs:1719:42 [ 194s] | [ 194s] 1703 | unsafe { [ 194s] | ------ because it's nested under this `unsafe` block [ 194s] ... [ 194s] 1719 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 194s] | ^^^^^^ unnecessary `unsafe` block [ 194s] [ 194s] warning: unnecessary `unsafe` block [ 194s] --> ./src/pkgmgr/server/admin_service.rs:1767:5 [ 194s] | [ 194s] 1767 | unsafe { [ 194s] | ^^^^^^ unnecessary `unsafe` block [ 194s] [ 194s] warning: unnecessary `unsafe` block [ 194s] --> ./src/pkgmgr/server/admin_service.rs:1820:5 [ 194s] | [ 194s] 1820 | unsafe { [ 194s] | ^^^^^^ unnecessary `unsafe` block [ 194s] [ 194s] warning: unnecessary `unsafe` block [ 194s] --> ./src/pkgmgr/server/admin_service.rs:2296:17 [ 194s] | [ 194s] 2294 | unsafe { [ 194s] | ------ because it's nested under this `unsafe` block [ 194s] 2295 | if !(*value.offset(i as isize)).is_null() { [ 194s] 2296 | unsafe { free(*value.offset(i as isize) as *mut _) }; [ 194s] | ^^^^^^ unnecessary `unsafe` block [ 194s] [ 194s] warning: unnecessary `unsafe` block [ 194s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 194s] | [ 194s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 194s] | ^^^^^^ unnecessary `unsafe` block [ 194s] | [ 194s] ::: ./src/pkgmgr/server/admin_service.rs:2793:9 [ 194s] | [ 194s] 2793 | unsafe { [ 194s] | ------ because it's nested under this `unsafe` block [ 194s] 2794 | let ret = rpc_port_stub_PkgMgrAdmin_register(&mut self.callbacks, self as *mut _ as *mut c_void); [ 194s] 2795 | debug!("admin service start : {ret}"); [ 194s] | ------------------------------------- in this macro invocation [ 194s] | [ 194s] = 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) [ 194s] [ 194s] warning: unnecessary `unsafe` block [ 194s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 194s] | [ 194s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 194s] | ^^^^^^ unnecessary `unsafe` block [ 194s] | [ 194s] ::: ./src/pkgmgr/server/admin_service.rs:2801:9 [ 194s] | [ 194s] 2801 | unsafe { [ 194s] | ------ because it's nested under this `unsafe` block [ 194s] 2802 | let ret = rpc_port_stub_PkgMgrAdmin_unregister(); [ 194s] 2803 | debug!("ret : {ret}"); [ 194s] | --------------------- in this macro invocation [ 194s] | [ 194s] = 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) [ 194s] [ 194s] warning: unnecessary `unsafe` block [ 194s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 194s] | [ 194s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 194s] | ^^^^^^ unnecessary `unsafe` block [ 194s] | [ 194s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 194s] | [ 194s] 204 | unsafe { [ 194s] | ------ because it's nested under this `unsafe` block [ 194s] ... [ 194s] 210 | error!("sigprocmask failed"); [ 194s] | ---------------------------- in this macro invocation [ 194s] | [ 194s] = 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) [ 194s] [ 194s] warning: unnecessary `unsafe` block [ 194s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 194s] | [ 194s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 194s] | ^^^^^^ unnecessary `unsafe` block [ 194s] | [ 194s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 194s] | [ 194s] 204 | unsafe { [ 194s] | ------ because it's nested under this `unsafe` block [ 194s] ... [ 194s] 216 | error!("signalfd failed"); [ 194s] | ------------------------- in this macro invocation [ 194s] | [ 194s] = 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) [ 194s] [ 194s] warning: unnecessary `unsafe` block [ 194s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 194s] | [ 194s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 194s] | ^^^^^^ unnecessary `unsafe` block [ 194s] | [ 194s] ::: ./src/pkgmgr/server/cache_service.rs:134:9 [ 194s] | [ 194s] 134 | unsafe { [ 194s] | ------ because it's nested under this `unsafe` block [ 194s] ... [ 194s] 139 | debug!("cache service start : {ret}"); [ 194s] | ------------------------------------- in this macro invocation [ 194s] | [ 194s] = 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) [ 194s] [ 194s] warning: unnecessary `unsafe` block [ 194s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 194s] | [ 194s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 194s] | ^^^^^^ unnecessary `unsafe` block [ 194s] | [ 194s] ::: ./src/pkgmgr/server/cache_service.rs:145:9 [ 194s] | [ 194s] 145 | unsafe { [ 194s] | ------ because it's nested under this `unsafe` block [ 194s] 146 | let ret = rpc_port_stub_PkgMgrForClearCache_unregister(); [ 194s] 147 | debug!("ret : {ret}"); [ 194s] | --------------------- in this macro invocation [ 194s] | [ 194s] = 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) [ 194s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/delayed_service.rs:107:9 [ 195s] | [ 195s] 107 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 112 | debug!("delayed result service start : {ret}"); [ 195s] | ---------------------------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/delayed_service.rs:118:9 [ 195s] | [ 195s] 118 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] 119 | let ret = rpc_port_stub_DelayedResult_unregister(); [ 195s] 120 | debug!("ret : {ret}"); [ 195s] | --------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/info_service.rs:165:13 [ 195s] | [ 195s] 165 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] 166 | if mkfifo(fifo_path.as_ptr() as *const c_char, 0o600) < 0 { [ 195s] 167 | error!("Failed to mkfifo"); [ 195s] | -------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/info_service.rs:268:9 [ 195s] | [ 195s] 268 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 273 | debug!("info service start : {ret}"); [ 195s] | ------------------------------------ in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/info_service.rs:279:9 [ 195s] | [ 195s] 279 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] 280 | let ret = rpc_port_stub_PkgMgr_unregister(); [ 195s] 281 | debug!("ret : {ret}"); [ 195s] | --------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 195s] | [ 195s] 131 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 134 | error!("Failure in creating the pkgmgr_installer object"); [ 195s] | --------------------------------------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 195s] | [ 195s] 131 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 139 | error!("pkgmgr_installer_set_uid fail"); [ 195s] | --------------------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 195s] | [ 195s] 131 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 154 | warn!("Unsupported req_type[{}]", req_type as c_int); [ 195s] | ---------------------------------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 195s] | [ 195s] 131 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 161 | error!("pkgmgr_installer_set_request_type fail"); [ 195s] | ------------------------------------------------ in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 195s] | [ 195s] 131 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 168 | error!("pkgmgr_installer_set_session_id fail : {:?}", c_req_id); [ 195s] | --------------------------------------------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 195s] | [ 195s] 309 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] 310 | if pkgmgrinfo_appinfo_get_appid(pkgmgrinfo_appinfo_h, &mut app_id) != 0 { [ 195s] 311 | error!("Failed get appid"); [ 195s] | -------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 195s] | [ 195s] 309 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 314 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 195s] | --------------------------------------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/server/util.rs:326:46 [ 195s] | [ 195s] 325 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 195s] | [ 195s] 325 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 329 | error!("Failed get appid"); [ 195s] | -------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 195s] | [ 195s] 325 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 333 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 195s] | --------------------------------------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 195s] | [ 195s] 342 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 355 | error!("getsize fd read failed: {:?}", Util::c_char_to_cstr((*err).message)); [ 195s] | ---------------------------------------------------------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 195s] | [ 195s] 342 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 361 | error!("empty result"); [ 195s] | ---------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 195s] | [ 195s] 390 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 399 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 195s] | --------------------------------------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 195s] | [ 195s] 390 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 406 | error!("Fail to get is readonly"); [ 195s] | --------------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 195s] | [ 195s] 422 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 429 | error!("Not found package"); [ 195s] | --------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 195s] | [ 195s] 422 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 445 | debug!("pkgtype - {ret_string}"); [ 195s] | -------------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:803:9 [ 195s] | [ 195s] 803 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] 804 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 195s] 805 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 195s] | ------------------------------------------------------ in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 195s] | [ 195s] 814 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] 815 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 195s] 816 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 195s] | ------------------------------------------------------ in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 195s] | [ 195s] 814 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 822 | error!("Failed to get pid of app{:?}", CStr::from_ptr(appid)); [ 195s] | ------------------------------------------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 195s] | [ 195s] 814 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 828 | error!("Failed to terminate app{:?}", CStr::from_ptr(appid)); [ 195s] | ------------------------------------------------------------ in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 195s] | [ 195s] 836 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 840 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 195s] | --------------------------------------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 195s] | [ 195s] 836 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 848 | error!("Failed to get list for {:?}", CStr::from_ptr(pkgid)); [ 195s] | ------------------------------------------------------------ in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 195s] | [ 195s] 859 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 863 | warn!("cannot get user information from gumd, retry"); [ 195s] | ----------------------------------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 195s] | [ 195s] 859 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 871 | error!("cannot get user information from gumd, failed"); [ 195s] | ------------------------------------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 195s] | [ 195s] 859 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 877 | error!("cannot get user type"); [ 195s] | ------------------------------ in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 195s] | [ 195s] 892 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 895 | error!("Failed to get the number of supplementary group IDs"); [ 195s] | ------------------------------------------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 195s] | [ 195s] 892 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 901 | error!("Failed to get list of supplementary group IDs"); [ 195s] | ------------------------------------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 195s] | [ 195s] 892 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 908 | error!("setgroups failed: {}", *__errno_location()); [ 195s] | --------------------------------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 195s] | [ 195s] 928 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 942 | error!("getpwuid_r fail"); [ 195s] | ------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 195s] | [ 195s] 928 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 949 | error!("Fail to get str, err({:?})", e); [ 195s] | --------------------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 195s] | [ 195s] 928 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 957 | error!("Fail to get str, err({:?})", e); [ 195s] | --------------------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 195s] | [ 195s] 928 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 966 | error!("Failed to set env for the user : {}", APPFW_UID); [ 195s] | -------------------------------------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 195s] | [ 195s] 984 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 987 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 195s] | ----------------------------------------------------------------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 195s] | [ 195s] 984 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 993 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 195s] | ---------------------------------------------------------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 195s] | [ 195s] 984 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 1000 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 195s] | ---------------------------------------------------------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/server/util.rs:1005:40 [ 195s] | [ 195s] 984 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 1005 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) } ); [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 195s] | [ 195s] 1081 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 1084 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 195s] | ----------------------------------------------------------------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 195s] | [ 195s] 1081 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 1090 | error!("Failed get root path for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 195s] | --------------------------------------------------------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 195s] | [ 195s] 1081 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 1098 | error!("Invalid path[{:?}]", Self::c_char_to_cstr(icon_path)); [ 195s] | ------------------------------------------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:1109:9 [ 195s] | [ 195s] 1109 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 1119 | error!("Fail to get list for {:?}", CStr::from_ptr(pkgid)); [ 195s] | ---------------------------------------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 195s] | [ 195s] 1129 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 1132 | error!("failed to open the fifo({}), errno({})", fifo_path, *__errno_location()); [ 195s] | -------------------------------------------------------------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: unnecessary `unsafe` block [ 195s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 195s] | [ 195s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 195s] | ^^^^^^ unnecessary `unsafe` block [ 195s] | [ 195s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 195s] | [ 195s] 1129 | unsafe { [ 195s] | ------ because it's nested under this `unsafe` block [ 195s] ... [ 195s] 1155 | error!("failed to add io watch"); [ 195s] | -------------------------------- in this macro invocation [ 195s] | [ 195s] = 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) [ 195s] [ 195s] warning: constant `SD_LISTEN_FDS_START` is never used [ 195s] --> ./src/pkgmgr/server/mod.rs:28:7 [ 195s] | [ 195s] 28 | const SD_LISTEN_FDS_START: i32 = 3; [ 195s] | ^^^^^^^^^^^^^^^^^^^ [ 195s] | [ 195s] = note: `#[warn(dead_code)]` on by default [ 195s] [ 195s] warning: multiple variants are never constructed [ 195s] --> ./src/pkgmgr/server/mod.rs:43:5 [ 195s] | [ 195s] 42 | enum AUL_RETURN_VALUE { [ 195s] | ---------------- variants in this enum [ 195s] 43 | AUL_R_ENOMEM = -16, //< Out of memory (Since 5.5) [ 195s] | ^^^^^^^^^^^^ [ 195s] 44 | AUL_R_ENOENT = -15, //< App directory entry error [ 195s] | ^^^^^^^^^^^^ [ 195s] 45 | AUL_R_EREJECTED = -14, //< App disable for mode [ 195s] | ^^^^^^^^^^^^^^^ [ 195s] 46 | AUL_R_ENOAPP = -13, //< Failed to find app ID or pkg ID [ 195s] | ^^^^^^^^^^^^ [ 195s] 47 | AUL_R_EHIDDENFORGUEST = -11, //< App hidden for guest mode [ 195s] | ^^^^^^^^^^^^^^^^^^^^^ [ 195s] 48 | AUL_R_ENOLAUNCHPAD = -10, //< no launchpad [ 195s] | ^^^^^^^^^^^^^^^^^^ [ 195s] 49 | AUL_R_ETERMINATING = -9, //< application terminating [ 195s] | ^^^^^^^^^^^^^^^^^^ [ 195s] 50 | AUL_R_EILLACC = -8, //< Illegal Access [ 195s] | ^^^^^^^^^^^^^ [ 195s] 51 | AUL_R_LOCAL = -7, //< Launch by himself [ 195s] | ^^^^^^^^^^^ [ 195s] 52 | AUL_R_ETIMEOUT = -6, //< Timeout [ 195s] | ^^^^^^^^^^^^^^ [ 195s] 53 | AUL_R_ECANCELED = -5, //< Operation canceled [ 195s] | ^^^^^^^^^^^^^^^ [ 195s] 54 | AUL_R_EINVAL = -4, //< Invalid argument [ 195s] | ^^^^^^^^^^^^ [ 195s] 55 | AUL_R_ECOMM = -3, //< Comunication Error [ 195s] | ^^^^^^^^^^^ [ 195s] 56 | AUL_R_ENOINIT = -2, //< AUL handler NOT initialized [ 195s] | ^^^^^^^^^^^^^ [ 195s] 57 | AUL_R_ERROR = -1, //< General error [ 195s] | ^^^^^^^^^^^ [ 195s] [ 195s] warning: field `timer` is never read [ 195s] --> ./src/pkgmgr/server/mod.rs:63:5 [ 195s] | [ 195s] 61 | pub struct Server { [ 195s] | ------ field in this struct [ 195s] 62 | mainloop: *mut GMainLoop, [ 195s] 63 | timer: c_uint [ 195s] | ^^^^^ [ 195s] [ 195s] warning: variants `IO_ERROR`, `OUT_OF_MEMORY`, `INVALID_PARAMETER`, and `PERMISSION_DENIED` are never constructed [ 195s] --> ./src/pkgmgr/server/admin_service.rs:29:5 [ 195s] | [ 195s] 27 | enum RPC_PORT_ERROR { [ 195s] | -------------- variants in this enum [ 195s] 28 | NONE = 0, //< Successful [ 195s] 29 | IO_ERROR = -5, //< Internal I/O error [ 195s] | ^^^^^^^^ [ 195s] 30 | OUT_OF_MEMORY = -12, //< Out of memory [ 195s] | ^^^^^^^^^^^^^ [ 195s] 31 | INVALID_PARAMETER = -22, //< Invalid parameter [ 195s] | ^^^^^^^^^^^^^^^^^ [ 195s] 32 | PERMISSION_DENIED = -13, //< Permission denied [ 195s] | ^^^^^^^^^^^^^^^^^ [ 195s] [ 195s] warning: method `generate_request_id` is never used [ 195s] --> ./src/pkgmgr/server/admin_service.rs:2786:8 [ 195s] | [ 195s] 2713 | impl AdminService { [ 195s] | ----------------- method in this implementation [ 195s] ... [ 195s] 2786 | fn generate_request_id(&self) -> String { [ 195s] | ^^^^^^^^^^^^^^^^^^^ [ 195s] [ 195s] warning: field `request_type` is never read [ 195s] --> ./src/pkgmgr/server/backend_context.rs:7:5 [ 195s] | [ 195s] 6 | pub struct BackendContext { [ 195s] | -------------- field in this struct [ 195s] 7 | request_type: RequestType, [ 195s] | ^^^^^^^^^^^^ [ 195s] [ 195s] warning: type alias `GIOChannel` is never used [ 195s] --> ./src/pkgmgr/server/backend_queue.rs:14:6 [ 195s] | [ 195s] 14 | type GIOChannel = *mut c_void; [ 195s] | ^^^^^^^^^^ [ 195s] [ 195s] warning: type alias `GIOCondition` is never used [ 195s] --> ./src/pkgmgr/server/backend_queue.rs:15:6 [ 195s] | [ 195s] 15 | type GIOCondition = c_int; [ 195s] | ^^^^^^^^^^^^ [ 195s] [ 195s] warning: variants `EIO`, `ENOPKG`, `EPRIV`, `ETIMEOUT`, `EINVAL`, and `ECOMM` are never constructed [ 195s] --> ./src/pkgmgr/server/info_service.rs:22:5 [ 195s] | [ 195s] 20 | enum PKGMGR_RETURN_VALUE { [ 195s] | ------------------- variants in this enum [ 195s] 21 | ESYSTEM = -9, // Severe system error [ 195s] 22 | EIO = -8, // IO error [ 195s] | ^^^ [ 195s] 23 | ENOMEM = -7, // Out of memory [ 195s] 24 | ENOPKG = -6, // No such package [ 195s] | ^^^^^^ [ 195s] 25 | EPRIV = -5, // Privilege denied [ 195s] | ^^^^^ [ 195s] 26 | ETIMEOUT = -4, // Timeout [ 195s] | ^^^^^^^^ [ 195s] 27 | EINVAL = -3, // Invalid argument [ 195s] | ^^^^^^ [ 195s] 28 | ECOMM = -2, // Comunication Error [ 195s] | ^^^^^ [ 195s] [ 195s] warning: variants `EPRIV` and `ETIMEOUT` are never constructed [ 195s] --> ./src/pkgmgr/server/pkgmgr_return_value.rs:8:5 [ 195s] | [ 195s] 3 | pub enum PKGMGR_RETURN_VALUE { [ 195s] | ------------------- variants in this enum [ 195s] ... [ 195s] 8 | EPRIV = -5, // Privilege denied [ 195s] | ^^^^^ [ 195s] 9 | ETIMEOUT = -4, // Timeout [ 195s] | ^^^^^^^^ [ 195s] [ 195s] warning: variants `KILL`, `CHECK`, `ENABLE_APP_SPLASH_SCREEN`, `DISABLE_APP_SPLASH_SCREEN`, and `MIGRATE_EXTERNAL_IMAGE` are never constructed [ 195s] --> ./src/pkgmgr/server/request_type.rs:20:5 [ 195s] | [ 195s] 1 | pub enum RequestType { [ 195s] | ----------- variants in this enum [ 195s] ... [ 195s] 20 | KILL, [ 195s] | ^^^^ [ 195s] 21 | CHECK, [ 195s] | ^^^^^ [ 195s] ... [ 195s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 195s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 195s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 195s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 195s] ... [ 195s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 195s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 195s] [ 195s] warning: multiple variants are never constructed [ 195s] --> ./src/pkgmgr/server/signal.rs:10:2 [ 195s] | [ 195s] 9 | enum PKGMGR_REQ { [ 195s] | ---------- variants in this enum [ 195s] 10 | PERM = -1, [ 195s] | ^^^^ [ 195s] 11 | INVALID = 0, [ 195s] | ^^^^^^^ [ 195s] 12 | INSTALL = 1, [ 195s] | ^^^^^^^ [ 195s] 13 | UNINSTALL = 2, [ 195s] | ^^^^^^^^^ [ 195s] 14 | CLEAR = 3, [ 195s] | ^^^^^ [ 195s] 15 | MOVE = 4, [ 195s] | ^^^^ [ 195s] 16 | RECOVER = 5, [ 195s] | ^^^^^^^ [ 195s] 17 | REINSTALL = 6, [ 195s] | ^^^^^^^^^ [ 195s] 18 | GETSIZE = 7, [ 195s] | ^^^^^^^ [ 195s] 19 | UPGRADE = 8, [ 195s] | ^^^^^^^ [ 195s] 20 | SMACK = 9, [ 195s] | ^^^^^ [ 195s] 21 | MANIFEST_DIRECT_INSTALL = 10, [ 195s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 195s] ... [ 195s] 26 | MOUNT_INSTALL = 15, [ 195s] | ^^^^^^^^^^^^^ [ 195s] 27 | DISABLE_PKG = 16, [ 195s] | ^^^^^^^^^^^ [ 195s] 28 | ENABLE_PKG = 17, [ 195s] | ^^^^^^^^^^ [ 195s] 29 | MIGRATE_EXTIMG = 18, [ 195s] | ^^^^^^^^^^^^^^ [ 195s] 30 | RECOVER_DB = 19, [ 195s] | ^^^^^^^^^^ [ 195s] 31 | RES_COPY = 20, [ 195s] | ^^^^^^^^ [ 195s] 32 | RES_CREATE_DIR = 21, [ 195s] | ^^^^^^^^^^^^^^ [ 195s] 33 | RES_REMOVE = 22, [ 195s] | ^^^^^^^^^^ [ 195s] 34 | RES_UNINSTALL = 23 [ 195s] | ^^^^^^^^^^^^^ [ 195s] [ 195s] warning: constant `TZ_SYS_GLOBALAPP_USER` is never used [ 195s] --> ./src/pkgmgr/server/signal.rs:97:7 [ 195s] | [ 195s] 97 | const TZ_SYS_GLOBALAPP_USER: c_int = 22; [ 195s] | ^^^^^^^^^^^^^^^^^^^^^ [ 195s] [ 195s] warning: function `tzplatform_getuid` is never used [ 195s] --> ./src/pkgmgr/server/signal.rs:53:12 [ 195s] | [ 195s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 195s] | ^^^^^^^^^^^^^^^^^ [ 195s] [ 195s] warning: constant `XML_READER_TYPE_ELEMENT` is never used [ 195s] --> ./src/pkgmgr/server/util.rs:29:7 [ 195s] | [ 195s] 29 | const XML_READER_TYPE_ELEMENT: i32 = 1; [ 195s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 195s] [ 195s] warning: constant `XML_READER_TYPE_TEXT` is never used [ 195s] --> ./src/pkgmgr/server/util.rs:30:7 [ 195s] | [ 195s] 30 | const XML_READER_TYPE_TEXT: i32 = 3; [ 195s] | ^^^^^^^^^^^^^^^^^^^^ [ 195s] [ 195s] warning: constant `XML_READER_TYPE_END_ELEMENT` is never used [ 195s] --> ./src/pkgmgr/server/util.rs:31:7 [ 195s] | [ 195s] 31 | const XML_READER_TYPE_END_ELEMENT: i32 = 15; [ 195s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 195s] [ 195s] warning: type alias `GIOChannel` is never used [ 195s] --> ./src/pkgmgr/server/util.rs:33:6 [ 195s] | [ 195s] 33 | type GIOChannel = *mut c_void; [ 195s] | ^^^^^^^^^^ [ 195s] [ 195s] warning: variants `PMINFO_UI_APP`, `PMINFO_SVC_APP`, `PMINFO_WIDGET_APP`, `PMINFO_WATCH_APP`, and `PMINFO_COMPONENT_BASED_APP` are never constructed [ 195s] --> ./src/pkgmgr/server/util.rs:136:5 [ 195s] | [ 195s] 134 | enum PKGMGRINFO_APP_COMPONENT { [ 195s] | ------------------------ variants in this enum [ 195s] 135 | PMINFO_ALL_APP = 0, //< All Application [ 195s] 136 | PMINFO_UI_APP, //< UI Application [ 195s] | ^^^^^^^^^^^^^ [ 195s] 137 | PMINFO_SVC_APP, //< Service Application [ 195s] | ^^^^^^^^^^^^^^ [ 195s] 138 | PMINFO_WIDGET_APP, //< Widget Application [ 195s] | ^^^^^^^^^^^^^^^^^ [ 195s] 139 | PMINFO_WATCH_APP, //< Watch Application [ 195s] | ^^^^^^^^^^^^^^^^ [ 195s] 140 | PMINFO_COMPONENT_BASED_APP, //< Component-based Application (Since 5.5) [ 195s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 195s] [ 195s] warning: associated functions `EnableAppSplashScreen` and `DisableAppSplashScreen` are never used [ 195s] --> ./src/pkgmgr/server/util.rs:766:12 [ 195s] | [ 195s] 384 | impl Util { [ 195s] | --------- associated functions in this implementation [ 195s] ... [ 195s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 195s] | ^^^^^^^^^^^^^^^^^^^^^ [ 195s] ... [ 195s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 195s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 195s] [ 195s] warning: function `pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db` is never used [ 195s] --> ./src/pkgmgr/server/util.rs:204:8 [ 195s] | [ 195s] 204 | fn pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db( [ 195s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 195s] [ 195s] warning: unused `Result` that must be used [ 195s] --> ./src/main.rs:14:5 [ 195s] | [ 195s] 14 | pkgmgr::server::Server::run(&mut server); [ 195s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 195s] | [ 195s] = note: this `Result` may be an `Err` variant, which should be handled [ 195s] = note: `#[warn(unused_must_use)]` on by default [ 195s] help: use `let _ = ...` to ignore the resulting value [ 195s] | [ 195s] 14 | let _ = pkgmgr::server::Server::run(&mut server); [ 195s] | +++++++ [ 195s] [ 195s] warning: unused `Result` that must be used [ 195s] --> ./src/pkgmgr/server/mod.rs:93:9 [ 195s] | [ 195s] 93 | admin_service.run(); [ 195s] | ^^^^^^^^^^^^^^^^^^^ [ 195s] | [ 195s] = note: this `Result` may be an `Err` variant, which should be handled [ 195s] help: use `let _ = ...` to ignore the resulting value [ 195s] | [ 195s] 93 | let _ = admin_service.run(); [ 195s] | +++++++ [ 195s] [ 195s] warning: unused `Result` that must be used [ 195s] --> ./src/pkgmgr/server/mod.rs:95:9 [ 195s] | [ 195s] 95 | cache_service.run(); [ 195s] | ^^^^^^^^^^^^^^^^^^^ [ 195s] | [ 195s] = note: this `Result` may be an `Err` variant, which should be handled [ 195s] help: use `let _ = ...` to ignore the resulting value [ 195s] | [ 195s] 95 | let _ = cache_service.run(); [ 195s] | +++++++ [ 195s] [ 195s] warning: unused `Result` that must be used [ 195s] --> ./src/pkgmgr/server/mod.rs:97:9 [ 195s] | [ 195s] 97 | info_service.run(); [ 195s] | ^^^^^^^^^^^^^^^^^^ [ 195s] | [ 195s] = note: this `Result` may be an `Err` variant, which should be handled [ 195s] help: use `let _ = ...` to ignore the resulting value [ 195s] | [ 195s] 97 | let _ = info_service.run(); [ 195s] | +++++++ [ 195s] [ 195s] warning: unused `Result` that must be used [ 195s] --> ./src/pkgmgr/server/mod.rs:99:9 [ 195s] | [ 195s] 99 | delayed_result_service.run(); [ 195s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 195s] | [ 195s] = note: this `Result` may be an `Err` variant, which should be handled [ 195s] help: use `let _ = ...` to ignore the resulting value [ 195s] | [ 195s] 99 | let _ = delayed_result_service.run(); [ 195s] | +++++++ [ 195s] [ 195s] warning: unused `Result` that must be used [ 195s] --> ./src/pkgmgr/server/mod.rs:109:9 [ 195s] | [ 195s] 109 | admin_service.stop(); [ 195s] | ^^^^^^^^^^^^^^^^^^^^ [ 195s] | [ 195s] = note: this `Result` may be an `Err` variant, which should be handled [ 195s] help: use `let _ = ...` to ignore the resulting value [ 195s] | [ 195s] 109 | let _ = admin_service.stop(); [ 195s] | +++++++ [ 195s] [ 195s] warning: unused `Result` that must be used [ 195s] --> ./src/pkgmgr/server/mod.rs:110:9 [ 195s] | [ 195s] 110 | cache_service.stop(); [ 195s] | ^^^^^^^^^^^^^^^^^^^^ [ 195s] | [ 195s] = note: this `Result` may be an `Err` variant, which should be handled [ 195s] help: use `let _ = ...` to ignore the resulting value [ 195s] | [ 195s] 110 | let _ = cache_service.stop(); [ 195s] | +++++++ [ 195s] [ 195s] warning: unused `Result` that must be used [ 195s] --> ./src/pkgmgr/server/mod.rs:111:9 [ 195s] | [ 195s] 111 | info_service.stop(); [ 195s] | ^^^^^^^^^^^^^^^^^^^ [ 195s] | [ 195s] = note: this `Result` may be an `Err` variant, which should be handled [ 195s] help: use `let _ = ...` to ignore the resulting value [ 195s] | [ 195s] 111 | let _ = info_service.stop(); [ 195s] | +++++++ [ 195s] [ 195s] warning: unused `Result` that must be used [ 195s] --> ./src/pkgmgr/server/mod.rs:112:9 [ 195s] | [ 195s] 112 | delayed_result_service.stop(); [ 195s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 195s] | [ 195s] = note: this `Result` may be an `Err` variant, which should be handled [ 195s] help: use `let _ = ...` to ignore the resulting value [ 195s] | [ 195s] 112 | let _ = delayed_result_service.stop(); [ 195s] | +++++++ [ 195s] [ 195s] warning: unused return value of `std::mem::size_of` that must be used [ 195s] --> ./src/pkgmgr/server/backend_queue.rs:40:9 [ 195s] | [ 195s] 40 | mem::size_of::(); [ 195s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 195s] | [ 195s] help: use `let _ = ...` to ignore the resulting value [ 195s] | [ 195s] 40 | let _ = mem::size_of::(); [ 195s] | +++++++ [ 195s] [ 195s] warning: structure field `rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 195s] --> ./src/pkgmgr/server/info_service.rs:35:9 [ 195s] | [ 195s] 35 | pub rpc_port_stub_PkgMgr_create_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 195s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_create_cb` [ 195s] | [ 195s] = note: `#[warn(non_snake_case)]` on by default [ 195s] [ 195s] warning: structure field `rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 195s] --> ./src/pkgmgr/server/info_service.rs:36:9 [ 195s] | [ 195s] 36 | pub rpc_port_stub_PkgMgr_terminate_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 195s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_terminate_cb` [ 195s] [ 195s] warning: structure field `rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 195s] --> ./src/pkgmgr/server/info_service.rs:37:9 [ 195s] | [ 195s] 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... [ 195s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_cb` [ 195s] [ 195s] warning: structure field `rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 195s] --> ./src/pkgmgr/server/info_service.rs:38:9 [ 195s] | [ 195s] 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... [ 195s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 195s] [ 195s] warning: structure field `rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 195s] --> ./src/pkgmgr/server/info_service.rs:39:9 [ 195s] | [ 195s] 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... [ 195s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 195s] [ 195s] warning: structure field `rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 195s] --> ./src/pkgmgr/server/info_service.rs:40:9 [ 195s] | [ 195s] 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... [ 195s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_check_cb` [ 195s] [ 195s] warning: function `impl_rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 195s] --> ./src/pkgmgr/server/info_service.rs:43:19 [ 195s] | [ 195s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 195s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_create_cb` [ 195s] [ 195s] warning: function `impl_rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 195s] --> ./src/pkgmgr/server/info_service.rs:48:19 [ 195s] | [ 195s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 195s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_terminate_cb` [ 195s] [ 195s] warning: function `impl_rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 195s] --> ./src/pkgmgr/server/info_service.rs:52:19 [ 195s] | [ 195s] 52 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSize_cb( [ 195s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_cb` [ 195s] [ 195s] warning: function `impl_rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 195s] --> ./src/pkgmgr/server/info_service.rs:112:19 [ 195s] | [ 195s] 112 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSizeSync_cb( [ 195s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 195s] [ 195s] warning: function `impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 195s] --> ./src/pkgmgr/server/info_service.rs:194:19 [ 195s] | [ 195s] 194 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb( [ 195s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 195s] [ 195s] warning: function `impl_rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 195s] --> ./src/pkgmgr/server/info_service.rs:221:19 [ 195s] | [ 195s] 221 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_Check_cb( [ 195s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_check_cb` [ 195s] [ 195s] warning: method `IsPackageReadonly` should have a snake case name [ 195s] --> ./src/pkgmgr/server/util.rs:389:12 [ 195s] | [ 195s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 195s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly` [ 195s] [ 195s] warning: method `GetPackageType` should have a snake case name [ 195s] --> ./src/pkgmgr/server/util.rs:420:12 [ 195s] | [ 195s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 195s] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type` [ 195s] [ 195s] warning: variable `xmlReaderTypes_XML_READER_TYPE_ELEMENT` should have a snake case name [ 195s] --> ./src/pkgmgr/server/util.rs:473:17 [ 195s] | [ 195s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 195s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_element` [ 195s] [ 195s] warning: variable `xmlReaderTypes_XML_READER_TYPE_TEXT` should have a snake case name [ 195s] --> ./src/pkgmgr/server/util.rs:478:17 [ 195s] | [ 195s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 195s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_text` [ 195s] [ 195s] warning: variable `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` should have a snake case name [ 195s] --> ./src/pkgmgr/server/util.rs:483:17 [ 195s] | [ 195s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 195s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_end_element` [ 195s] [ 195s] warning: constant `type_map` should have an upper case name [ 195s] --> ./src/pkgmgr/server/util.rs:623:15 [ 195s] | [ 195s] 623 | const type_map : [[&str; 2]; 3] = [ [ 195s] | ^^^^^^^^ help: convert the identifier to upper case: `TYPE_MAP` [ 195s] | [ 195s] = note: `#[warn(non_upper_case_globals)]` on by default [ 195s] [ 195s] warning: method `GenerateRequestId` should have a snake case name [ 195s] --> ./src/pkgmgr/server/util.rs:646:12 [ 195s] | [ 195s] 646 | pub fn GenerateRequestId(pkgid: &str) -> Option { [ 195s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_request_id` [ 195s] [ 195s] warning: method `CreatePkgUpdateInfo` should have a snake case name [ 195s] --> ./src/pkgmgr/server/util.rs:657:12 [ 195s] | [ 195s] 657 | pub fn CreatePkgUpdateInfo(pkgid: *const c_char, version: *const c_char, update_type: c_int) -> *mut c_void { [ 195s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info` [ 195s] [ 195s] warning: method `DestroyPkgUpdateInfo` should have a snake case name [ 195s] --> ./src/pkgmgr/server/util.rs:680:12 [ 195s] | [ 195s] 680 | pub fn DestroyPkgUpdateInfo(handle: *mut c_void) -> c_int { [ 195s] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroy_pkg_update_info` [ 195s] [ 195s] warning: method `RegisterPkgUpdateInfo` should have a snake case name [ 195s] --> ./src/pkgmgr/server/util.rs:686:12 [ 195s] | [ 195s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 195s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `register_pkg_update_info` [ 195s] [ 195s] warning: method `UnregisterPkgUpdateInfo` should have a snake case name [ 195s] --> ./src/pkgmgr/server/util.rs:696:12 [ 195s] | [ 195s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 195s] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_pkg_update_info` [ 195s] [ 195s] warning: method `UnregisterAllPkgUpdateInfo` should have a snake case name [ 195s] --> ./src/pkgmgr/server/util.rs:706:12 [ 195s] | [ 195s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 195s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_all_pkg_update_info` [ 195s] [ 195s] warning: method `EnableApp` should have a snake case name [ 195s] --> ./src/pkgmgr/server/util.rs:728:12 [ 195s] | [ 195s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 195s] | ^^^^^^^^^ help: convert the identifier to snake case: `enable_app` [ 195s] [ 195s] warning: method `DisableApp` should have a snake case name [ 195s] --> ./src/pkgmgr/server/util.rs:738:12 [ 195s] | [ 195s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 195s] | ^^^^^^^^^^ help: convert the identifier to snake case: `disable_app` [ 195s] [ 195s] warning: method `EnableGlobalApp` should have a snake case name [ 195s] --> ./src/pkgmgr/server/util.rs:747:12 [ 195s] | [ 195s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 195s] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app` [ 195s] [ 195s] warning: method `DisableGlobalApp` should have a snake case name [ 195s] --> ./src/pkgmgr/server/util.rs:757:12 [ 195s] | [ 195s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 195s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app` [ 195s] [ 195s] warning: method `EnableAppSplashScreen` should have a snake case name [ 195s] --> ./src/pkgmgr/server/util.rs:766:12 [ 195s] | [ 195s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 195s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_app_splash_screen` [ 195s] [ 195s] warning: method `DisableAppSplashScreen` should have a snake case name [ 195s] --> ./src/pkgmgr/server/util.rs:775:12 [ 195s] | [ 195s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 195s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_app_splash_screen` [ 195s] [ 195s] warning: method `EnableGlobalAppSplashScreen` should have a snake case name [ 195s] --> ./src/pkgmgr/server/util.rs:784:12 [ 195s] | [ 195s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 195s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app_splash_screen` [ 195s] [ 195s] warning: method `DisableGlobalAppSplashScreen` should have a snake case name [ 195s] --> ./src/pkgmgr/server/util.rs:793:12 [ 195s] | [ 195s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 195s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app_splash_screen` [ 195s] [ 195s] warning: method `KillApp` should have a snake case name [ 195s] --> ./src/pkgmgr/server/util.rs:813:12 [ 195s] | [ 195s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 195s] | ^^^^^^^ help: convert the identifier to snake case: `kill_app` [ 195s] [ 195s] warning: method `KillAppsInPkg` should have a snake case name [ 195s] --> ./src/pkgmgr/server/util.rs:835:12 [ 195s] | [ 195s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 195s] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_apps_in_pkg` [ 195s] [ 195s] warning: method `IsAdminUser` should have a snake case name [ 195s] --> ./src/pkgmgr/server/util.rs:855:8 [ 195s] | [ 195s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 195s] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_admin_user` [ 195s] [ 279s] warning: 542 warnings emitted [ 279s] [ 279s] + export LD_LIBRARY_PATH=:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib [ 279s] + LD_LIBRARY_PATH=:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib [ 279s] ++ find /usr/lib64 -maxdepth 1 -name 'libstd-*.so' [ 279s] + __rust_std=/usr/lib64/libstd-173ad5c1e159cc01.so [ 279s] + /usr/bin/rustc -C prefer-dynamic --extern std=/usr/lib64/libstd-173ad5c1e159cc01.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/lib64/rustlib -L/usr/lib64/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/lib64/rustlib/dylib/liblibc.so --cap-lints warn ./src/main.rs [ 281s] warning: unused import: `boxed` [ 281s] --> ./src/pkgmgr/server/admin_service.rs:4:11 [ 281s] | [ 281s] 4 | use std::{boxed, str}; [ 281s] | ^^^^^ [ 281s] | [ 281s] = note: `#[warn(unused_imports)]` on by default [ 281s] [ 281s] warning: unused import: `std::mem` [ 281s] --> ./src/pkgmgr/server/admin_service.rs:6:5 [ 281s] | [ 281s] 6 | use std::mem; [ 281s] | ^^^^^^^^ [ 281s] [ 281s] warning: unused import: `std::ptr` [ 281s] --> ./src/pkgmgr/server/admin_service.rs:7:5 [ 281s] | [ 281s] 7 | use std::ptr; [ 281s] | ^^^^^^^^ [ 281s] [ 281s] warning: unused import: `malloc` [ 281s] --> ./src/pkgmgr/server/admin_service.rs:8:18 [ 281s] | [ 281s] 8 | use libc::{free, malloc, strlen}; [ 281s] | ^^^^^^ [ 281s] [ 281s] warning: unused import: `super::Server` [ 281s] --> ./src/pkgmgr/server/admin_service.rs:10:5 [ 281s] | [ 281s] 10 | use super::Server; [ 281s] | ^^^^^^^^^^^^^ [ 281s] [ 281s] warning: type `rpc_port_stub_array_string_h` should have an upper camel case name [ 281s] --> ./src/pkgmgr/server/admin_service.rs:23:6 [ 281s] | [ 281s] 23 | type rpc_port_stub_array_string_h = *mut c_void; [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RpcPortStubArrayStringH` [ 281s] | [ 281s] = note: `#[warn(non_camel_case_types)]` on by default [ 281s] [ 281s] warning: unused imports: `pid_t`, `uid_t` [ 281s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 281s] | [ 281s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 281s] | ^^^^^ ^^^^^ [ 281s] [ 281s] warning: unused imports: `c_int`, `c_void` [ 281s] --> ./src/pkgmgr/server/backend_context.rs:4:16 [ 281s] | [ 281s] 4 | use std::ffi::{c_int, c_void}; [ 281s] | ^^^^^ ^^^^^^ [ 281s] [ 281s] warning: unused import: `std::path::Path` [ 281s] --> ./src/pkgmgr/server/backend_queue.rs:10:5 [ 281s] | [ 281s] 10 | use std::path::Path; [ 281s] | ^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: denote infinite loops with `loop { ... }` [ 281s] --> ./src/pkgmgr/server/backend_queue.rs:50:9 [ 281s] | [ 281s] 50 | while true { [ 281s] | ^^^^^^^^^^ help: use `loop` [ 281s] | [ 281s] = note: `#[warn(while_true)]` on by default [ 281s] [ 281s] warning: unnecessary parentheses around `if` condition [ 281s] --> ./src/pkgmgr/server/backend_queue.rs:73:8 [ 281s] | [ 281s] 73 | if (mut_queue.is_queue_empty()) { [ 281s] | ^ ^ [ 281s] | [ 281s] = note: `#[warn(unused_parens)]` on by default [ 281s] help: remove these parentheses [ 281s] | [ 281s] 73 - if (mut_queue.is_queue_empty()) { [ 281s] 73 + if mut_queue.is_queue_empty() { [ 281s] | [ 281s] [ 281s] warning: unnecessary trailing semicolon [ 281s] --> ./src/pkgmgr/server/backend_queue.rs:297:17 [ 281s] | [ 281s] 297 | ; [ 281s] | ^ help: remove this semicolon [ 281s] | [ 281s] = note: `#[warn(redundant_semicolons)]` on by default [ 281s] [ 281s] warning: unused import: `super::Server` [ 281s] --> ./src/pkgmgr/server/cache_service.rs:1:5 [ 281s] | [ 281s] 1 | use super::Server; [ 281s] | ^^^^^^^^^^^^^ [ 281s] [ 281s] warning: unused import: `super::Server` [ 281s] --> ./src/pkgmgr/server/delayed_service.rs:1:5 [ 281s] | [ 281s] 1 | use super::Server; [ 281s] | ^^^^^^^^^^^^^ [ 281s] [ 281s] warning: unused import: `super::backend_context::*` [ 281s] --> ./src/pkgmgr/server/delayed_service.rs:4:5 [ 281s] | [ 281s] 4 | use super::backend_context::*; [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: unused import: `super::request_result::*` [ 281s] --> ./src/pkgmgr/server/delayed_service.rs:5:5 [ 281s] | [ 281s] 5 | use super::request_result::*; [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: unused import: `super::request_type::*` [ 281s] --> ./src/pkgmgr/server/delayed_service.rs:6:5 [ 281s] | [ 281s] 6 | use super::request_type::*; [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: unused import: `super::util::*` [ 281s] --> ./src/pkgmgr/server/delayed_service.rs:7:5 [ 281s] | [ 281s] 7 | use super::util::*; [ 281s] | ^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: unused imports: `pid_t`, `uid_t` [ 281s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 281s] | [ 281s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 281s] | ^^^^^ ^^^^^ [ 281s] [ 281s] warning: unused import: `std::io::Error` [ 281s] --> ./src/pkgmgr/server/info_service.rs:3:5 [ 281s] | [ 281s] 3 | use std::io::Error; [ 281s] | ^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: unused import: `std::mem` [ 281s] --> ./src/pkgmgr/server/info_service.rs:6:5 [ 281s] | [ 281s] 6 | use std::mem; [ 281s] | ^^^^^^^^ [ 281s] [ 281s] warning: unused import: `std::ptr` [ 281s] --> ./src/pkgmgr/server/info_service.rs:7:5 [ 281s] | [ 281s] 7 | use std::ptr; [ 281s] | ^^^^^^^^ [ 281s] [ 281s] warning: unused imports: `free`, `malloc`, `strlen` [ 281s] --> ./src/pkgmgr/server/info_service.rs:8:12 [ 281s] | [ 281s] 8 | use libc::{free, malloc, strlen, mkfifo}; [ 281s] | ^^^^ ^^^^^^ ^^^^^^ [ 281s] [ 281s] warning: unused import: `super::Server` [ 281s] --> ./src/pkgmgr/server/info_service.rs:10:5 [ 281s] | [ 281s] 10 | use super::Server; [ 281s] | ^^^^^^^^^^^^^ [ 281s] [ 281s] warning: unused import: `super::service::Service` [ 281s] --> ./src/pkgmgr/server/info_service.rs:13:5 [ 281s] | [ 281s] 13 | use super::service::Service; [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: unnecessary trailing semicolon [ 281s] --> ./src/pkgmgr/server/info_service.rs:49:5 [ 281s] | [ 281s] 49 | ; [ 281s] | ^ help: remove this semicolon [ 281s] [ 281s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 281s] --> ./src/pkgmgr/server/request_result.rs:7:5 [ 281s] | [ 281s] 7 | GETSIZE_SYNC(String, i32, i32), [ 281s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 281s] [ 281s] warning: variant `GET_GENERATE_LICENSE_RESULT` should have an upper camel case name [ 281s] --> ./src/pkgmgr/server/request_result.rs:8:5 [ 281s] | [ 281s] 8 | GET_GENERATE_LICENSE_RESULT(String, i32, CString, CString), [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetGenerateLicenseResult` [ 281s] [ 281s] warning: variant `MOUNT_INSTALL` should have an upper camel case name [ 281s] --> ./src/pkgmgr/server/request_type.rs:3:5 [ 281s] | [ 281s] 3 | MOUNT_INSTALL, [ 281s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MountInstall` [ 281s] [ 281s] warning: variant `ENABLE_PKG` should have an upper camel case name [ 281s] --> ./src/pkgmgr/server/request_type.rs:7:5 [ 281s] | [ 281s] 7 | ENABLE_PKG, [ 281s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnablePkg` [ 281s] [ 281s] warning: variant `DISABLE_PKG` should have an upper camel case name [ 281s] --> ./src/pkgmgr/server/request_type.rs:8:5 [ 281s] | [ 281s] 8 | DISABLE_PKG, [ 281s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisablePkg` [ 281s] [ 281s] warning: variant `REGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 281s] --> ./src/pkgmgr/server/request_type.rs:9:5 [ 281s] | [ 281s] 9 | REGISTER_PKG_UPDATE_INFO, [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterPkgUpdateInfo` [ 281s] [ 281s] warning: variant `UNREGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 281s] --> ./src/pkgmgr/server/request_type.rs:10:5 [ 281s] | [ 281s] 10 | UNREGISTER_PKG_UPDATE_INFO, [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterPkgUpdateInfo` [ 281s] [ 281s] warning: variant `UNREGISTER_ALL_PKG_UPDATE_INFO` should have an upper camel case name [ 281s] --> ./src/pkgmgr/server/request_type.rs:11:5 [ 281s] | [ 281s] 11 | UNREGISTER_ALL_PKG_UPDATE_INFO, [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterAllPkgUpdateInfo` [ 281s] [ 281s] warning: variant `ENABLE_APP` should have an upper camel case name [ 281s] --> ./src/pkgmgr/server/request_type.rs:12:5 [ 281s] | [ 281s] 12 | ENABLE_APP, [ 281s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableApp` [ 281s] [ 281s] warning: variant `DISABLE_APP` should have an upper camel case name [ 281s] --> ./src/pkgmgr/server/request_type.rs:13:5 [ 281s] | [ 281s] 13 | DISABLE_APP, [ 281s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableApp` [ 281s] [ 281s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 281s] --> ./src/pkgmgr/server/request_type.rs:15:5 [ 281s] | [ 281s] 15 | GETSIZE_SYNC, [ 281s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 281s] [ 281s] warning: variant `ENABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 281s] --> ./src/pkgmgr/server/request_type.rs:18:5 [ 281s] | [ 281s] 18 | ENABLE_GLOBAL_APP_FOR_UID, [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableGlobalAppForUid` [ 281s] [ 281s] warning: variant `DISABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 281s] --> ./src/pkgmgr/server/request_type.rs:19:5 [ 281s] | [ 281s] 19 | DISABLE_GLOBAL_APP_FOR_UID, [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableGlobalAppForUid` [ 281s] [ 281s] warning: variant `GENERATE_LICENSE_REQUEST` should have an upper camel case name [ 281s] --> ./src/pkgmgr/server/request_type.rs:22:5 [ 281s] | [ 281s] 22 | GENERATE_LICENSE_REQUEST, [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GenerateLicenseRequest` [ 281s] [ 281s] warning: variant `REGISTER_LICENSE` should have an upper camel case name [ 281s] --> ./src/pkgmgr/server/request_type.rs:23:5 [ 281s] | [ 281s] 23 | REGISTER_LICENSE, [ 281s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterLicense` [ 281s] [ 281s] warning: variant `DECRYPT_PACKAGE` should have an upper camel case name [ 281s] --> ./src/pkgmgr/server/request_type.rs:24:5 [ 281s] | [ 281s] 24 | DECRYPT_PACKAGE, [ 281s] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DecryptPackage` [ 281s] [ 281s] warning: variant `ENABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 281s] --> ./src/pkgmgr/server/request_type.rs:25:5 [ 281s] | [ 281s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableAppSplashScreen` [ 281s] [ 281s] warning: variant `DISABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 281s] --> ./src/pkgmgr/server/request_type.rs:26:5 [ 281s] | [ 281s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableAppSplashScreen` [ 281s] [ 281s] warning: variant `SET_APP_LABEL` should have an upper camel case name [ 281s] --> ./src/pkgmgr/server/request_type.rs:27:5 [ 281s] | [ 281s] 27 | SET_APP_LABEL, [ 281s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppLabel` [ 281s] [ 281s] warning: variant `SET_APP_ICON` should have an upper camel case name [ 281s] --> ./src/pkgmgr/server/request_type.rs:28:5 [ 281s] | [ 281s] 28 | SET_APP_ICON, [ 281s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppIcon` [ 281s] [ 281s] warning: variant `MIGRATE_EXTERNAL_IMAGE` should have an upper camel case name [ 281s] --> ./src/pkgmgr/server/request_type.rs:29:5 [ 281s] | [ 281s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MigrateExternalImage` [ 281s] [ 281s] warning: variant `RESOURCE_SHARE_COPY` should have an upper camel case name [ 281s] --> ./src/pkgmgr/server/request_type.rs:30:5 [ 281s] | [ 281s] 30 | RESOURCE_SHARE_COPY, [ 281s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCopy` [ 281s] [ 281s] warning: variant `RESOURCE_SHARE_CREATE_DIR` should have an upper camel case name [ 281s] --> ./src/pkgmgr/server/request_type.rs:31:5 [ 281s] | [ 281s] 31 | RESOURCE_SHARE_CREATE_DIR, [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCreateDir` [ 281s] [ 281s] warning: variant `RESOURCE_SHARE_REMOVE` should have an upper camel case name [ 281s] --> ./src/pkgmgr/server/request_type.rs:32:5 [ 281s] | [ 281s] 32 | RESOURCE_SHARE_REMOVE, [ 281s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareRemove` [ 281s] [ 281s] warning: variant `RESOURCE_SHARE_UNINSTALL` should have an upper camel case name [ 281s] --> ./src/pkgmgr/server/request_type.rs:33:5 [ 281s] | [ 281s] 33 | RESOURCE_SHARE_UNINSTALL, [ 281s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareUninstall` [ 281s] [ 281s] warning: variant `REMOVE_FILE` should have an upper camel case name [ 281s] --> ./src/pkgmgr/server/request_type.rs:34:5 [ 281s] | [ 281s] 34 | REMOVE_FILE, [ 281s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RemoveFile` [ 281s] [ 281s] warning: unused import: `CStr` [ 281s] --> ./src/pkgmgr/server/signal.rs:1:39 [ 281s] | [ 281s] 1 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 281s] | ^^^^ [ 281s] [ 281s] warning: unused import: `pid_t` [ 281s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 281s] | [ 281s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: unused imports: `CStr`, `CString`, `c_char`, `c_void` [ 281s] --> ./src/pkgmgr/server/signal.rs:39:20 [ 281s] | [ 281s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 281s] | ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^ [ 281s] [ 281s] warning: unused import: `pid_t` [ 281s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 281s] | [ 281s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: unused import: `std::cell::RefCell` [ 281s] --> ./src/pkgmgr/server/util.rs:1:5 [ 281s] | [ 281s] 1 | use std::cell::RefCell; [ 281s] | ^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: unused import: `std::rc::Rc` [ 281s] --> ./src/pkgmgr/server/util.rs:8:5 [ 281s] | [ 281s] 8 | use std::rc::Rc; [ 281s] | ^^^^^^^^^^^ [ 281s] [ 281s] warning: type `xmlChar` should have an upper camel case name [ 281s] --> ./src/pkgmgr/server/util.rs:34:6 [ 281s] | [ 281s] 34 | type xmlChar = c_uchar; [ 281s] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlChar` [ 281s] [ 281s] warning: type `xmlTextReaderPtr` should have an upper camel case name [ 281s] --> ./src/pkgmgr/server/util.rs:35:6 [ 281s] | [ 281s] 35 | type xmlTextReaderPtr = *mut c_void; [ 281s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlTextReaderPtr` [ 281s] [ 281s] warning: unused imports: `CStr`, `CString` [ 281s] --> ./src/pkgmgr/server/util.rs:39:43 [ 281s] | [ 281s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 281s] | ^^^^ ^^^^^^^ [ 281s] [ 281s] warning: unused import: `pid_t` [ 281s] --> ./src/pkgmgr/server/util.rs:40:37 [ 281s] | [ 281s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: unnecessary parentheses around `if` condition [ 281s] --> ./src/pkgmgr/server/util.rs:474:24 [ 281s] | [ 281s] 474 | if (cur == depth + 1) { [ 281s] | ^ ^ [ 281s] | [ 281s] help: remove these parentheses [ 281s] | [ 281s] 474 - if (cur == depth + 1) { [ 281s] 474 + if cur == depth + 1 { [ 281s] | [ 281s] [ 281s] warning: unnecessary parentheses around `if` condition [ 281s] --> ./src/pkgmgr/server/util.rs:571:12 [ 281s] | [ 281s] 571 | if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 281s] | ^ ^ [ 281s] | [ 281s] help: remove these parentheses [ 281s] | [ 281s] 571 - if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 281s] 571 + if unzOpenCurrentFile(uf) != UNZ_OK as c_int { [ 281s] | [ 281s] [ 281s] warning: unused import: `std::ffi::CStr` [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:4:5 [ 281s] | [ 281s] 4 | use std::ffi::CStr; [ 281s] | ^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: unused import: `std::mem` [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:6:5 [ 281s] | [ 281s] 6 | use std::mem; [ 281s] | ^^^^^^^^ [ 281s] [ 281s] warning: unused import: `mockall::predicate::*` [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:8:5 [ 281s] | [ 281s] 8 | use mockall::predicate::*; [ 281s] | ^^^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: unused import: `mockall::*` [ 281s] --> ./src/pkgmgr/server/test/util_tests.rs:9:5 [ 281s] | [ 281s] 9 | use mockall::*; [ 281s] | ^^^^^^^^^^ [ 281s] [ 281s] warning: unused import: `std::ffi::CString` [ 281s] --> ./src/pkgmgr/server/test/signal_tests.rs:2:5 [ 281s] | [ 281s] 2 | use std::ffi::CString; [ 281s] | ^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: unused import: `std::ffi::CStr` [ 281s] --> ./src/pkgmgr/server/test/signal_tests.rs:3:5 [ 281s] | [ 281s] 3 | use std::ffi::CStr; [ 281s] | ^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: unused import: `std::ffi::c_char` [ 281s] --> ./src/pkgmgr/server/test/signal_tests.rs:4:5 [ 281s] | [ 281s] 4 | use std::ffi::c_char; [ 281s] | ^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: unused import: `std::mem` [ 281s] --> ./src/pkgmgr/server/test/signal_tests.rs:5:5 [ 281s] | [ 281s] 5 | use std::mem; [ 281s] | ^^^^^^^^ [ 281s] [ 281s] warning: unused import: `mockall::predicate::*` [ 281s] --> ./src/pkgmgr/server/test/signal_tests.rs:6:5 [ 281s] | [ 281s] 6 | use mockall::predicate::*; [ 281s] | ^^^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: unused import: `mockall::*` [ 281s] --> ./src/pkgmgr/server/test/signal_tests.rs:7:5 [ 281s] | [ 281s] 7 | use mockall::*; [ 281s] | ^^^^^^^^^^ [ 281s] [ 281s] warning: unused import: `pid_t` [ 281s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 281s] | [ 281s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: unused import: `std::cell::RefCell` [ 281s] --> ./src/pkgmgr/server/mod.rs:22:5 [ 281s] | [ 281s] 22 | use std::cell::RefCell; [ 281s] | ^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: unused import: `std::rc::Rc` [ 281s] --> ./src/pkgmgr/server/mod.rs:26:5 [ 281s] | [ 281s] 26 | use std::rc::Rc; [ 281s] | ^^^^^^^^^^^ [ 281s] [ 281s] warning: unused import: `std::process::Command` [ 281s] --> ./src/main.rs:9:5 [ 281s] | [ 281s] 9 | use std::process::Command; [ 281s] | ^^^^^^^^^^^^^^^^^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:5:26 [ 281s] | [ 281s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 281s] | ^^^^^ [ 281s] | [ 281s] = note: `#[warn(deprecated)]` on by default [ 281s] [ 281s] 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 [ 281s] --> ./src/pkgmgr/server/admin_service.rs:5:33 [ 281s] | [ 281s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:20:20 [ 281s] | [ 281s] 20 | const GLOBAL_USER: uid_t = 201; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:322:25 [ 281s] | [ 281s] 322 | let mut caller_uid: uid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:443:25 [ 281s] | [ 281s] 443 | let mut caller_uid: uid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:548:25 [ 281s] | [ 281s] 548 | let mut caller_uid: uid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:595:25 [ 281s] | [ 281s] 595 | let mut caller_uid: uid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:718:25 [ 281s] | [ 281s] 718 | let mut caller_uid: uid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:801:25 [ 281s] | [ 281s] 801 | let mut caller_uid: uid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:853:25 [ 281s] | [ 281s] 853 | let mut caller_uid: uid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:937:25 [ 281s] | [ 281s] 937 | let mut caller_uid: uid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:990:25 [ 281s] | [ 281s] 990 | let mut caller_uid: uid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1015:76 [ 281s] | [ 281s] 1015 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, true) { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1072:25 [ 281s] | [ 281s] 1072 | let mut caller_uid: uid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1097:76 [ 281s] | [ 281s] 1097 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, false) { [ 281s] | ^^^^^ [ 281s] [ 281s] 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 [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1151:25 [ 281s] | [ 281s] 1151 | let mut caller_pid: pid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1152:25 [ 281s] | [ 281s] 1152 | let mut caller_uid: uid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1166:62 [ 281s] | [ 281s] 1166 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1196:66 [ 281s] | [ 281s] 1196 | let ret = Util::RegisterPkgUpdateInfo(handle, uid as uid_t); [ 281s] | ^^^^^ [ 281s] [ 281s] 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 [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1215:25 [ 281s] | [ 281s] 1215 | let mut caller_pid: pid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1216:25 [ 281s] | [ 281s] 1216 | let mut caller_uid: uid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1230:62 [ 281s] | [ 281s] 1230 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1254:109 [ 281s] | [ 281s] 1254 | RequestResult::DELAYED(generated_req_key, Util::UnregisterPkgUpdateInfo(pkg_id.as_ptr(), uid as uid_t)) [ 281s] | ^^^^^ [ 281s] [ 281s] 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 [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1270:25 [ 281s] | [ 281s] 1270 | let mut caller_pid: pid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1271:25 [ 281s] | [ 281s] 1271 | let mut caller_uid: uid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1303:95 [ 281s] | [ 281s] 1303 | RequestResult::DELAYED(generated_req_key, Util::UnregisterAllPkgUpdateInfo(uid as uid_t, caller_uid)) [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1312:45 [ 281s] | [ 281s] 1312 | fn handle_enable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1359:60 [ 281s] | [ 281s] 1359 | fn handle_enable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1371:40 [ 281s] | [ 281s] 1371 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1373:40 [ 281s] | [ 281s] 1373 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1380:36 [ 281s] | [ 281s] 1380 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1382:36 [ 281s] | [ 281s] 1382 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1392:36 [ 281s] | [ 281s] 1392 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1394:36 [ 281s] | [ 281s] 1394 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1400:28 [ 281s] | [ 281s] 1400 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1403:46 [ 281s] | [ 281s] 1403 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1404:59 [ 281s] | [ 281s] 1404 | Util::EnableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1405:32 [ 281s] | [ 281s] 1405 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1409:28 [ 281s] | [ 281s] 1409 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1415:46 [ 281s] | [ 281s] 1415 | fn handle_disable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1463:61 [ 281s] | [ 281s] 1463 | fn handle_disable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1475:40 [ 281s] | [ 281s] 1475 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1477:40 [ 281s] | [ 281s] 1477 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1484:36 [ 281s] | [ 281s] 1484 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1486:36 [ 281s] | [ 281s] 1486 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1496:36 [ 281s] | [ 281s] 1496 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1498:36 [ 281s] | [ 281s] 1498 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1504:28 [ 281s] | [ 281s] 1504 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1507:46 [ 281s] | [ 281s] 1507 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1508:60 [ 281s] | [ 281s] 1508 | Util::DisableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1509:32 [ 281s] | [ 281s] 1509 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1513:28 [ 281s] | [ 281s] 1513 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1535:25 [ 281s] | [ 281s] 1535 | let mut caller_uid: uid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1562:70 [ 281s] | [ 281s] 1562 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1588:25 [ 281s] | [ 281s] 1588 | let mut caller_uid: uid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1615:71 [ 281s] | [ 281s] 1615 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1673:74 [ 281s] | [ 281s] 1673 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1735:75 [ 281s] | [ 281s] 1735 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1765:25 [ 281s] | [ 281s] 1765 | let mut caller_uid: uid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1792:85 [ 281s] | [ 281s] 1792 | RequestResult::VAL(handle_enable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1818:25 [ 281s] | [ 281s] 1818 | let mut caller_uid: uid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1845:86 [ 281s] | [ 281s] 1845 | RequestResult::VAL(handle_disable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1863:40 [ 281s] | [ 281s] 1863 | Util::KillAppsInPkg(pkg_id, uid as uid_t) [ 281s] | ^^^^^ [ 281s] [ 281s] 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 [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1873:25 [ 281s] | [ 281s] 1873 | let mut caller_pid: pid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1874:25 [ 281s] | [ 281s] 1874 | let mut caller_uid: uid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] 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 [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1985:25 [ 281s] | [ 281s] 1985 | let mut caller_pid: pid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:1986:25 [ 281s] | [ 281s] 1986 | let mut caller_uid: uid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] 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 [ 281s] --> ./src/pkgmgr/server/admin_service.rs:2035:25 [ 281s] | [ 281s] 2035 | let mut caller_pid: pid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:2036:25 [ 281s] | [ 281s] 2036 | let mut caller_uid: uid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:2083:54 [ 281s] | [ 281s] 2083 | Util::EnableGlobalAppSplashScreen(app_id, uid as uid_t) [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:2093:55 [ 281s] | [ 281s] 2093 | Util::DisableGlobalAppSplashScreen(app_id, uid as uid_t) [ 281s] | ^^^^^ [ 281s] [ 281s] 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 [ 281s] --> ./src/pkgmgr/server/admin_service.rs:2105:25 [ 281s] | [ 281s] 2105 | let mut caller_pid: pid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:2106:25 [ 281s] | [ 281s] 2106 | let mut caller_uid: uid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:2137:102 [ 281s] | [ 281s] 2137 | RequestResult::DELAYED(generated_req_key, Util::update_app_label(app_id.as_ptr(), uid as uid_t , label.as_ptr())) [ 281s] | ^^^^^ [ 281s] [ 281s] 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 [ 281s] --> ./src/pkgmgr/server/admin_service.rs:2155:25 [ 281s] | [ 281s] 2155 | let mut caller_pid: pid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:2156:25 [ 281s] | [ 281s] 2156 | let mut caller_uid: uid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:2187:101 [ 281s] | [ 281s] 2187 | RequestResult::DELAYED(generated_req_key, Util::update_app_icon(app_id.as_ptr(), uid as uid_t , icon_path.as_ptr())) [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:2312:25 [ 281s] | [ 281s] 2312 | let mut caller_uid: uid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] 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 [ 281s] --> ./src/pkgmgr/server/admin_service.rs:2313:25 [ 281s] | [ 281s] 2313 | let mut caller_pid: pid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:2383:25 [ 281s] | [ 281s] 2383 | let mut caller_uid: uid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] 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 [ 281s] --> ./src/pkgmgr/server/admin_service.rs:2384:25 [ 281s] | [ 281s] 2384 | let mut caller_pid: pid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:2453:25 [ 281s] | [ 281s] 2453 | let mut caller_uid: uid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] 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 [ 281s] --> ./src/pkgmgr/server/admin_service.rs:2454:25 [ 281s] | [ 281s] 2454 | let mut caller_pid: pid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:2532:25 [ 281s] | [ 281s] 2532 | let mut caller_uid: uid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:2622:41 [ 281s] | [ 281s] 2622 | if unsafe { check_valid_path(uid as uid_t, pkg_id, file_path) } != 0 { [ 281s] | ^^^^^ [ 281s] [ 281s] 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 [ 281s] --> ./src/pkgmgr/server/admin_service.rs:2681:19 [ 281s] | [ 281s] 2681 | pid: *mut pid_t, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/admin_service.rs:2682:19 [ 281s] | [ 281s] 2682 | uid: *mut uid_t [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 281s] | [ 281s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 281s] | ^^^^^ [ 281s] [ 281s] 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 [ 281s] --> ./src/pkgmgr/server/backend_context.rs:3:33 [ 281s] | [ 281s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/cache_service.rs:12:26 [ 281s] | [ 281s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 281s] | ^^^^^ [ 281s] [ 281s] 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 [ 281s] --> ./src/pkgmgr/server/cache_service.rs:12:33 [ 281s] | [ 281s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/cache_service.rs:23:14 [ 281s] | [ 281s] 23 | uid: uid_t, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/cache_service.rs:48:17 [ 281s] | [ 281s] 48 | target_uid: uid_t, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/cache_service.rs:53:25 [ 281s] | [ 281s] 53 | let mut caller_uid: uid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] 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 [ 281s] --> ./src/pkgmgr/server/cache_service.rs:106:19 [ 281s] | [ 281s] 106 | pid: *mut pid_t, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/cache_service.rs:107:19 [ 281s] | [ 281s] 107 | uid: *mut uid_t [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 281s] | [ 281s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 281s] | ^^^^^ [ 281s] [ 281s] 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 [ 281s] --> ./src/pkgmgr/server/delayed_service.rs:13:33 [ 281s] | [ 281s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/info_service.rs:2:26 [ 281s] | [ 281s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 281s] | ^^^^^ [ 281s] [ 281s] 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 [ 281s] --> ./src/pkgmgr/server/info_service.rs:2:33 [ 281s] | [ 281s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/info_service.rs:37:90 [ 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] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/info_service.rs:38:94 [ 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] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/info_service.rs:40:88 [ 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] | ^^^^^ [ 281s] [ 281s] 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 [ 281s] --> ./src/pkgmgr/server/info_service.rs:40:128 [ 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] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/info_service.rs:54:17 [ 281s] | [ 281s] 54 | target_uid: uid_t, [ 281s] | ^^^^^ [ 281s] [ 281s] 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 [ 281s] --> ./src/pkgmgr/server/info_service.rs:60:25 [ 281s] | [ 281s] 60 | let mut caller_pid: pid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/info_service.rs:61:25 [ 281s] | [ 281s] 61 | let mut caller_uid: uid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/info_service.rs:114:17 [ 281s] | [ 281s] 114 | target_uid: uid_t, [ 281s] | ^^^^^ [ 281s] [ 281s] 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 [ 281s] --> ./src/pkgmgr/server/info_service.rs:120:25 [ 281s] | [ 281s] 120 | let mut caller_pid: pid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/info_service.rs:121:25 [ 281s] | [ 281s] 121 | let mut caller_uid: uid_t = 0; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/info_service.rs:223:17 [ 281s] | [ 281s] 223 | target_uid: uid_t, [ 281s] | ^^^^^ [ 281s] [ 281s] 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 [ 281s] --> ./src/pkgmgr/server/info_service.rs:225:15 [ 281s] | [ 281s] 225 | pid: *mut pid_t, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/info_service.rs:228:43 [ 281s] | [ 281s] 228 | Util::check_app(pkg_id, target_uid as uid_t, pid) [ 281s] | ^^^^^ [ 281s] [ 281s] 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 [ 281s] --> ./src/pkgmgr/server/info_service.rs:242:19 [ 281s] | [ 281s] 242 | pid: *mut pid_t, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/info_service.rs:243:19 [ 281s] | [ 281s] 243 | uid: *mut uid_t [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/signal.rs:2:26 [ 281s] | [ 281s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 281s] | ^^^^^ [ 281s] [ 281s] 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 [ 281s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 281s] | [ 281s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/signal.rs:99:20 [ 281s] | [ 281s] 99 | const GLOBAL_USER: uid_t = 201; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/signal.rs:101:33 [ 281s] | [ 281s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/signal.rs:101:47 [ 281s] | [ 281s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/signal.rs:102:26 [ 281s] | [ 281s] 102 | let mut uid_vec: Vec = vec![]; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/signal.rs:110:28 [ 281s] | [ 281s] 110 | let mut uids: *mut uid_t = std::ptr::null_mut(); [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/signal.rs:124:14 [ 281s] | [ 281s] 124 | uid: uid_t, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/signal.rs:53:44 [ 281s] | [ 281s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/signal.rs:62:14 [ 281s] | [ 281s] 62 | uid: uid_t, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/signal.rs:86:14 [ 281s] | [ 281s] 86 | uid: uid_t, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/signal.rs:40:30 [ 281s] | [ 281s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 281s] | ^^^^^ [ 281s] [ 281s] 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 [ 281s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 281s] | [ 281s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/signal.rs:44:45 [ 281s] | [ 281s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:4:26 [ 281s] | [ 281s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 281s] | ^^^^^ [ 281s] [ 281s] 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 [ 281s] --> ./src/pkgmgr/server/util.rs:4:33 [ 281s] | [ 281s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:22:21 [ 281s] | [ 281s] 22 | const REGULAR_USER: uid_t = 5000; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:23:20 [ 281s] | [ 281s] 23 | const GLOBAL_USER: uid_t = 201; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:25:18 [ 281s] | [ 281s] 25 | const APPFW_UID: uid_t = 301; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:307:36 [ 281s] | [ 281s] 307 | let uid : uid_t = user_data as uid_t; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:307:15 [ 281s] | [ 281s] 307 | let uid : uid_t = user_data as uid_t; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:326:81 [ 281s] | [ 281s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 281s] | ^^^^^ [ 281s] [ 281s] 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 [ 281s] --> ./src/pkgmgr/server/util.rs:326:93 [ 281s] | [ 281s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:326:25 [ 281s] | [ 281s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 281s] | ^^^^^ [ 281s] [ 281s] 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 [ 281s] --> ./src/pkgmgr/server/util.rs:326:37 [ 281s] | [ 281s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:389:57 [ 281s] | [ 281s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:420:55 [ 281s] | [ 281s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:686:62 [ 281s] | [ 281s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:696:63 [ 281s] | [ 281s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:706:44 [ 281s] | [ 281s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:706:63 [ 281s] | [ 281s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:728:49 [ 281s] | [ 281s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:738:50 [ 281s] | [ 281s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:747:55 [ 281s] | [ 281s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:757:56 [ 281s] | [ 281s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:766:61 [ 281s] | [ 281s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:775:62 [ 281s] | [ 281s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:784:67 [ 281s] | [ 281s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:793:68 [ 281s] | [ 281s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:802:54 [ 281s] | [ 281s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 281s] | ^^^^^ [ 281s] [ 281s] 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 [ 281s] --> ./src/pkgmgr/server/util.rs:802:64 [ 281s] | [ 281s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:813:47 [ 281s] | [ 281s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:835:53 [ 281s] | [ 281s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:855:25 [ 281s] | [ 281s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:983:69 [ 281s] | [ 281s] 983 | pub fn get_application_info_by_appid(appid: *const c_char, uid: uid_t) -> Option<(CString, bool)> { [ 281s] | ^^^^^ [ 281s] [ 281s] 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 [ 281s] --> ./src/pkgmgr/server/util.rs:1012:41 [ 281s] | [ 281s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:1012:53 [ 281s] | [ 281s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:1029:71 [ 281s] | [ 281s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:1029:90 [ 281s] | [ 281s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:1076:56 [ 281s] | [ 281s] 1076 | pub fn update_app_label(appid: *const c_char, uid: uid_t, label: *const c_char) -> c_int { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:1080:55 [ 281s] | [ 281s] 1080 | pub fn update_app_icon(appid: *const c_char, uid: uid_t, icon_path: *const c_char) -> c_int { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:1108:49 [ 281s] | [ 281s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 281s] | ^^^^^ [ 281s] [ 281s] 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 [ 281s] --> ./src/pkgmgr/server/util.rs:1108:66 [ 281s] | [ 281s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:156:14 [ 281s] | [ 281s] 156 | uid: uid_t, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:166:14 [ 281s] | [ 281s] 166 | uid: uid_t, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:180:14 [ 281s] | [ 281s] 180 | uid: uid_t [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:185:14 [ 281s] | [ 281s] 185 | uid: uid_t [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:189:14 [ 281s] | [ 281s] 189 | uid: uid_t [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:194:14 [ 281s] | [ 281s] 194 | uid: uid_t, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:200:14 [ 281s] | [ 281s] 200 | uid: uid_t, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:206:14 [ 281s] | [ 281s] 206 | uid: uid_t, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:212:14 [ 281s] | [ 281s] 212 | uid: uid_t, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:218:14 [ 281s] | [ 281s] 218 | uid: uid_t, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:224:14 [ 281s] | [ 281s] 224 | uid: uid_t, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:237:32 [ 281s] | [ 281s] 237 | fn gum_user_get_sync(uid : uid_t, offline : c_int) -> *mut c_void; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:266:21 [ 281s] | [ 281s] 266 | caller_uid: uid_t [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:274:14 [ 281s] | [ 281s] 274 | uid: uid_t, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:40:30 [ 281s] | [ 281s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 281s] | ^^^^^ [ 281s] [ 281s] 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 [ 281s] --> ./src/pkgmgr/server/util.rs:40:37 [ 281s] | [ 281s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:46:18 [ 281s] | [ 281s] 46 | uid: uid_t, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:52:18 [ 281s] | [ 281s] 52 | uid: uid_t, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:67:18 [ 281s] | [ 281s] 67 | uid: uid_t, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:101:18 [ 281s] | [ 281s] 101 | uid: uid_t, [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:122:70 [ 281s] | [ 281s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:123:66 [ 281s] | [ 281s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:124:59 [ 281s] | [ 281s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/util.rs:125:97 [ 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: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 281s] | [ 281s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 281s] | ^^^^^ [ 281s] [ 281s] 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 [ 281s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 281s] | [ 281s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/test/signal_tests.rs:12:26 [ 281s] | [ 281s] 12 | let mut uid_vec: Vec = vec![]; [ 281s] | ^^^^^ [ 281s] [ 281s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 281s] --> ./src/pkgmgr/server/test/signal_tests.rs:19:26 [ 281s] | [ 281s] 19 | let mut uid_vec: Vec = vec![]; [ 281s] | ^^^^^ [ 281s] [ 284s] warning: unreachable expression [ 284s] --> ./src/pkgmgr/server/backend_queue.rs:64:5 [ 284s] | [ 284s] 61 | return G_SOURCE_CONTINUE; [ 284s] | ------------------------ any code following this expression is unreachable [ 284s] ... [ 284s] 64 | 1 [ 284s] | ^ unreachable expression [ 284s] | [ 284s] = note: `#[warn(unreachable_code)]` on by default [ 284s] [ 288s] warning: unused import: `super::super::super::server::service::Service` [ 288s] --> ./src/pkgmgr/server/test/info_service_tests.rs:3:5 [ 288s] | [ 288s] 3 | use super::super::super::server::service::Service; [ 288s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 288s] [ 288s] warning: unused variable: `context` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:297:5 [ 288s] | [ 288s] 297 | context: *mut c_void, [ 288s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 288s] | [ 288s] = note: `#[warn(unused_variables)]` on by default [ 288s] [ 288s] warning: unused variable: `context` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:306:5 [ 288s] | [ 288s] 306 | context: *mut c_void, [ 288s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 288s] [ 288s] warning: unused variable: `user_data` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:307:5 [ 288s] | [ 288s] 307 | user_data: *mut c_void, [ 288s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 288s] [ 288s] warning: unused variable: `ret` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:323:9 [ 288s] | [ 288s] 323 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 288s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 288s] [ 288s] warning: unused variable: `req_id` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:318:5 [ 288s] | [ 288s] 318 | req_id: *const c_char, [ 288s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 288s] [ 288s] warning: variable does not need to be mutable [ 288s] --> ./src/pkgmgr/server/admin_service.rs:415:9 [ 288s] | [ 288s] 415 | let mut backend_context = BackendContext::new( [ 288s] | ----^^^^^^^^^^^^^^^ [ 288s] | | [ 288s] | help: remove this `mut` [ 288s] | [ 288s] = note: `#[warn(unused_mut)]` on by default [ 288s] [ 288s] warning: unused variable: `ret` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:444:9 [ 288s] | [ 288s] 444 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 288s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 288s] [ 288s] warning: unused variable: `req_id` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:434:5 [ 288s] | [ 288s] 434 | req_id: *const c_char, [ 288s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 288s] [ 288s] warning: variable does not need to be mutable [ 288s] --> ./src/pkgmgr/server/admin_service.rs:510:9 [ 288s] | [ 288s] 510 | let mut backend_context = BackendContext::new( [ 288s] | ----^^^^^^^^^^^^^^^ [ 288s] | | [ 288s] | help: remove this `mut` [ 288s] [ 288s] warning: unused variable: `ret` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:549:9 [ 288s] | [ 288s] 549 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 288s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 288s] [ 288s] warning: variable does not need to be mutable [ 288s] --> ./src/pkgmgr/server/admin_service.rs:571:9 [ 288s] | [ 288s] 571 | let mut backend_context = BackendContext::new( [ 288s] | ----^^^^^^^^^^^^^^^ [ 288s] | | [ 288s] | help: remove this `mut` [ 288s] [ 288s] warning: unused variable: `ret` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:596:9 [ 288s] | [ 288s] 596 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 288s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 288s] [ 288s] warning: unused variable: `req_id` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:591:5 [ 288s] | [ 288s] 591 | req_id: *const c_char, [ 288s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 288s] [ 288s] warning: variable does not need to be mutable [ 288s] --> ./src/pkgmgr/server/admin_service.rs:688:9 [ 288s] | [ 288s] 688 | let mut backend_context = BackendContext::new( [ 288s] | ----^^^^^^^^^^^^^^^ [ 288s] | | [ 288s] | help: remove this `mut` [ 288s] [ 288s] warning: unused variable: `ret` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:719:9 [ 288s] | [ 288s] 719 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 288s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 288s] [ 288s] warning: unused variable: `req_id` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:706:5 [ 288s] | [ 288s] 706 | req_id: *const c_char, [ 288s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 288s] [ 288s] warning: variable does not need to be mutable [ 288s] --> ./src/pkgmgr/server/admin_service.rs:763:9 [ 288s] | [ 288s] 763 | let mut backend_context = BackendContext::new( [ 288s] | ----^^^^^^^^^^^^^^^ [ 288s] | | [ 288s] | help: remove this `mut` [ 288s] [ 288s] warning: unused variable: `ret` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:802:9 [ 288s] | [ 288s] 802 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 288s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 288s] [ 288s] warning: variable does not need to be mutable [ 288s] --> ./src/pkgmgr/server/admin_service.rs:824:9 [ 288s] | [ 288s] 824 | let mut backend_context = BackendContext::new( [ 288s] | ----^^^^^^^^^^^^^^^ [ 288s] | | [ 288s] | help: remove this `mut` [ 288s] [ 288s] warning: unused variable: `ret` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:854:9 [ 288s] | [ 288s] 854 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 288s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 288s] [ 288s] warning: variable does not need to be mutable [ 288s] --> ./src/pkgmgr/server/admin_service.rs:898:9 [ 288s] | [ 288s] 898 | let mut backend_context = BackendContext::new( [ 288s] | ----^^^^^^^^^^^^^^^ [ 288s] | | [ 288s] | help: remove this `mut` [ 288s] [ 288s] warning: unused variable: `ret` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:938:9 [ 288s] | [ 288s] 938 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 288s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 288s] [ 288s] warning: variable does not need to be mutable [ 288s] --> ./src/pkgmgr/server/admin_service.rs:961:9 [ 288s] | [ 288s] 961 | let mut backend_context = BackendContext::new( [ 288s] | ----^^^^^^^^^^^^^^^ [ 288s] | | [ 288s] | help: remove this `mut` [ 288s] [ 288s] warning: unused variable: `ret` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:991:9 [ 288s] | [ 288s] 991 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 288s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 288s] [ 288s] warning: variable does not need to be mutable [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1038:17 [ 288s] | [ 288s] 1038 | let mut backend_context = BackendContext::new( [ 288s] | ----^^^^^^^^^^^^^^^ [ 288s] | | [ 288s] | help: remove this `mut` [ 288s] [ 288s] warning: unused variable: `ret` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1073:9 [ 288s] | [ 288s] 1073 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 288s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 288s] [ 288s] warning: variable does not need to be mutable [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1123:17 [ 288s] | [ 288s] 1123 | let mut backend_context = BackendContext::new( [ 288s] | ----^^^^^^^^^^^^^^^ [ 288s] | | [ 288s] | help: remove this `mut` [ 288s] [ 288s] warning: unused variable: `pkg_id` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1186:9 [ 288s] | [ 288s] 1186 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) }); [ 288s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 288s] [ 288s] warning: variable does not need to be mutable [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1180:9 [ 288s] | [ 288s] 1180 | let mut handle : *mut c_void = Util::CreatePkgUpdateInfo(pkg_id, version, update_type); [ 288s] | ----^^^^^^ [ 288s] | | [ 288s] | help: remove this `mut` [ 288s] [ 288s] warning: variable does not need to be mutable [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1190:9 [ 288s] | [ 288s] 1190 | let mut backend_context = BackendContext::new( [ 288s] | ----^^^^^^^^^^^^^^^ [ 288s] | | [ 288s] | help: remove this `mut` [ 288s] [ 288s] warning: variable does not need to be mutable [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1248:9 [ 288s] | [ 288s] 1248 | let mut backend_context = BackendContext::new( [ 288s] | ----^^^^^^^^^^^^^^^ [ 288s] | | [ 288s] | help: remove this `mut` [ 288s] [ 288s] warning: variable does not need to be mutable [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1297:9 [ 288s] | [ 288s] 1297 | let mut backend_context = BackendContext::new( [ 288s] | ----^^^^^^^^^^^^^^^ [ 288s] | | [ 288s] | help: remove this `mut` [ 288s] [ 288s] warning: unused variable: `is_global` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1321:17 [ 288s] | [ 288s] 1321 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 288s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 288s] [ 288s] warning: unused variable: `is_global` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1368:17 [ 288s] | [ 288s] 1368 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 288s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 288s] [ 288s] warning: unused variable: `is_global` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1424:17 [ 288s] | [ 288s] 1424 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 288s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 288s] [ 288s] warning: unused variable: `is_global` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1472:17 [ 288s] | [ 288s] 1472 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 288s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 288s] [ 288s] warning: unused variable: `caller_uid` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1535:13 [ 288s] | [ 288s] 1535 | let mut caller_uid: uid_t = 0; [ 288s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 288s] [ 288s] warning: unused variable: `context` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1521:5 [ 288s] | [ 288s] 1521 | context: *mut c_void, [ 288s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 288s] [ 288s] warning: variable does not need to be mutable [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1535:9 [ 288s] | [ 288s] 1535 | let mut caller_uid: uid_t = 0; [ 288s] | ----^^^^^^^^^^ [ 288s] | | [ 288s] | help: remove this `mut` [ 288s] [ 288s] warning: variable does not need to be mutable [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1558:13 [ 288s] | [ 288s] 1558 | let mut backend_context = BackendContext::new( [ 288s] | ----^^^^^^^^^^^^^^^ [ 288s] | | [ 288s] | help: remove this `mut` [ 288s] [ 288s] warning: unused variable: `caller_uid` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1588:13 [ 288s] | [ 288s] 1588 | let mut caller_uid: uid_t = 0; [ 288s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 288s] [ 288s] warning: unused variable: `context` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1574:5 [ 288s] | [ 288s] 1574 | context: *mut c_void, [ 288s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 288s] [ 288s] warning: variable does not need to be mutable [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1588:9 [ 288s] | [ 288s] 1588 | let mut caller_uid: uid_t = 0; [ 288s] | ----^^^^^^^^^^ [ 288s] | | [ 288s] | help: remove this `mut` [ 288s] [ 288s] warning: variable does not need to be mutable [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1611:13 [ 288s] | [ 288s] 1611 | let mut backend_context = BackendContext::new( [ 288s] | ----^^^^^^^^^^^^^^^ [ 288s] | | [ 288s] | help: remove this `mut` [ 288s] [ 288s] warning: unused variable: `context` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1627:5 [ 288s] | [ 288s] 1627 | context: *mut c_void, [ 288s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 288s] [ 288s] warning: variable does not need to be mutable [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1669:17 [ 288s] | [ 288s] 1669 | let mut backend_context = BackendContext::new( [ 288s] | ----^^^^^^^^^^^^^^^ [ 288s] | | [ 288s] | help: remove this `mut` [ 288s] [ 288s] warning: unused variable: `context` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1689:5 [ 288s] | [ 288s] 1689 | context: *mut c_void, [ 288s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 288s] [ 288s] warning: variable does not need to be mutable [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1731:17 [ 288s] | [ 288s] 1731 | let mut backend_context = BackendContext::new( [ 288s] | ----^^^^^^^^^^^^^^^ [ 288s] | | [ 288s] | help: remove this `mut` [ 288s] [ 288s] warning: unused variable: `caller_uid` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1765:13 [ 288s] | [ 288s] 1765 | let mut caller_uid: uid_t = 0; [ 288s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 288s] [ 288s] warning: unused variable: `context` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1751:5 [ 288s] | [ 288s] 1751 | context: *mut c_void, [ 288s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 288s] [ 288s] warning: variable does not need to be mutable [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1765:9 [ 288s] | [ 288s] 1765 | let mut caller_uid: uid_t = 0; [ 288s] | ----^^^^^^^^^^ [ 288s] | | [ 288s] | help: remove this `mut` [ 288s] [ 288s] warning: variable does not need to be mutable [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1788:13 [ 288s] | [ 288s] 1788 | let mut backend_context = BackendContext::new( [ 288s] | ----^^^^^^^^^^^^^^^ [ 288s] | | [ 288s] | help: remove this `mut` [ 288s] [ 288s] warning: unused variable: `caller_uid` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1818:13 [ 288s] | [ 288s] 1818 | let mut caller_uid: uid_t = 0; [ 288s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 288s] [ 288s] warning: unused variable: `context` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1804:5 [ 288s] | [ 288s] 1804 | context: *mut c_void, [ 288s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 288s] [ 288s] warning: variable does not need to be mutable [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1818:9 [ 288s] | [ 288s] 1818 | let mut caller_uid: uid_t = 0; [ 288s] | ----^^^^^^^^^^ [ 288s] | | [ 288s] | help: remove this `mut` [ 288s] [ 288s] warning: variable does not need to be mutable [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1841:13 [ 288s] | [ 288s] 1841 | let mut backend_context = BackendContext::new( [ 288s] | ----^^^^^^^^^^^^^^^ [ 288s] | | [ 288s] | help: remove this `mut` [ 288s] [ 288s] warning: unused variable: `context` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1857:5 [ 288s] | [ 288s] 1857 | context: *mut c_void, [ 288s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 288s] [ 288s] warning: unused variable: `pid` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1860:5 [ 288s] | [ 288s] 1860 | pid: *mut c_int, [ 288s] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [ 288s] [ 288s] warning: unused variable: `user_data` [ 288s] --> ./src/pkgmgr/server/admin_service.rs:1861:5 [ 288s] | [ 288s] 1861 | user_data: *mut c_void, [ 288s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 288s] [ 289s] warning: variable does not need to be mutable [ 289s] --> ./src/pkgmgr/server/admin_service.rs:1900:9 [ 289s] | [ 289s] 1900 | let mut backend_context = BackendContext::new( [ 289s] | ----^^^^^^^^^^^^^^^ [ 289s] | | [ 289s] | help: remove this `mut` [ 289s] [ 289s] warning: unused variable: `context` [ 289s] --> ./src/pkgmgr/server/admin_service.rs:1932:5 [ 289s] | [ 289s] 1932 | context: *mut c_void, [ 289s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 289s] [ 289s] warning: variable does not need to be mutable [ 289s] --> ./src/pkgmgr/server/admin_service.rs:2012:9 [ 289s] | [ 289s] 2012 | let mut backend_context = BackendContext::new( [ 289s] | ----^^^^^^^^^^^^^^^ [ 289s] | | [ 289s] | help: remove this `mut` [ 289s] [ 289s] warning: variable does not need to be mutable [ 289s] --> ./src/pkgmgr/server/admin_service.rs:2063:9 [ 289s] | [ 289s] 2063 | let mut backend_context = BackendContext::new( [ 289s] | ----^^^^^^^^^^^^^^^ [ 289s] | | [ 289s] | help: remove this `mut` [ 289s] [ 289s] warning: unused variable: `context` [ 289s] --> ./src/pkgmgr/server/admin_service.rs:2078:5 [ 289s] | [ 289s] 2078 | context: *mut c_void, [ 289s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 289s] [ 289s] warning: unused variable: `user_data` [ 289s] --> ./src/pkgmgr/server/admin_service.rs:2081:5 [ 289s] | [ 289s] 2081 | user_data: *mut c_void, [ 289s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 289s] [ 289s] warning: unused variable: `context` [ 289s] --> ./src/pkgmgr/server/admin_service.rs:2088:5 [ 289s] | [ 289s] 2088 | context: *mut c_void, [ 289s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 289s] [ 289s] warning: unused variable: `user_data` [ 289s] --> ./src/pkgmgr/server/admin_service.rs:2091:5 [ 289s] | [ 289s] 2091 | user_data: *mut c_void, [ 289s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 289s] [ 289s] warning: variable does not need to be mutable [ 289s] --> ./src/pkgmgr/server/admin_service.rs:2133:9 [ 289s] | [ 289s] 2133 | let mut backend_context = BackendContext::new( [ 289s] | ----^^^^^^^^^^^^^^^ [ 289s] | | [ 289s] | help: remove this `mut` [ 289s] [ 289s] warning: variable does not need to be mutable [ 289s] --> ./src/pkgmgr/server/admin_service.rs:2183:9 [ 289s] | [ 289s] 2183 | let mut backend_context = BackendContext::new( [ 289s] | ----^^^^^^^^^^^^^^^ [ 289s] | | [ 289s] | help: remove this `mut` [ 289s] [ 289s] warning: unused variable: `context` [ 289s] --> ./src/pkgmgr/server/admin_service.rs:2198:5 [ 289s] | [ 289s] 2198 | context: *mut c_void, [ 289s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 289s] [ 289s] warning: unused variable: `uid` [ 289s] --> ./src/pkgmgr/server/admin_service.rs:2199:5 [ 289s] | [ 289s] 2199 | uid: c_int, [ 289s] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [ 289s] [ 289s] warning: unused variable: `pkg_id` [ 289s] --> ./src/pkgmgr/server/admin_service.rs:2200:5 [ 289s] | [ 289s] 2200 | pkg_id: *const c_char, [ 289s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 289s] [ 289s] warning: unused variable: `user_data` [ 289s] --> ./src/pkgmgr/server/admin_service.rs:2201:5 [ 289s] | [ 289s] 2201 | user_data: *mut c_void, [ 289s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 289s] [ 289s] warning: variable does not need to be mutable [ 289s] --> ./src/pkgmgr/server/admin_service.rs:2364:9 [ 289s] | [ 289s] 2364 | let mut backend_context = BackendContext::new( [ 289s] | ----^^^^^^^^^^^^^^^ [ 289s] | | [ 289s] | help: remove this `mut` [ 289s] [ 289s] warning: variable does not need to be mutable [ 289s] --> ./src/pkgmgr/server/admin_service.rs:2434:9 [ 289s] | [ 289s] 2434 | let mut backend_context = BackendContext::new( [ 289s] | ----^^^^^^^^^^^^^^^ [ 289s] | | [ 289s] | help: remove this `mut` [ 289s] [ 289s] warning: variable does not need to be mutable [ 289s] --> ./src/pkgmgr/server/admin_service.rs:2504:9 [ 289s] | [ 289s] 2504 | let mut backend_context = BackendContext::new( [ 289s] | ----^^^^^^^^^^^^^^^ [ 289s] | | [ 289s] | help: remove this `mut` [ 289s] [ 289s] warning: unused variable: `ret` [ 289s] --> ./src/pkgmgr/server/admin_service.rs:2533:9 [ 289s] | [ 289s] 2533 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 289s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 289s] [ 289s] warning: variable does not need to be mutable [ 289s] --> ./src/pkgmgr/server/admin_service.rs:2552:9 [ 289s] | [ 289s] 2552 | let mut backend_context = BackendContext::new( [ 289s] | ----^^^^^^^^^^^^^^^ [ 289s] | | [ 289s] | help: remove this `mut` [ 289s] [ 289s] warning: unused variable: `context` [ 289s] --> ./src/pkgmgr/server/admin_service.rs:2567:5 [ 289s] | [ 289s] 2567 | context: *mut c_void, [ 289s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 289s] [ 289s] warning: variable does not need to be mutable [ 289s] --> ./src/pkgmgr/server/admin_service.rs:2597:9 [ 289s] | [ 289s] 2597 | let mut backend_context = BackendContext::new( [ 289s] | ----^^^^^^^^^^^^^^^ [ 289s] | | [ 289s] | help: remove this `mut` [ 289s] [ 289s] warning: unused variable: `context` [ 289s] --> ./src/pkgmgr/server/admin_service.rs:2612:5 [ 289s] | [ 289s] 2612 | context: *mut c_void, [ 289s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 289s] [ 289s] warning: variable does not need to be mutable [ 289s] --> ./src/pkgmgr/server/admin_service.rs:2656:9 [ 289s] | [ 289s] 2656 | let mut backend_context = BackendContext::new( [ 289s] | ----^^^^^^^^^^^^^^^ [ 289s] | | [ 289s] | help: remove this `mut` [ 289s] [ 289s] warning: unused variable: `status` [ 289s] --> ./src/pkgmgr/server/backend_queue.rs:38:17 [ 289s] | [ 289s] 38 | let mut status: c_int; [ 289s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [ 289s] [ 289s] warning: unused variable: `io` [ 289s] --> ./src/pkgmgr/server/backend_queue.rs:30:33 [ 289s] | [ 289s] 30 | extern "C" fn signal_handler_cb(io: *mut glib_sys::GIOChannel, [ 289s] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [ 289s] [ 289s] warning: unused variable: `cond` [ 289s] --> ./src/pkgmgr/server/backend_queue.rs:31:9 [ 289s] | [ 289s] 31 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 289s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 289s] [ 289s] warning: variable does not need to be mutable [ 289s] --> ./src/pkgmgr/server/backend_queue.rs:71:9 [ 289s] | [ 289s] 71 | let mut mut_queue = queue.borrow_mut(); [ 289s] | ----^^^^^^^^^ [ 289s] | | [ 289s] | help: remove this `mut` [ 289s] [ 289s] warning: variable does not need to be mutable [ 289s] --> ./src/pkgmgr/server/backend_queue.rs:189:28 [ 289s] | [ 289s] 189 | pub fn push(&mut self, mut context: BackendContext) -> i32 { [ 289s] | ----^^^^^^^ [ 289s] | | [ 289s] | help: remove this `mut` [ 289s] [ 289s] warning: unused variable: `req_key` [ 289s] --> ./src/pkgmgr/server/backend_queue.rs:296:41 [ 289s] | [ 289s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 289s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_key` [ 289s] [ 289s] warning: unused variable: `ret` [ 289s] --> ./src/pkgmgr/server/backend_queue.rs:296:50 [ 289s] | [ 289s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 289s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 289s] [ 289s] warning: unused variable: `s` [ 289s] --> ./src/pkgmgr/server/backend_queue.rs:296:55 [ 289s] | [ 289s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 289s] | ^ help: if this is intentional, prefix it with an underscore: `_s` [ 289s] [ 289s] warning: variable does not need to be mutable [ 289s] --> ./src/pkgmgr/server/backend_queue.rs:278:25 [ 289s] | [ 289s] 278 | let mut backend: &mut Backend = backend.unwrap(); [ 289s] | ----^^^^^^^ [ 289s] | | [ 289s] | help: remove this `mut` [ 289s] [ 289s] warning: unused variable: `context` [ 289s] --> ./src/pkgmgr/server/cache_service.rs:31:5 [ 289s] | [ 289s] 31 | context: *mut c_void, [ 289s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 289s] [ 289s] warning: unused variable: `context` [ 289s] --> ./src/pkgmgr/server/cache_service.rs:40:5 [ 289s] | [ 289s] 40 | context: *mut c_void, [ 289s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 289s] [ 289s] warning: unused variable: `user_data` [ 289s] --> ./src/pkgmgr/server/cache_service.rs:41:5 [ 289s] | [ 289s] 41 | user_data: *mut c_void, [ 289s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 289s] [ 289s] warning: unused variable: `ret` [ 289s] --> ./src/pkgmgr/server/cache_service.rs:54:9 [ 289s] | [ 289s] 54 | let ret = unsafe { rpc_port_stub_PkgMgrForClearCache_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 289s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 289s] [ 289s] warning: value assigned to `pkg_type` is never read [ 289s] --> ./src/pkgmgr/server/cache_service.rs:63:13 [ 289s] | [ 289s] 63 | let mut pkg_type: String = String::new(); [ 289s] | ^^^^^^^^ [ 289s] | [ 289s] = help: maybe it is overwritten before being read? [ 289s] = note: `#[warn(unused_assignments)]` on by default [ 289s] [ 289s] warning: variable does not need to be mutable [ 289s] --> ./src/pkgmgr/server/cache_service.rs:83:9 [ 289s] | [ 289s] 83 | let mut backend_context = BackendContext::new( [ 289s] | ----^^^^^^^^^^^^^^^ [ 289s] | | [ 289s] | help: remove this `mut` [ 289s] [ 289s] warning: unused variable: `context` [ 289s] --> ./src/pkgmgr/server/delayed_service.rs:32:5 [ 289s] | [ 289s] 32 | context: *mut c_void, [ 289s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 289s] [ 289s] warning: unused variable: `context` [ 289s] --> ./src/pkgmgr/server/delayed_service.rs:41:5 [ 289s] | [ 289s] 41 | context: *mut c_void, [ 289s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 289s] [ 289s] warning: unused variable: `user_data` [ 289s] --> ./src/pkgmgr/server/delayed_service.rs:42:5 [ 289s] | [ 289s] 42 | user_data: *mut c_void, [ 289s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 289s] [ 289s] warning: unused variable: `context` [ 289s] --> ./src/pkgmgr/server/delayed_service.rs:48:5 [ 289s] | [ 289s] 48 | context: *mut c_void, [ 289s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 289s] [ 289s] warning: unused variable: `context` [ 289s] --> ./src/pkgmgr/server/info_service.rs:43:55 [ 289s] | [ 289s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 289s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 289s] [ 289s] warning: unused variable: `context` [ 289s] --> ./src/pkgmgr/server/info_service.rs:48:58 [ 289s] | [ 289s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 289s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 289s] [ 289s] warning: unused variable: `user_data` [ 289s] --> ./src/pkgmgr/server/info_service.rs:48:80 [ 289s] | [ 289s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 289s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 289s] [ 289s] warning: variable does not need to be mutable [ 289s] --> ./src/pkgmgr/server/info_service.rs:98:9 [ 289s] | [ 289s] 98 | let mut backend_context = BackendContext::new( [ 289s] | ----^^^^^^^^^^^^^^^ [ 289s] | | [ 289s] | help: remove this `mut` [ 289s] [ 289s] warning: variable does not need to be mutable [ 289s] --> ./src/pkgmgr/server/info_service.rs:160:9 [ 289s] | [ 289s] 160 | let mut backend_context = BackendContext::new( [ 289s] | ----^^^^^^^^^^^^^^^ [ 289s] | | [ 289s] | help: remove this `mut` [ 289s] [ 289s] warning: unused variable: `context` [ 289s] --> ./src/pkgmgr/server/info_service.rs:195:5 [ 289s] | [ 289s] 195 | context: *mut c_void, [ 289s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 289s] [ 289s] warning: unused variable: `context` [ 289s] --> ./src/pkgmgr/server/info_service.rs:222:5 [ 289s] | [ 289s] 222 | context: *mut c_void, [ 289s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 289s] [ 289s] warning: unused variable: `user_data` [ 289s] --> ./src/pkgmgr/server/info_service.rs:226:5 [ 289s] | [ 289s] 226 | user_data: *mut c_void [ 289s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 289s] [ 290s] warning: variable does not need to be mutable [ 290s] --> ./src/pkgmgr/server/signal.rs:144:13 [ 290s] | [ 290s] 144 | let mut c_req_type: c_int; [ 290s] | ----^^^^^^^^^^ [ 290s] | | [ 290s] | help: remove this `mut` [ 290s] [ 293s] warning: value assigned to `size_result` is never read [ 293s] --> ./src/pkgmgr/server/util.rs:351:17 [ 293s] | [ 293s] 351 | let mut size_result: i64 = -1; [ 293s] | ^^^^^^^^^^^ [ 293s] | [ 293s] = help: maybe it is overwritten before being read? [ 293s] [ 293s] warning: unused variable: `cond` [ 293s] --> ./src/pkgmgr/server/util.rs:341:9 [ 293s] | [ 293s] 341 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 293s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 293s] [ 293s] warning: value assigned to `ret` is never read [ 293s] --> ./src/pkgmgr/server/util.rs:425:21 [ 293s] | [ 293s] 425 | let mut ret: c_int = 0; [ 293s] | ^^^ [ 293s] | [ 293s] = help: maybe it is overwritten before being read? [ 293s] [ 293s] warning: unreachable pattern [ 293s] --> ./src/pkgmgr/server/util.rs:478:17 [ 293s] | [ 293s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 293s] | -------------------------------------- matches any value [ 293s] ... [ 293s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 293s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 293s] | [ 293s] = note: `#[warn(unreachable_patterns)]` on by default [ 293s] [ 293s] warning: unreachable pattern [ 293s] --> ./src/pkgmgr/server/util.rs:483:17 [ 293s] | [ 293s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 293s] | -------------------------------------- matches any value [ 293s] ... [ 293s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 293s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 293s] [ 293s] warning: unreachable pattern [ 293s] --> ./src/pkgmgr/server/util.rs:488:17 [ 293s] | [ 293s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 293s] | -------------------------------------- matches any value [ 293s] ... [ 293s] 488 | _ => { [ 293s] | ^ unreachable pattern [ 293s] [ 293s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 293s] --> ./src/pkgmgr/server/util.rs:473:17 [ 293s] | [ 293s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 293s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 293s] [ 293s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_TEXT` [ 293s] --> ./src/pkgmgr/server/util.rs:478:17 [ 293s] | [ 293s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 293s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_TEXT` [ 293s] [ 293s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 293s] --> ./src/pkgmgr/server/util.rs:483:17 [ 293s] | [ 293s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 293s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 293s] [ 293s] warning: variable does not need to be mutable [ 293s] --> ./src/pkgmgr/server/util.rs:519:13 [ 293s] | [ 293s] 519 | let mut attr = xmlTextReaderGetAttribute(reader, RES_TYPE_ATTRIBUTE_KEY.as_ptr()); [ 293s] | ----^^^^ [ 293s] | | [ 293s] | help: remove this `mut` [ 293s] [ 293s] warning: variable does not need to be mutable [ 293s] --> ./src/pkgmgr/server/util.rs:588:13 [ 293s] | [ 293s] 588 | let mut reader = [ 293s] | ----^^^^^^ [ 293s] | | [ 293s] | help: remove this `mut` [ 293s] [ 293s] warning: unused variable: `gid` [ 293s] --> ./src/pkgmgr/server/util.rs:891:52 [ 293s] | [ 293s] 891 | fn set_environment(mut envs: Vec<&mut String>, gid: libc::gid_t) -> bool { [ 293s] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [ 293s] [ 293s] warning: unused variable: `x` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:15:38 [ 293s] | [ 293s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 293s] [ 293s] warning: unused variable: `y` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:15:40 [ 293s] | [ 293s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 293s] [ 293s] warning: unused variable: `z` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:15:42 [ 293s] | [ 293s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 293s] [ 293s] warning: unused variable: `x` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:22:38 [ 293s] | [ 293s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 293s] [ 293s] warning: unused variable: `y` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:22:40 [ 293s] | [ 293s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 293s] [ 293s] warning: unused variable: `z` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:22:42 [ 293s] | [ 293s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 293s] [ 293s] warning: unused variable: `x` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:29:38 [ 293s] | [ 293s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 293s] [ 293s] warning: unused variable: `y` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:29:40 [ 293s] | [ 293s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 293s] [ 293s] warning: unused variable: `z` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:29:42 [ 293s] | [ 293s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 293s] [ 293s] warning: unused variable: `x` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:31:39 [ 293s] | [ 293s] 31 | ctx2.expect().times(1).returning(|x,y| 1); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 293s] [ 293s] warning: unused variable: `y` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:31:41 [ 293s] | [ 293s] 31 | ctx2.expect().times(1).returning(|x,y| 1); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 293s] [ 293s] warning: unused variable: `x` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:38:38 [ 293s] | [ 293s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 293s] [ 293s] warning: unused variable: `y` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:38:40 [ 293s] | [ 293s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 293s] [ 293s] warning: unused variable: `z` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:38:42 [ 293s] | [ 293s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 293s] [ 293s] warning: unused variable: `x` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:40:39 [ 293s] | [ 293s] 40 | ctx2.expect().times(1).returning(|x,y: *mut bool| { [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 293s] [ 293s] warning: unused variable: `x` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:45:40 [ 293s] | [ 293s] 45 | ctx_d.expect().times(1).returning(|x| 0); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 293s] [ 293s] warning: unused variable: `x` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:52:38 [ 293s] | [ 293s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 293s] [ 293s] warning: unused variable: `y` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:52:40 [ 293s] | [ 293s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 293s] [ 293s] warning: unused variable: `z` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:52:42 [ 293s] | [ 293s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 293s] [ 293s] warning: unused variable: `x` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:54:39 [ 293s] | [ 293s] 54 | ctx2.expect().times(1).returning(|x,y: *mut bool| { [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 293s] [ 293s] warning: unused variable: `x` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:59:40 [ 293s] | [ 293s] 59 | ctx_d.expect().times(1).returning(|x| 0); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 293s] [ 293s] warning: unused variable: `x` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:67:38 [ 293s] | [ 293s] 67 | ctx.expect().times(1).returning(|x,y| 0); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 293s] [ 293s] warning: unused variable: `y` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:67:40 [ 293s] | [ 293s] 67 | ctx.expect().times(1).returning(|x,y| 0); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 293s] [ 293s] warning: unused variable: `x` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:74:38 [ 293s] | [ 293s] 74 | ctx.expect().times(1).returning(|x,y| 1); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 293s] [ 293s] warning: unused variable: `y` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:74:40 [ 293s] | [ 293s] 74 | ctx.expect().times(1).returning(|x,y| 1); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 293s] [ 293s] warning: unused variable: `x` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:76:39 [ 293s] | [ 293s] 76 | ctx2.expect().times(1).returning(|x,y| -1); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 293s] [ 293s] warning: unused variable: `y` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:76:41 [ 293s] | [ 293s] 76 | ctx2.expect().times(1).returning(|x,y| -1); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 293s] [ 293s] warning: unused variable: `x` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:83:38 [ 293s] | [ 293s] 83 | ctx.expect().times(1).returning(|x,y| 1); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 293s] [ 293s] warning: unused variable: `y` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:83:40 [ 293s] | [ 293s] 83 | ctx.expect().times(1).returning(|x,y| 1); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 293s] [ 293s] warning: unused variable: `x` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:85:39 [ 293s] | [ 293s] 85 | ctx2.expect().times(1).returning(|x,y| 1); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 293s] [ 293s] warning: unused variable: `y` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:85:41 [ 293s] | [ 293s] 85 | ctx2.expect().times(1).returning(|x,y| 1); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 293s] [ 293s] warning: unused variable: `x` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:87:39 [ 293s] | [ 293s] 87 | ctx3.expect().times(1).returning(|x,y| 1); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 293s] [ 293s] warning: unused variable: `y` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:87:41 [ 293s] | [ 293s] 87 | ctx3.expect().times(1).returning(|x,y| 1); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 293s] [ 293s] warning: unused variable: `x` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:94:38 [ 293s] | [ 293s] 94 | ctx.expect().times(1).returning(|x,y| 1); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 293s] [ 293s] warning: unused variable: `y` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:94:40 [ 293s] | [ 293s] 94 | ctx.expect().times(1).returning(|x,y| 1); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 293s] [ 293s] warning: unused variable: `x` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:96:39 [ 293s] | [ 293s] 96 | ctx2.expect().times(1).returning(|x,y| 1); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 293s] [ 293s] warning: unused variable: `y` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:96:41 [ 293s] | [ 293s] 96 | ctx2.expect().times(1).returning(|x,y| 1); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 293s] [ 293s] warning: unused variable: `x` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:98:39 [ 293s] | [ 293s] 98 | ctx3.expect().times(1).returning(|x,y| 0); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 293s] [ 293s] warning: unused variable: `y` [ 293s] --> ./src/pkgmgr/server/test/util_tests.rs:98:41 [ 293s] | [ 293s] 98 | ctx3.expect().times(1).returning(|x,y| 0); [ 293s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 293s] [ 293s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:106:38 [ 294s] | [ 294s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `y` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:106:40 [ 294s] | [ 294s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 294s] [ 294s] warning: unused variable: `z` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:106:42 [ 294s] | [ 294s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:113:38 [ 294s] | [ 294s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `y` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:113:40 [ 294s] | [ 294s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 294s] [ 294s] warning: unused variable: `z` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:113:42 [ 294s] | [ 294s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:115:39 [ 294s] | [ 294s] 115 | ctx2.expect().times(1).returning(|x,y| 1); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `y` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:115:41 [ 294s] | [ 294s] 115 | ctx2.expect().times(1).returning(|x,y| 1); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:117:39 [ 294s] | [ 294s] 117 | ctx3.expect().times(1).returning(|x| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:124:38 [ 294s] | [ 294s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `y` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:124:40 [ 294s] | [ 294s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 294s] [ 294s] warning: unused variable: `z` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:124:42 [ 294s] | [ 294s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:126:39 [ 294s] | [ 294s] 126 | ctx2.expect().times(1).returning(|x,y| { [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:131:39 [ 294s] | [ 294s] 131 | ctx3.expect().times(1).returning(|x| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:138:38 [ 294s] | [ 294s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `y` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:138:40 [ 294s] | [ 294s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 294s] [ 294s] warning: unused variable: `z` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:138:42 [ 294s] | [ 294s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:140:39 [ 294s] | [ 294s] 140 | ctx2.expect().times(1).returning(|x,y| { [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:145:39 [ 294s] | [ 294s] 145 | ctx3.expect().times(1).returning(|x| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:153:38 [ 294s] | [ 294s] 153 | ctx.expect().times(1).returning(|x| 1); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:160:38 [ 294s] | [ 294s] 160 | ctx.expect().times(1).returning(|x| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:162:39 [ 294s] | [ 294s] 162 | ctx2.expect().times(1).returning(|x,y| 1); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `y` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:162:41 [ 294s] | [ 294s] 162 | ctx2.expect().times(1).returning(|x,y| 1); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:164:40 [ 294s] | [ 294s] 164 | ctx_d.expect().times(1).returning(|x| -1); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:171:38 [ 294s] | [ 294s] 171 | ctx.expect().times(1).returning(|x| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:173:39 [ 294s] | [ 294s] 173 | ctx2.expect().times(1).returning(|x,y| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `y` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:173:41 [ 294s] | [ 294s] 173 | ctx2.expect().times(1).returning(|x,y| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:175:39 [ 294s] | [ 294s] 175 | ctx3.expect().times(1).returning(|x,y| 1); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `y` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:175:41 [ 294s] | [ 294s] 175 | ctx3.expect().times(1).returning(|x,y| 1); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:177:40 [ 294s] | [ 294s] 177 | ctx_d.expect().times(1).returning(|x| -1); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:184:38 [ 294s] | [ 294s] 184 | ctx.expect().times(1).returning(|x| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:186:39 [ 294s] | [ 294s] 186 | ctx2.expect().times(1).returning(|x,y| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `y` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:186:41 [ 294s] | [ 294s] 186 | ctx2.expect().times(1).returning(|x,y| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:188:39 [ 294s] | [ 294s] 188 | ctx3.expect().times(1).returning(|x,y| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `y` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:188:41 [ 294s] | [ 294s] 188 | ctx3.expect().times(1).returning(|x,y| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:190:39 [ 294s] | [ 294s] 190 | ctx4.expect().times(1).returning(|x,y| 1); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `y` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:190:41 [ 294s] | [ 294s] 190 | ctx4.expect().times(1).returning(|x,y| 1); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:192:40 [ 294s] | [ 294s] 192 | ctx_d.expect().times(1).returning(|x| -1); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:199:38 [ 294s] | [ 294s] 199 | ctx.expect().times(1).returning(|x| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:201:39 [ 294s] | [ 294s] 201 | ctx2.expect().times(1).returning(|x,y| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `y` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:201:41 [ 294s] | [ 294s] 201 | ctx2.expect().times(1).returning(|x,y| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:203:39 [ 294s] | [ 294s] 203 | ctx3.expect().times(1).returning(|x,y| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `y` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:203:41 [ 294s] | [ 294s] 203 | ctx3.expect().times(1).returning(|x,y| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:205:39 [ 294s] | [ 294s] 205 | ctx4.expect().times(1).returning(|x,y| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `y` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:205:41 [ 294s] | [ 294s] 205 | ctx4.expect().times(1).returning(|x,y| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:213:38 [ 294s] | [ 294s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `y` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:213:40 [ 294s] | [ 294s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 294s] [ 294s] warning: unused variable: `z` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:213:42 [ 294s] | [ 294s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:220:38 [ 294s] | [ 294s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `y` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:220:40 [ 294s] | [ 294s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 294s] [ 294s] warning: unused variable: `z` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:220:42 [ 294s] | [ 294s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:222:39 [ 294s] | [ 294s] 222 | ctx2.expect().times(1).returning(|x,y| 1); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `y` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:222:41 [ 294s] | [ 294s] 222 | ctx2.expect().times(1).returning(|x,y| 1); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:224:40 [ 294s] | [ 294s] 224 | ctx_d.expect().times(1).returning(|x| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:231:38 [ 294s] | [ 294s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `y` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:231:40 [ 294s] | [ 294s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 294s] [ 294s] warning: unused variable: `z` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:231:42 [ 294s] | [ 294s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:233:39 [ 294s] | [ 294s] 233 | ctx2.expect().times(1).returning(|x,y| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `y` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:233:41 [ 294s] | [ 294s] 233 | ctx2.expect().times(1).returning(|x,y| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:235:39 [ 294s] | [ 294s] 235 | ctx3.expect().times(1).returning(|x,y| 1); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `y` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:235:41 [ 294s] | [ 294s] 235 | ctx3.expect().times(1).returning(|x,y| 1); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:237:40 [ 294s] | [ 294s] 237 | ctx_d.expect().times(1).returning(|x| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:244:38 [ 294s] | [ 294s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `y` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:244:40 [ 294s] | [ 294s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 294s] [ 294s] warning: unused variable: `z` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:244:42 [ 294s] | [ 294s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:246:39 [ 294s] | [ 294s] 246 | ctx2.expect().times(1).returning(|x,y| { [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:251:39 [ 294s] | [ 294s] 251 | ctx3.expect().times(1).returning(|x, y| { [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:256:40 [ 294s] | [ 294s] 256 | ctx_d.expect().times(1).returning(|x| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:264:38 [ 294s] | [ 294s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `y` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:264:40 [ 294s] | [ 294s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 294s] [ 294s] warning: unused variable: `z` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:264:42 [ 294s] | [ 294s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 294s] [ 294s] warning: unused variable: `e` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:264:44 [ 294s] | [ 294s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:271:38 [ 294s] | [ 294s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `z` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:271:42 [ 294s] | [ 294s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 294s] [ 294s] warning: unused variable: `e` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:271:44 [ 294s] | [ 294s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:285:38 [ 294s] | [ 294s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: unused variable: `z` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:285:42 [ 294s] | [ 294s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 294s] [ 294s] warning: unused variable: `e` [ 294s] --> ./src/pkgmgr/server/test/util_tests.rs:285:44 [ 294s] | [ 294s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 294s] [ 294s] warning: unused variable: `x` [ 294s] --> ./src/pkgmgr/server/test/signal_tests.rs:21:38 [ 294s] | [ 294s] 21 | ctx.expect().times(1).returning(|x| 0); [ 294s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 294s] [ 294s] warning: variable does not need to be mutable [ 294s] --> ./src/pkgmgr/server/test/signal_tests.rs:19:9 [ 294s] | [ 294s] 19 | let mut uid_vec: Vec = vec![]; [ 294s] | ----^^^^^^^ [ 294s] | | [ 294s] | help: remove this `mut` [ 294s] [ 294s] warning: variable does not need to be mutable [ 294s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:7:9 [ 294s] | [ 294s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 294s] | ----^^^^^^^^^^^^^ [ 294s] | | [ 294s] | help: remove this `mut` [ 294s] [ 294s] warning: variable does not need to be mutable [ 294s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:14:9 [ 294s] | [ 294s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 294s] | ----^^^^^^^^^^^^^ [ 294s] | | [ 294s] | help: remove this `mut` [ 294s] [ 294s] warning: variable does not need to be mutable [ 294s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:7:9 [ 294s] | [ 294s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 294s] | ----^^^^^^^^^^^^^ [ 294s] | | [ 294s] | help: remove this `mut` [ 294s] [ 294s] warning: variable does not need to be mutable [ 294s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:14:9 [ 294s] | [ 294s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 294s] | ----^^^^^^^^^^^^^ [ 294s] | | [ 294s] | help: remove this `mut` [ 294s] [ 294s] warning: variable does not need to be mutable [ 294s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:7:9 [ 294s] | [ 294s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 294s] | ----^^^^^^^^^^^^^ [ 294s] | | [ 294s] | help: remove this `mut` [ 294s] [ 294s] warning: variable does not need to be mutable [ 294s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:14:9 [ 294s] | [ 294s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 294s] | ----^^^^^^^^^^^^^ [ 294s] | | [ 294s] | help: remove this `mut` [ 294s] [ 294s] warning: variable does not need to be mutable [ 294s] --> ./src/pkgmgr/server/test/info_service_tests.rs:7:9 [ 294s] | [ 294s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 294s] | ----^^^^^^^^^^^^^ [ 294s] | | [ 294s] | help: remove this `mut` [ 294s] [ 294s] warning: variable does not need to be mutable [ 294s] --> ./src/pkgmgr/server/test/info_service_tests.rs:14:9 [ 294s] | [ 294s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 294s] | ----^^^^^^^^^^^^^ [ 294s] | | [ 294s] | help: remove this `mut` [ 294s] [ 294s] warning: variable does not need to be mutable [ 294s] --> ./src/pkgmgr/server/mod.rs:89:13 [ 294s] | [ 294s] 89 | let mut backend_queue = BackendQueue::new(self.mainloop); [ 294s] | ----^^^^^^^^^^^^^ [ 294s] | | [ 294s] | help: remove this `mut` [ 294s] [ 294s] warning: unnecessary `unsafe` block [ 294s] --> ./src/pkgmgr/server/admin_service.rs:995:32 [ 294s] | [ 294s] 993 | unsafe { [ 294s] | ------ because it's nested under this `unsafe` block [ 294s] 994 | match CString::new(generated_req_key.clone()) { [ 294s] 995 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 294s] | ^^^^^^ unnecessary `unsafe` block [ 294s] | [ 294s] = note: `#[warn(unused_unsafe)]` on by default [ 294s] [ 294s] warning: unnecessary `unsafe` block [ 294s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 294s] | [ 294s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 294s] | ^^^^^^ unnecessary `unsafe` block [ 294s] | [ 294s] ::: ./src/pkgmgr/server/admin_service.rs:993:5 [ 294s] | [ 294s] 993 | unsafe { [ 294s] | ------ because it's nested under this `unsafe` block [ 294s] ... [ 294s] 997 | error!("Fail to generate req key, err({:?})", e); [ 294s] | ------------------------------------------------ in this macro invocation [ 294s] | [ 294s] = 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) [ 294s] [ 294s] warning: unnecessary `unsafe` block [ 294s] --> ./src/pkgmgr/server/admin_service.rs:1023:46 [ 294s] | [ 294s] 993 | unsafe { [ 294s] | ------ because it's nested under this `unsafe` block [ 294s] ... [ 294s] 1023 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 294s] | ^^^^^^ unnecessary `unsafe` block [ 294s] [ 294s] warning: unnecessary `unsafe` block [ 294s] --> ./src/pkgmgr/server/admin_service.rs:1077:32 [ 294s] | [ 294s] 1075 | unsafe { [ 294s] | ------ because it's nested under this `unsafe` block [ 294s] 1076 | match CString::new(generated_req_key.clone()) { [ 294s] 1077 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 294s] | ^^^^^^ unnecessary `unsafe` block [ 294s] [ 294s] warning: unnecessary `unsafe` block [ 294s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 294s] | [ 294s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 294s] | ^^^^^^ unnecessary `unsafe` block [ 294s] | [ 294s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 294s] | [ 294s] 1075 | unsafe { [ 294s] | ------ because it's nested under this `unsafe` block [ 294s] ... [ 294s] 1079 | error!("Fail to generate req key, err({:?})", e); [ 294s] | ------------------------------------------------ in this macro invocation [ 294s] | [ 294s] = 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) [ 294s] [ 294s] warning: unnecessary `unsafe` block [ 294s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 294s] | [ 294s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 294s] | ^^^^^^ unnecessary `unsafe` block [ 294s] | [ 294s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 294s] | [ 294s] 1075 | unsafe { [ 294s] | ------ because it's nested under this `unsafe` block [ 294s] ... [ 294s] 1106 | debug!("push disable pkg {pkg_id}"); [ 294s] | ----------------------------------- in this macro invocation [ 294s] | [ 294s] = 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) [ 294s] [ 294s] warning: unnecessary `unsafe` block [ 294s] --> ./src/pkgmgr/server/admin_service.rs:1108:46 [ 294s] | [ 294s] 1075 | unsafe { [ 294s] | ------ because it's nested under this `unsafe` block [ 294s] ... [ 294s] 1108 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 294s] | ^^^^^^ unnecessary `unsafe` block [ 294s] [ 294s] warning: unnecessary `unsafe` block [ 294s] --> ./src/pkgmgr/server/admin_service.rs:1537:5 [ 294s] | [ 294s] 1537 | unsafe { [ 294s] | ^^^^^^ unnecessary `unsafe` block [ 294s] [ 294s] warning: unnecessary `unsafe` block [ 294s] --> ./src/pkgmgr/server/admin_service.rs:1590:5 [ 294s] | [ 294s] 1590 | unsafe { [ 294s] | ^^^^^^ unnecessary `unsafe` block [ 294s] [ 294s] warning: unnecessary `unsafe` block [ 294s] --> ./src/pkgmgr/server/admin_service.rs:1643:32 [ 294s] | [ 294s] 1641 | unsafe { [ 294s] | ------ because it's nested under this `unsafe` block [ 294s] 1642 | match CString::new(generated_req_key.clone()) { [ 294s] 1643 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 294s] | ^^^^^^ unnecessary `unsafe` block [ 294s] [ 294s] warning: unnecessary `unsafe` block [ 294s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 294s] | [ 294s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 294s] | ^^^^^^ unnecessary `unsafe` block [ 294s] | [ 294s] ::: ./src/pkgmgr/server/admin_service.rs:1641:5 [ 294s] | [ 294s] 1641 | unsafe { [ 294s] | ------ because it's nested under this `unsafe` block [ 294s] ... [ 294s] 1645 | error!("Fail to generate req key, err({:?})", e); [ 294s] | ------------------------------------------------ in this macro invocation [ 294s] | [ 294s] = 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) [ 294s] [ 294s] warning: unnecessary `unsafe` block [ 294s] --> ./src/pkgmgr/server/admin_service.rs:1657:42 [ 294s] | [ 294s] 1641 | unsafe { [ 294s] | ------ because it's nested under this `unsafe` block [ 294s] ... [ 294s] 1657 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 294s] | ^^^^^^ unnecessary `unsafe` block [ 294s] [ 294s] warning: unnecessary `unsafe` block [ 294s] --> ./src/pkgmgr/server/admin_service.rs:1705:32 [ 294s] | [ 294s] 1703 | unsafe { [ 294s] | ------ because it's nested under this `unsafe` block [ 294s] 1704 | match CString::new(generated_req_key.clone()) { [ 294s] 1705 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 294s] | ^^^^^^ unnecessary `unsafe` block [ 294s] [ 294s] warning: unnecessary `unsafe` block [ 294s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 294s] | [ 294s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 294s] | ^^^^^^ unnecessary `unsafe` block [ 294s] | [ 294s] ::: ./src/pkgmgr/server/admin_service.rs:1703:5 [ 294s] | [ 294s] 1703 | unsafe { [ 294s] | ------ because it's nested under this `unsafe` block [ 294s] ... [ 294s] 1707 | error!("Fail to generate req key, err({:?})", e); [ 294s] | ------------------------------------------------ in this macro invocation [ 294s] | [ 294s] = 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) [ 294s] [ 294s] warning: unnecessary `unsafe` block [ 294s] --> ./src/pkgmgr/server/admin_service.rs:1719:42 [ 294s] | [ 294s] 1703 | unsafe { [ 294s] | ------ because it's nested under this `unsafe` block [ 294s] ... [ 294s] 1719 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 294s] | ^^^^^^ unnecessary `unsafe` block [ 294s] [ 294s] warning: unnecessary `unsafe` block [ 294s] --> ./src/pkgmgr/server/admin_service.rs:1767:5 [ 294s] | [ 294s] 1767 | unsafe { [ 294s] | ^^^^^^ unnecessary `unsafe` block [ 294s] [ 294s] warning: unnecessary `unsafe` block [ 294s] --> ./src/pkgmgr/server/admin_service.rs:1820:5 [ 294s] | [ 294s] 1820 | unsafe { [ 294s] | ^^^^^^ unnecessary `unsafe` block [ 294s] [ 294s] warning: unnecessary `unsafe` block [ 294s] --> ./src/pkgmgr/server/admin_service.rs:2296:17 [ 294s] | [ 294s] 2294 | unsafe { [ 294s] | ------ because it's nested under this `unsafe` block [ 294s] 2295 | if !(*value.offset(i as isize)).is_null() { [ 294s] 2296 | unsafe { free(*value.offset(i as isize) as *mut _) }; [ 294s] | ^^^^^^ unnecessary `unsafe` block [ 294s] [ 294s] warning: unnecessary `unsafe` block [ 294s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 294s] | [ 294s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 294s] | ^^^^^^ unnecessary `unsafe` block [ 294s] | [ 294s] ::: ./src/pkgmgr/server/admin_service.rs:2793:9 [ 294s] | [ 294s] 2793 | unsafe { [ 294s] | ------ because it's nested under this `unsafe` block [ 294s] 2794 | let ret = rpc_port_stub_PkgMgrAdmin_register(&mut self.callbacks, self as *mut _ as *mut c_void); [ 294s] 2795 | debug!("admin service start : {ret}"); [ 294s] | ------------------------------------- in this macro invocation [ 294s] | [ 294s] = 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) [ 294s] [ 294s] warning: unnecessary `unsafe` block [ 294s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 294s] | [ 294s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 294s] | ^^^^^^ unnecessary `unsafe` block [ 294s] | [ 294s] ::: ./src/pkgmgr/server/admin_service.rs:2801:9 [ 294s] | [ 294s] 2801 | unsafe { [ 294s] | ------ because it's nested under this `unsafe` block [ 294s] 2802 | let ret = rpc_port_stub_PkgMgrAdmin_unregister(); [ 294s] 2803 | debug!("ret : {ret}"); [ 294s] | --------------------- in this macro invocation [ 294s] | [ 294s] = 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) [ 294s] [ 294s] warning: unnecessary `unsafe` block [ 294s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 294s] | [ 294s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 294s] | ^^^^^^ unnecessary `unsafe` block [ 294s] | [ 294s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 294s] | [ 294s] 204 | unsafe { [ 294s] | ------ because it's nested under this `unsafe` block [ 294s] ... [ 294s] 210 | error!("sigprocmask failed"); [ 294s] | ---------------------------- in this macro invocation [ 294s] | [ 294s] = 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) [ 294s] [ 294s] warning: unnecessary `unsafe` block [ 294s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 294s] | [ 294s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 294s] | ^^^^^^ unnecessary `unsafe` block [ 294s] | [ 294s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 294s] | [ 294s] 204 | unsafe { [ 294s] | ------ because it's nested under this `unsafe` block [ 294s] ... [ 294s] 216 | error!("signalfd failed"); [ 294s] | ------------------------- in this macro invocation [ 294s] | [ 294s] = 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) [ 294s] [ 294s] warning: unnecessary `unsafe` block [ 294s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 294s] | [ 294s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 294s] | ^^^^^^ unnecessary `unsafe` block [ 294s] | [ 294s] ::: ./src/pkgmgr/server/cache_service.rs:134:9 [ 294s] | [ 294s] 134 | unsafe { [ 294s] | ------ because it's nested under this `unsafe` block [ 294s] ... [ 294s] 139 | debug!("cache service start : {ret}"); [ 294s] | ------------------------------------- in this macro invocation [ 294s] | [ 294s] = 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) [ 294s] [ 294s] warning: unnecessary `unsafe` block [ 294s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 294s] | [ 294s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 294s] | ^^^^^^ unnecessary `unsafe` block [ 294s] | [ 294s] ::: ./src/pkgmgr/server/cache_service.rs:145:9 [ 294s] | [ 294s] 145 | unsafe { [ 294s] | ------ because it's nested under this `unsafe` block [ 294s] 146 | let ret = rpc_port_stub_PkgMgrForClearCache_unregister(); [ 294s] 147 | debug!("ret : {ret}"); [ 294s] | --------------------- in this macro invocation [ 294s] | [ 294s] = 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) [ 294s] [ 294s] warning: unnecessary `unsafe` block [ 294s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 294s] | [ 294s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 294s] | ^^^^^^ unnecessary `unsafe` block [ 294s] | [ 294s] ::: ./src/pkgmgr/server/delayed_service.rs:107:9 [ 294s] | [ 294s] 107 | unsafe { [ 294s] | ------ because it's nested under this `unsafe` block [ 294s] ... [ 294s] 112 | debug!("delayed result service start : {ret}"); [ 294s] | ---------------------------------------------- in this macro invocation [ 294s] | [ 294s] = 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) [ 294s] [ 294s] warning: unnecessary `unsafe` block [ 294s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 294s] | [ 294s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 294s] | ^^^^^^ unnecessary `unsafe` block [ 294s] | [ 294s] ::: ./src/pkgmgr/server/delayed_service.rs:118:9 [ 294s] | [ 294s] 118 | unsafe { [ 294s] | ------ because it's nested under this `unsafe` block [ 294s] 119 | let ret = rpc_port_stub_DelayedResult_unregister(); [ 294s] 120 | debug!("ret : {ret}"); [ 294s] | --------------------- in this macro invocation [ 294s] | [ 294s] = 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) [ 294s] [ 294s] warning: unnecessary `unsafe` block [ 294s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 294s] | [ 294s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 294s] | ^^^^^^ unnecessary `unsafe` block [ 294s] | [ 294s] ::: ./src/pkgmgr/server/info_service.rs:165:13 [ 294s] | [ 294s] 165 | unsafe { [ 294s] | ------ because it's nested under this `unsafe` block [ 294s] 166 | if mkfifo(fifo_path.as_ptr() as *const c_char, 0o600) < 0 { [ 294s] 167 | error!("Failed to mkfifo"); [ 294s] | -------------------------- in this macro invocation [ 294s] | [ 294s] = 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) [ 294s] [ 294s] warning: unnecessary `unsafe` block [ 294s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 294s] | [ 294s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 294s] | ^^^^^^ unnecessary `unsafe` block [ 294s] | [ 294s] ::: ./src/pkgmgr/server/info_service.rs:268:9 [ 294s] | [ 294s] 268 | unsafe { [ 294s] | ------ because it's nested under this `unsafe` block [ 294s] ... [ 294s] 273 | debug!("info service start : {ret}"); [ 294s] | ------------------------------------ in this macro invocation [ 294s] | [ 294s] = 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) [ 294s] [ 294s] warning: unnecessary `unsafe` block [ 294s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 294s] | [ 294s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 294s] | ^^^^^^ unnecessary `unsafe` block [ 294s] | [ 294s] ::: ./src/pkgmgr/server/info_service.rs:279:9 [ 294s] | [ 294s] 279 | unsafe { [ 294s] | ------ because it's nested under this `unsafe` block [ 294s] 280 | let ret = rpc_port_stub_PkgMgr_unregister(); [ 294s] 281 | debug!("ret : {ret}"); [ 294s] | --------------------- in this macro invocation [ 294s] | [ 294s] = 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) [ 294s] [ 294s] warning: unnecessary `unsafe` block [ 294s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 294s] | [ 294s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 294s] | ^^^^^^ unnecessary `unsafe` block [ 294s] | [ 294s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 294s] | [ 294s] 131 | unsafe { [ 294s] | ------ because it's nested under this `unsafe` block [ 294s] ... [ 294s] 134 | error!("Failure in creating the pkgmgr_installer object"); [ 294s] | --------------------------------------------------------- in this macro invocation [ 294s] | [ 294s] = 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) [ 294s] [ 294s] warning: unnecessary `unsafe` block [ 294s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 294s] | [ 294s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 294s] | ^^^^^^ unnecessary `unsafe` block [ 294s] | [ 294s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 294s] | [ 294s] 131 | unsafe { [ 294s] | ------ because it's nested under this `unsafe` block [ 294s] ... [ 294s] 139 | error!("pkgmgr_installer_set_uid fail"); [ 294s] | --------------------------------------- in this macro invocation [ 294s] | [ 294s] = 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) [ 294s] [ 294s] warning: unnecessary `unsafe` block [ 294s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 294s] | [ 294s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 294s] | ^^^^^^ unnecessary `unsafe` block [ 294s] | [ 294s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 294s] | [ 294s] 131 | unsafe { [ 294s] | ------ because it's nested under this `unsafe` block [ 294s] ... [ 294s] 154 | warn!("Unsupported req_type[{}]", req_type as c_int); [ 294s] | ---------------------------------------------------- in this macro invocation [ 294s] | [ 294s] = 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) [ 294s] [ 294s] warning: unnecessary `unsafe` block [ 294s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 294s] | [ 294s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 294s] | ^^^^^^ unnecessary `unsafe` block [ 294s] | [ 294s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 294s] | [ 294s] 131 | unsafe { [ 294s] | ------ because it's nested under this `unsafe` block [ 294s] ... [ 294s] 161 | error!("pkgmgr_installer_set_request_type fail"); [ 294s] | ------------------------------------------------ in this macro invocation [ 294s] | [ 294s] = 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) [ 294s] [ 294s] warning: unnecessary `unsafe` block [ 294s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 294s] | [ 294s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 294s] | ^^^^^^ unnecessary `unsafe` block [ 294s] | [ 294s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 294s] | [ 294s] 131 | unsafe { [ 294s] | ------ because it's nested under this `unsafe` block [ 294s] ... [ 294s] 168 | error!("pkgmgr_installer_set_session_id fail : {:?}", c_req_id); [ 294s] | --------------------------------------------------------------- in this macro invocation [ 294s] | [ 294s] = 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) [ 294s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 295s] | [ 295s] 309 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] 310 | if pkgmgrinfo_appinfo_get_appid(pkgmgrinfo_appinfo_h, &mut app_id) != 0 { [ 295s] 311 | error!("Failed get appid"); [ 295s] | -------------------------- in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 295s] | [ 295s] 309 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] ... [ 295s] 314 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 295s] | --------------------------------------------------------- in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/server/util.rs:326:46 [ 295s] | [ 295s] 325 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 295s] | [ 295s] 325 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] ... [ 295s] 329 | error!("Failed get appid"); [ 295s] | -------------------------- in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 295s] | [ 295s] 325 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] ... [ 295s] 333 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 295s] | --------------------------------------------------------- in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 295s] | [ 295s] 342 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] ... [ 295s] 355 | error!("getsize fd read failed: {:?}", Util::c_char_to_cstr((*err).message)); [ 295s] | ---------------------------------------------------------------------------- in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 295s] | [ 295s] 342 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] ... [ 295s] 361 | error!("empty result"); [ 295s] | ---------------------- in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 295s] | [ 295s] 390 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] ... [ 295s] 399 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 295s] | --------------------------------------------------------- in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 295s] | [ 295s] 390 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] ... [ 295s] 406 | error!("Fail to get is readonly"); [ 295s] | --------------------------------- in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 295s] | [ 295s] 422 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] ... [ 295s] 429 | error!("Not found package"); [ 295s] | --------------------------- in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 295s] | [ 295s] 422 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] ... [ 295s] 445 | debug!("pkgtype - {ret_string}"); [ 295s] | -------------------------------- in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:803:9 [ 295s] | [ 295s] 803 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] 804 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 295s] 805 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 295s] | ------------------------------------------------------ in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 295s] | [ 295s] 814 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] 815 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 295s] 816 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 295s] | ------------------------------------------------------ in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 295s] | [ 295s] 814 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] ... [ 295s] 822 | error!("Failed to get pid of app{:?}", CStr::from_ptr(appid)); [ 295s] | ------------------------------------------------------------- in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 295s] | [ 295s] 814 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] ... [ 295s] 828 | error!("Failed to terminate app{:?}", CStr::from_ptr(appid)); [ 295s] | ------------------------------------------------------------ in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 295s] | [ 295s] 836 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] ... [ 295s] 840 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 295s] | --------------------------------------------------------- in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 295s] | [ 295s] 836 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] ... [ 295s] 848 | error!("Failed to get list for {:?}", CStr::from_ptr(pkgid)); [ 295s] | ------------------------------------------------------------ in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 295s] | [ 295s] 859 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] ... [ 295s] 863 | warn!("cannot get user information from gumd, retry"); [ 295s] | ----------------------------------------------------- in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 295s] | [ 295s] 859 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] ... [ 295s] 871 | error!("cannot get user information from gumd, failed"); [ 295s] | ------------------------------------------------------- in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 295s] | [ 295s] 859 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] ... [ 295s] 877 | error!("cannot get user type"); [ 295s] | ------------------------------ in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 295s] | [ 295s] 892 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] ... [ 295s] 895 | error!("Failed to get the number of supplementary group IDs"); [ 295s] | ------------------------------------------------------------- in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 295s] | [ 295s] 892 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] ... [ 295s] 901 | error!("Failed to get list of supplementary group IDs"); [ 295s] | ------------------------------------------------------- in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 295s] | [ 295s] 892 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] ... [ 295s] 908 | error!("setgroups failed: {}", *__errno_location()); [ 295s] | --------------------------------------------------- in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 295s] | [ 295s] 928 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] ... [ 295s] 942 | error!("getpwuid_r fail"); [ 295s] | ------------------------- in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 295s] | [ 295s] 928 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] ... [ 295s] 949 | error!("Fail to get str, err({:?})", e); [ 295s] | --------------------------------------- in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 295s] | [ 295s] 928 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] ... [ 295s] 957 | error!("Fail to get str, err({:?})", e); [ 295s] | --------------------------------------- in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 295s] | [ 295s] 928 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] ... [ 295s] 966 | error!("Failed to set env for the user : {}", APPFW_UID); [ 295s] | -------------------------------------------------------- in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 295s] | [ 295s] 984 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] ... [ 295s] 987 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 295s] | ----------------------------------------------------------------------------------- in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 295s] | [ 295s] 984 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] ... [ 295s] 993 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 295s] | ---------------------------------------------------------------------------- in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 295s] | [ 295s] 984 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] ... [ 295s] 1000 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 295s] | ---------------------------------------------------------------------------- in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/server/util.rs:1005:40 [ 295s] | [ 295s] 984 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] ... [ 295s] 1005 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) } ); [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 295s] | [ 295s] 1081 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] ... [ 295s] 1084 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 295s] | ----------------------------------------------------------------------------------- in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 295s] | [ 295s] 1081 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] ... [ 295s] 1090 | error!("Failed get root path for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 295s] | --------------------------------------------------------------------------- in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 295s] | [ 295s] 1081 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] ... [ 295s] 1098 | error!("Invalid path[{:?}]", Self::c_char_to_cstr(icon_path)); [ 295s] | ------------------------------------------------------------- in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:1109:9 [ 295s] | [ 295s] 1109 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] ... [ 295s] 1119 | error!("Fail to get list for {:?}", CStr::from_ptr(pkgid)); [ 295s] | ---------------------------------------------------------- in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 295s] | [ 295s] 1129 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] ... [ 295s] 1132 | error!("failed to open the fifo({}), errno({})", fifo_path, *__errno_location()); [ 295s] | -------------------------------------------------------------------------------- in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: unnecessary `unsafe` block [ 295s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 295s] | [ 295s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 295s] | ^^^^^^ unnecessary `unsafe` block [ 295s] | [ 295s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 295s] | [ 295s] 1129 | unsafe { [ 295s] | ------ because it's nested under this `unsafe` block [ 295s] ... [ 295s] 1155 | error!("failed to add io watch"); [ 295s] | -------------------------------- in this macro invocation [ 295s] | [ 295s] = 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) [ 295s] [ 295s] warning: constant `SD_LISTEN_FDS_START` is never used [ 295s] --> ./src/pkgmgr/server/mod.rs:28:7 [ 295s] | [ 295s] 28 | const SD_LISTEN_FDS_START: i32 = 3; [ 295s] | ^^^^^^^^^^^^^^^^^^^ [ 295s] | [ 295s] = note: `#[warn(dead_code)]` on by default [ 295s] [ 295s] warning: multiple variants are never constructed [ 295s] --> ./src/pkgmgr/server/mod.rs:43:5 [ 295s] | [ 295s] 42 | enum AUL_RETURN_VALUE { [ 295s] | ---------------- variants in this enum [ 295s] 43 | AUL_R_ENOMEM = -16, //< Out of memory (Since 5.5) [ 295s] | ^^^^^^^^^^^^ [ 295s] 44 | AUL_R_ENOENT = -15, //< App directory entry error [ 295s] | ^^^^^^^^^^^^ [ 295s] 45 | AUL_R_EREJECTED = -14, //< App disable for mode [ 295s] | ^^^^^^^^^^^^^^^ [ 295s] 46 | AUL_R_ENOAPP = -13, //< Failed to find app ID or pkg ID [ 295s] | ^^^^^^^^^^^^ [ 295s] 47 | AUL_R_EHIDDENFORGUEST = -11, //< App hidden for guest mode [ 295s] | ^^^^^^^^^^^^^^^^^^^^^ [ 295s] 48 | AUL_R_ENOLAUNCHPAD = -10, //< no launchpad [ 295s] | ^^^^^^^^^^^^^^^^^^ [ 295s] 49 | AUL_R_ETERMINATING = -9, //< application terminating [ 295s] | ^^^^^^^^^^^^^^^^^^ [ 295s] 50 | AUL_R_EILLACC = -8, //< Illegal Access [ 295s] | ^^^^^^^^^^^^^ [ 295s] 51 | AUL_R_LOCAL = -7, //< Launch by himself [ 295s] | ^^^^^^^^^^^ [ 295s] 52 | AUL_R_ETIMEOUT = -6, //< Timeout [ 295s] | ^^^^^^^^^^^^^^ [ 295s] 53 | AUL_R_ECANCELED = -5, //< Operation canceled [ 295s] | ^^^^^^^^^^^^^^^ [ 295s] 54 | AUL_R_EINVAL = -4, //< Invalid argument [ 295s] | ^^^^^^^^^^^^ [ 295s] 55 | AUL_R_ECOMM = -3, //< Comunication Error [ 295s] | ^^^^^^^^^^^ [ 295s] 56 | AUL_R_ENOINIT = -2, //< AUL handler NOT initialized [ 295s] | ^^^^^^^^^^^^^ [ 295s] 57 | AUL_R_ERROR = -1, //< General error [ 295s] | ^^^^^^^^^^^ [ 295s] [ 295s] warning: field `timer` is never read [ 295s] --> ./src/pkgmgr/server/mod.rs:63:5 [ 295s] | [ 295s] 61 | pub struct Server { [ 295s] | ------ field in this struct [ 295s] 62 | mainloop: *mut GMainLoop, [ 295s] 63 | timer: c_uint [ 295s] | ^^^^^ [ 295s] [ 295s] warning: variants `IO_ERROR`, `OUT_OF_MEMORY`, `INVALID_PARAMETER`, and `PERMISSION_DENIED` are never constructed [ 295s] --> ./src/pkgmgr/server/admin_service.rs:29:5 [ 295s] | [ 295s] 27 | enum RPC_PORT_ERROR { [ 295s] | -------------- variants in this enum [ 295s] 28 | NONE = 0, //< Successful [ 295s] 29 | IO_ERROR = -5, //< Internal I/O error [ 295s] | ^^^^^^^^ [ 295s] 30 | OUT_OF_MEMORY = -12, //< Out of memory [ 295s] | ^^^^^^^^^^^^^ [ 295s] 31 | INVALID_PARAMETER = -22, //< Invalid parameter [ 295s] | ^^^^^^^^^^^^^^^^^ [ 295s] 32 | PERMISSION_DENIED = -13, //< Permission denied [ 295s] | ^^^^^^^^^^^^^^^^^ [ 295s] [ 295s] warning: method `generate_request_id` is never used [ 295s] --> ./src/pkgmgr/server/admin_service.rs:2786:8 [ 295s] | [ 295s] 2713 | impl AdminService { [ 295s] | ----------------- method in this implementation [ 295s] ... [ 295s] 2786 | fn generate_request_id(&self) -> String { [ 295s] | ^^^^^^^^^^^^^^^^^^^ [ 295s] [ 295s] warning: field `request_type` is never read [ 295s] --> ./src/pkgmgr/server/backend_context.rs:7:5 [ 295s] | [ 295s] 6 | pub struct BackendContext { [ 295s] | -------------- field in this struct [ 295s] 7 | request_type: RequestType, [ 295s] | ^^^^^^^^^^^^ [ 295s] [ 295s] warning: type alias `GIOChannel` is never used [ 295s] --> ./src/pkgmgr/server/backend_queue.rs:14:6 [ 295s] | [ 295s] 14 | type GIOChannel = *mut c_void; [ 295s] | ^^^^^^^^^^ [ 295s] [ 295s] warning: type alias `GIOCondition` is never used [ 295s] --> ./src/pkgmgr/server/backend_queue.rs:15:6 [ 295s] | [ 295s] 15 | type GIOCondition = c_int; [ 295s] | ^^^^^^^^^^^^ [ 295s] [ 295s] warning: variants `EIO`, `ENOPKG`, `EPRIV`, `ETIMEOUT`, `EINVAL`, and `ECOMM` are never constructed [ 295s] --> ./src/pkgmgr/server/info_service.rs:22:5 [ 295s] | [ 295s] 20 | enum PKGMGR_RETURN_VALUE { [ 295s] | ------------------- variants in this enum [ 295s] 21 | ESYSTEM = -9, // Severe system error [ 295s] 22 | EIO = -8, // IO error [ 295s] | ^^^ [ 295s] 23 | ENOMEM = -7, // Out of memory [ 295s] 24 | ENOPKG = -6, // No such package [ 295s] | ^^^^^^ [ 295s] 25 | EPRIV = -5, // Privilege denied [ 295s] | ^^^^^ [ 295s] 26 | ETIMEOUT = -4, // Timeout [ 295s] | ^^^^^^^^ [ 295s] 27 | EINVAL = -3, // Invalid argument [ 295s] | ^^^^^^ [ 295s] 28 | ECOMM = -2, // Comunication Error [ 295s] | ^^^^^ [ 295s] [ 295s] warning: variants `EPRIV` and `ETIMEOUT` are never constructed [ 295s] --> ./src/pkgmgr/server/pkgmgr_return_value.rs:8:5 [ 295s] | [ 295s] 3 | pub enum PKGMGR_RETURN_VALUE { [ 295s] | ------------------- variants in this enum [ 295s] ... [ 295s] 8 | EPRIV = -5, // Privilege denied [ 295s] | ^^^^^ [ 295s] 9 | ETIMEOUT = -4, // Timeout [ 295s] | ^^^^^^^^ [ 295s] [ 295s] warning: variants `KILL`, `CHECK`, `ENABLE_APP_SPLASH_SCREEN`, `DISABLE_APP_SPLASH_SCREEN`, and `MIGRATE_EXTERNAL_IMAGE` are never constructed [ 295s] --> ./src/pkgmgr/server/request_type.rs:20:5 [ 295s] | [ 295s] 1 | pub enum RequestType { [ 295s] | ----------- variants in this enum [ 295s] ... [ 295s] 20 | KILL, [ 295s] | ^^^^ [ 295s] 21 | CHECK, [ 295s] | ^^^^^ [ 295s] ... [ 295s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 295s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 295s] ... [ 295s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 295s] [ 295s] warning: multiple variants are never constructed [ 295s] --> ./src/pkgmgr/server/signal.rs:10:2 [ 295s] | [ 295s] 9 | enum PKGMGR_REQ { [ 295s] | ---------- variants in this enum [ 295s] 10 | PERM = -1, [ 295s] | ^^^^ [ 295s] 11 | INVALID = 0, [ 295s] | ^^^^^^^ [ 295s] 12 | INSTALL = 1, [ 295s] | ^^^^^^^ [ 295s] 13 | UNINSTALL = 2, [ 295s] | ^^^^^^^^^ [ 295s] 14 | CLEAR = 3, [ 295s] | ^^^^^ [ 295s] 15 | MOVE = 4, [ 295s] | ^^^^ [ 295s] 16 | RECOVER = 5, [ 295s] | ^^^^^^^ [ 295s] 17 | REINSTALL = 6, [ 295s] | ^^^^^^^^^ [ 295s] 18 | GETSIZE = 7, [ 295s] | ^^^^^^^ [ 295s] 19 | UPGRADE = 8, [ 295s] | ^^^^^^^ [ 295s] 20 | SMACK = 9, [ 295s] | ^^^^^ [ 295s] 21 | MANIFEST_DIRECT_INSTALL = 10, [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 295s] ... [ 295s] 26 | MOUNT_INSTALL = 15, [ 295s] | ^^^^^^^^^^^^^ [ 295s] 27 | DISABLE_PKG = 16, [ 295s] | ^^^^^^^^^^^ [ 295s] 28 | ENABLE_PKG = 17, [ 295s] | ^^^^^^^^^^ [ 295s] 29 | MIGRATE_EXTIMG = 18, [ 295s] | ^^^^^^^^^^^^^^ [ 295s] 30 | RECOVER_DB = 19, [ 295s] | ^^^^^^^^^^ [ 295s] 31 | RES_COPY = 20, [ 295s] | ^^^^^^^^ [ 295s] 32 | RES_CREATE_DIR = 21, [ 295s] | ^^^^^^^^^^^^^^ [ 295s] 33 | RES_REMOVE = 22, [ 295s] | ^^^^^^^^^^ [ 295s] 34 | RES_UNINSTALL = 23 [ 295s] | ^^^^^^^^^^^^^ [ 295s] [ 295s] warning: constant `TZ_SYS_GLOBALAPP_USER` is never used [ 295s] --> ./src/pkgmgr/server/signal.rs:97:7 [ 295s] | [ 295s] 97 | const TZ_SYS_GLOBALAPP_USER: c_int = 22; [ 295s] | ^^^^^^^^^^^^^^^^^^^^^ [ 295s] [ 295s] warning: function `tzplatform_getuid` is never used [ 295s] --> ./src/pkgmgr/server/signal.rs:53:12 [ 295s] | [ 295s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 295s] | ^^^^^^^^^^^^^^^^^ [ 295s] [ 295s] warning: function `sd_get_uids` is never used [ 295s] --> ./src/pkgmgr/server/signal.rs:44:16 [ 295s] | [ 295s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 295s] | ^^^^^^^^^^^ [ 295s] [ 295s] warning: constant `XML_READER_TYPE_ELEMENT` is never used [ 295s] --> ./src/pkgmgr/server/util.rs:29:7 [ 295s] | [ 295s] 29 | const XML_READER_TYPE_ELEMENT: i32 = 1; [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 295s] [ 295s] warning: constant `XML_READER_TYPE_TEXT` is never used [ 295s] --> ./src/pkgmgr/server/util.rs:30:7 [ 295s] | [ 295s] 30 | const XML_READER_TYPE_TEXT: i32 = 3; [ 295s] | ^^^^^^^^^^^^^^^^^^^^ [ 295s] [ 295s] warning: constant `XML_READER_TYPE_END_ELEMENT` is never used [ 295s] --> ./src/pkgmgr/server/util.rs:31:7 [ 295s] | [ 295s] 31 | const XML_READER_TYPE_END_ELEMENT: i32 = 15; [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 295s] [ 295s] warning: type alias `GIOChannel` is never used [ 295s] --> ./src/pkgmgr/server/util.rs:33:6 [ 295s] | [ 295s] 33 | type GIOChannel = *mut c_void; [ 295s] | ^^^^^^^^^^ [ 295s] [ 295s] warning: variants `PMINFO_UI_APP`, `PMINFO_SVC_APP`, `PMINFO_WIDGET_APP`, `PMINFO_WATCH_APP`, and `PMINFO_COMPONENT_BASED_APP` are never constructed [ 295s] --> ./src/pkgmgr/server/util.rs:136:5 [ 295s] | [ 295s] 134 | enum PKGMGRINFO_APP_COMPONENT { [ 295s] | ------------------------ variants in this enum [ 295s] 135 | PMINFO_ALL_APP = 0, //< All Application [ 295s] 136 | PMINFO_UI_APP, //< UI Application [ 295s] | ^^^^^^^^^^^^^ [ 295s] 137 | PMINFO_SVC_APP, //< Service Application [ 295s] | ^^^^^^^^^^^^^^ [ 295s] 138 | PMINFO_WIDGET_APP, //< Widget Application [ 295s] | ^^^^^^^^^^^^^^^^^ [ 295s] 139 | PMINFO_WATCH_APP, //< Watch Application [ 295s] | ^^^^^^^^^^^^^^^^ [ 295s] 140 | PMINFO_COMPONENT_BASED_APP, //< Component-based Application (Since 5.5) [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 295s] [ 295s] warning: associated functions `EnableAppSplashScreen` and `DisableAppSplashScreen` are never used [ 295s] --> ./src/pkgmgr/server/util.rs:766:12 [ 295s] | [ 295s] 384 | impl Util { [ 295s] | --------- associated functions in this implementation [ 295s] ... [ 295s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^ [ 295s] ... [ 295s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 295s] [ 295s] warning: function `pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db` is never used [ 295s] --> ./src/pkgmgr/server/util.rs:204:8 [ 295s] | [ 295s] 204 | fn pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db( [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 295s] [ 295s] warning: function `pkgmgrinfo_pkginfo_get_usr_pkginfo` is never used [ 295s] --> ./src/pkgmgr/server/util.rs:44:16 [ 295s] | [ 295s] 44 | pub fn pkgmgrinfo_pkginfo_get_usr_pkginfo( [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 295s] [ 295s] warning: function `pkgmgrinfo_pkginfo_get_usr_disabled_pkginfo` is never used [ 295s] --> ./src/pkgmgr/server/util.rs:50:16 [ 295s] | [ 295s] 50 | pub fn pkgmgrinfo_pkginfo_get_usr_disabled_pkginfo( [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 295s] [ 295s] warning: function `pkgmgrinfo_pkginfo_is_readonly` is never used [ 295s] --> ./src/pkgmgr/server/util.rs:56:16 [ 295s] | [ 295s] 56 | pub fn pkgmgrinfo_pkginfo_is_readonly( [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 295s] [ 295s] warning: function `pkgmgrinfo_pkginfo_destroy_pkginfo` is never used [ 295s] --> ./src/pkgmgr/server/util.rs:61:16 [ 295s] | [ 295s] 61 | pub fn pkgmgrinfo_pkginfo_destroy_pkginfo( [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 295s] [ 295s] warning: function `pkgmgrinfo_pkginfo_get_usr_all_pkginfo` is never used [ 295s] --> ./src/pkgmgr/server/util.rs:65:16 [ 295s] | [ 295s] 65 | pub fn pkgmgrinfo_pkginfo_get_usr_all_pkginfo( [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 295s] [ 295s] warning: function `pkgmgrinfo_pkginfo_get_type` is never used [ 295s] --> ./src/pkgmgr/server/util.rs:71:16 [ 295s] | [ 295s] 71 | pub fn pkgmgrinfo_pkginfo_get_type( [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 295s] [ 295s] warning: function `pkgmgrinfo_updateinfo_create` is never used [ 295s] --> ./src/pkgmgr/server/util.rs:76:16 [ 295s] | [ 295s] 76 | pub fn pkgmgrinfo_updateinfo_create( [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 295s] [ 295s] warning: function `pkgmgrinfo_updateinfo_set_pkgid` is never used [ 295s] --> ./src/pkgmgr/server/util.rs:80:16 [ 295s] | [ 295s] 80 | pub fn pkgmgrinfo_updateinfo_set_pkgid( [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 295s] [ 295s] warning: function `pkgmgrinfo_updateinfo_set_version` is never used [ 295s] --> ./src/pkgmgr/server/util.rs:85:16 [ 295s] | [ 295s] 85 | pub fn pkgmgrinfo_updateinfo_set_version( [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 295s] [ 295s] warning: function `pkgmgrinfo_updateinfo_set_type` is never used [ 295s] --> ./src/pkgmgr/server/util.rs:90:16 [ 295s] | [ 295s] 90 | pub fn pkgmgrinfo_updateinfo_set_type( [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 295s] [ 295s] warning: function `pkgmgrinfo_updateinfo_destroy` is never used [ 295s] --> ./src/pkgmgr/server/util.rs:95:16 [ 295s] | [ 295s] 95 | pub fn pkgmgrinfo_updateinfo_destroy( [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 295s] [ 295s] warning: function `pkgmgrinfo_appinfo_get_usr_all_appinfo` is never used [ 295s] --> ./src/pkgmgr/server/util.rs:99:16 [ 295s] | [ 295s] 99 | pub fn pkgmgrinfo_appinfo_get_usr_all_appinfo( [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 295s] [ 295s] warning: function `pkgmgrinfo_appinfo_is_global` is never used [ 295s] --> ./src/pkgmgr/server/util.rs:105:16 [ 295s] | [ 295s] 105 | pub fn pkgmgrinfo_appinfo_is_global( [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 295s] [ 295s] warning: function `pkgmgrinfo_appinfo_get_pkgid` is never used [ 295s] --> ./src/pkgmgr/server/util.rs:110:16 [ 295s] | [ 295s] 110 | pub fn pkgmgrinfo_appinfo_get_pkgid( [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 295s] [ 295s] warning: function `pkgmgrinfo_appinfo_destroy_appinfo` is never used [ 295s] --> ./src/pkgmgr/server/util.rs:115:16 [ 295s] | [ 295s] 115 | pub fn pkgmgrinfo_appinfo_destroy_appinfo( [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 295s] [ 295s] warning: function `aul_app_is_running_for_uid` is never used [ 295s] --> ./src/pkgmgr/server/util.rs:122:16 [ 295s] | [ 295s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 295s] [ 295s] warning: function `aul_app_get_pid_for_uid` is never used [ 295s] --> ./src/pkgmgr/server/util.rs:123:16 [ 295s] | [ 295s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 295s] [ 295s] warning: function `aul_terminate_pid_for_uid` is never used [ 295s] --> ./src/pkgmgr/server/util.rs:124:16 [ 295s] | [ 295s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 295s] [ 295s] warning: function `aul_app_get_pkgid_bypid_for_uid` is never used [ 295s] --> ./src/pkgmgr/server/util.rs:125:16 [ 295s] | [ 295s] 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; [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 295s] [ 295s] warning: unused `Result` that must be used [ 295s] --> ./src/main.rs:14:5 [ 295s] | [ 295s] 14 | pkgmgr::server::Server::run(&mut server); [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 295s] | [ 295s] = note: this `Result` may be an `Err` variant, which should be handled [ 295s] = note: `#[warn(unused_must_use)]` on by default [ 295s] help: use `let _ = ...` to ignore the resulting value [ 295s] | [ 295s] 14 | let _ = pkgmgr::server::Server::run(&mut server); [ 295s] | +++++++ [ 295s] [ 295s] warning: unused `Result` that must be used [ 295s] --> ./src/pkgmgr/server/mod.rs:93:9 [ 295s] | [ 295s] 93 | admin_service.run(); [ 295s] | ^^^^^^^^^^^^^^^^^^^ [ 295s] | [ 295s] = note: this `Result` may be an `Err` variant, which should be handled [ 295s] help: use `let _ = ...` to ignore the resulting value [ 295s] | [ 295s] 93 | let _ = admin_service.run(); [ 295s] | +++++++ [ 295s] [ 295s] warning: unused `Result` that must be used [ 295s] --> ./src/pkgmgr/server/mod.rs:95:9 [ 295s] | [ 295s] 95 | cache_service.run(); [ 295s] | ^^^^^^^^^^^^^^^^^^^ [ 295s] | [ 295s] = note: this `Result` may be an `Err` variant, which should be handled [ 295s] help: use `let _ = ...` to ignore the resulting value [ 295s] | [ 295s] 95 | let _ = cache_service.run(); [ 295s] | +++++++ [ 295s] [ 295s] warning: unused `Result` that must be used [ 295s] --> ./src/pkgmgr/server/mod.rs:97:9 [ 295s] | [ 295s] 97 | info_service.run(); [ 295s] | ^^^^^^^^^^^^^^^^^^ [ 295s] | [ 295s] = note: this `Result` may be an `Err` variant, which should be handled [ 295s] help: use `let _ = ...` to ignore the resulting value [ 295s] | [ 295s] 97 | let _ = info_service.run(); [ 295s] | +++++++ [ 295s] [ 295s] warning: unused `Result` that must be used [ 295s] --> ./src/pkgmgr/server/mod.rs:99:9 [ 295s] | [ 295s] 99 | delayed_result_service.run(); [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 295s] | [ 295s] = note: this `Result` may be an `Err` variant, which should be handled [ 295s] help: use `let _ = ...` to ignore the resulting value [ 295s] | [ 295s] 99 | let _ = delayed_result_service.run(); [ 295s] | +++++++ [ 295s] [ 295s] warning: unused `Result` that must be used [ 295s] --> ./src/pkgmgr/server/mod.rs:109:9 [ 295s] | [ 295s] 109 | admin_service.stop(); [ 295s] | ^^^^^^^^^^^^^^^^^^^^ [ 295s] | [ 295s] = note: this `Result` may be an `Err` variant, which should be handled [ 295s] help: use `let _ = ...` to ignore the resulting value [ 295s] | [ 295s] 109 | let _ = admin_service.stop(); [ 295s] | +++++++ [ 295s] [ 295s] warning: unused `Result` that must be used [ 295s] --> ./src/pkgmgr/server/mod.rs:110:9 [ 295s] | [ 295s] 110 | cache_service.stop(); [ 295s] | ^^^^^^^^^^^^^^^^^^^^ [ 295s] | [ 295s] = note: this `Result` may be an `Err` variant, which should be handled [ 295s] help: use `let _ = ...` to ignore the resulting value [ 295s] | [ 295s] 110 | let _ = cache_service.stop(); [ 295s] | +++++++ [ 295s] [ 295s] warning: unused `Result` that must be used [ 295s] --> ./src/pkgmgr/server/mod.rs:111:9 [ 295s] | [ 295s] 111 | info_service.stop(); [ 295s] | ^^^^^^^^^^^^^^^^^^^ [ 295s] | [ 295s] = note: this `Result` may be an `Err` variant, which should be handled [ 295s] help: use `let _ = ...` to ignore the resulting value [ 295s] | [ 295s] 111 | let _ = info_service.stop(); [ 295s] | +++++++ [ 295s] [ 295s] warning: unused `Result` that must be used [ 295s] --> ./src/pkgmgr/server/mod.rs:112:9 [ 295s] | [ 295s] 112 | delayed_result_service.stop(); [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 295s] | [ 295s] = note: this `Result` may be an `Err` variant, which should be handled [ 295s] help: use `let _ = ...` to ignore the resulting value [ 295s] | [ 295s] 112 | let _ = delayed_result_service.stop(); [ 295s] | +++++++ [ 295s] [ 295s] warning: unused return value of `std::mem::size_of` that must be used [ 295s] --> ./src/pkgmgr/server/backend_queue.rs:40:9 [ 295s] | [ 295s] 40 | mem::size_of::(); [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 295s] | [ 295s] help: use `let _ = ...` to ignore the resulting value [ 295s] | [ 295s] 40 | let _ = mem::size_of::(); [ 295s] | +++++++ [ 295s] [ 295s] warning: structure field `rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 295s] --> ./src/pkgmgr/server/info_service.rs:35:9 [ 295s] | [ 295s] 35 | pub rpc_port_stub_PkgMgr_create_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_create_cb` [ 295s] | [ 295s] = note: `#[warn(non_snake_case)]` on by default [ 295s] [ 295s] warning: structure field `rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 295s] --> ./src/pkgmgr/server/info_service.rs:36:9 [ 295s] | [ 295s] 36 | pub rpc_port_stub_PkgMgr_terminate_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_terminate_cb` [ 295s] [ 295s] warning: structure field `rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 295s] --> ./src/pkgmgr/server/info_service.rs:37:9 [ 295s] | [ 295s] 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... [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_cb` [ 295s] [ 295s] warning: structure field `rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 295s] --> ./src/pkgmgr/server/info_service.rs:38:9 [ 295s] | [ 295s] 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... [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 295s] [ 295s] warning: structure field `rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 295s] --> ./src/pkgmgr/server/info_service.rs:39:9 [ 295s] | [ 295s] 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... [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 295s] [ 295s] warning: structure field `rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 295s] --> ./src/pkgmgr/server/info_service.rs:40:9 [ 295s] | [ 295s] 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... [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_check_cb` [ 295s] [ 295s] warning: function `impl_rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 295s] --> ./src/pkgmgr/server/info_service.rs:43:19 [ 295s] | [ 295s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_create_cb` [ 295s] [ 295s] warning: function `impl_rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 295s] --> ./src/pkgmgr/server/info_service.rs:48:19 [ 295s] | [ 295s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_terminate_cb` [ 295s] [ 295s] warning: function `impl_rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 295s] --> ./src/pkgmgr/server/info_service.rs:52:19 [ 295s] | [ 295s] 52 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSize_cb( [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_cb` [ 295s] [ 295s] warning: function `impl_rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 295s] --> ./src/pkgmgr/server/info_service.rs:112:19 [ 295s] | [ 295s] 112 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSizeSync_cb( [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 295s] [ 295s] warning: function `impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 295s] --> ./src/pkgmgr/server/info_service.rs:194:19 [ 295s] | [ 295s] 194 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb( [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 295s] [ 295s] warning: function `impl_rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 295s] --> ./src/pkgmgr/server/info_service.rs:221:19 [ 295s] | [ 295s] 221 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_Check_cb( [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_check_cb` [ 295s] [ 295s] warning: method `IsPackageReadonly` should have a snake case name [ 295s] --> ./src/pkgmgr/server/util.rs:389:12 [ 295s] | [ 295s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 295s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly` [ 295s] [ 295s] warning: method `GetPackageType` should have a snake case name [ 295s] --> ./src/pkgmgr/server/util.rs:420:12 [ 295s] | [ 295s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 295s] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type` [ 295s] [ 295s] warning: variable `xmlReaderTypes_XML_READER_TYPE_ELEMENT` should have a snake case name [ 295s] --> ./src/pkgmgr/server/util.rs:473:17 [ 295s] | [ 295s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_element` [ 295s] [ 295s] warning: variable `xmlReaderTypes_XML_READER_TYPE_TEXT` should have a snake case name [ 295s] --> ./src/pkgmgr/server/util.rs:478:17 [ 295s] | [ 295s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_text` [ 295s] [ 295s] warning: variable `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` should have a snake case name [ 295s] --> ./src/pkgmgr/server/util.rs:483:17 [ 295s] | [ 295s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_end_element` [ 295s] [ 295s] warning: constant `type_map` should have an upper case name [ 295s] --> ./src/pkgmgr/server/util.rs:623:15 [ 295s] | [ 295s] 623 | const type_map : [[&str; 2]; 3] = [ [ 295s] | ^^^^^^^^ help: convert the identifier to upper case: `TYPE_MAP` [ 295s] | [ 295s] = note: `#[warn(non_upper_case_globals)]` on by default [ 295s] [ 295s] warning: method `GenerateRequestId` should have a snake case name [ 295s] --> ./src/pkgmgr/server/util.rs:646:12 [ 295s] | [ 295s] 646 | pub fn GenerateRequestId(pkgid: &str) -> Option { [ 295s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_request_id` [ 295s] [ 295s] warning: method `CreatePkgUpdateInfo` should have a snake case name [ 295s] --> ./src/pkgmgr/server/util.rs:657:12 [ 295s] | [ 295s] 657 | pub fn CreatePkgUpdateInfo(pkgid: *const c_char, version: *const c_char, update_type: c_int) -> *mut c_void { [ 295s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info` [ 295s] [ 295s] warning: method `DestroyPkgUpdateInfo` should have a snake case name [ 295s] --> ./src/pkgmgr/server/util.rs:680:12 [ 295s] | [ 295s] 680 | pub fn DestroyPkgUpdateInfo(handle: *mut c_void) -> c_int { [ 295s] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroy_pkg_update_info` [ 295s] [ 295s] warning: method `RegisterPkgUpdateInfo` should have a snake case name [ 295s] --> ./src/pkgmgr/server/util.rs:686:12 [ 295s] | [ 295s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `register_pkg_update_info` [ 295s] [ 295s] warning: method `UnregisterPkgUpdateInfo` should have a snake case name [ 295s] --> ./src/pkgmgr/server/util.rs:696:12 [ 295s] | [ 295s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_pkg_update_info` [ 295s] [ 295s] warning: method `UnregisterAllPkgUpdateInfo` should have a snake case name [ 295s] --> ./src/pkgmgr/server/util.rs:706:12 [ 295s] | [ 295s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_all_pkg_update_info` [ 295s] [ 295s] warning: method `EnableApp` should have a snake case name [ 295s] --> ./src/pkgmgr/server/util.rs:728:12 [ 295s] | [ 295s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 295s] | ^^^^^^^^^ help: convert the identifier to snake case: `enable_app` [ 295s] [ 295s] warning: method `DisableApp` should have a snake case name [ 295s] --> ./src/pkgmgr/server/util.rs:738:12 [ 295s] | [ 295s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 295s] | ^^^^^^^^^^ help: convert the identifier to snake case: `disable_app` [ 295s] [ 295s] warning: method `EnableGlobalApp` should have a snake case name [ 295s] --> ./src/pkgmgr/server/util.rs:747:12 [ 295s] | [ 295s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 295s] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app` [ 295s] [ 295s] warning: method `DisableGlobalApp` should have a snake case name [ 295s] --> ./src/pkgmgr/server/util.rs:757:12 [ 295s] | [ 295s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 295s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app` [ 295s] [ 295s] warning: method `EnableAppSplashScreen` should have a snake case name [ 295s] --> ./src/pkgmgr/server/util.rs:766:12 [ 295s] | [ 295s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_app_splash_screen` [ 295s] [ 295s] warning: method `DisableAppSplashScreen` should have a snake case name [ 295s] --> ./src/pkgmgr/server/util.rs:775:12 [ 295s] | [ 295s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_app_splash_screen` [ 295s] [ 295s] warning: method `EnableGlobalAppSplashScreen` should have a snake case name [ 295s] --> ./src/pkgmgr/server/util.rs:784:12 [ 295s] | [ 295s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app_splash_screen` [ 295s] [ 295s] warning: method `DisableGlobalAppSplashScreen` should have a snake case name [ 295s] --> ./src/pkgmgr/server/util.rs:793:12 [ 295s] | [ 295s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app_splash_screen` [ 295s] [ 295s] warning: method `KillApp` should have a snake case name [ 295s] --> ./src/pkgmgr/server/util.rs:813:12 [ 295s] | [ 295s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 295s] | ^^^^^^^ help: convert the identifier to snake case: `kill_app` [ 295s] [ 295s] warning: method `KillAppsInPkg` should have a snake case name [ 295s] --> ./src/pkgmgr/server/util.rs:835:12 [ 295s] | [ 295s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 295s] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_apps_in_pkg` [ 295s] [ 295s] warning: method `IsAdminUser` should have a snake case name [ 295s] --> ./src/pkgmgr/server/util.rs:855:8 [ 295s] | [ 295s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 295s] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_admin_user` [ 295s] [ 295s] warning: function `IsPackageReadonly_test_return_None_from_disable1` should have a snake case name [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:13:4 [ 295s] | [ 295s] 13 | fn IsPackageReadonly_test_return_None_from_disable1() { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_disable1` [ 295s] [ 295s] warning: getting the inner pointer of a temporary `CString` [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:16:77 [ 295s] | [ 295s] 16 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, false)); [ 295s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 295s] | | [ 295s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 295s] | [ 295s] = 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 [ 295s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 295s] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [ 295s] [ 295s] warning: function `IsPackageReadonly_test_return_None_from_disable2` should have a snake case name [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:20:4 [ 295s] | [ 295s] 20 | fn IsPackageReadonly_test_return_None_from_disable2() { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_disable2` [ 295s] [ 295s] warning: getting the inner pointer of a temporary `CString` [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:23:77 [ 295s] | [ 295s] 23 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 295s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 295s] | | [ 295s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 295s] | [ 295s] = 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 [ 295s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 295s] [ 295s] warning: function `IsPackageReadonly_test_return_None_from_readonly` should have a snake case name [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:27:4 [ 295s] | [ 295s] 27 | fn IsPackageReadonly_test_return_None_from_readonly() { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_readonly` [ 295s] [ 295s] warning: getting the inner pointer of a temporary `CString` [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:32:77 [ 295s] | [ 295s] 32 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 295s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 295s] | | [ 295s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 295s] | [ 295s] = 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 [ 295s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 295s] [ 295s] warning: function `IsPackageReadonly_test_return_someTrue_from_readonly` should have a snake case name [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:36:4 [ 295s] | [ 295s] 36 | fn IsPackageReadonly_test_return_someTrue_from_readonly() { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_some_true_from_readonly` [ 295s] [ 295s] warning: getting the inner pointer of a temporary `CString` [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:46:83 [ 295s] | [ 295s] 46 | assert_eq!(Some(true), Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 295s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 295s] | | [ 295s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 295s] | [ 295s] = 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 [ 295s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 295s] [ 295s] warning: function `IsPackageReadonly_test_return_someFalse_from_readonly` should have a snake case name [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:50:4 [ 295s] | [ 295s] 50 | fn IsPackageReadonly_test_return_someFalse_from_readonly() { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_some_false_from_readonly` [ 295s] [ 295s] warning: getting the inner pointer of a temporary `CString` [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:60:84 [ 295s] | [ 295s] 60 | assert_eq!(Some(false), Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 295s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 295s] | | [ 295s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 295s] | [ 295s] = 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 [ 295s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 295s] [ 295s] warning: function `KillApp_test_return_0_from_running` should have a snake case name [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:65:4 [ 295s] | [ 295s] 65 | fn KillApp_test_return_0_from_running() { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_0_from_running` [ 295s] [ 295s] warning: getting the inner pointer of a temporary `CString` [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:68:64 [ 295s] | [ 295s] 68 | assert_eq!(0, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 295s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 295s] | | [ 295s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 295s] | [ 295s] = 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 [ 295s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 295s] [ 295s] warning: function `KillApp_test_return_minus_from_getpid` should have a snake case name [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:72:4 [ 295s] | [ 295s] 72 | fn KillApp_test_return_minus_from_getpid() { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_minus_from_getpid` [ 295s] [ 295s] warning: getting the inner pointer of a temporary `CString` [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:77:65 [ 295s] | [ 295s] 77 | assert_eq!(-1, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 295s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 295s] | | [ 295s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 295s] | [ 295s] = 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 [ 295s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 295s] [ 295s] warning: function `KillApp_test_return_minus_from_terminate` should have a snake case name [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:81:4 [ 295s] | [ 295s] 81 | fn KillApp_test_return_minus_from_terminate() { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_minus_from_terminate` [ 295s] [ 295s] warning: getting the inner pointer of a temporary `CString` [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:88:65 [ 295s] | [ 295s] 88 | assert_eq!(-1, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 295s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 295s] | | [ 295s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 295s] | [ 295s] = 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 [ 295s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 295s] [ 295s] warning: function `KillApp_test_return_0_from_end` should have a snake case name [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:92:4 [ 295s] | [ 295s] 92 | fn KillApp_test_return_0_from_end() { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_0_from_end` [ 295s] [ 295s] warning: getting the inner pointer of a temporary `CString` [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:99:64 [ 295s] | [ 295s] 99 | assert_eq!(0, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 295s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 295s] | | [ 295s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 295s] | [ 295s] = 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 [ 295s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 295s] [ 295s] warning: function `GetPackageType_test_return_new_from_all` should have a snake case name [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:104:4 [ 295s] | [ 295s] 104 | fn GetPackageType_test_return_new_from_all() { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_new_from_all` [ 295s] [ 295s] warning: getting the inner pointer of a temporary `CString` [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:107:83 [ 295s] | [ 295s] 107 | assert_eq!(String::new(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 295s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 295s] | | [ 295s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 295s] | [ 295s] = 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 [ 295s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 295s] [ 295s] warning: function `GetPackageType_test_return_new_from_type` should have a snake case name [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:111:4 [ 295s] | [ 295s] 111 | fn GetPackageType_test_return_new_from_type() { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_new_from_type` [ 295s] [ 295s] warning: getting the inner pointer of a temporary `CString` [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:118:83 [ 295s] | [ 295s] 118 | assert_eq!(String::new(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 295s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 295s] | | [ 295s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 295s] | [ 295s] = 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 [ 295s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 295s] [ 295s] warning: function `GetPackageType_test_return_rpk_from_end` should have a snake case name [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:122:4 [ 295s] | [ 295s] 122 | fn GetPackageType_test_return_rpk_from_end() { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_rpk_from_end` [ 295s] [ 295s] warning: getting the inner pointer of a temporary `CString` [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:132:87 [ 295s] | [ 295s] 132 | assert_eq!("rpk".to_string(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 295s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 295s] | | [ 295s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 295s] | [ 295s] = 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 [ 295s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 295s] [ 295s] warning: function `GetPackageType_test_return_newtype_from_end` should have a snake case name [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:136:4 [ 295s] | [ 295s] 136 | fn GetPackageType_test_return_newtype_from_end() { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_newtype_from_end` [ 295s] [ 295s] warning: getting the inner pointer of a temporary `CString` [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:146:87 [ 295s] | [ 295s] 146 | assert_eq!("ABC".to_string(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 295s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 295s] | | [ 295s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 295s] | [ 295s] = 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 [ 295s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 295s] [ 295s] warning: function `CreatePkgUpdateInfo_test_return_null1` should have a snake case name [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:151:4 [ 295s] | [ 295s] 151 | fn CreatePkgUpdateInfo_test_return_null1() { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null1` [ 295s] [ 295s] warning: getting the inner pointer of a temporary `CString` [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:154:95 [ 295s] | [ 295s] 154 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 295s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 295s] | | [ 295s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 295s] | [ 295s] = 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 [ 295s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 295s] [ 295s] warning: getting the inner pointer of a temporary `CString` [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:154:138 [ 295s] | [ 295s] 154 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 295s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 295s] | | [ 295s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 295s] | [ 295s] = 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 [ 295s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 295s] [ 295s] warning: function `CreatePkgUpdateInfo_test_return_null2` should have a snake case name [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:158:4 [ 295s] | [ 295s] 158 | fn CreatePkgUpdateInfo_test_return_null2() { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null2` [ 295s] [ 295s] warning: getting the inner pointer of a temporary `CString` [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:165:95 [ 295s] | [ 295s] 165 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 295s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 295s] | | [ 295s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 295s] | [ 295s] = 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 [ 295s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 295s] [ 295s] warning: getting the inner pointer of a temporary `CString` [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:165:138 [ 295s] | [ 295s] 165 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 295s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 295s] | | [ 295s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 295s] | [ 295s] = 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 [ 295s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 295s] [ 295s] warning: function `CreatePkgUpdateInfo_test_return_null3` should have a snake case name [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:169:4 [ 295s] | [ 295s] 169 | fn CreatePkgUpdateInfo_test_return_null3() { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null3` [ 295s] [ 295s] warning: getting the inner pointer of a temporary `CString` [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:178:95 [ 295s] | [ 295s] 178 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 295s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 295s] | | [ 295s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 295s] | [ 295s] = 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 [ 295s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 295s] [ 295s] warning: getting the inner pointer of a temporary `CString` [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:178:138 [ 295s] | [ 295s] 178 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 295s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 295s] | | [ 295s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 295s] | [ 295s] = 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 [ 295s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 295s] [ 295s] warning: function `CreatePkgUpdateInfo_test_return_null4` should have a snake case name [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:182:4 [ 295s] | [ 295s] 182 | fn CreatePkgUpdateInfo_test_return_null4() { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null4` [ 295s] [ 295s] warning: getting the inner pointer of a temporary `CString` [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:193:95 [ 295s] | [ 295s] 193 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 295s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 295s] | | [ 295s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 295s] | [ 295s] = 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 [ 295s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 295s] [ 295s] warning: getting the inner pointer of a temporary `CString` [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:193:138 [ 295s] | [ 295s] 193 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 295s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 295s] | | [ 295s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 295s] | [ 295s] = 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 [ 295s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 295s] [ 295s] warning: function `CreatePkgUpdateInfo_test_return_handle` should have a snake case name [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:197:4 [ 295s] | [ 295s] 197 | fn CreatePkgUpdateInfo_test_return_handle() { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_handle` [ 295s] [ 295s] warning: getting the inner pointer of a temporary `CString` [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:206:95 [ 295s] | [ 295s] 206 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 295s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 295s] | | [ 295s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 295s] | [ 295s] = 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 [ 295s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 295s] [ 295s] warning: getting the inner pointer of a temporary `CString` [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:206:138 [ 295s] | [ 295s] 206 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 295s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 295s] | | [ 295s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 295s] | [ 295s] = 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 [ 295s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 295s] [ 295s] warning: function `getapplicationinfobyappid_test_return_None_from_appinfo` should have a snake case name [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:211:4 [ 295s] | [ 295s] 211 | fn getapplicationinfobyappid_test_return_None_from_appinfo() { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_appinfo` [ 295s] [ 295s] warning: getting the inner pointer of a temporary `CString` [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:214:89 [ 295s] | [ 295s] 214 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 295s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 295s] | | [ 295s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 295s] | [ 295s] = 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 [ 295s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 295s] [ 295s] warning: function `getapplicationinfobyappid_test_return_None_from_global` should have a snake case name [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:218:4 [ 295s] | [ 295s] 218 | fn getapplicationinfobyappid_test_return_None_from_global() { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_global` [ 295s] [ 295s] warning: getting the inner pointer of a temporary `CString` [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:225:89 [ 295s] | [ 295s] 225 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 295s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 295s] | | [ 295s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 295s] | [ 295s] = 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 [ 295s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 295s] [ 295s] warning: function `getapplicationinfobyappid_test_return_None_from_pkgid` should have a snake case name [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:229:4 [ 295s] | [ 295s] 229 | fn getapplicationinfobyappid_test_return_None_from_pkgid() { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_pkgid` [ 295s] [ 295s] warning: getting the inner pointer of a temporary `CString` [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:238:89 [ 295s] | [ 295s] 238 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 295s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 295s] | | [ 295s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 295s] | [ 295s] = 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 [ 295s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 295s] [ 295s] warning: function `getapplicationinfobyappid_test_return_Some_from_end` should have a snake case name [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:242:4 [ 295s] | [ 295s] 242 | fn getapplicationinfobyappid_test_return_Some_from_end() { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `getapplicationinfobyappid_test_return_some_from_end` [ 295s] [ 295s] warning: getting the inner pointer of a temporary `CString` [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:257:127 [ 295s] | [ 295s] 257 | assert_eq!(Some((CString::new("aaa").unwrap(), true)), Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 295s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 295s] | | [ 295s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 295s] | [ 295s] = 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 [ 295s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 295s] [ 295s] warning: function `get_pkgid_bypid_for_uid_test_return_None` should have a snake case name [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:262:4 [ 295s] | [ 295s] 262 | fn get_pkgid_bypid_for_uid_test_return_None() { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_pkgid_bypid_for_uid_test_return_none` [ 295s] [ 295s] warning: function `get_pkgid_bypid_for_uid_test_return_Some` should have a snake case name [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:269:4 [ 295s] | [ 295s] 269 | fn get_pkgid_bypid_for_uid_test_return_Some() { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `get_pkgid_bypid_for_uid_test_return_some` [ 295s] [ 295s] warning: function `get_pkgid_bypid_for_uid_test_return_None_from_end` should have a snake case name [ 295s] --> ./src/pkgmgr/server/test/util_tests.rs:283:4 [ 295s] | [ 295s] 283 | fn get_pkgid_bypid_for_uid_test_return_None_from_end() { [ 295s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_pkgid_bypid_for_uid_test_return_none_from_end` [ 295s] [ 415s] warning: 735 warnings emitted [ 415s] [ 415s] + exit 0 [ 415s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CIWoBn [ 415s] + umask 022 [ 415s] + cd /home/abuild/rpmbuild/BUILD [ 415s] + cd pkgmgr-server-1.0.15 [ 415s] + LANG=C [ 415s] + export LANG [ 415s] + unset DISPLAY [ 415s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64 [ 415s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64 [ 415s] + /bin/make DESTDIR=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64 INSTALL_ROOT=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64 install [ 415s] /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 [ 415s] /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 [ 415s] /bin/make -f CMakeFiles/Makefile2 all [ 415s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 415s] /bin/make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/depend [ 415s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 415s] 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= [ 415s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 415s] /bin/make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build [ 415s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 415s] make[2]: Nothing to be done for 'tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build'. [ 415s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 415s] [ 50%] Built target tidl_pkgmgr_server [ 415s] /bin/make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/depend [ 415s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 415s] 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= [ 415s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 415s] /bin/make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build [ 415s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 415s] make[2]: Nothing to be done for 'util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build'. [ 415s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 415s] [100%] Built target util_pkgmgr_server [ 415s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 415s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/CMakeFiles 0 [ 415s] /bin/make -f CMakeFiles/Makefile2 preinstall [ 415s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 415s] make[1]: Nothing to be done for 'preinstall'. [ 415s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 415s] Install the project... [ 415s] /usr/bin/cmake -P cmake_install.cmake [ 415s] -- Install configuration: "" [ 415s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64/usr/lib/systemd/system/package-manager.service [ 415s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64/usr/lib/systemd/system/package-manager.socket [ 415s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64/usr/lib64/libtidl_pkgmgr_server.so [ 415s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64/usr/lib64/libutil_pkgmgr_server.so [ 415s] + rm -f /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64/usr/share/info/dir [ 415s] + find /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64 -regex '.*\.la$' [ 415s] + xargs rm -f -- [ 415s] + find /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64 -regex '.*\.a$' [ 415s] + xargs rm -f -- [ 415s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64/usr/lib/systemd/system/basic.target.wants [ 415s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64/usr/lib/systemd/system/sockets.target.wants [ 415s] + ln -sf ../package-manager.socket /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64/usr/lib/systemd/system/sockets.target.wants/package-manager.socket [ 415s] + install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64/usr/bin [ 415s] + install -m 0755 ./rust_pkgmgr_server /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64/usr/bin/pkgmgr-server [ 415s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64/etc/package-manager/server [ 415s] + _target= [ 415s] + _symlinks=0 [ 415s] + _files=() [ 415s] + fdupes -q -n -r /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64 [ 415s] + read _file [ 415s] + /usr/lib/rpm/find-debuginfo.sh -j8 --build-id-seed 1.0.15-1 --unique-debug-src-base pkgmgr-server-1.0.15-1.aarch64 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 415s] 1+0 records in [ 415s] 1+0 records out [ 415s] 1+0 records in [ 415s] 1+0 records out [ 415s] 1+0 records in [ 415s] 1+0 records out [ 415s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64/usr/lib64/libtidl_pkgmgr_server.so [ 415s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64/usr/lib64/libutil_pkgmgr_server.so [ 415s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64/usr/bin/pkgmgr-server [ 415s] 0+0 records in [ 415s] 0+0 records out [ 415s] 0+0 records in [ 415s] 0+0 records out [ 416s] 0+0 records in [ 416s] 0+0 records out [ 416s] 797 blocks [ 416s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/pkgmgr-server-debuginfo.manifest [ 416s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/pkgmgr-server-debugsource.manifest [ 416s] + /usr/lib/rpm/check-buildroot [ 416s] + /usr/lib/rpm//brp-compress [ 416s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 416s] + /usr/lib/rpm/brp-python-hardlink [ 416s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64 [ 416s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/isu.list [ 416s] ~/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64 ~/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 416s] ~/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 416s] + /etc/hal/rootstrap/hal-rootstrap-checker.sh 0 /home/abuild/rpmbuild/SOURCES [ 416s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.yGQ3Od [ 416s] + umask 022 [ 416s] + cd /home/abuild/rpmbuild/BUILD [ 416s] + cd pkgmgr-server-1.0.15 [ 416s] + export LD_LIBRARY_PATH=./util_pkgmgr_server/:./tidl_pkgmgr_server/:/usr/lib64/rustlib/dylib [ 416s] + LD_LIBRARY_PATH=./util_pkgmgr_server/:./tidl_pkgmgr_server/:/usr/lib64/rustlib/dylib [ 416s] + RUST_BACKTRACE=1 [ 416s] + RUST_TEST_THREADS=1 [ 416s] + ./unittests_rust_pkgmgr_server [ 416s] [ 416s] running 35 tests [ 417s] test pkgmgr::server::test::admin_service_tests::run_test ... ok [ 417s] test pkgmgr::server::test::admin_service_tests::stop_test ... ok [ 417s] test pkgmgr::server::test::cache_service_tests::run_test ... ok [ 417s] test pkgmgr::server::test::cache_service_tests::stop_test ... ok [ 418s] test pkgmgr::server::test::delayed_service_tests::run_test ... ok [ 418s] test pkgmgr::server::test::delayed_service_tests::stop_test ... ok [ 418s] test pkgmgr::server::test::info_service_tests::run_test ... ok [ 418s] test pkgmgr::server::test::info_service_tests::stop_test ... ok [ 418s] test pkgmgr::server::test::signal_tests::get_uid_list_test_return_uidvec1 ... ok [ 418s] test pkgmgr::server::test::signal_tests::get_uid_list_test_return_uidvec2 ... ok [ 418s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_handle ... ok [ 418s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null1 ... ok [ 418s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null2 ... ok [ 418s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null3 ... ok [ 418s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null4 ... ok [ 418s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_new_from_all ... ok [ 418s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_new_from_type ... ok [ 418s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_newtype_from_end ... ok [ 418s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_rpk_from_end ... ok [ 418s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_disable1 ... ok [ 418s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_disable2 ... ok [ 418s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_readonly ... ok [ 418s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_someFalse_from_readonly ... ok [ 418s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_someTrue_from_readonly ... ok [ 418s] test pkgmgr::server::test::util_tests::KillApp_test_return_0_from_end ... ok [ 418s] test pkgmgr::server::test::util_tests::KillApp_test_return_0_from_running ... ok [ 418s] test pkgmgr::server::test::util_tests::KillApp_test_return_minus_from_getpid ... ok [ 418s] test pkgmgr::server::test::util_tests::KillApp_test_return_minus_from_terminate ... ok [ 418s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_None ... ok [ 418s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_None_from_end ... ok [ 418s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_Some ... ok [ 418s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_appinfo ... ok [ 418s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_global ... ok [ 418s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_pkgid ... ok [ 418s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_Some_from_end ... ok [ 418s] [ 418s] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.52s [ 418s] [ 419s] + exit 0 [ 419s] Processing files: pkgmgr-server-1.0.15-1.aarch64 [ 419s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIiAvPgoJPC9y [ 419s] ZXF1ZXN0PgoJPGFzc2lnbj4KCQk8ZmlsZXN5c3RlbSBwYXRoPSIvdXNyL2Jpbi9w [ 419s] a2dtZ3Itc2VydmVyIiBsYWJlbD0iU3lzdGVtIiBleGVjX2xhYmVsPSJub25lIiAv [ 419s] PgoJCTxmaWxlc3lzdGVtIHBhdGg9Ii92YXIvbGliL3BhY2thZ2UtbWFuYWdlciIg [ 419s] bGFiZWw9IlN5c3RlbSIgLz4KCTwvYXNzaWduPgo8L21hbmlmZXN0Pgo= [ 419s] [ 419s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.yhTBiS [ 419s] + umask 022 [ 419s] + cd /home/abuild/rpmbuild/BUILD [ 419s] + cd pkgmgr-server-1.0.15 [ 419s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64/usr/share/licenses/pkgmgr-server [ 419s] + export LC_ALL=C [ 419s] + LC_ALL=C [ 419s] + export LICENSEDIR [ 419s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64/usr/share/licenses/pkgmgr-server [ 419s] + cp -pr LICENSE /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64/usr/share/licenses/pkgmgr-server [ 419s] + exit 0 [ 419s] Provides: libtidl_pkgmgr_server.so()(64bit) libutil_pkgmgr_server.so()(64bit) pkgmgr-server = 1.0.15-1 pkgmgr-server(aarch-64) = 1.0.15-1 [ 419s] Requires(interp): /bin/sh [ 419s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 419s] Requires(post): /bin/sh [ 419s] Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libaul.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcapi-base-common.so.0()(64bit) libdlog.so.0()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgum.so.0()(64bit) libminizip.so.1()(64bit) libpkgmgr-info.so.0()(64bit) libpkgmgr_installer.so.0()(64bit) libpkgmgr_parser.so.0()(64bit) librpc-port.so.1()(64bit) libstd-173ad5c1e159cc01.so()(64bit) libsystemd.so.0()(64bit) libsystemd.so.0(LIBSYSTEMD_209)(64bit) libtidl_pkgmgr_server.so()(64bit) libtzplatform-config-2.0.so.2()(64bit) libtzplatform-config-2.0.so.2(TPC)(64bit) libutil_pkgmgr_server.so()(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libxml2.so.2(LIBXML2_2.5.0)(64bit) libxml2.so.2(LIBXML2_2.6.0)(64bit) [ 419s] Processing files: pkgmgr-server-debugsource-1.0.15-1.aarch64 [ 419s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 419s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 419s] [ 419s] Provides: pkgmgr-server-debugsource = 1.0.15-1 pkgmgr-server-debugsource(aarch-64) = 1.0.15-1 [ 419s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 419s] Processing files: pkgmgr-server-debuginfo-1.0.15-1.aarch64 [ 419s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 419s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 419s] [ 419s] Provides: pkgmgr-server-debuginfo = 1.0.15-1 pkgmgr-server-debuginfo(aarch-64) = 1.0.15-1 [ 419s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 419s] Recommends: pkgmgr-server-debugsource(aarch-64) = 1.0.15-1 [ 419s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64 [ 419s] Wrote: /home/abuild/rpmbuild/SRPMS/pkgmgr-server-1.0.15-1.src.rpm [ 419s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/pkgmgr-server-1.0.15-1.aarch64.rpm [ 419s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/pkgmgr-server-debugsource-1.0.15-1.aarch64.rpm [ 420s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/pkgmgr-server-debuginfo-1.0.15-1.aarch64.rpm [ 420s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.qr8UU1 [ 420s] + umask 022 [ 420s] + cd /home/abuild/rpmbuild/BUILD [ 420s] + cd pkgmgr-server-1.0.15 [ 420s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64 [ 420s] + exit 0 [ 420s] ... checking for files with abuild user/group [ 420s] ... creating baselibs [ 420s] [ 420s] ip-192-168-56-230 finished "build pkgmgr-server.spec" at Mon Dec 16 00:06:58 UTC 2024. [ 420s]