[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.13 [ 0s] Using BUILD_ARCH=x86_64:i686:i586:i486:i386:noarch [ 0s] [ 0s] [ 0s] ip-192-168-56-170 started "build pkgmgr-server.spec" at Sun Dec 15 23:58:40 UTC 2024. [ 0s] [ 0s] [ 0s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_emulator/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_emulator/x86_64/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/emulator/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/debug/ --clean /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_emulator/pkgmgr-server-1.0.15-1/pkgmgr-server.spec build ... [ 0s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.13/.srcfiles.cache ... [ 0s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.13/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_emulator/x86_64/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/ [ 1s] /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/emulator/packages/ [ 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/emulator/debug/ [ 3s] expanding package dependencies... [ 3s] copying qemu [ 3s] /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 [ 3s] [ 4s] calculating packages to download... [ 6s] [1/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/dbus-1.12.20-3.x86_64.rpm ... [ 6s] [2/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/gumd-1.0.8-0.x86_64.rpm ... [ 6s] [3/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/libgum-1.0.8-0.x86_64.rpm ... [ 6s] [4/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/libgum-devel-1.0.8-0.x86_64.rpm ... [ 7s] [5/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-1.74.0-1.x86_64.rpm ... [ 7s] [6/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-anstyle-0.3.5-1.x86_64.rpm ... [ 7s] [7/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-cfg-if-1.0.0-1.x86_64.rpm ... [ 7s] [8/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-devel-1.74.0-1.x86_64.rpm ... [ 8s] [9/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-difflib-0.4.0-1.x86_64.rpm ... [ 8s] [10/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-downcast-0.11.0-1.x86_64.rpm ... [ 8s] [11/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-either-1.8.1-1.x86_64.rpm ... [ 8s] [12/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-float-cmp-0.9.0-1.x86_64.rpm ... [ 8s] [13/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-fragile-2.0.0-1.x86_64.rpm ... [ 8s] [14/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-glib-sys-0.17.10-1.x86_64.rpm ... [ 9s] [15/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-itertools-0.10.5-1.x86_64.rpm ... [ 9s] [16/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-lazy_static-1.4.0-1.x86_64.rpm ... [ 9s] [17/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-libc-0.2.139-1.x86_64.rpm ... [ 9s] [18/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-libm-0.2.6-1.x86_64.rpm ... [ 9s] [19/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-lock_api-0.4.9-1.x86_64.rpm ... [ 9s] [20/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-minizip-sys-0.1.2-1.x86_64.rpm ... [ 9s] [21/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-mockall-0.11.4-1.x86_64.rpm ... [ 9s] [22/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-mockall_derive-0.11.4-1.x86_64.rpm ... [ 10s] [23/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-mockall_double-0.3.0-1.x86_64.rpm ... [ 10s] [24/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-normalize-line-endings-0.3.0-1.x86_64.rpm ... [ 10s] [25/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-num-traits-0.2.15-1.x86_64.rpm ... [ 10s] [26/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-predicates-3.0.4-1.x86_64.rpm ... [ 10s] [27/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-predicates-core-1.0.6-1.x86_64.rpm ... [ 10s] [28/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-predicates-tree-1.0.9-1.x86_64.rpm ... [ 10s] [29/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-proc-macro2-1.0.51-1.x86_64.rpm ... [ 10s] [30/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-quote-1.0.23-1.x86_64.rpm ... [ 10s] [31/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-regex-1.7.1-1.x86_64.rpm ... [ 11s] [32/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-regex-syntax-0.6.28-1.x86_64.rpm ... [ 11s] [33/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-scopeguard-1.1.0-1.x86_64.rpm ... [ 11s] [34/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-spin-0.9.5-1.x86_64.rpm ... [ 11s] [35/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-std-shared-1.74.0-1.x86_64.rpm ... [ 11s] [36/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-std-static-1.74.0-1.x86_64.rpm ... [ 11s] [37/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-syn-1.0.107-1.x86_64.rpm ... [ 12s] [38/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-termtree-0.4.1-1.x86_64.rpm ... [ 12s] [39/39] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241215.123135/repos/emulator/packages/x86_64/rust-unicode-ident-1.0.6-1.x86_64.rpm ... [ 12s] [ 12s] cycle: nss -> libsoftokn3 [ 12s] breaking dependency nss -> libsoftokn3 [ 12s] [1/37] preinstalling libmagic-data... [ 12s] [2/37] preinstalling libncurses... [ 12s] [3/37] preinstalling setup... [ 12s] [4/37] preinstalling filesystem... [ 12s] [5/37] preinstalling glibc... [ 12s] [6/37] preinstalling bash... [ 12s] [7/37] preinstalling diffutils... [ 12s] [8/37] preinstalling grep... [ 12s] [9/37] preinstalling libattr... [ 12s] [10/37] preinstalling libbz2... [ 12s] [11/37] preinstalling libfreebl3... [ 12s] [12/37] preinstalling libgcc... [ 13s] [13/37] preinstalling liblua... [ 13s] [14/37] preinstalling liblzma... [ 13s] [15/37] preinstalling libpopt... [ 13s] [16/37] preinstalling libreadline... [ 13s] [17/37] preinstalling libsmack... [ 13s] [18/37] preinstalling libsqlite... [ 13s] [19/37] preinstalling libxcrypt... [ 13s] [20/37] preinstalling libzstd1... [ 13s] [21/37] preinstalling nspr... [ 13s] [22/37] preinstalling sed... [ 13s] [23/37] preinstalling zlib... [ 13s] [24/37] preinstalling coreutils... [ 13s] [25/37] preinstalling libacl... [ 13s] [26/37] preinstalling libcap... [ 13s] [27/37] preinstalling libelf... [ 13s] [28/37] preinstalling smack... [ 13s] [29/37] preinstalling bzip2... [ 13s] [30/37] preinstalling libmagic... [ 13s] [31/37] preinstalling libxml2... [ 13s] [32/37] preinstalling util-linux... [ 13s] [33/37] preinstalling tar... [ 13s] [34/37] preinstalling util-linux-su... [ 13s] [35/37] preinstalling nss... [ 13s] [36/37] preinstalling libsoftokn3... [ 13s] [37/37] preinstalling rpm... [ 13s] [ 13s] running setup postinstall script [ 13s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 13s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 13s] initializing rpm db... [ 14s] reordering...cycle: gio-branding-upstream -> libgio [ 14s] breaking dependency libgio -> gio-branding-upstream [ 14s] cycle: pkgmgr-info -> pkgmgr-info-parser [ 14s] breaking dependency pkgmgr-info -> pkgmgr-info-parser [ 14s] cycle: libgum -> gumd [ 14s] breaking dependency libgum -> gumd [ 14s] cycle: glibc-devel -> libxcrypt-devel [ 14s] breaking dependency libxcrypt-devel -> glibc-devel [ 14s] cycle: rust -> rust-devel [ 14s] breaking dependency rust-devel -> rust [ 14s] cycle: libsoftokn3 -> nss [ 14s] breaking dependency nss -> libsoftokn3 [ 14s] reordering done [ 14s] [1/241] cumulate default-ac-domains-0.1-1.1 [ 14s] [2/241] cumulate dlog-config-persistent-logs-9.0.1-1 [ 14s] [3/241] cumulate libmagic-data-5.45-1.5 [ 14s] [4/241] cumulate pcre2-syntax-10.40-1 [ 14s] [5/241] cumulate python3-pyparsing-3.1.1-1.1 [ 14s] [6/241] cumulate python3-six-1.16.0-1.1 [ 14s] [7/241] cumulate rust-std-static-1.74.0-1 [ 14s] [8/241] cumulate setup-0.9-1.1 [ 14s] [9/241] cumulate filesystem-3.1-1.1 [ 14s] [10/241] cumulate python3-packaging-23.2-1.1 [ 14s] [11/241] cumulate glibc-2.39-1.6 [ 14s] [12/241] cumulate bash-3.2.57-1.1 [ 14s] [13/241] cumulate capi-base-common-0.4.82-1 [ 14s] [14/241] cumulate cpio-2.8-1.1 [ 14s] [15/241] cumulate diffutils-3.10-1.1 [ 14s] [16/241] cumulate fdupes-2.2.1-1.5 [ 14s] [17/241] cumulate findutils-4.3.8-1.4 [ 14s] [18/241] cumulate gdbm-1.8.3-1.7 [ 14s] [19/241] cumulate hostname-3.23-1.1 [ 14s] [20/241] cumulate iniparser-4.1-1.1 [ 14s] [21/241] cumulate libatomic-14.2.0-1.6 [ 14s] [22/241] cumulate libattr-2.5.1-1.4 [ 14s] [23/241] cumulate libblkid-2.39.3-1.6 [ 14s] [24/241] cumulate libbz2-1.0.8-1.5 [ 14s] [25/241] cumulate libexpat-2.6.2-1.5 [ 14s] [26/241] cumulate libffi-3.4.2-1.5 [ 14s] [27/241] cumulate libfreebl3-3.98-1.7 [ 14s] [28/241] cumulate libgcc-14.2.0-1.6 [ 14s] [29/241] cumulate libgomp-14.2.0-1.6 [ 14s] [30/241] cumulate libitm-14.2.0-1.6 [ 14s] [31/241] cumulate libjson-0.17-0 [ 14s] [32/241] cumulate libltdl-2.4.7-1.6 [ 14s] [33/241] cumulate liblua-5.1.5-1.3 [ 14s] [34/241] cumulate liblzma-5.4.5-1.7 [ 14s] [35/241] cumulate libopenssl11-1.1.1w-1.5 [ 14s] [36/241] cumulate libopenssl3-3.0.13-1.7 [ 14s] [37/241] cumulate libpcre-8.45-1.4 [ 14s] [38/241] cumulate libpopt-1.16-1.4 [ 14s] [39/241] cumulate libpython3_121_0-3.12.0-1.6 [ 14s] [40/241] cumulate libquadmath-14.2.0-1.6 [ 14s] [41/241] cumulate libsmack-1.3.1-1.4 [ 14s] [42/241] cumulate libsmartcols-2.39.3-1.6 [ 14s] [43/241] cumulate libsqlite-3.44.0-1.4 [ 14s] [44/241] cumulate libuuid-2.39.3-1.6 [ 14s] [45/241] cumulate libxcrypt-4.4.36-1.6 [ 14s] [46/241] cumulate libzstd1-1.5.5-1.6 [ 14s] [47/241] cumulate m4-1.4.19-1.1 [ 14s] [48/241] cumulate net-tools-2.0_20121208git-1.4 [ 14s] [49/241] cumulate nspr-4.35-1.4 [ 14s] [50/241] cumulate patch-2.7.6-1.4 [ 14s] [51/241] cumulate pkg-config-0.29.2-1.5 [ 14s] [52/241] cumulate sed-4.1c-1.4 [ 14s] [53/241] cumulate update-alternatives-1.22.2-1.1 [ 14s] [54/241] cumulate which-2.17-1.1 [ 14s] [55/241] cumulate xdgmime-0.0.17-1.1 [ 14s] [56/241] cumulate zlib-1.3-1.5 [ 15s] [57/241] cumulate pcre2-10.40-1 [ 15s] [58/241] cumulate pcre2-utf16-10.40-1 [ 15s] [59/241] cumulate pcre2-utf32-10.40-1 [ 15s] [60/241] cumulate build-compare-2023.06.18-1.1 [ 15s] [61/241] cumulate hal-rootstrap-checker-0.1.0-1.1 [ 15s] [62/241] cumulate vconf-internal-keys-devel-0.0.191-0 [ 15s] [63/241] cumulate binutils-libs-2.43-1.6 [ 15s] [64/241] cumulate capi-base-common-devel-0.4.82-1 [ 15s] [65/241] cumulate coreutils-6.9-14.1 [ 15s] [66/241] cumulate cpp-14.2.0-1.6 [ 15s] [67/241] cumulate gawk-3.1.5-1.1 [ 15s] [68/241] cumulate gcc-c++-14.2.0-1.6 [ 15s] [69/241] cumulate grep-2.5.2-1.3 [ 15s] [70/241] cumulate libacl-2.3.2-1.4 [ 15s] [71/241] cumulate libblkid-devel-2.39.3-1.6 [ 15s] [72/241] cumulate libcap-2.69-1.5 [ 15s] [73/241] cumulate libelf-0.189-1.6 [ 15s] [74/241] cumulate libffi-devel-3.4.2-1.5 [ 15s] [75/241] cumulate libgfortran-14.2.0-1.6 [ 15s] [76/241] cumulate libglib-2.80.5-0 [ 15s] [77/241] cumulate libmount-2.39.3-1.6 [ 15s] [78/241] cumulate libstdc++-14.2.0-1.6 [ 15s] [79/241] cumulate make-4.4-1.3 [ 15s] [80/241] cumulate minizip-1.3-1.5 [ 15s] [81/241] cumulate nss-certs-3.98-1.7 [ 15s] [82/241] cumulate rust-std-shared-1.74.0-1 [ 15s] [83/241] cumulate smack-1.3.1-1.4 [ 15s] [84/241] cumulate sqlite-3.44.0-1.4 [ 15s] [85/241] cumulate tidl-2.3.4-1 [ 15s] [86/241] cumulate unzip-610c25-1.1 [ 15s] [87/241] cumulate xdgmime-devel-0.0.17-1.1 [ 15s] [88/241] cumulate xz-devel-5.4.5-1.7 [ 15s] [89/241] cumulate bzip2-1.0.8-1.5 [ 15s] [90/241] cumulate libfdisk-2.39.3-1.6 [ 15s] [91/241] cumulate libmagic-5.45-1.5 [ 15s] [92/241] cumulate libxml2-2.12.5-1.6 [ 15s] [93/241] cumulate shadow-utils-4.1.4.2-7.1 [ 15s] [94/241] cumulate xz-5.4.5-1.7 [ 15s] [95/241] cumulate libkmod-31-1.1 [ 15s] [96/241] cumulate perl-5.38.0-1.5 [ 15s] [97/241] cumulate pcre2-devel-10.40-1 [ 15s] [98/241] cumulate build-mkbaselibs-20120927-1.1 [ 15s] [99/241] cumulate libstdc++-devel-14.2.0-1.6 [ 15s] [100/241] cumulate linux-glibc-devel-6.6-1.7 [ 15s] [101/241] cumulate acl-2.3.2-1.4 [ 15s] [102/241] cumulate file-5.45-1.5 [ 15s] [103/241] cumulate libcap-tools-2.69-1.5 [ 15s] [104/241] cumulate libgmodule-2.80.5-0 [ 15s] [105/241] cumulate libgthread-2.80.5-0 [ 15s] [106/241] cumulate minizip-devel-1.3-1.5 [ 15s] [107/241] cumulate tar-1.17-1.1 [ 15s] [108/241] cumulate terminfo-base-full-6.4-1.7 [ 15s] [109/241] cumulate autoconf-2.71-1.7 [ 15s] [110/241] cumulate glibc-locale-2.39-1.6 [ 15s] [111/241] cumulate gzip-1.3.12-1.4 [ 15s] [112/241] cumulate libcc1-14.2.0-1.6 [ 15s] [113/241] cumulate libgobject-2.80.5-0 [ 15s] [114/241] cumulate libhwasan-14.2.0-1.6 [ 15s] [115/241] cumulate libmount-devel-2.39.3-1.6 [ 15s] [116/241] cumulate libubsan-14.2.0-1.6 [ 15s] [117/241] cumulate tizen-platform-config-5.0-1 [ 15s] [118/241] cumulate binutils-2.43-1.6 [ 15s] [119/241] cumulate gettext-runtime-0.21.1-2.6 [ 15s] [120/241] cumulate pam-1.1.6-1.5 [ 15s] [121/241] cumulate tzdata-2023c-1.1 [ 15s] [122/241] cumulate dlog-9.0.1-1 [ 15s] [123/241] cumulate cynara-db-migration-0.19.4-1 [ 15s] [124/241] cumulate libdw-0.189-1.6 [ 15s] [125/241] cumulate ttrace-1.1.0-1 [ 15s] [126/241] cumulate libarchive-3.7.2-1.5 [ 15s] [127/241] cumulate shared-mime-info-1.7-0 [ 15s] [128/241] cumulate dlog-logger-9.0.1-1 [ 15s] [129/241] cumulate libtzplatform-config-5.0-1 [ 15s] [130/241] cumulate automake-1.16.5-1.6 [ 15s] [131/241] cumulate libasm-0.189-1.6 [ 15s] [132/241] cumulate libncurses5-6.4-1.7 [ 15s] [133/241] cumulate libncurses6-6.4-1.7 [ 15s] [134/241] cumulate build-20120927-1.1 [ 15s] [135/241] cumulate libgirepository2-2.80.5-0 [ 15s] [136/241] cumulate libsystemd-244-0 [ 15s] [137/241] cumulate security-config-1.0-1 [ 15s] [138/241] cumulate gettext-tools-0.21.1-2.6 [ 15s] [139/241] cumulate gcc-14.2.0-1.6 [ 15s] [140/241] cumulate libncurses-6.4-1.7 [ 15s] [141/241] cumulate dbus-libs-1.12.20-3 [ 15s] [142/241] cumulate less-643-1.1 [ 15s] [143/241] cumulate libreadline-5.2-1.6 [ 15s] [144/241] cumulate libtzplatform-config-devel-5.0-1 [ 15s] [145/241] cumulate libtool-2.4.7-1.6 [ 15s] [146/241] cumulate ncurses-devel-6.4-1.7 [ 15s] [147/241] cumulate elfutils-0.189-1.6 [ 15s] [148/241] cumulate libdlog-9.0.1-1 [ 15s] [149/241] cumulate cmake-3.25.2-1.5 [ 15s] [150/241] cumulate capi-system-resource-1.0.0-0 [ 15s] [151/241] cumulate readline-devel-5.2-1.6 [ 15s] [152/241] cumulate libdlog-devel-9.0.1-1 [ 15s] [153/241] cumulate libxml2-tools-2.12.5-1.6 [ 15s] [154/241] cumulate parcel-0.17.3-0 [ 15s] [155/241] cumulate libcynara-commons-0.19.4-1 [ 15s] [156/241] cumulate capi-system-info-0.5.2-1 [ 15s] [157/241] cumulate python3-base-3.12.0-1.6 [ 15s] [158/241] cumulate util-linux-2.39.3-1.6 [ 15s] [159/241] cumulate systemd-244-0 [ 16s] [160/241] cumulate python3-3.12.0-1.1 [ 16s] [161/241] cumulate capi-system-resource-devel-1.0.0-0 [ 16s] [162/241] cumulate parcel-devel-0.17.3-0 [ 16s] [163/241] cumulate pkgmgr-0.20.21-0 [ 16s] [164/241] cumulate systemd-devel-244-0 [ 16s] [165/241] cumulate util-linux-su-2.39.3-1.6 [ 16s] [166/241] cumulate libcynara-creds-commons-0.19.4-1 [ 16s] [167/241] cumulate libcynara-session-0.19.4-1 [ 16s] [168/241] cumulate libcynara-client-0.19.4-1 [ 16s] [169/241] cumulate python3-setuptools-69.0.2-1.1 [ 16s] [170/241] cumulate pkgmgr-types-devel-0.20.21-0 [ 16s] [171/241] cumulate libcynara-creds-socket-0.19.4-1 [ 16s] [172/241] cumulate dbus-1.12.20-3 [ 16s] [173/241] cumulate libxcrypt-devel-4.4.36-1.6 [ 16s] [174/241] cumulate nss-3.98-1.7 [ 16s] [175/241] cumulate rust-devel-1.74.0-1 [ 16s] [176/241] cumulate libgio-2.80.5-0 [ 16s] [177/241] cumulate gio-branding-upstream-2.80.5-0 [ 16s] [178/241] cumulate libjson-glib-1.8.0-0 [ 16s] [179/241] cumulate glibc-devel-2.39-1.6 [ 16s] [180/241] cumulate libsoftokn3-3.98-1.7 [ 16s] [181/241] cumulate rust-1.74.0-1 [ 16s] [182/241] cumulate glib2-tools-2.80.5-0 [ 16s] [183/241] cumulate libgum-1.0.8-0 [ 16s] [184/241] cumulate libsyscommon-5.0.0-0 [ 16s] [185/241] cumulate buxton2-1.8.10-0 [ 16s] [186/241] cumulate rpm-4.14.1.1-1.6 [ 16s] [187/241] cumulate rust-anstyle-0.3.5-1 [ 16s] [188/241] cumulate rust-cfg-if-1.0.0-1 [ 16s] [189/241] cumulate rust-downcast-0.11.0-1 [ 16s] [190/241] cumulate rust-either-1.8.1-1 [ 16s] [191/241] cumulate rust-libc-0.2.139-1 [ 16s] [192/241] cumulate rust-libm-0.2.6-1 [ 16s] [193/241] cumulate rust-minizip-sys-0.1.2-1 [ 16s] [194/241] cumulate rust-normalize-line-endings-0.3.0-1 [ 16s] [195/241] cumulate rust-scopeguard-1.1.0-1 [ 16s] [196/241] cumulate rust-termtree-0.4.1-1 [ 16s] [197/241] cumulate rust-unicode-ident-1.0.6-1 [ 16s] [198/241] cumulate zlib-devel-1.3-1.5 [ 16s] [199/241] cumulate rust-difflib-0.4.0-1 [ 16s] [200/241] cumulate rust-fragile-2.0.0-1 [ 16s] [201/241] cumulate rust-predicates-core-1.0.6-1 [ 16s] [202/241] cumulate rust-regex-syntax-0.6.28-1 [ 16s] [203/241] cumulate sqlite-devel-3.44.0-1.4 [ 16s] [204/241] cumulate vconf-compat-1.8.10-0 [ 16s] [205/241] cumulate bundle-0.17.3-0 [ 16s] [206/241] cumulate gumd-1.0.8-0 [ 16s] [207/241] cumulate rpm-build-4.14.1.1-1.6 [ 16s] [208/241] cumulate bundle-devel-0.17.3-0 [ 16s] [209/241] cumulate rust-lock_api-0.4.9-1 [ 16s] [210/241] cumulate rust-num-traits-0.2.15-1 [ 16s] [211/241] cumulate rust-glib-sys-0.17.10-1 [ 16s] [212/241] cumulate rust-itertools-0.10.5-1 [ 16s] [213/241] cumulate rust-proc-macro2-1.0.51-1 [ 16s] [214/241] cumulate rust-regex-1.7.1-1 [ 16s] [215/241] cumulate rust-predicates-tree-1.0.9-1 [ 16s] [216/241] cumulate libxml2-devel-2.12.5-1.6 [ 16s] [217/241] cumulate libstorage-1.0.0-0 [ 16s] [218/241] cumulate glib2-devel-2.80.5-0 [ 16s] [219/241] cumulate pkgmgr-info-0.28.5-1 [ 16s] [220/241] cumulate libgum-devel-1.0.8-0 [ 16s] [221/241] cumulate pkgmgr-info-devel-0.28.5-1 [ 16s] [222/241] cumulate rust-float-cmp-0.9.0-1 [ 16s] [223/241] cumulate rust-spin-0.9.5-1 [ 16s] [224/241] cumulate vconf-compat-devel-1.8.10-0 [ 16s] [225/241] cumulate pkgmgr-info-parser-0.28.5-1 [ 16s] [226/241] cumulate rust-quote-1.0.23-1 [ 16s] [227/241] cumulate aul-0.65.1-1 [ 16s] [228/241] cumulate rust-lazy_static-1.4.0-1 [ 16s] [229/241] cumulate pkgmgr-info-parser-devel-0.28.5-1 [ 16s] [230/241] cumulate rust-syn-1.0.107-1 [ 16s] [231/241] cumulate aul-devel-0.65.1-1 [ 16s] [232/241] cumulate rust-predicates-3.0.4-1 [ 16s] [233/241] cumulate rpc-port-1.19.1-0 [ 16s] [234/241] cumulate rpc-port-devel-1.19.1-0 [ 16s] [235/241] cumulate rust-mockall_derive-0.11.4-1 [ 16s] [236/241] cumulate rust-mockall_double-0.3.0-1 [ 16s] [237/241] cumulate pkgmgr-client-0.20.21-0 [ 16s] [238/241] cumulate pkgmgr-installer-0.20.21-0 [ 16s] [239/241] cumulate pkgmgr-installer-devel-0.20.21-0 [ 16s] [240/241] cumulate pkgmgr-client-devel-0.20.21-0 [ 16s] [241/241] cumulate rust-mockall-0.11.4-1 [ 16s] now installing cumulated packages [ 17s] Preparing... ######################################## [ 17s] Updating / installing... [ 17s] pcre2-syntax-10.40-1 ######################################## [ 17s] setup-0.9-1.1 ######################################## [ 17s] filesystem-3.1-1.1 ######################################## [ 17s] glibc-2.39-1.6 ######################################## [ 17s] libgcc-14.2.0-1.6 ######################################## [ 18s] bash-3.2.57-1.1 ######################################## [ 18s] rust-std-shared-1.74.0-1 ######################################## [ 18s] pkg-config-0.29.2-1.5 ######################################## [ 18s] libstdc++-14.2.0-1.6 ######################################## [ 18s] zlib-1.3-1.5 ######################################## [ 19s] coreutils-6.9-14.1 ######################################## [ 19s] liblzma-5.4.5-1.7 ######################################## [ 19s] libxml2-2.12.5-1.6 ######################################## [ 19s] capi-base-common-0.4.82-1 ######################################## [ 19s] libxcrypt-4.4.36-1.6 ######################################## [ 20s] libbz2-1.0.8-1.5 ######################################## [ 20s] libsqlite-3.44.0-1.4 ######################################## [ 20s] shadow-utils-4.1.4.2-7.1 ######################################## [ 20s] libelf-0.189-1.6 ######################################## [ 20s] libblkid-2.39.3-1.6 ######################################## [ 20s] libmount-2.39.3-1.6 ######################################## [ 20s] libcap-2.69-1.5 ######################################## [ 20s] libffi-3.4.2-1.5 ######################################## [ 20s] libuuid-2.39.3-1.6 ######################################## [ 21s] libdw-0.189-1.6 ######################################## [ 21s] pam-1.1.6-1.5 ######################################## [ 21s] libsystemd-244-0 ######################################## [ 21s] capi-base-common-devel-0.4.82-1 ######################################## [ 21s] minizip-1.3-1.5 ######################################## [ 21s] rust-cfg-if-1.0.0-1 ######################################## [ 21s] libexpat-2.6.2-1.5 ######################################## [ 21s] libsmack-1.3.1-1.4 ######################################## [ 21s] smack-1.3.1-1.4 ######################################## [ 21s] tizen-platform-config-5.0-1 ######################################## [ 21s] libtzplatform-config-5.0-1 ######################################## [ 22s] nspr-4.35-1.4 ######################################## [ 22s] pcre2-10.40-1 ######################################## [ 22s] libglib-2.80.5-0 ######################################## [ 22s] libgobject-2.80.5-0 ######################################## [ 22s] libgmodule-2.80.5-0 ######################################## [ 22s] libgirepository2-2.80.5-0 ######################################## [ 22s] terminfo-base-full-6.4-1.7 ######################################## [ 22s] libncurses6-6.4-1.7 ######################################## [ 22s] libreadline-5.2-1.6 ######################################## [ 22s] rust-unicode-ident-1.0.6-1 ######################################## [ 23s] rust-proc-macro2-1.0.51-1 ######################################## [ 23s] rust-quote-1.0.23-1 ######################################## [ 23s] rust-syn-1.0.107-1 ######################################## [ 24s] rust-predicates-core-1.0.6-1 ######################################## [ 24s] findutils-4.3.8-1.4 ######################################## [ 24s] gdbm-1.8.3-1.7 ######################################## [ 32s] perl-5.38.0-1.5 ######################################## [ 32s] libfreebl3-3.98-1.7 ######################################## [ 33s] liblua-5.1.5-1.3 ######################################## [ 34s] libopenssl3-3.0.13-1.7 ######################################## [ 34s] libpopt-1.16-1.4 ######################################## [ 34s] libzstd1-1.5.5-1.6 ######################################## [ 34s] xdgmime-0.0.17-1.1 ######################################## [ 34s] xdgmime-devel-0.0.17-1.1 ######################################## [ 34s] build-mkbaselibs-20120927-1.1 ######################################## [ 34s] cynara-db-migration-0.19.4-1 ######################################## [ 35s] rust-mockall_derive-0.11.4-1 ######################################## [ 35s] libxml2-tools-2.12.5-1.6 ######################################## [ 35s] libncurses5-6.4-1.7 ######################################## [ 36s] ncurses-devel-6.4-1.7 ######################################## [ 36s] readline-devel-5.2-1.6 ######################################## [ 36s] libgthread-2.80.5-0 ######################################## [ 36s] nss-certs-3.98-1.7 ######################################## [ 37s] libsoftokn3-3.98-1.7 ######################################## [ 37s] nss-3.98-1.7 ######################################## [ 37s] libtzplatform-config-devel-5.0-1 ######################################## [ 37s] dbus-libs-1.12.20-3 ######################################## [ 37s] libasm-0.189-1.6 ######################################## [ 37s] libfdisk-2.39.3-1.6 ######################################## [ 37s] libffi-devel-3.4.2-1.5 ######################################## [ 37s] libcap-tools-2.69-1.5 ######################################## [ 37s] libblkid-devel-2.39.3-1.6 ######################################## [ 37s] libmount-devel-2.39.3-1.6 ######################################## [ 38s] sqlite-3.44.0-1.4 ######################################## [ 38s] bzip2-1.0.8-1.5 ######################################## [ 38s] ttrace-1.1.0-1 ######################################## [ 38s] xz-devel-5.4.5-1.7 ######################################## [ 38s] xz-5.4.5-1.7 ######################################## [ 38s] libkmod-31-1.1 ######################################## [ 38s] linux-glibc-devel-6.6-1.7 ######################################## [ 38s] gzip-1.3.12-1.4 ######################################## [ 39s] binutils-libs-2.43-1.6 ######################################## [ 40s] binutils-2.43-1.6 ######################################## [ 55s] rust-devel-1.74.0-1 ######################################## [ 55s] libcc1-14.2.0-1.6 ######################################## [ 55s] libhwasan-14.2.0-1.6 ######################################## [ 55s] libubsan-14.2.0-1.6 ######################################## [ 56s] gettext-runtime-0.21.1-2.6 ######################################## [ 56s] vconf-internal-keys-devel-0.0.191-0 ######################################## [ 56s] rust-anstyle-0.3.5-1 ######################################## [ 56s] rust-downcast-0.11.0-1 ######################################## [ 56s] rust-either-1.8.1-1 ######################################## [ 56s] rust-itertools-0.10.5-1 ######################################## [ 56s] rust-libc-0.2.139-1 ######################################## [ 57s] rust-libm-0.2.6-1 ######################################## [ 57s] rust-num-traits-0.2.15-1 ######################################## [ 57s] rust-float-cmp-0.9.0-1 ######################################## [ 57s] rust-normalize-line-endings-0.3.0-1 ######################################## [ 57s] rust-scopeguard-1.1.0-1 ######################################## [ 57s] rust-lock_api-0.4.9-1 ######################################## [ 57s] rust-spin-0.9.5-1 ######################################## [ 57s] rust-lazy_static-1.4.0-1 ######################################## [ 58s] rust-termtree-0.4.1-1 ######################################## [ 58s] rust-predicates-tree-1.0.9-1 ######################################## [ 58s] rust-difflib-0.4.0-1 ######################################## [ 58s] rust-fragile-2.0.0-1 ######################################## [ 58s] rust-regex-syntax-0.6.28-1 ######################################## [ 58s] rust-regex-1.7.1-1 ######################################## [ 59s] rust-predicates-3.0.4-1 ######################################## [ 59s] make-4.4-1.3 ######################################## [ 59s] libgfortran-14.2.0-1.6 ######################################## [ 59s] iniparser-4.1-1.1 ######################################## [ 59s] libatomic-14.2.0-1.6 ######################################## [ 59s] libattr-2.5.1-1.4 ######################################## [ 59s] libacl-2.3.2-1.4 ######################################## [ 59s] tar-1.17-1.1 ######################################## [ 59s] libarchive-3.7.2-1.5 ######################################## [ 59s] acl-2.3.2-1.4 ######################################## [ 59s] libgomp-14.2.0-1.6 ######################################## [ 60s] libitm-14.2.0-1.6 ######################################## [ 60s] libjson-0.17-0 ######################################## [ 60s] libltdl-2.4.7-1.6 ######################################## [ 60s] libopenssl11-1.1.1w-1.5 ######################################## [ 60s] libpcre-8.45-1.4 ######################################## [ 60s] grep-2.5.2-1.3 ######################################## [ 60s] shared-mime-info-1.7-0 ######################################## [ 65s] gio-branding-upstream-2.80.5-0 ######################################## [ 65s] libgio-2.80.5-0 ######################################## [ 65s] libjson-glib-1.8.0-0 ######################################## [ 65s] glib2-tools-2.80.5-0 ######################################## [ 65s] libpython3_121_0-3.12.0-1.6 ######################################## [ 67s] python3-base-3.12.0-1.6 ######################################## [ 67s] python3-3.12.0-1.1 ######################################## [ 68s] python3-setuptools-69.0.2-1.1 ######################################## [ 68s] libquadmath-14.2.0-1.6 ######################################## [ 74s] gcc-14.2.0-1.6 ######################################## [ 74s] libxcrypt-devel-4.4.36-1.6 ######################################## [ 74s] glibc-devel-2.39-1.6 ######################################## [ 75s] zlib-devel-1.3-1.5 ######################################## [ 75s] libxml2-devel-2.12.5-1.6 ######################################## [ 75s] libsmartcols-2.39.3-1.6 ######################################## [ 75s] m4-1.4.19-1.1 ######################################## [ 75s] autoconf-2.71-1.7 ######################################## [ 76s] automake-1.16.5-1.6 ######################################## [ 76s] patch-2.7.6-1.4 ######################################## [ 76s] sed-4.1c-1.4 ######################################## [ 76s] util-linux-2.39.3-1.6 ######################################## [ 76s] update-alternatives-1.22.2-1.1 ######################################## [ 76s] pcre2-utf16-10.40-1 ######################################## [ 76s] pcre2-utf32-10.40-1 ######################################## [ 76s] pcre2-devel-10.40-1 ######################################## [ 83s] rust-std-static-1.74.0-1 ######################################## [ 83s] python3-six-1.16.0-1.1 ######################################## [ 83s] python3-pyparsing-3.1.1-1.1 ######################################## [ 83s] python3-packaging-23.2-1.1 ######################################## [ 83s] glib2-devel-2.80.5-0 ######################################## [ 84s] libmagic-data-5.45-1.5 ######################################## [ 84s] libmagic-5.45-1.5 ######################################## [ 84s] security-config-1.0-1 ######################################## [ 84s] groupadd: group 'dbus' already exists [ 90s] groupadd: group 'priv_appdebugging' already exists [ 95s] rm: cannot remove `/opt/share/security-config/test': No such file or directory [ 95s] cat: /etc/tizen-build.conf: No such file or directory [ 95s] rpm-4.14.1.1-1.6 ######################################## [ 95s] dlog-config-persistent-logs-9.0.1-1 ######################################## [ 95s] dlog-9.0.1-1 ######################################## [ 95s] dlog-logger-9.0.1-1 ######################################## [ 95s] libdlog-9.0.1-1 ######################################## [ 95s] parcel-0.17.3-0 ######################################## [ 96s] capi-system-resource-1.0.0-0 ######################################## [ 96s] capi-system-info-0.5.2-1 ######################################## [ 96s] pkgmgr-0.20.21-0 ######################################## [ 96s] bundle-0.17.3-0 ######################################## [ 97s] systemd-244-0 ######################################## [ 97s] update-alternatives: using /usr/lib/systemd/systemd-shutdown-original to provide /usr/lib/systemd/systemd-shutdown (systemd-shutdown) in auto mode [ 97s] update-alternatives: using /usr/sbin/reboot-original to provide /usr/sbin/reboot (reboot) in auto mode [ 97s] update-alternatives: using /usr/sbin/halt-original to provide /usr/sbin/halt (halt) in auto mode [ 97s] update-alternatives: using /usr/sbin/poweroff-original to provide /usr/sbin/poweroff (poweroff) in auto mode [ 97s] update-alternatives: using /usr/sbin/shutdown-original to provide /usr/sbin/shutdown (shutdown) in auto mode [ 97s] bundle-devel-0.17.3-0 ######################################## [ 97s] pkgmgr-types-devel-0.20.21-0 ######################################## [ 97s] libsyscommon-5.0.0-0 ######################################## [ 97s] capi-system-resource-devel-1.0.0-0 ######################################## [ 97s] parcel-devel-0.17.3-0 ######################################## [ 97s] libdlog-devel-9.0.1-1 ######################################## [ 97s] default-ac-domains-0.1-1.1 ######################################## [ 98s] libcynara-commons-0.19.4-1 ######################################## [ 98s] libcynara-client-0.19.4-1 ######################################## [ 98s] libcynara-session-0.19.4-1 ######################################## [ 98s] dbus-1.12.20-3 ######################################## [ 98s] libgum-1.0.8-0 ######################################## [ 99s] gumd-1.0.8-0 ######################################## [ 99s] buxton2-1.8.10-0 ######################################## [ 99s] vconf-compat-1.8.10-0 ######################################## [ 99s] libstorage-1.0.0-0 ######################################## [ 99s] vconf-compat-devel-1.8.10-0 ######################################## [ 99s] libcynara-creds-commons-0.19.4-1 ######################################## [ 99s] libcynara-creds-socket-0.19.4-1 ######################################## [ 99s] pkgmgr-info-parser-0.28.5-1 ######################################## [ 100s] pkgmgr-info-0.28.5-1 ######################################## [ 100s] aul-0.65.1-1 ######################################## [ 100s] rpc-port-1.19.1-0 ######################################## [ 100s] pkgmgr-client-0.20.21-0 ######################################## [ 100s] pkgmgr-installer-0.20.21-0 ######################################## [ 100s] pkgmgr-info-devel-0.28.5-1 ######################################## [ 100s] pkgmgr-info-parser-devel-0.28.5-1 ######################################## [ 100s] pkgmgr-installer-devel-0.20.21-0 ######################################## [ 100s] pkgmgr-client-devel-0.20.21-0 ######################################## [ 100s] rpc-port-devel-1.19.1-0 ######################################## [ 100s] aul-devel-0.65.1-1 ######################################## [ 100s] libgum-devel-1.0.8-0 ######################################## [ 100s] systemd-devel-244-0 ######################################## [ 100s] rpm-build-4.14.1.1-1.6 ######################################## [ 100s] file-5.45-1.5 ######################################## [ 102s] rust-1.74.0-1 ######################################## [ 102s] util-linux-su-2.39.3-1.6 ######################################## [ 102s] libtool-2.4.7-1.6 ######################################## [ 102s] sqlite-devel-3.44.0-1.4 ######################################## [ 104s] cmake-3.25.2-1.5 ######################################## [ 104s] build-20120927-1.1 ######################################## [ 104s] rust-mockall-0.11.4-1 ######################################## [ 105s] rust-glib-sys-0.17.10-1 ######################################## [ 105s] gettext-tools-0.21.1-2.6 ######################################## [ 105s] elfutils-0.189-1.6 ######################################## [ 105s] rust-mockall_double-0.3.0-1 ######################################## [ 105s] libncurses-6.4-1.7 ######################################## [ 105s] less-643-1.1 ######################################## [ 105s] minizip-devel-1.3-1.5 ######################################## [ 106s] glibc-locale-2.39-1.6 ######################################## [ 106s] tzdata-2023c-1.1 ######################################## [ 107s] cpp-14.2.0-1.6 ######################################## [ 109s] gcc-c++-14.2.0-1.6 ######################################## [ 109s] libstdc++-devel-14.2.0-1.6 ######################################## [ 109s] rust-minizip-sys-0.1.2-1 ######################################## [ 109s] build-compare-2023.06.18-1.1 ######################################## [ 109s] hal-rootstrap-checker-0.1.0-1.1 ######################################## [ 109s] gawk-3.1.5-1.1 ######################################## [ 109s] tidl-2.3.4-1 ######################################## [ 110s] unzip-610c25-1.1 ######################################## [ 110s] cpio-2.8-1.1 ######################################## [ 110s] diffutils-3.10-1.1 ######################################## [ 110s] fdupes-2.2.1-1.5 ######################################## [ 110s] hostname-3.23-1.1 ######################################## [ 110s] net-tools-2.0_20121208git-1.4 ######################################## [ 110s] which-2.17-1.1 ######################################## [ 110s] Running capi-system-info %posttrans script [ 110s] I/O warning : failed to load external entity "/etc/config/model-config.xml" [ 110s] iniparser: cannot open /etc/info.ini [ 110s] Running pkgmgr %posttrans script [ 110s] /var/tmp/rpm-tmp.0Y8PLR: line 5: pkg_initdb: command not found [ 110s] /var/tmp/rpm-tmp.0Y8PLR: line 6: install_preload_pkg: command not found [ 110s] /var/tmp/rpm-tmp.0Y8PLR: line 13: pkgcmd: command not found [ 110s] /var/tmp/rpm-tmp.0Y8PLR: line 15: /etc/package-manager/pkgmgr-label-initial-image.sh: No such file or directory [ 110s] Running buxton2 %posttrans script [ 110s] chmod: cannot access `/etc/buxton2/*': No such file or directory [ 110s] /etc/buxton2/*: No such file or directory [ 110s] chmod: cannot access `/var/lib/buxton2/*': No such file or directory [ 110s] /var/lib/buxton2/*: No such file or directory [ 110s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.13/etc/nsswitch.conf... [ 110s] now finalizing build dir... [ 111s] ----------------------------------------------------------------- [ 111s] ----- building pkgmgr-server.spec (user abuild) [ 111s] ----------------------------------------------------------------- [ 111s] ----------------------------------------------------------------- [ 111s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_costomized_smp_mflags -j20' --define '_srcdefattr (-,root,root)' --nosignature --target=x86_64 --define '_build_create_debug 1' -ba /home/abuild/rpmbuild/SOURCES/pkgmgr-server.spec [ 111s] Building target platforms: x86_64 [ 111s] Building for target x86_64 [ 111s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DMHCtL [ 111s] + umask 022 [ 111s] + cd /home/abuild/rpmbuild/BUILD [ 111s] + cd /home/abuild/rpmbuild/BUILD [ 111s] + rm -rf pkgmgr-server-1.0.15 [ 111s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/pkgmgr-server-1.0.15.tar.gz [ 111s] + /bin/tar -xof - [ 111s] + STATUS=0 [ 111s] + '[' 0 -ne 0 ']' [ 111s] + cd pkgmgr-server-1.0.15 [ 111s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 111s] + cp /home/abuild/rpmbuild/SOURCES/pkgmgr-server.manifest . [ 111s] + tidlc -s -l C -e -i ./tidl_pkgmgr_server/PkgMgr.tidl -o tidl_pkgmgr_server [ 111s] + mv tidl_pkgmgr_server.c tidl_pkgmgr_server.h ./tidl_pkgmgr_server/ [ 111s] + exit 0 [ 111s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rbOS2l [ 111s] + umask 022 [ 111s] + cd /home/abuild/rpmbuild/BUILD [ 111s] + cd pkgmgr-server-1.0.15 [ 111s] + ref=/usr/lib/rpm [ 111s] + mints=0 [ 111s] + case $(uname -m) in [ 111s] ++ uname -m [ 111s] + for s in guess sub [ 111s] ++ find -maxdepth 8 -name config.guess [ 111s] + for s in guess sub [ 111s] ++ find -maxdepth 8 -name config.sub [ 111s] + LANG=C [ 111s] + export LANG [ 111s] + unset DISPLAY [ 111s] + 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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g' [ 111s] + export CFLAGS [ 111s] + 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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g' [ 111s] + export CXXFLAGS [ 111s] + 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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -I%_fmoddir' [ 111s] + export FFLAGS [ 111s] + LDFLAGS= [ 111s] + export LDFLAGS [ 111s] + 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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN_DEBUG_ENABLE' [ 111s] + 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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN_DEBUG_ENABLE' [ 111s] + 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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN_DEBUG_ENABLE' [ 111s] + 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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN_DEBUG_ENABLE' [ 111s] + 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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 111s] + 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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 111s] ++ awk 'BEGIN {FS="."}{print $1}' [ 111s] ++ echo 1.0.15 [ 111s] + MAJORVER=1 [ 111s] + 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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN_DEBUG_ENABLE' [ 111s] + export CFLAGS [ 111s] + 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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN_DEBUG_ENABLE' [ 111s] + export CXXFLAGS [ 111s] + 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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 111s] + export FFLAGS [ 111s] + /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 . [ 111s] -- The C compiler identification is GNU 14.2.0 [ 112s] -- The CXX compiler identification is GNU 14.2.0 [ 112s] -- Detecting C compiler ABI info [ 112s] -- Detecting C compiler ABI info - done [ 112s] -- Check for working C compiler: /bin/cc - skipped [ 112s] -- Detecting C compile features [ 112s] -- Detecting C compile features - done [ 112s] -- Detecting CXX compiler ABI info [ 112s] -- Detecting CXX compiler ABI info - done [ 112s] -- Check for working CXX compiler: /bin/c++ - skipped [ 112s] -- Detecting CXX compile features [ 112s] -- Detecting CXX compile features - done [ 112s] -- Found PkgConfig: /bin/pkg-config (found version "0.29.2") [ 112s] -- Checking for module 'rpc-port' [ 112s] -- Found rpc-port, version [ 112s] -- Checking for module 'dlog' [ 112s] -- Found dlog, version 1.0 [ 112s] -- Checking for module 'gio-2.0' [ 112s] -- Found gio-2.0, version 2.80.5 [ 113s] -- Checking for module 'glib-2.0' [ 113s] -- Found glib-2.0, version 2.80.5 [ 113s] -- Checking for module 'capi-base-common' [ 113s] -- Found capi-base-common, version 0.4.82 [ 113s] -- Checking for module 'pkgmgr' [ 113s] -- Found pkgmgr, version 0.20.21 [ 113s] -- Checking for module 'libtzplatform-config' [ 113s] -- Found libtzplatform-config, version 2.0 [ 113s] -- Configuring done [ 113s] -- Generating done [ 113s] CMake Warning: [ 113s] Manually-specified variables were not used by the project: [ 113s] [ 113s] FULLVER [ 113s] INCLUDE_INSTALL_DIR [ 113s] LIB_SUFFIX [ 113s] MAJORVER [ 113s] SHARE_INSTALL_PREFIX [ 113s] SYSCONF_INSTALL_DIR [ 113s] [ 113s] [ 113s] -- Build files have been written to: /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 113s] + make -j8 [ 113s] /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 [ 113s] /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 [ 113s] make -f CMakeFiles/Makefile2 all [ 113s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 113s] make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/depend [ 113s] make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/depend [ 113s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 113s] 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= [ 113s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 113s] 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= [ 113s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 113s] make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build [ 113s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 113s] make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build [ 113s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 113s] [ 25%] Building C object tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o [ 113s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 113s] [ 50%] Building C object util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o [ 113s] 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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -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 [ 113s] 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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -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 [ 114s] [ 75%] Linking C shared library libutil_pkgmgr_server.so [ 114s] 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 [ 114s] /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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -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 [ 114s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 114s] [ 75%] Built target util_pkgmgr_server [ 115s] [100%] Linking C shared library libtidl_pkgmgr_server.so [ 115s] 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 [ 115s] /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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -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 [ 115s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 115s] [100%] Built target tidl_pkgmgr_server [ 115s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 115s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/CMakeFiles 0 [ 115s] + export LD_LIBRARY_PATH=:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib [ 115s] + LD_LIBRARY_PATH=:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib [ 115s] ++ find /usr/lib64 -maxdepth 1 -name 'libstd-*.so' [ 115s] + __rust_std=/usr/lib64/libstd-fcf70ff533b679b2.so [ 115s] + /usr/bin/rustc -C prefer-dynamic --extern std=/usr/lib64/libstd-fcf70ff533b679b2.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 [ 116s] warning: unused import: `boxed` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:4:11 [ 116s] | [ 116s] 4 | use std::{boxed, str}; [ 116s] | ^^^^^ [ 116s] | [ 116s] = note: `#[warn(unused_imports)]` on by default [ 116s] [ 116s] warning: unused import: `std::mem` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:6:5 [ 116s] | [ 116s] 6 | use std::mem; [ 116s] | ^^^^^^^^ [ 116s] [ 116s] warning: unused import: `std::ptr` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:7:5 [ 116s] | [ 116s] 7 | use std::ptr; [ 116s] | ^^^^^^^^ [ 116s] [ 116s] warning: unused import: `malloc` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:8:18 [ 116s] | [ 116s] 8 | use libc::{free, malloc, strlen}; [ 116s] | ^^^^^^ [ 116s] [ 116s] warning: unused import: `super::Server` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:10:5 [ 116s] | [ 116s] 10 | use super::Server; [ 116s] | ^^^^^^^^^^^^^ [ 116s] [ 116s] warning: type `rpc_port_stub_array_string_h` should have an upper camel case name [ 116s] --> ./src/pkgmgr/server/admin_service.rs:23:6 [ 116s] | [ 116s] 23 | type rpc_port_stub_array_string_h = *mut c_void; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RpcPortStubArrayStringH` [ 116s] | [ 116s] = note: `#[warn(non_camel_case_types)]` on by default [ 116s] [ 116s] warning: unused imports: `pid_t`, `uid_t` [ 116s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 116s] | [ 116s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 116s] | ^^^^^ ^^^^^ [ 116s] [ 116s] warning: unused imports: `c_int`, `c_void` [ 116s] --> ./src/pkgmgr/server/backend_context.rs:4:16 [ 116s] | [ 116s] 4 | use std::ffi::{c_int, c_void}; [ 116s] | ^^^^^ ^^^^^^ [ 116s] [ 116s] warning: unused import: `std::path::Path` [ 116s] --> ./src/pkgmgr/server/backend_queue.rs:10:5 [ 116s] | [ 116s] 10 | use std::path::Path; [ 116s] | ^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: denote infinite loops with `loop { ... }` [ 116s] --> ./src/pkgmgr/server/backend_queue.rs:50:9 [ 116s] | [ 116s] 50 | while true { [ 116s] | ^^^^^^^^^^ help: use `loop` [ 116s] | [ 116s] = note: `#[warn(while_true)]` on by default [ 116s] [ 116s] warning: unnecessary parentheses around `if` condition [ 116s] --> ./src/pkgmgr/server/backend_queue.rs:73:8 [ 116s] | [ 116s] 73 | if (mut_queue.is_queue_empty()) { [ 116s] | ^ ^ [ 116s] | [ 116s] = note: `#[warn(unused_parens)]` on by default [ 116s] help: remove these parentheses [ 116s] | [ 116s] 73 - if (mut_queue.is_queue_empty()) { [ 116s] 73 + if mut_queue.is_queue_empty() { [ 116s] | [ 116s] [ 116s] warning: unnecessary trailing semicolon [ 116s] --> ./src/pkgmgr/server/backend_queue.rs:297:17 [ 116s] | [ 116s] 297 | ; [ 116s] | ^ help: remove this semicolon [ 116s] | [ 116s] = note: `#[warn(redundant_semicolons)]` on by default [ 116s] [ 116s] warning: unused import: `super::Server` [ 116s] --> ./src/pkgmgr/server/cache_service.rs:1:5 [ 116s] | [ 116s] 1 | use super::Server; [ 116s] | ^^^^^^^^^^^^^ [ 116s] [ 116s] warning: unused import: `super::Server` [ 116s] --> ./src/pkgmgr/server/delayed_service.rs:1:5 [ 116s] | [ 116s] 1 | use super::Server; [ 116s] | ^^^^^^^^^^^^^ [ 116s] [ 116s] warning: unused import: `super::backend_context::*` [ 116s] --> ./src/pkgmgr/server/delayed_service.rs:4:5 [ 116s] | [ 116s] 4 | use super::backend_context::*; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: unused import: `super::request_result::*` [ 116s] --> ./src/pkgmgr/server/delayed_service.rs:5:5 [ 116s] | [ 116s] 5 | use super::request_result::*; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: unused import: `super::request_type::*` [ 116s] --> ./src/pkgmgr/server/delayed_service.rs:6:5 [ 116s] | [ 116s] 6 | use super::request_type::*; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: unused import: `super::util::*` [ 116s] --> ./src/pkgmgr/server/delayed_service.rs:7:5 [ 116s] | [ 116s] 7 | use super::util::*; [ 116s] | ^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: unused imports: `pid_t`, `uid_t` [ 116s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 116s] | [ 116s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 116s] | ^^^^^ ^^^^^ [ 116s] [ 116s] warning: unused import: `std::io::Error` [ 116s] --> ./src/pkgmgr/server/info_service.rs:3:5 [ 116s] | [ 116s] 3 | use std::io::Error; [ 116s] | ^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: unused import: `std::mem` [ 116s] --> ./src/pkgmgr/server/info_service.rs:6:5 [ 116s] | [ 116s] 6 | use std::mem; [ 116s] | ^^^^^^^^ [ 116s] [ 116s] warning: unused import: `std::ptr` [ 116s] --> ./src/pkgmgr/server/info_service.rs:7:5 [ 116s] | [ 116s] 7 | use std::ptr; [ 116s] | ^^^^^^^^ [ 116s] [ 116s] warning: unused imports: `free`, `malloc`, `strlen` [ 116s] --> ./src/pkgmgr/server/info_service.rs:8:12 [ 116s] | [ 116s] 8 | use libc::{free, malloc, strlen, mkfifo}; [ 116s] | ^^^^ ^^^^^^ ^^^^^^ [ 116s] [ 116s] warning: unused import: `super::Server` [ 116s] --> ./src/pkgmgr/server/info_service.rs:10:5 [ 116s] | [ 116s] 10 | use super::Server; [ 116s] | ^^^^^^^^^^^^^ [ 116s] [ 116s] warning: unused import: `super::service::Service` [ 116s] --> ./src/pkgmgr/server/info_service.rs:13:5 [ 116s] | [ 116s] 13 | use super::service::Service; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: unnecessary trailing semicolon [ 116s] --> ./src/pkgmgr/server/info_service.rs:49:5 [ 116s] | [ 116s] 49 | ; [ 116s] | ^ help: remove this semicolon [ 116s] [ 116s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 116s] --> ./src/pkgmgr/server/request_result.rs:7:5 [ 116s] | [ 116s] 7 | GETSIZE_SYNC(String, i32, i32), [ 116s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 116s] [ 116s] warning: variant `GET_GENERATE_LICENSE_RESULT` should have an upper camel case name [ 116s] --> ./src/pkgmgr/server/request_result.rs:8:5 [ 116s] | [ 116s] 8 | GET_GENERATE_LICENSE_RESULT(String, i32, CString, CString), [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetGenerateLicenseResult` [ 116s] [ 116s] warning: variant `MOUNT_INSTALL` should have an upper camel case name [ 116s] --> ./src/pkgmgr/server/request_type.rs:3:5 [ 116s] | [ 116s] 3 | MOUNT_INSTALL, [ 116s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MountInstall` [ 116s] [ 116s] warning: variant `ENABLE_PKG` should have an upper camel case name [ 116s] --> ./src/pkgmgr/server/request_type.rs:7:5 [ 116s] | [ 116s] 7 | ENABLE_PKG, [ 116s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnablePkg` [ 116s] [ 116s] warning: variant `DISABLE_PKG` should have an upper camel case name [ 116s] --> ./src/pkgmgr/server/request_type.rs:8:5 [ 116s] | [ 116s] 8 | DISABLE_PKG, [ 116s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisablePkg` [ 116s] [ 116s] warning: variant `REGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 116s] --> ./src/pkgmgr/server/request_type.rs:9:5 [ 116s] | [ 116s] 9 | REGISTER_PKG_UPDATE_INFO, [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterPkgUpdateInfo` [ 116s] [ 116s] warning: variant `UNREGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 116s] --> ./src/pkgmgr/server/request_type.rs:10:5 [ 116s] | [ 116s] 10 | UNREGISTER_PKG_UPDATE_INFO, [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterPkgUpdateInfo` [ 116s] [ 116s] warning: variant `UNREGISTER_ALL_PKG_UPDATE_INFO` should have an upper camel case name [ 116s] --> ./src/pkgmgr/server/request_type.rs:11:5 [ 116s] | [ 116s] 11 | UNREGISTER_ALL_PKG_UPDATE_INFO, [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterAllPkgUpdateInfo` [ 116s] [ 116s] warning: variant `ENABLE_APP` should have an upper camel case name [ 116s] --> ./src/pkgmgr/server/request_type.rs:12:5 [ 116s] | [ 116s] 12 | ENABLE_APP, [ 116s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableApp` [ 116s] [ 116s] warning: variant `DISABLE_APP` should have an upper camel case name [ 116s] --> ./src/pkgmgr/server/request_type.rs:13:5 [ 116s] | [ 116s] 13 | DISABLE_APP, [ 116s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableApp` [ 116s] [ 116s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 116s] --> ./src/pkgmgr/server/request_type.rs:15:5 [ 116s] | [ 116s] 15 | GETSIZE_SYNC, [ 116s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 116s] [ 116s] warning: variant `ENABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 116s] --> ./src/pkgmgr/server/request_type.rs:18:5 [ 116s] | [ 116s] 18 | ENABLE_GLOBAL_APP_FOR_UID, [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableGlobalAppForUid` [ 116s] [ 116s] warning: variant `DISABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 116s] --> ./src/pkgmgr/server/request_type.rs:19:5 [ 116s] | [ 116s] 19 | DISABLE_GLOBAL_APP_FOR_UID, [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableGlobalAppForUid` [ 116s] [ 116s] warning: variant `GENERATE_LICENSE_REQUEST` should have an upper camel case name [ 116s] --> ./src/pkgmgr/server/request_type.rs:22:5 [ 116s] | [ 116s] 22 | GENERATE_LICENSE_REQUEST, [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GenerateLicenseRequest` [ 116s] [ 116s] warning: variant `REGISTER_LICENSE` should have an upper camel case name [ 116s] --> ./src/pkgmgr/server/request_type.rs:23:5 [ 116s] | [ 116s] 23 | REGISTER_LICENSE, [ 116s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterLicense` [ 116s] [ 116s] warning: variant `DECRYPT_PACKAGE` should have an upper camel case name [ 116s] --> ./src/pkgmgr/server/request_type.rs:24:5 [ 116s] | [ 116s] 24 | DECRYPT_PACKAGE, [ 116s] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DecryptPackage` [ 116s] [ 116s] warning: variant `ENABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 116s] --> ./src/pkgmgr/server/request_type.rs:25:5 [ 116s] | [ 116s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableAppSplashScreen` [ 116s] [ 116s] warning: variant `DISABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 116s] --> ./src/pkgmgr/server/request_type.rs:26:5 [ 116s] | [ 116s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableAppSplashScreen` [ 116s] [ 116s] warning: variant `SET_APP_LABEL` should have an upper camel case name [ 116s] --> ./src/pkgmgr/server/request_type.rs:27:5 [ 116s] | [ 116s] 27 | SET_APP_LABEL, [ 116s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppLabel` [ 116s] [ 116s] warning: variant `SET_APP_ICON` should have an upper camel case name [ 116s] --> ./src/pkgmgr/server/request_type.rs:28:5 [ 116s] | [ 116s] 28 | SET_APP_ICON, [ 116s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppIcon` [ 116s] [ 116s] warning: variant `MIGRATE_EXTERNAL_IMAGE` should have an upper camel case name [ 116s] --> ./src/pkgmgr/server/request_type.rs:29:5 [ 116s] | [ 116s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MigrateExternalImage` [ 116s] [ 116s] warning: variant `RESOURCE_SHARE_COPY` should have an upper camel case name [ 116s] --> ./src/pkgmgr/server/request_type.rs:30:5 [ 116s] | [ 116s] 30 | RESOURCE_SHARE_COPY, [ 116s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCopy` [ 116s] [ 116s] warning: variant `RESOURCE_SHARE_CREATE_DIR` should have an upper camel case name [ 116s] --> ./src/pkgmgr/server/request_type.rs:31:5 [ 116s] | [ 116s] 31 | RESOURCE_SHARE_CREATE_DIR, [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCreateDir` [ 116s] [ 116s] warning: variant `RESOURCE_SHARE_REMOVE` should have an upper camel case name [ 116s] --> ./src/pkgmgr/server/request_type.rs:32:5 [ 116s] | [ 116s] 32 | RESOURCE_SHARE_REMOVE, [ 116s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareRemove` [ 116s] [ 116s] warning: variant `RESOURCE_SHARE_UNINSTALL` should have an upper camel case name [ 116s] --> ./src/pkgmgr/server/request_type.rs:33:5 [ 116s] | [ 116s] 33 | RESOURCE_SHARE_UNINSTALL, [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareUninstall` [ 116s] [ 116s] warning: variant `REMOVE_FILE` should have an upper camel case name [ 116s] --> ./src/pkgmgr/server/request_type.rs:34:5 [ 116s] | [ 116s] 34 | REMOVE_FILE, [ 116s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RemoveFile` [ 116s] [ 116s] warning: unused import: `CStr` [ 116s] --> ./src/pkgmgr/server/signal.rs:1:39 [ 116s] | [ 116s] 1 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 116s] | ^^^^ [ 116s] [ 116s] warning: unused import: `pid_t` [ 116s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 116s] | [ 116s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: unused imports: `CStr`, `CString`, `c_char`, `c_void` [ 116s] --> ./src/pkgmgr/server/signal.rs:39:20 [ 116s] | [ 116s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 116s] | ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^ [ 116s] [ 116s] warning: unused import: `pid_t` [ 116s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 116s] | [ 116s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: unused import: `std::cell::RefCell` [ 116s] --> ./src/pkgmgr/server/util.rs:1:5 [ 116s] | [ 116s] 1 | use std::cell::RefCell; [ 116s] | ^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: unused import: `std::rc::Rc` [ 116s] --> ./src/pkgmgr/server/util.rs:8:5 [ 116s] | [ 116s] 8 | use std::rc::Rc; [ 116s] | ^^^^^^^^^^^ [ 116s] [ 116s] warning: type `xmlChar` should have an upper camel case name [ 116s] --> ./src/pkgmgr/server/util.rs:34:6 [ 116s] | [ 116s] 34 | type xmlChar = c_uchar; [ 116s] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlChar` [ 116s] [ 116s] warning: type `xmlTextReaderPtr` should have an upper camel case name [ 116s] --> ./src/pkgmgr/server/util.rs:35:6 [ 116s] | [ 116s] 35 | type xmlTextReaderPtr = *mut c_void; [ 116s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlTextReaderPtr` [ 116s] [ 116s] warning: unused imports: `CStr`, `CString` [ 116s] --> ./src/pkgmgr/server/util.rs:39:43 [ 116s] | [ 116s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 116s] | ^^^^ ^^^^^^^ [ 116s] [ 116s] warning: unused import: `pid_t` [ 116s] --> ./src/pkgmgr/server/util.rs:40:37 [ 116s] | [ 116s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: unnecessary parentheses around `if` condition [ 116s] --> ./src/pkgmgr/server/util.rs:474:24 [ 116s] | [ 116s] 474 | if (cur == depth + 1) { [ 116s] | ^ ^ [ 116s] | [ 116s] help: remove these parentheses [ 116s] | [ 116s] 474 - if (cur == depth + 1) { [ 116s] 474 + if cur == depth + 1 { [ 116s] | [ 116s] [ 116s] warning: unnecessary parentheses around `if` condition [ 116s] --> ./src/pkgmgr/server/util.rs:571:12 [ 116s] | [ 116s] 571 | if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 116s] | ^ ^ [ 116s] | [ 116s] help: remove these parentheses [ 116s] | [ 116s] 571 - if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 116s] 571 + if unzOpenCurrentFile(uf) != UNZ_OK as c_int { [ 116s] | [ 116s] [ 116s] warning: unused import: `super::super::super::server::signal::*` [ 116s] --> ./src/pkgmgr/server/test/signal_tests.rs:1:5 [ 116s] | [ 116s] 1 | use super::super::super::server::signal::*; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] | [ 116s] help: consider adding a `#[cfg(test)]` to the containing module [ 116s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 116s] | [ 116s] 3 | pub mod signal_tests; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: unused import: `std::ffi::CString` [ 116s] --> ./src/pkgmgr/server/test/signal_tests.rs:2:5 [ 116s] | [ 116s] 2 | use std::ffi::CString; [ 116s] | ^^^^^^^^^^^^^^^^^ [ 116s] | [ 116s] help: consider adding a `#[cfg(test)]` to the containing module [ 116s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 116s] | [ 116s] 3 | pub mod signal_tests; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: unused import: `std::ffi::CStr` [ 116s] --> ./src/pkgmgr/server/test/signal_tests.rs:3:5 [ 116s] | [ 116s] 3 | use std::ffi::CStr; [ 116s] | ^^^^^^^^^^^^^^ [ 116s] | [ 116s] help: consider adding a `#[cfg(test)]` to the containing module [ 116s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 116s] | [ 116s] 3 | pub mod signal_tests; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: unused import: `std::ffi::c_char` [ 116s] --> ./src/pkgmgr/server/test/signal_tests.rs:4:5 [ 116s] | [ 116s] 4 | use std::ffi::c_char; [ 116s] | ^^^^^^^^^^^^^^^^ [ 116s] | [ 116s] help: consider adding a `#[cfg(test)]` to the containing module [ 116s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 116s] | [ 116s] 3 | pub mod signal_tests; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: unused import: `std::mem` [ 116s] --> ./src/pkgmgr/server/test/signal_tests.rs:5:5 [ 116s] | [ 116s] 5 | use std::mem; [ 116s] | ^^^^^^^^ [ 116s] | [ 116s] help: consider adding a `#[cfg(test)]` to the containing module [ 116s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 116s] | [ 116s] 3 | pub mod signal_tests; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: unused import: `mockall::predicate::*` [ 116s] --> ./src/pkgmgr/server/test/signal_tests.rs:6:5 [ 116s] | [ 116s] 6 | use mockall::predicate::*; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^ [ 116s] | [ 116s] help: consider adding a `#[cfg(test)]` to the containing module [ 116s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 116s] | [ 116s] 3 | pub mod signal_tests; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: unused import: `mockall::*` [ 116s] --> ./src/pkgmgr/server/test/signal_tests.rs:7:5 [ 116s] | [ 116s] 7 | use mockall::*; [ 116s] | ^^^^^^^^^^ [ 116s] | [ 116s] help: consider adding a `#[cfg(test)]` to the containing module [ 116s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 116s] | [ 116s] 3 | pub mod signal_tests; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: unused imports: `pid_t`, `uid_t` [ 116s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 116s] | [ 116s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 116s] | ^^^^^ ^^^^^ [ 116s] | [ 116s] help: consider adding a `#[cfg(test)]` to the containing module [ 116s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 116s] | [ 116s] 3 | pub mod signal_tests; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 116s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:1:5 [ 116s] | [ 116s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] | [ 116s] help: consider adding a `#[cfg(test)]` to the containing module [ 116s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 116s] | [ 116s] 4 | pub mod admin_service_tests; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: unused import: `super::super::super::server::admin_service::AdminService` [ 116s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:2:5 [ 116s] | [ 116s] 2 | use super::super::super::server::admin_service::AdminService; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] | [ 116s] help: consider adding a `#[cfg(test)]` to the containing module [ 116s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 116s] | [ 116s] 4 | pub mod admin_service_tests; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: unused import: `super::super::super::server::service::Service` [ 116s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:3:5 [ 116s] | [ 116s] 3 | use super::super::super::server::service::Service; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] | [ 116s] help: consider adding a `#[cfg(test)]` to the containing module [ 116s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 116s] | [ 116s] 4 | pub mod admin_service_tests; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 116s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:1:5 [ 116s] | [ 116s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] | [ 116s] help: consider adding a `#[cfg(test)]` to the containing module [ 116s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 116s] | [ 116s] 5 | pub mod cache_service_tests; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: unused import: `super::super::super::server::cache_service::CacheService` [ 116s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:2:5 [ 116s] | [ 116s] 2 | use super::super::super::server::cache_service::CacheService; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] | [ 116s] help: consider adding a `#[cfg(test)]` to the containing module [ 116s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 116s] | [ 116s] 5 | pub mod cache_service_tests; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: unused import: `super::super::super::server::service::Service` [ 116s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:3:5 [ 116s] | [ 116s] 3 | use super::super::super::server::service::Service; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] | [ 116s] help: consider adding a `#[cfg(test)]` to the containing module [ 116s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 116s] | [ 116s] 5 | pub mod cache_service_tests; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 116s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:1:5 [ 116s] | [ 116s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] | [ 116s] help: consider adding a `#[cfg(test)]` to the containing module [ 116s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 116s] | [ 116s] 6 | pub mod delayed_service_tests; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: unused import: `super::super::super::server::delayed_service::DelayedService` [ 116s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:2:5 [ 116s] | [ 116s] 2 | use super::super::super::server::delayed_service::DelayedService; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] | [ 116s] help: consider adding a `#[cfg(test)]` to the containing module [ 116s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 116s] | [ 116s] 6 | pub mod delayed_service_tests; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: unused import: `super::super::super::server::service::Service` [ 116s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:3:5 [ 116s] | [ 116s] 3 | use super::super::super::server::service::Service; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] | [ 116s] help: consider adding a `#[cfg(test)]` to the containing module [ 116s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 116s] | [ 116s] 6 | pub mod delayed_service_tests; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 116s] --> ./src/pkgmgr/server/test/info_service_tests.rs:1:5 [ 116s] | [ 116s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] | [ 116s] help: consider adding a `#[cfg(test)]` to the containing module [ 116s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 116s] | [ 116s] 7 | pub mod info_service_tests; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: unused import: `super::super::super::server::info_service::InfoService` [ 116s] --> ./src/pkgmgr/server/test/info_service_tests.rs:2:5 [ 116s] | [ 116s] 2 | use super::super::super::server::info_service::InfoService; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] | [ 116s] help: consider adding a `#[cfg(test)]` to the containing module [ 116s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 116s] | [ 116s] 7 | pub mod info_service_tests; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: unused import: `super::super::super::server::service::Service` [ 116s] --> ./src/pkgmgr/server/test/info_service_tests.rs:3:5 [ 116s] | [ 116s] 3 | use super::super::super::server::service::Service; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] | [ 116s] help: consider adding a `#[cfg(test)]` to the containing module [ 116s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 116s] | [ 116s] 7 | pub mod info_service_tests; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: unused import: `std::cell::RefCell` [ 116s] --> ./src/pkgmgr/server/mod.rs:22:5 [ 116s] | [ 116s] 22 | use std::cell::RefCell; [ 116s] | ^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: unused import: `std::rc::Rc` [ 116s] --> ./src/pkgmgr/server/mod.rs:26:5 [ 116s] | [ 116s] 26 | use std::rc::Rc; [ 116s] | ^^^^^^^^^^^ [ 116s] [ 116s] warning: unused import: `std::process::Command` [ 116s] --> ./src/main.rs:9:5 [ 116s] | [ 116s] 9 | use std::process::Command; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:5:26 [ 116s] | [ 116s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 116s] | ^^^^^ [ 116s] | [ 116s] = note: `#[warn(deprecated)]` on by default [ 116s] [ 116s] 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 [ 116s] --> ./src/pkgmgr/server/admin_service.rs:5:33 [ 116s] | [ 116s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:20:20 [ 116s] | [ 116s] 20 | const GLOBAL_USER: uid_t = 201; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:322:25 [ 116s] | [ 116s] 322 | let mut caller_uid: uid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:443:25 [ 116s] | [ 116s] 443 | let mut caller_uid: uid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:548:25 [ 116s] | [ 116s] 548 | let mut caller_uid: uid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:595:25 [ 116s] | [ 116s] 595 | let mut caller_uid: uid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:718:25 [ 116s] | [ 116s] 718 | let mut caller_uid: uid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:801:25 [ 116s] | [ 116s] 801 | let mut caller_uid: uid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:853:25 [ 116s] | [ 116s] 853 | let mut caller_uid: uid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:937:25 [ 116s] | [ 116s] 937 | let mut caller_uid: uid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:990:25 [ 116s] | [ 116s] 990 | let mut caller_uid: uid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1015:76 [ 116s] | [ 116s] 1015 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, true) { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1072:25 [ 116s] | [ 116s] 1072 | let mut caller_uid: uid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1097:76 [ 116s] | [ 116s] 1097 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, false) { [ 116s] | ^^^^^ [ 116s] [ 116s] 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 [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1151:25 [ 116s] | [ 116s] 1151 | let mut caller_pid: pid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1152:25 [ 116s] | [ 116s] 1152 | let mut caller_uid: uid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1166:62 [ 116s] | [ 116s] 1166 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1196:66 [ 116s] | [ 116s] 1196 | let ret = Util::RegisterPkgUpdateInfo(handle, uid as uid_t); [ 116s] | ^^^^^ [ 116s] [ 116s] 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 [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1215:25 [ 116s] | [ 116s] 1215 | let mut caller_pid: pid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1216:25 [ 116s] | [ 116s] 1216 | let mut caller_uid: uid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1230:62 [ 116s] | [ 116s] 1230 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1254:109 [ 116s] | [ 116s] 1254 | RequestResult::DELAYED(generated_req_key, Util::UnregisterPkgUpdateInfo(pkg_id.as_ptr(), uid as uid_t)) [ 116s] | ^^^^^ [ 116s] [ 116s] 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 [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1270:25 [ 116s] | [ 116s] 1270 | let mut caller_pid: pid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1271:25 [ 116s] | [ 116s] 1271 | let mut caller_uid: uid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1303:95 [ 116s] | [ 116s] 1303 | RequestResult::DELAYED(generated_req_key, Util::UnregisterAllPkgUpdateInfo(uid as uid_t, caller_uid)) [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1312:45 [ 116s] | [ 116s] 1312 | fn handle_enable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1359:60 [ 116s] | [ 116s] 1359 | fn handle_enable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1371:40 [ 116s] | [ 116s] 1371 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1373:40 [ 116s] | [ 116s] 1373 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1380:36 [ 116s] | [ 116s] 1380 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1382:36 [ 116s] | [ 116s] 1382 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1392:36 [ 116s] | [ 116s] 1392 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1394:36 [ 116s] | [ 116s] 1394 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1400:28 [ 116s] | [ 116s] 1400 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1403:46 [ 116s] | [ 116s] 1403 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1404:59 [ 116s] | [ 116s] 1404 | Util::EnableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1405:32 [ 116s] | [ 116s] 1405 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1409:28 [ 116s] | [ 116s] 1409 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1415:46 [ 116s] | [ 116s] 1415 | fn handle_disable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1463:61 [ 116s] | [ 116s] 1463 | fn handle_disable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1475:40 [ 116s] | [ 116s] 1475 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1477:40 [ 116s] | [ 116s] 1477 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1484:36 [ 116s] | [ 116s] 1484 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1486:36 [ 116s] | [ 116s] 1486 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1496:36 [ 116s] | [ 116s] 1496 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1498:36 [ 116s] | [ 116s] 1498 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1504:28 [ 116s] | [ 116s] 1504 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1507:46 [ 116s] | [ 116s] 1507 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1508:60 [ 116s] | [ 116s] 1508 | Util::DisableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1509:32 [ 116s] | [ 116s] 1509 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1513:28 [ 116s] | [ 116s] 1513 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1535:25 [ 116s] | [ 116s] 1535 | let mut caller_uid: uid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1562:70 [ 116s] | [ 116s] 1562 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1588:25 [ 116s] | [ 116s] 1588 | let mut caller_uid: uid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1615:71 [ 116s] | [ 116s] 1615 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1673:74 [ 116s] | [ 116s] 1673 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1735:75 [ 116s] | [ 116s] 1735 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1765:25 [ 116s] | [ 116s] 1765 | let mut caller_uid: uid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1792:85 [ 116s] | [ 116s] 1792 | RequestResult::VAL(handle_enable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1818:25 [ 116s] | [ 116s] 1818 | let mut caller_uid: uid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1845:86 [ 116s] | [ 116s] 1845 | RequestResult::VAL(handle_disable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1863:40 [ 116s] | [ 116s] 1863 | Util::KillAppsInPkg(pkg_id, uid as uid_t) [ 116s] | ^^^^^ [ 116s] [ 116s] 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 [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1873:25 [ 116s] | [ 116s] 1873 | let mut caller_pid: pid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1874:25 [ 116s] | [ 116s] 1874 | let mut caller_uid: uid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] 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 [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1985:25 [ 116s] | [ 116s] 1985 | let mut caller_pid: pid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1986:25 [ 116s] | [ 116s] 1986 | let mut caller_uid: uid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] 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 [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2035:25 [ 116s] | [ 116s] 2035 | let mut caller_pid: pid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2036:25 [ 116s] | [ 116s] 2036 | let mut caller_uid: uid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2083:54 [ 116s] | [ 116s] 2083 | Util::EnableGlobalAppSplashScreen(app_id, uid as uid_t) [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2093:55 [ 116s] | [ 116s] 2093 | Util::DisableGlobalAppSplashScreen(app_id, uid as uid_t) [ 116s] | ^^^^^ [ 116s] [ 116s] 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 [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2105:25 [ 116s] | [ 116s] 2105 | let mut caller_pid: pid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2106:25 [ 116s] | [ 116s] 2106 | let mut caller_uid: uid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2137:102 [ 116s] | [ 116s] 2137 | RequestResult::DELAYED(generated_req_key, Util::update_app_label(app_id.as_ptr(), uid as uid_t , label.as_ptr())) [ 116s] | ^^^^^ [ 116s] [ 116s] 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 [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2155:25 [ 116s] | [ 116s] 2155 | let mut caller_pid: pid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2156:25 [ 116s] | [ 116s] 2156 | let mut caller_uid: uid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2187:101 [ 116s] | [ 116s] 2187 | RequestResult::DELAYED(generated_req_key, Util::update_app_icon(app_id.as_ptr(), uid as uid_t , icon_path.as_ptr())) [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2312:25 [ 116s] | [ 116s] 2312 | let mut caller_uid: uid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] 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 [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2313:25 [ 116s] | [ 116s] 2313 | let mut caller_pid: pid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2383:25 [ 116s] | [ 116s] 2383 | let mut caller_uid: uid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] 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 [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2384:25 [ 116s] | [ 116s] 2384 | let mut caller_pid: pid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2453:25 [ 116s] | [ 116s] 2453 | let mut caller_uid: uid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] 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 [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2454:25 [ 116s] | [ 116s] 2454 | let mut caller_pid: pid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2532:25 [ 116s] | [ 116s] 2532 | let mut caller_uid: uid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2622:41 [ 116s] | [ 116s] 2622 | if unsafe { check_valid_path(uid as uid_t, pkg_id, file_path) } != 0 { [ 116s] | ^^^^^ [ 116s] [ 116s] 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 [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2681:19 [ 116s] | [ 116s] 2681 | pid: *mut pid_t, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2682:19 [ 116s] | [ 116s] 2682 | uid: *mut uid_t [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 116s] | [ 116s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 116s] | ^^^^^ [ 116s] [ 116s] 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 [ 116s] --> ./src/pkgmgr/server/backend_context.rs:3:33 [ 116s] | [ 116s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/cache_service.rs:12:26 [ 116s] | [ 116s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 116s] | ^^^^^ [ 116s] [ 116s] 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 [ 116s] --> ./src/pkgmgr/server/cache_service.rs:12:33 [ 116s] | [ 116s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/cache_service.rs:23:14 [ 116s] | [ 116s] 23 | uid: uid_t, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/cache_service.rs:48:17 [ 116s] | [ 116s] 48 | target_uid: uid_t, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/cache_service.rs:53:25 [ 116s] | [ 116s] 53 | let mut caller_uid: uid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] 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 [ 116s] --> ./src/pkgmgr/server/cache_service.rs:106:19 [ 116s] | [ 116s] 106 | pid: *mut pid_t, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/cache_service.rs:107:19 [ 116s] | [ 116s] 107 | uid: *mut uid_t [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 116s] | [ 116s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 116s] | ^^^^^ [ 116s] [ 116s] 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 [ 116s] --> ./src/pkgmgr/server/delayed_service.rs:13:33 [ 116s] | [ 116s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/info_service.rs:2:26 [ 116s] | [ 116s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 116s] | ^^^^^ [ 116s] [ 116s] 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 [ 116s] --> ./src/pkgmgr/server/info_service.rs:2:33 [ 116s] | [ 116s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/info_service.rs:37:90 [ 116s] | [ 116s] 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... [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/info_service.rs:38:94 [ 116s] | [ 116s] 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... [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/info_service.rs:40:88 [ 116s] | [ 116s] 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... [ 116s] | ^^^^^ [ 116s] [ 116s] 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 [ 116s] --> ./src/pkgmgr/server/info_service.rs:40:128 [ 116s] | [ 116s] 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... [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/info_service.rs:54:17 [ 116s] | [ 116s] 54 | target_uid: uid_t, [ 116s] | ^^^^^ [ 116s] [ 116s] 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 [ 116s] --> ./src/pkgmgr/server/info_service.rs:60:25 [ 116s] | [ 116s] 60 | let mut caller_pid: pid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/info_service.rs:61:25 [ 116s] | [ 116s] 61 | let mut caller_uid: uid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/info_service.rs:114:17 [ 116s] | [ 116s] 114 | target_uid: uid_t, [ 116s] | ^^^^^ [ 116s] [ 116s] 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 [ 116s] --> ./src/pkgmgr/server/info_service.rs:120:25 [ 116s] | [ 116s] 120 | let mut caller_pid: pid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/info_service.rs:121:25 [ 116s] | [ 116s] 121 | let mut caller_uid: uid_t = 0; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/info_service.rs:223:17 [ 116s] | [ 116s] 223 | target_uid: uid_t, [ 116s] | ^^^^^ [ 116s] [ 116s] 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 [ 116s] --> ./src/pkgmgr/server/info_service.rs:225:15 [ 116s] | [ 116s] 225 | pid: *mut pid_t, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/info_service.rs:228:43 [ 116s] | [ 116s] 228 | Util::check_app(pkg_id, target_uid as uid_t, pid) [ 116s] | ^^^^^ [ 116s] [ 116s] 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 [ 116s] --> ./src/pkgmgr/server/info_service.rs:242:19 [ 116s] | [ 116s] 242 | pid: *mut pid_t, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/info_service.rs:243:19 [ 116s] | [ 116s] 243 | uid: *mut uid_t [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/signal.rs:2:26 [ 116s] | [ 116s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 116s] | ^^^^^ [ 116s] [ 116s] 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 [ 116s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 116s] | [ 116s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/signal.rs:99:20 [ 116s] | [ 116s] 99 | const GLOBAL_USER: uid_t = 201; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/signal.rs:101:33 [ 116s] | [ 116s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/signal.rs:101:47 [ 116s] | [ 116s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/signal.rs:102:26 [ 116s] | [ 116s] 102 | let mut uid_vec: Vec = vec![]; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/signal.rs:110:28 [ 116s] | [ 116s] 110 | let mut uids: *mut uid_t = std::ptr::null_mut(); [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/signal.rs:124:14 [ 116s] | [ 116s] 124 | uid: uid_t, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/signal.rs:53:44 [ 116s] | [ 116s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/signal.rs:62:14 [ 116s] | [ 116s] 62 | uid: uid_t, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/signal.rs:86:14 [ 116s] | [ 116s] 86 | uid: uid_t, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/signal.rs:40:30 [ 116s] | [ 116s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 116s] | ^^^^^ [ 116s] [ 116s] 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 [ 116s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 116s] | [ 116s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/signal.rs:44:45 [ 116s] | [ 116s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:4:26 [ 116s] | [ 116s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 116s] | ^^^^^ [ 116s] [ 116s] 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 [ 116s] --> ./src/pkgmgr/server/util.rs:4:33 [ 116s] | [ 116s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:22:21 [ 116s] | [ 116s] 22 | const REGULAR_USER: uid_t = 5000; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:23:20 [ 116s] | [ 116s] 23 | const GLOBAL_USER: uid_t = 201; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:25:18 [ 116s] | [ 116s] 25 | const APPFW_UID: uid_t = 301; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:307:36 [ 116s] | [ 116s] 307 | let uid : uid_t = user_data as uid_t; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:307:15 [ 116s] | [ 116s] 307 | let uid : uid_t = user_data as uid_t; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:326:81 [ 116s] | [ 116s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 116s] | ^^^^^ [ 116s] [ 116s] 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 [ 116s] --> ./src/pkgmgr/server/util.rs:326:93 [ 116s] | [ 116s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:326:25 [ 116s] | [ 116s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 116s] | ^^^^^ [ 116s] [ 116s] 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 [ 116s] --> ./src/pkgmgr/server/util.rs:326:37 [ 116s] | [ 116s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:389:57 [ 116s] | [ 116s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:420:55 [ 116s] | [ 116s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:686:62 [ 116s] | [ 116s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:696:63 [ 116s] | [ 116s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:706:44 [ 116s] | [ 116s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:706:63 [ 116s] | [ 116s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:728:49 [ 116s] | [ 116s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:738:50 [ 116s] | [ 116s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:747:55 [ 116s] | [ 116s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:757:56 [ 116s] | [ 116s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:766:61 [ 116s] | [ 116s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:775:62 [ 116s] | [ 116s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:784:67 [ 116s] | [ 116s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:793:68 [ 116s] | [ 116s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:802:54 [ 116s] | [ 116s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 116s] | ^^^^^ [ 116s] [ 116s] 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 [ 116s] --> ./src/pkgmgr/server/util.rs:802:64 [ 116s] | [ 116s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:813:47 [ 116s] | [ 116s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:835:53 [ 116s] | [ 116s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:855:25 [ 116s] | [ 116s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:983:69 [ 116s] | [ 116s] 983 | pub fn get_application_info_by_appid(appid: *const c_char, uid: uid_t) -> Option<(CString, bool)> { [ 116s] | ^^^^^ [ 116s] [ 116s] 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 [ 116s] --> ./src/pkgmgr/server/util.rs:1012:41 [ 116s] | [ 116s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:1012:53 [ 116s] | [ 116s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:1029:71 [ 116s] | [ 116s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:1029:90 [ 116s] | [ 116s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:1076:56 [ 116s] | [ 116s] 1076 | pub fn update_app_label(appid: *const c_char, uid: uid_t, label: *const c_char) -> c_int { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:1080:55 [ 116s] | [ 116s] 1080 | pub fn update_app_icon(appid: *const c_char, uid: uid_t, icon_path: *const c_char) -> c_int { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:1108:49 [ 116s] | [ 116s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 116s] | ^^^^^ [ 116s] [ 116s] 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 [ 116s] --> ./src/pkgmgr/server/util.rs:1108:66 [ 116s] | [ 116s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:156:14 [ 116s] | [ 116s] 156 | uid: uid_t, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:166:14 [ 116s] | [ 116s] 166 | uid: uid_t, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:180:14 [ 116s] | [ 116s] 180 | uid: uid_t [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:185:14 [ 116s] | [ 116s] 185 | uid: uid_t [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:189:14 [ 116s] | [ 116s] 189 | uid: uid_t [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:194:14 [ 116s] | [ 116s] 194 | uid: uid_t, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:200:14 [ 116s] | [ 116s] 200 | uid: uid_t, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:206:14 [ 116s] | [ 116s] 206 | uid: uid_t, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:212:14 [ 116s] | [ 116s] 212 | uid: uid_t, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:218:14 [ 116s] | [ 116s] 218 | uid: uid_t, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:224:14 [ 116s] | [ 116s] 224 | uid: uid_t, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:237:32 [ 116s] | [ 116s] 237 | fn gum_user_get_sync(uid : uid_t, offline : c_int) -> *mut c_void; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:266:21 [ 116s] | [ 116s] 266 | caller_uid: uid_t [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:274:14 [ 116s] | [ 116s] 274 | uid: uid_t, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:40:30 [ 116s] | [ 116s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 116s] | ^^^^^ [ 116s] [ 116s] 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 [ 116s] --> ./src/pkgmgr/server/util.rs:40:37 [ 116s] | [ 116s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:46:18 [ 116s] | [ 116s] 46 | uid: uid_t, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:52:18 [ 116s] | [ 116s] 52 | uid: uid_t, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:67:18 [ 116s] | [ 116s] 67 | uid: uid_t, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:101:18 [ 116s] | [ 116s] 101 | uid: uid_t, [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:122:70 [ 116s] | [ 116s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:123:66 [ 116s] | [ 116s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:124:59 [ 116s] | [ 116s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/util.rs:125:97 [ 116s] | [ 116s] 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; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 116s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 116s] | [ 116s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 116s] | ^^^^^ [ 116s] [ 116s] 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 [ 116s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 116s] | [ 116s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 116s] | ^^^^^ [ 116s] [ 116s] warning: unreachable expression [ 116s] --> ./src/pkgmgr/server/backend_queue.rs:64:5 [ 116s] | [ 116s] 61 | return G_SOURCE_CONTINUE; [ 116s] | ------------------------ any code following this expression is unreachable [ 116s] ... [ 116s] 64 | 1 [ 116s] | ^ unreachable expression [ 116s] | [ 116s] = note: `#[warn(unreachable_code)]` on by default [ 116s] [ 116s] warning: unused variable: `context` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:297:5 [ 116s] | [ 116s] 297 | context: *mut c_void, [ 116s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 116s] | [ 116s] = note: `#[warn(unused_variables)]` on by default [ 116s] [ 116s] warning: unused variable: `context` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:306:5 [ 116s] | [ 116s] 306 | context: *mut c_void, [ 116s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 116s] [ 116s] warning: unused variable: `user_data` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:307:5 [ 116s] | [ 116s] 307 | user_data: *mut c_void, [ 116s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 116s] [ 116s] warning: unused variable: `ret` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:323:9 [ 116s] | [ 116s] 323 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 116s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 116s] [ 116s] warning: unused variable: `req_id` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:318:5 [ 116s] | [ 116s] 318 | req_id: *const c_char, [ 116s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:415:9 [ 116s] | [ 116s] 415 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] | [ 116s] = note: `#[warn(unused_mut)]` on by default [ 116s] [ 116s] warning: unused variable: `ret` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:444:9 [ 116s] | [ 116s] 444 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 116s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 116s] [ 116s] warning: unused variable: `req_id` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:434:5 [ 116s] | [ 116s] 434 | req_id: *const c_char, [ 116s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:510:9 [ 116s] | [ 116s] 510 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `ret` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:549:9 [ 116s] | [ 116s] 549 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 116s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:571:9 [ 116s] | [ 116s] 571 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `ret` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:596:9 [ 116s] | [ 116s] 596 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 116s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 116s] [ 116s] warning: unused variable: `req_id` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:591:5 [ 116s] | [ 116s] 591 | req_id: *const c_char, [ 116s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:688:9 [ 116s] | [ 116s] 688 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `ret` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:719:9 [ 116s] | [ 116s] 719 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 116s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 116s] [ 116s] warning: unused variable: `req_id` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:706:5 [ 116s] | [ 116s] 706 | req_id: *const c_char, [ 116s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:763:9 [ 116s] | [ 116s] 763 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `ret` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:802:9 [ 116s] | [ 116s] 802 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 116s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:824:9 [ 116s] | [ 116s] 824 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `ret` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:854:9 [ 116s] | [ 116s] 854 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 116s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:898:9 [ 116s] | [ 116s] 898 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `ret` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:938:9 [ 116s] | [ 116s] 938 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 116s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:961:9 [ 116s] | [ 116s] 961 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `ret` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:991:9 [ 116s] | [ 116s] 991 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 116s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1038:17 [ 116s] | [ 116s] 1038 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `ret` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1073:9 [ 116s] | [ 116s] 1073 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 116s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1123:17 [ 116s] | [ 116s] 1123 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `pkg_id` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1186:9 [ 116s] | [ 116s] 1186 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) }); [ 116s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1180:9 [ 116s] | [ 116s] 1180 | let mut handle : *mut c_void = Util::CreatePkgUpdateInfo(pkg_id, version, update_type); [ 116s] | ----^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1190:9 [ 116s] | [ 116s] 1190 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1248:9 [ 116s] | [ 116s] 1248 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1297:9 [ 116s] | [ 116s] 1297 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `is_global` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1321:17 [ 116s] | [ 116s] 1321 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 116s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 116s] [ 116s] warning: unused variable: `is_global` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1368:17 [ 116s] | [ 116s] 1368 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 116s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 116s] [ 116s] warning: unused variable: `is_global` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1424:17 [ 116s] | [ 116s] 1424 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 116s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 116s] [ 116s] warning: unused variable: `is_global` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1472:17 [ 116s] | [ 116s] 1472 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 116s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 116s] [ 116s] warning: unused variable: `caller_uid` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1535:13 [ 116s] | [ 116s] 1535 | let mut caller_uid: uid_t = 0; [ 116s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 116s] [ 116s] warning: unused variable: `context` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1521:5 [ 116s] | [ 116s] 1521 | context: *mut c_void, [ 116s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1535:9 [ 116s] | [ 116s] 1535 | let mut caller_uid: uid_t = 0; [ 116s] | ----^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1558:13 [ 116s] | [ 116s] 1558 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `caller_uid` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1588:13 [ 116s] | [ 116s] 1588 | let mut caller_uid: uid_t = 0; [ 116s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 116s] [ 116s] warning: unused variable: `context` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1574:5 [ 116s] | [ 116s] 1574 | context: *mut c_void, [ 116s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1588:9 [ 116s] | [ 116s] 1588 | let mut caller_uid: uid_t = 0; [ 116s] | ----^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1611:13 [ 116s] | [ 116s] 1611 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `context` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1627:5 [ 116s] | [ 116s] 1627 | context: *mut c_void, [ 116s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1669:17 [ 116s] | [ 116s] 1669 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `context` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1689:5 [ 116s] | [ 116s] 1689 | context: *mut c_void, [ 116s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1731:17 [ 116s] | [ 116s] 1731 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `caller_uid` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1765:13 [ 116s] | [ 116s] 1765 | let mut caller_uid: uid_t = 0; [ 116s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 116s] [ 116s] warning: unused variable: `context` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1751:5 [ 116s] | [ 116s] 1751 | context: *mut c_void, [ 116s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1765:9 [ 116s] | [ 116s] 1765 | let mut caller_uid: uid_t = 0; [ 116s] | ----^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1788:13 [ 116s] | [ 116s] 1788 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `caller_uid` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1818:13 [ 116s] | [ 116s] 1818 | let mut caller_uid: uid_t = 0; [ 116s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 116s] [ 116s] warning: unused variable: `context` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1804:5 [ 116s] | [ 116s] 1804 | context: *mut c_void, [ 116s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1818:9 [ 116s] | [ 116s] 1818 | let mut caller_uid: uid_t = 0; [ 116s] | ----^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1841:13 [ 116s] | [ 116s] 1841 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `context` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1857:5 [ 116s] | [ 116s] 1857 | context: *mut c_void, [ 116s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 116s] [ 116s] warning: unused variable: `pid` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1860:5 [ 116s] | [ 116s] 1860 | pid: *mut c_int, [ 116s] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [ 116s] [ 116s] warning: unused variable: `user_data` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1861:5 [ 116s] | [ 116s] 1861 | user_data: *mut c_void, [ 116s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1900:9 [ 116s] | [ 116s] 1900 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `context` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1932:5 [ 116s] | [ 116s] 1932 | context: *mut c_void, [ 116s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2012:9 [ 116s] | [ 116s] 2012 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2063:9 [ 116s] | [ 116s] 2063 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `context` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2078:5 [ 116s] | [ 116s] 2078 | context: *mut c_void, [ 116s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 116s] [ 116s] warning: unused variable: `user_data` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2081:5 [ 116s] | [ 116s] 2081 | user_data: *mut c_void, [ 116s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 116s] [ 116s] warning: unused variable: `context` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2088:5 [ 116s] | [ 116s] 2088 | context: *mut c_void, [ 116s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 116s] [ 116s] warning: unused variable: `user_data` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2091:5 [ 116s] | [ 116s] 2091 | user_data: *mut c_void, [ 116s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2133:9 [ 116s] | [ 116s] 2133 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2183:9 [ 116s] | [ 116s] 2183 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `context` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2198:5 [ 116s] | [ 116s] 2198 | context: *mut c_void, [ 116s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 116s] [ 116s] warning: unused variable: `uid` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2199:5 [ 116s] | [ 116s] 2199 | uid: c_int, [ 116s] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [ 116s] [ 116s] warning: unused variable: `pkg_id` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2200:5 [ 116s] | [ 116s] 2200 | pkg_id: *const c_char, [ 116s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 116s] [ 116s] warning: unused variable: `user_data` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2201:5 [ 116s] | [ 116s] 2201 | user_data: *mut c_void, [ 116s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2364:9 [ 116s] | [ 116s] 2364 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2434:9 [ 116s] | [ 116s] 2434 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2504:9 [ 116s] | [ 116s] 2504 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `ret` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2533:9 [ 116s] | [ 116s] 2533 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 116s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2552:9 [ 116s] | [ 116s] 2552 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `context` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2567:5 [ 116s] | [ 116s] 2567 | context: *mut c_void, [ 116s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2597:9 [ 116s] | [ 116s] 2597 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `context` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2612:5 [ 116s] | [ 116s] 2612 | context: *mut c_void, [ 116s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2656:9 [ 116s] | [ 116s] 2656 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `status` [ 116s] --> ./src/pkgmgr/server/backend_queue.rs:38:17 [ 116s] | [ 116s] 38 | let mut status: c_int; [ 116s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [ 116s] [ 116s] warning: unused variable: `io` [ 116s] --> ./src/pkgmgr/server/backend_queue.rs:30:33 [ 116s] | [ 116s] 30 | extern "C" fn signal_handler_cb(io: *mut glib_sys::GIOChannel, [ 116s] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [ 116s] [ 116s] warning: unused variable: `cond` [ 116s] --> ./src/pkgmgr/server/backend_queue.rs:31:9 [ 116s] | [ 116s] 31 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 116s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/backend_queue.rs:71:9 [ 116s] | [ 116s] 71 | let mut mut_queue = queue.borrow_mut(); [ 116s] | ----^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/backend_queue.rs:189:28 [ 116s] | [ 116s] 189 | pub fn push(&mut self, mut context: BackendContext) -> i32 { [ 116s] | ----^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `req_key` [ 116s] --> ./src/pkgmgr/server/backend_queue.rs:296:41 [ 116s] | [ 116s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 116s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_key` [ 116s] [ 116s] warning: unused variable: `ret` [ 116s] --> ./src/pkgmgr/server/backend_queue.rs:296:50 [ 116s] | [ 116s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 116s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 116s] [ 116s] warning: unused variable: `s` [ 116s] --> ./src/pkgmgr/server/backend_queue.rs:296:55 [ 116s] | [ 116s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 116s] | ^ help: if this is intentional, prefix it with an underscore: `_s` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/backend_queue.rs:278:25 [ 116s] | [ 116s] 278 | let mut backend: &mut Backend = backend.unwrap(); [ 116s] | ----^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `context` [ 116s] --> ./src/pkgmgr/server/cache_service.rs:31:5 [ 116s] | [ 116s] 31 | context: *mut c_void, [ 116s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 116s] [ 116s] warning: unused variable: `context` [ 116s] --> ./src/pkgmgr/server/cache_service.rs:40:5 [ 116s] | [ 116s] 40 | context: *mut c_void, [ 116s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 116s] [ 116s] warning: unused variable: `user_data` [ 116s] --> ./src/pkgmgr/server/cache_service.rs:41:5 [ 116s] | [ 116s] 41 | user_data: *mut c_void, [ 116s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 116s] [ 116s] warning: unused variable: `ret` [ 116s] --> ./src/pkgmgr/server/cache_service.rs:54:9 [ 116s] | [ 116s] 54 | let ret = unsafe { rpc_port_stub_PkgMgrForClearCache_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 116s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 116s] [ 116s] warning: value assigned to `pkg_type` is never read [ 116s] --> ./src/pkgmgr/server/cache_service.rs:63:13 [ 116s] | [ 116s] 63 | let mut pkg_type: String = String::new(); [ 116s] | ^^^^^^^^ [ 116s] | [ 116s] = help: maybe it is overwritten before being read? [ 116s] = note: `#[warn(unused_assignments)]` on by default [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/cache_service.rs:83:9 [ 116s] | [ 116s] 83 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `context` [ 116s] --> ./src/pkgmgr/server/delayed_service.rs:32:5 [ 116s] | [ 116s] 32 | context: *mut c_void, [ 116s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 116s] [ 116s] warning: unused variable: `context` [ 116s] --> ./src/pkgmgr/server/delayed_service.rs:41:5 [ 116s] | [ 116s] 41 | context: *mut c_void, [ 116s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 116s] [ 116s] warning: unused variable: `user_data` [ 116s] --> ./src/pkgmgr/server/delayed_service.rs:42:5 [ 116s] | [ 116s] 42 | user_data: *mut c_void, [ 116s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 116s] [ 116s] warning: unused variable: `context` [ 116s] --> ./src/pkgmgr/server/delayed_service.rs:48:5 [ 116s] | [ 116s] 48 | context: *mut c_void, [ 116s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 116s] [ 116s] warning: unused variable: `context` [ 116s] --> ./src/pkgmgr/server/info_service.rs:43:55 [ 116s] | [ 116s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 116s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 116s] [ 116s] warning: unused variable: `context` [ 116s] --> ./src/pkgmgr/server/info_service.rs:48:58 [ 116s] | [ 116s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 116s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 116s] [ 116s] warning: unused variable: `user_data` [ 116s] --> ./src/pkgmgr/server/info_service.rs:48:80 [ 116s] | [ 116s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 116s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/info_service.rs:98:9 [ 116s] | [ 116s] 98 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/info_service.rs:160:9 [ 116s] | [ 116s] 160 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `context` [ 116s] --> ./src/pkgmgr/server/info_service.rs:195:5 [ 116s] | [ 116s] 195 | context: *mut c_void, [ 116s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 116s] [ 116s] warning: unused variable: `context` [ 116s] --> ./src/pkgmgr/server/info_service.rs:222:5 [ 116s] | [ 116s] 222 | context: *mut c_void, [ 116s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 116s] [ 116s] warning: unused variable: `user_data` [ 116s] --> ./src/pkgmgr/server/info_service.rs:226:5 [ 116s] | [ 116s] 226 | user_data: *mut c_void [ 116s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/signal.rs:144:13 [ 116s] | [ 116s] 144 | let mut c_req_type: c_int; [ 116s] | ----^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: value assigned to `size_result` is never read [ 116s] --> ./src/pkgmgr/server/util.rs:351:17 [ 116s] | [ 116s] 351 | let mut size_result: i64 = -1; [ 116s] | ^^^^^^^^^^^ [ 116s] | [ 116s] = help: maybe it is overwritten before being read? [ 116s] [ 116s] warning: unused variable: `cond` [ 116s] --> ./src/pkgmgr/server/util.rs:341:9 [ 116s] | [ 116s] 341 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 116s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 116s] [ 116s] warning: value assigned to `ret` is never read [ 116s] --> ./src/pkgmgr/server/util.rs:425:21 [ 116s] | [ 116s] 425 | let mut ret: c_int = 0; [ 116s] | ^^^ [ 116s] | [ 116s] = help: maybe it is overwritten before being read? [ 116s] [ 116s] warning: unreachable pattern [ 116s] --> ./src/pkgmgr/server/util.rs:478:17 [ 116s] | [ 116s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 116s] | -------------------------------------- matches any value [ 116s] ... [ 116s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 116s] | [ 116s] = note: `#[warn(unreachable_patterns)]` on by default [ 116s] [ 116s] warning: unreachable pattern [ 116s] --> ./src/pkgmgr/server/util.rs:483:17 [ 116s] | [ 116s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 116s] | -------------------------------------- matches any value [ 116s] ... [ 116s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 116s] [ 116s] warning: unreachable pattern [ 116s] --> ./src/pkgmgr/server/util.rs:488:17 [ 116s] | [ 116s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 116s] | -------------------------------------- matches any value [ 116s] ... [ 116s] 488 | _ => { [ 116s] | ^ unreachable pattern [ 116s] [ 116s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 116s] --> ./src/pkgmgr/server/util.rs:473:17 [ 116s] | [ 116s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 116s] [ 116s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_TEXT` [ 116s] --> ./src/pkgmgr/server/util.rs:478:17 [ 116s] | [ 116s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_TEXT` [ 116s] [ 116s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 116s] --> ./src/pkgmgr/server/util.rs:483:17 [ 116s] | [ 116s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/util.rs:519:13 [ 116s] | [ 116s] 519 | let mut attr = xmlTextReaderGetAttribute(reader, RES_TYPE_ATTRIBUTE_KEY.as_ptr()); [ 116s] | ----^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/util.rs:588:13 [ 116s] | [ 116s] 588 | let mut reader = [ 116s] | ----^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `gid` [ 116s] --> ./src/pkgmgr/server/util.rs:891:52 [ 116s] | [ 116s] 891 | fn set_environment(mut envs: Vec<&mut String>, gid: libc::gid_t) -> bool { [ 116s] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/mod.rs:89:13 [ 116s] | [ 116s] 89 | let mut backend_queue = BackendQueue::new(self.mainloop); [ 116s] | ----^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/server/admin_service.rs:995:32 [ 116s] | [ 116s] 993 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] 994 | match CString::new(generated_req_key.clone()) { [ 116s] 995 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] = note: `#[warn(unused_unsafe)]` on by default [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/admin_service.rs:993:5 [ 116s] | [ 116s] 993 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 997 | error!("Fail to generate req key, err({:?})", e); [ 116s] | ------------------------------------------------ in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1023:46 [ 116s] | [ 116s] 993 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 1023 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1077:32 [ 116s] | [ 116s] 1075 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] 1076 | match CString::new(generated_req_key.clone()) { [ 116s] 1077 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 116s] | [ 116s] 1075 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 1079 | error!("Fail to generate req key, err({:?})", e); [ 116s] | ------------------------------------------------ in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 116s] | [ 116s] 1075 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 1106 | debug!("push disable pkg {pkg_id}"); [ 116s] | ----------------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1108:46 [ 116s] | [ 116s] 1075 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 1108 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1537:5 [ 116s] | [ 116s] 1537 | unsafe { [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1590:5 [ 116s] | [ 116s] 1590 | unsafe { [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1643:32 [ 116s] | [ 116s] 1641 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] 1642 | match CString::new(generated_req_key.clone()) { [ 116s] 1643 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/admin_service.rs:1641:5 [ 116s] | [ 116s] 1641 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 1645 | error!("Fail to generate req key, err({:?})", e); [ 116s] | ------------------------------------------------ in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1657:42 [ 116s] | [ 116s] 1641 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 1657 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1705:32 [ 116s] | [ 116s] 1703 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] 1704 | match CString::new(generated_req_key.clone()) { [ 116s] 1705 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/admin_service.rs:1703:5 [ 116s] | [ 116s] 1703 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 1707 | error!("Fail to generate req key, err({:?})", e); [ 116s] | ------------------------------------------------ in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1719:42 [ 116s] | [ 116s] 1703 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 1719 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1767:5 [ 116s] | [ 116s] 1767 | unsafe { [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1820:5 [ 116s] | [ 116s] 1820 | unsafe { [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2296:17 [ 116s] | [ 116s] 2294 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] 2295 | if !(*value.offset(i as isize)).is_null() { [ 116s] 2296 | unsafe { free(*value.offset(i as isize) as *mut _) }; [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/admin_service.rs:2793:9 [ 116s] | [ 116s] 2793 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] 2794 | let ret = rpc_port_stub_PkgMgrAdmin_register(&mut self.callbacks, self as *mut _ as *mut c_void); [ 116s] 2795 | debug!("admin service start : {ret}"); [ 116s] | ------------------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/admin_service.rs:2801:9 [ 116s] | [ 116s] 2801 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] 2802 | let ret = rpc_port_stub_PkgMgrAdmin_unregister(); [ 116s] 2803 | debug!("ret : {ret}"); [ 116s] | --------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 116s] | [ 116s] 204 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 210 | error!("sigprocmask failed"); [ 116s] | ---------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 116s] | [ 116s] 204 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 216 | error!("signalfd failed"); [ 116s] | ------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/cache_service.rs:134:9 [ 116s] | [ 116s] 134 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 139 | debug!("cache service start : {ret}"); [ 116s] | ------------------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/cache_service.rs:145:9 [ 116s] | [ 116s] 145 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] 146 | let ret = rpc_port_stub_PkgMgrForClearCache_unregister(); [ 116s] 147 | debug!("ret : {ret}"); [ 116s] | --------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/delayed_service.rs:107:9 [ 116s] | [ 116s] 107 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 112 | debug!("delayed result service start : {ret}"); [ 116s] | ---------------------------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/delayed_service.rs:118:9 [ 116s] | [ 116s] 118 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] 119 | let ret = rpc_port_stub_DelayedResult_unregister(); [ 116s] 120 | debug!("ret : {ret}"); [ 116s] | --------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/info_service.rs:165:13 [ 116s] | [ 116s] 165 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] 166 | if mkfifo(fifo_path.as_ptr() as *const c_char, 0o600) < 0 { [ 116s] 167 | error!("Failed to mkfifo"); [ 116s] | -------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/info_service.rs:268:9 [ 116s] | [ 116s] 268 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 273 | debug!("info service start : {ret}"); [ 116s] | ------------------------------------ in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/info_service.rs:279:9 [ 116s] | [ 116s] 279 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] 280 | let ret = rpc_port_stub_PkgMgr_unregister(); [ 116s] 281 | debug!("ret : {ret}"); [ 116s] | --------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 116s] | [ 116s] 131 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 134 | error!("Failure in creating the pkgmgr_installer object"); [ 116s] | --------------------------------------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 116s] | [ 116s] 131 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 139 | error!("pkgmgr_installer_set_uid fail"); [ 116s] | --------------------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 116s] | [ 116s] 131 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 154 | warn!("Unsupported req_type[{}]", req_type as c_int); [ 116s] | ---------------------------------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 116s] | [ 116s] 131 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 161 | error!("pkgmgr_installer_set_request_type fail"); [ 116s] | ------------------------------------------------ in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 116s] | [ 116s] 131 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 168 | error!("pkgmgr_installer_set_session_id fail : {:?}", c_req_id); [ 116s] | --------------------------------------------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 116s] | [ 116s] 309 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] 310 | if pkgmgrinfo_appinfo_get_appid(pkgmgrinfo_appinfo_h, &mut app_id) != 0 { [ 116s] 311 | error!("Failed get appid"); [ 116s] | -------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 116s] | [ 116s] 309 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 314 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 116s] | --------------------------------------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/server/util.rs:326:46 [ 116s] | [ 116s] 325 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 116s] | [ 116s] 325 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 329 | error!("Failed get appid"); [ 116s] | -------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 116s] | [ 116s] 325 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 333 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 116s] | --------------------------------------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 116s] | [ 116s] 342 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 355 | error!("getsize fd read failed: {:?}", Util::c_char_to_cstr((*err).message)); [ 116s] | ---------------------------------------------------------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 116s] | [ 116s] 342 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 361 | error!("empty result"); [ 116s] | ---------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 116s] | [ 116s] 390 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 399 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 116s] | --------------------------------------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 116s] | [ 116s] 390 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 406 | error!("Fail to get is readonly"); [ 116s] | --------------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 116s] | [ 116s] 422 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 429 | error!("Not found package"); [ 116s] | --------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 116s] | [ 116s] 422 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 445 | debug!("pkgtype - {ret_string}"); [ 116s] | -------------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:803:9 [ 116s] | [ 116s] 803 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] 804 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 116s] 805 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 116s] | ------------------------------------------------------ in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 116s] | [ 116s] 814 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] 815 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 116s] 816 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 116s] | ------------------------------------------------------ in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 116s] | [ 116s] 814 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 822 | error!("Failed to get pid of app{:?}", CStr::from_ptr(appid)); [ 116s] | ------------------------------------------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 116s] | [ 116s] 814 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 828 | error!("Failed to terminate app{:?}", CStr::from_ptr(appid)); [ 116s] | ------------------------------------------------------------ in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 116s] | [ 116s] 836 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 840 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 116s] | --------------------------------------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 116s] | [ 116s] 836 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 848 | error!("Failed to get list for {:?}", CStr::from_ptr(pkgid)); [ 116s] | ------------------------------------------------------------ in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 116s] | [ 116s] 859 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 863 | warn!("cannot get user information from gumd, retry"); [ 116s] | ----------------------------------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 116s] | [ 116s] 859 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 871 | error!("cannot get user information from gumd, failed"); [ 116s] | ------------------------------------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 116s] | [ 116s] 859 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 877 | error!("cannot get user type"); [ 116s] | ------------------------------ in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 116s] | [ 116s] 892 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 895 | error!("Failed to get the number of supplementary group IDs"); [ 116s] | ------------------------------------------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 116s] | [ 116s] 892 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 901 | error!("Failed to get list of supplementary group IDs"); [ 116s] | ------------------------------------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 116s] | [ 116s] 892 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 908 | error!("setgroups failed: {}", *__errno_location()); [ 116s] | --------------------------------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 116s] | [ 116s] 928 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 942 | error!("getpwuid_r fail"); [ 116s] | ------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 116s] | [ 116s] 928 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 949 | error!("Fail to get str, err({:?})", e); [ 116s] | --------------------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 116s] | [ 116s] 928 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 957 | error!("Fail to get str, err({:?})", e); [ 116s] | --------------------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 116s] | [ 116s] 928 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 966 | error!("Failed to set env for the user : {}", APPFW_UID); [ 116s] | -------------------------------------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 116s] | [ 116s] 984 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 987 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 116s] | ----------------------------------------------------------------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 116s] | [ 116s] 984 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 993 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 116s] | ---------------------------------------------------------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 116s] | [ 116s] 984 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 1000 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 116s] | ---------------------------------------------------------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/server/util.rs:1005:40 [ 116s] | [ 116s] 984 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 1005 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) } ); [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 116s] | [ 116s] 1081 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 1084 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 116s] | ----------------------------------------------------------------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 116s] | [ 116s] 1081 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 1090 | error!("Failed get root path for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 116s] | --------------------------------------------------------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 116s] | [ 116s] 1081 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 1098 | error!("Invalid path[{:?}]", Self::c_char_to_cstr(icon_path)); [ 116s] | ------------------------------------------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:1109:9 [ 116s] | [ 116s] 1109 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 1119 | error!("Fail to get list for {:?}", CStr::from_ptr(pkgid)); [ 116s] | ---------------------------------------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 116s] | [ 116s] 1129 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 1132 | error!("failed to open the fifo({}), errno({})", fifo_path, *__errno_location()); [ 116s] | -------------------------------------------------------------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: unnecessary `unsafe` block [ 116s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 116s] | [ 116s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 116s] | ^^^^^^ unnecessary `unsafe` block [ 116s] | [ 116s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 116s] | [ 116s] 1129 | unsafe { [ 116s] | ------ because it's nested under this `unsafe` block [ 116s] ... [ 116s] 1155 | error!("failed to add io watch"); [ 116s] | -------------------------------- in this macro invocation [ 116s] | [ 116s] = 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) [ 116s] [ 116s] warning: constant `SD_LISTEN_FDS_START` is never used [ 116s] --> ./src/pkgmgr/server/mod.rs:28:7 [ 116s] | [ 116s] 28 | const SD_LISTEN_FDS_START: i32 = 3; [ 116s] | ^^^^^^^^^^^^^^^^^^^ [ 116s] | [ 116s] = note: `#[warn(dead_code)]` on by default [ 116s] [ 116s] warning: multiple variants are never constructed [ 116s] --> ./src/pkgmgr/server/mod.rs:43:5 [ 116s] | [ 116s] 42 | enum AUL_RETURN_VALUE { [ 116s] | ---------------- variants in this enum [ 116s] 43 | AUL_R_ENOMEM = -16, //< Out of memory (Since 5.5) [ 116s] | ^^^^^^^^^^^^ [ 116s] 44 | AUL_R_ENOENT = -15, //< App directory entry error [ 116s] | ^^^^^^^^^^^^ [ 116s] 45 | AUL_R_EREJECTED = -14, //< App disable for mode [ 116s] | ^^^^^^^^^^^^^^^ [ 116s] 46 | AUL_R_ENOAPP = -13, //< Failed to find app ID or pkg ID [ 116s] | ^^^^^^^^^^^^ [ 116s] 47 | AUL_R_EHIDDENFORGUEST = -11, //< App hidden for guest mode [ 116s] | ^^^^^^^^^^^^^^^^^^^^^ [ 116s] 48 | AUL_R_ENOLAUNCHPAD = -10, //< no launchpad [ 116s] | ^^^^^^^^^^^^^^^^^^ [ 116s] 49 | AUL_R_ETERMINATING = -9, //< application terminating [ 116s] | ^^^^^^^^^^^^^^^^^^ [ 116s] 50 | AUL_R_EILLACC = -8, //< Illegal Access [ 116s] | ^^^^^^^^^^^^^ [ 116s] 51 | AUL_R_LOCAL = -7, //< Launch by himself [ 116s] | ^^^^^^^^^^^ [ 116s] 52 | AUL_R_ETIMEOUT = -6, //< Timeout [ 116s] | ^^^^^^^^^^^^^^ [ 116s] 53 | AUL_R_ECANCELED = -5, //< Operation canceled [ 116s] | ^^^^^^^^^^^^^^^ [ 116s] 54 | AUL_R_EINVAL = -4, //< Invalid argument [ 116s] | ^^^^^^^^^^^^ [ 116s] 55 | AUL_R_ECOMM = -3, //< Comunication Error [ 116s] | ^^^^^^^^^^^ [ 116s] 56 | AUL_R_ENOINIT = -2, //< AUL handler NOT initialized [ 116s] | ^^^^^^^^^^^^^ [ 116s] 57 | AUL_R_ERROR = -1, //< General error [ 116s] | ^^^^^^^^^^^ [ 116s] [ 116s] warning: field `timer` is never read [ 116s] --> ./src/pkgmgr/server/mod.rs:63:5 [ 116s] | [ 116s] 61 | pub struct Server { [ 116s] | ------ field in this struct [ 116s] 62 | mainloop: *mut GMainLoop, [ 116s] 63 | timer: c_uint [ 116s] | ^^^^^ [ 116s] [ 116s] warning: variants `IO_ERROR`, `OUT_OF_MEMORY`, `INVALID_PARAMETER`, and `PERMISSION_DENIED` are never constructed [ 116s] --> ./src/pkgmgr/server/admin_service.rs:29:5 [ 116s] | [ 116s] 27 | enum RPC_PORT_ERROR { [ 116s] | -------------- variants in this enum [ 116s] 28 | NONE = 0, //< Successful [ 116s] 29 | IO_ERROR = -5, //< Internal I/O error [ 116s] | ^^^^^^^^ [ 116s] 30 | OUT_OF_MEMORY = -12, //< Out of memory [ 116s] | ^^^^^^^^^^^^^ [ 116s] 31 | INVALID_PARAMETER = -22, //< Invalid parameter [ 116s] | ^^^^^^^^^^^^^^^^^ [ 116s] 32 | PERMISSION_DENIED = -13, //< Permission denied [ 116s] | ^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: method `generate_request_id` is never used [ 116s] --> ./src/pkgmgr/server/admin_service.rs:2786:8 [ 116s] | [ 116s] 2713 | impl AdminService { [ 116s] | ----------------- method in this implementation [ 116s] ... [ 116s] 2786 | fn generate_request_id(&self) -> String { [ 116s] | ^^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: field `request_type` is never read [ 116s] --> ./src/pkgmgr/server/backend_context.rs:7:5 [ 116s] | [ 116s] 6 | pub struct BackendContext { [ 116s] | -------------- field in this struct [ 116s] 7 | request_type: RequestType, [ 116s] | ^^^^^^^^^^^^ [ 116s] [ 116s] warning: type alias `GIOChannel` is never used [ 116s] --> ./src/pkgmgr/server/backend_queue.rs:14:6 [ 116s] | [ 116s] 14 | type GIOChannel = *mut c_void; [ 116s] | ^^^^^^^^^^ [ 116s] [ 116s] warning: type alias `GIOCondition` is never used [ 116s] --> ./src/pkgmgr/server/backend_queue.rs:15:6 [ 116s] | [ 116s] 15 | type GIOCondition = c_int; [ 116s] | ^^^^^^^^^^^^ [ 116s] [ 116s] warning: variants `EIO`, `ENOPKG`, `EPRIV`, `ETIMEOUT`, `EINVAL`, and `ECOMM` are never constructed [ 116s] --> ./src/pkgmgr/server/info_service.rs:22:5 [ 116s] | [ 116s] 20 | enum PKGMGR_RETURN_VALUE { [ 116s] | ------------------- variants in this enum [ 116s] 21 | ESYSTEM = -9, // Severe system error [ 116s] 22 | EIO = -8, // IO error [ 116s] | ^^^ [ 116s] 23 | ENOMEM = -7, // Out of memory [ 116s] 24 | ENOPKG = -6, // No such package [ 116s] | ^^^^^^ [ 116s] 25 | EPRIV = -5, // Privilege denied [ 116s] | ^^^^^ [ 116s] 26 | ETIMEOUT = -4, // Timeout [ 116s] | ^^^^^^^^ [ 116s] 27 | EINVAL = -3, // Invalid argument [ 116s] | ^^^^^^ [ 116s] 28 | ECOMM = -2, // Comunication Error [ 116s] | ^^^^^ [ 116s] [ 116s] warning: variants `EPRIV` and `ETIMEOUT` are never constructed [ 116s] --> ./src/pkgmgr/server/pkgmgr_return_value.rs:8:5 [ 116s] | [ 116s] 3 | pub enum PKGMGR_RETURN_VALUE { [ 116s] | ------------------- variants in this enum [ 116s] ... [ 116s] 8 | EPRIV = -5, // Privilege denied [ 116s] | ^^^^^ [ 116s] 9 | ETIMEOUT = -4, // Timeout [ 116s] | ^^^^^^^^ [ 116s] [ 116s] warning: variants `KILL`, `CHECK`, `ENABLE_APP_SPLASH_SCREEN`, `DISABLE_APP_SPLASH_SCREEN`, and `MIGRATE_EXTERNAL_IMAGE` are never constructed [ 116s] --> ./src/pkgmgr/server/request_type.rs:20:5 [ 116s] | [ 116s] 1 | pub enum RequestType { [ 116s] | ----------- variants in this enum [ 116s] ... [ 116s] 20 | KILL, [ 116s] | ^^^^ [ 116s] 21 | CHECK, [ 116s] | ^^^^^ [ 116s] ... [ 116s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] ... [ 116s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: multiple variants are never constructed [ 116s] --> ./src/pkgmgr/server/signal.rs:10:2 [ 116s] | [ 116s] 9 | enum PKGMGR_REQ { [ 116s] | ---------- variants in this enum [ 116s] 10 | PERM = -1, [ 116s] | ^^^^ [ 116s] 11 | INVALID = 0, [ 116s] | ^^^^^^^ [ 116s] 12 | INSTALL = 1, [ 116s] | ^^^^^^^ [ 116s] 13 | UNINSTALL = 2, [ 116s] | ^^^^^^^^^ [ 116s] 14 | CLEAR = 3, [ 116s] | ^^^^^ [ 116s] 15 | MOVE = 4, [ 116s] | ^^^^ [ 116s] 16 | RECOVER = 5, [ 116s] | ^^^^^^^ [ 116s] 17 | REINSTALL = 6, [ 116s] | ^^^^^^^^^ [ 116s] 18 | GETSIZE = 7, [ 116s] | ^^^^^^^ [ 116s] 19 | UPGRADE = 8, [ 116s] | ^^^^^^^ [ 116s] 20 | SMACK = 9, [ 116s] | ^^^^^ [ 116s] 21 | MANIFEST_DIRECT_INSTALL = 10, [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] ... [ 116s] 26 | MOUNT_INSTALL = 15, [ 116s] | ^^^^^^^^^^^^^ [ 116s] 27 | DISABLE_PKG = 16, [ 116s] | ^^^^^^^^^^^ [ 116s] 28 | ENABLE_PKG = 17, [ 116s] | ^^^^^^^^^^ [ 116s] 29 | MIGRATE_EXTIMG = 18, [ 116s] | ^^^^^^^^^^^^^^ [ 116s] 30 | RECOVER_DB = 19, [ 116s] | ^^^^^^^^^^ [ 116s] 31 | RES_COPY = 20, [ 116s] | ^^^^^^^^ [ 116s] 32 | RES_CREATE_DIR = 21, [ 116s] | ^^^^^^^^^^^^^^ [ 116s] 33 | RES_REMOVE = 22, [ 116s] | ^^^^^^^^^^ [ 116s] 34 | RES_UNINSTALL = 23 [ 116s] | ^^^^^^^^^^^^^ [ 116s] [ 116s] warning: constant `TZ_SYS_GLOBALAPP_USER` is never used [ 116s] --> ./src/pkgmgr/server/signal.rs:97:7 [ 116s] | [ 116s] 97 | const TZ_SYS_GLOBALAPP_USER: c_int = 22; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: function `tzplatform_getuid` is never used [ 116s] --> ./src/pkgmgr/server/signal.rs:53:12 [ 116s] | [ 116s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 116s] | ^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: constant `XML_READER_TYPE_ELEMENT` is never used [ 116s] --> ./src/pkgmgr/server/util.rs:29:7 [ 116s] | [ 116s] 29 | const XML_READER_TYPE_ELEMENT: i32 = 1; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: constant `XML_READER_TYPE_TEXT` is never used [ 116s] --> ./src/pkgmgr/server/util.rs:30:7 [ 116s] | [ 116s] 30 | const XML_READER_TYPE_TEXT: i32 = 3; [ 116s] | ^^^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: constant `XML_READER_TYPE_END_ELEMENT` is never used [ 116s] --> ./src/pkgmgr/server/util.rs:31:7 [ 116s] | [ 116s] 31 | const XML_READER_TYPE_END_ELEMENT: i32 = 15; [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: type alias `GIOChannel` is never used [ 116s] --> ./src/pkgmgr/server/util.rs:33:6 [ 116s] | [ 116s] 33 | type GIOChannel = *mut c_void; [ 116s] | ^^^^^^^^^^ [ 116s] [ 116s] warning: variants `PMINFO_UI_APP`, `PMINFO_SVC_APP`, `PMINFO_WIDGET_APP`, `PMINFO_WATCH_APP`, and `PMINFO_COMPONENT_BASED_APP` are never constructed [ 116s] --> ./src/pkgmgr/server/util.rs:136:5 [ 116s] | [ 116s] 134 | enum PKGMGRINFO_APP_COMPONENT { [ 116s] | ------------------------ variants in this enum [ 116s] 135 | PMINFO_ALL_APP = 0, //< All Application [ 116s] 136 | PMINFO_UI_APP, //< UI Application [ 116s] | ^^^^^^^^^^^^^ [ 116s] 137 | PMINFO_SVC_APP, //< Service Application [ 116s] | ^^^^^^^^^^^^^^ [ 116s] 138 | PMINFO_WIDGET_APP, //< Widget Application [ 116s] | ^^^^^^^^^^^^^^^^^ [ 116s] 139 | PMINFO_WATCH_APP, //< Watch Application [ 116s] | ^^^^^^^^^^^^^^^^ [ 116s] 140 | PMINFO_COMPONENT_BASED_APP, //< Component-based Application (Since 5.5) [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: associated functions `EnableAppSplashScreen` and `DisableAppSplashScreen` are never used [ 116s] --> ./src/pkgmgr/server/util.rs:766:12 [ 116s] | [ 116s] 384 | impl Util { [ 116s] | --------- associated functions in this implementation [ 116s] ... [ 116s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 116s] | ^^^^^^^^^^^^^^^^^^^^^ [ 116s] ... [ 116s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: function `pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db` is never used [ 116s] --> ./src/pkgmgr/server/util.rs:204:8 [ 116s] | [ 116s] 204 | fn pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db( [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] [ 116s] warning: unused `Result` that must be used [ 116s] --> ./src/main.rs:14:5 [ 116s] | [ 116s] 14 | pkgmgr::server::Server::run(&mut server); [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] | [ 116s] = note: this `Result` may be an `Err` variant, which should be handled [ 116s] = note: `#[warn(unused_must_use)]` on by default [ 116s] help: use `let _ = ...` to ignore the resulting value [ 116s] | [ 116s] 14 | let _ = pkgmgr::server::Server::run(&mut server); [ 116s] | +++++++ [ 116s] [ 116s] warning: unused `Result` that must be used [ 116s] --> ./src/pkgmgr/server/mod.rs:93:9 [ 116s] | [ 116s] 93 | admin_service.run(); [ 116s] | ^^^^^^^^^^^^^^^^^^^ [ 116s] | [ 116s] = note: this `Result` may be an `Err` variant, which should be handled [ 116s] help: use `let _ = ...` to ignore the resulting value [ 116s] | [ 116s] 93 | let _ = admin_service.run(); [ 116s] | +++++++ [ 116s] [ 116s] warning: unused `Result` that must be used [ 116s] --> ./src/pkgmgr/server/mod.rs:95:9 [ 116s] | [ 116s] 95 | cache_service.run(); [ 116s] | ^^^^^^^^^^^^^^^^^^^ [ 116s] | [ 116s] = note: this `Result` may be an `Err` variant, which should be handled [ 116s] help: use `let _ = ...` to ignore the resulting value [ 116s] | [ 116s] 95 | let _ = cache_service.run(); [ 116s] | +++++++ [ 116s] [ 116s] warning: unused `Result` that must be used [ 116s] --> ./src/pkgmgr/server/mod.rs:97:9 [ 116s] | [ 116s] 97 | info_service.run(); [ 116s] | ^^^^^^^^^^^^^^^^^^ [ 116s] | [ 116s] = note: this `Result` may be an `Err` variant, which should be handled [ 116s] help: use `let _ = ...` to ignore the resulting value [ 116s] | [ 116s] 97 | let _ = info_service.run(); [ 116s] | +++++++ [ 116s] [ 116s] warning: unused `Result` that must be used [ 116s] --> ./src/pkgmgr/server/mod.rs:99:9 [ 116s] | [ 116s] 99 | delayed_result_service.run(); [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] | [ 116s] = note: this `Result` may be an `Err` variant, which should be handled [ 116s] help: use `let _ = ...` to ignore the resulting value [ 116s] | [ 116s] 99 | let _ = delayed_result_service.run(); [ 116s] | +++++++ [ 116s] [ 116s] warning: unused `Result` that must be used [ 116s] --> ./src/pkgmgr/server/mod.rs:109:9 [ 116s] | [ 116s] 109 | admin_service.stop(); [ 116s] | ^^^^^^^^^^^^^^^^^^^^ [ 116s] | [ 116s] = note: this `Result` may be an `Err` variant, which should be handled [ 116s] help: use `let _ = ...` to ignore the resulting value [ 116s] | [ 116s] 109 | let _ = admin_service.stop(); [ 116s] | +++++++ [ 116s] [ 116s] warning: unused `Result` that must be used [ 116s] --> ./src/pkgmgr/server/mod.rs:110:9 [ 116s] | [ 116s] 110 | cache_service.stop(); [ 116s] | ^^^^^^^^^^^^^^^^^^^^ [ 116s] | [ 116s] = note: this `Result` may be an `Err` variant, which should be handled [ 116s] help: use `let _ = ...` to ignore the resulting value [ 116s] | [ 116s] 110 | let _ = cache_service.stop(); [ 116s] | +++++++ [ 116s] [ 116s] warning: unused `Result` that must be used [ 116s] --> ./src/pkgmgr/server/mod.rs:111:9 [ 116s] | [ 116s] 111 | info_service.stop(); [ 116s] | ^^^^^^^^^^^^^^^^^^^ [ 116s] | [ 116s] = note: this `Result` may be an `Err` variant, which should be handled [ 116s] help: use `let _ = ...` to ignore the resulting value [ 116s] | [ 116s] 111 | let _ = info_service.stop(); [ 116s] | +++++++ [ 116s] [ 116s] warning: unused `Result` that must be used [ 116s] --> ./src/pkgmgr/server/mod.rs:112:9 [ 116s] | [ 116s] 112 | delayed_result_service.stop(); [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] | [ 116s] = note: this `Result` may be an `Err` variant, which should be handled [ 116s] help: use `let _ = ...` to ignore the resulting value [ 116s] | [ 116s] 112 | let _ = delayed_result_service.stop(); [ 116s] | +++++++ [ 116s] [ 116s] warning: unused return value of `std::mem::size_of` that must be used [ 116s] --> ./src/pkgmgr/server/backend_queue.rs:40:9 [ 116s] | [ 116s] 40 | mem::size_of::(); [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 116s] | [ 116s] help: use `let _ = ...` to ignore the resulting value [ 116s] | [ 116s] 40 | let _ = mem::size_of::(); [ 116s] | +++++++ [ 116s] [ 116s] warning: structure field `rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 116s] --> ./src/pkgmgr/server/info_service.rs:35:9 [ 116s] | [ 116s] 35 | pub rpc_port_stub_PkgMgr_create_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_create_cb` [ 116s] | [ 116s] = note: `#[warn(non_snake_case)]` on by default [ 116s] [ 116s] warning: structure field `rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 116s] --> ./src/pkgmgr/server/info_service.rs:36:9 [ 116s] | [ 116s] 36 | pub rpc_port_stub_PkgMgr_terminate_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_terminate_cb` [ 116s] [ 116s] warning: structure field `rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 116s] --> ./src/pkgmgr/server/info_service.rs:37:9 [ 116s] | [ 116s] 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... [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_cb` [ 116s] [ 116s] warning: structure field `rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 116s] --> ./src/pkgmgr/server/info_service.rs:38:9 [ 116s] | [ 116s] 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... [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 116s] [ 116s] warning: structure field `rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 116s] --> ./src/pkgmgr/server/info_service.rs:39:9 [ 116s] | [ 116s] 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... [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 116s] [ 116s] warning: structure field `rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 116s] --> ./src/pkgmgr/server/info_service.rs:40:9 [ 116s] | [ 116s] 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... [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_check_cb` [ 116s] [ 116s] warning: function `impl_rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 116s] --> ./src/pkgmgr/server/info_service.rs:43:19 [ 116s] | [ 116s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_create_cb` [ 116s] [ 116s] warning: function `impl_rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 116s] --> ./src/pkgmgr/server/info_service.rs:48:19 [ 116s] | [ 116s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_terminate_cb` [ 116s] [ 116s] warning: function `impl_rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 116s] --> ./src/pkgmgr/server/info_service.rs:52:19 [ 116s] | [ 116s] 52 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSize_cb( [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_cb` [ 116s] [ 116s] warning: function `impl_rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 116s] --> ./src/pkgmgr/server/info_service.rs:112:19 [ 116s] | [ 116s] 112 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSizeSync_cb( [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 116s] [ 116s] warning: function `impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 116s] --> ./src/pkgmgr/server/info_service.rs:194:19 [ 116s] | [ 116s] 194 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb( [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 116s] [ 116s] warning: function `impl_rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 116s] --> ./src/pkgmgr/server/info_service.rs:221:19 [ 116s] | [ 116s] 221 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_Check_cb( [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_check_cb` [ 116s] [ 116s] warning: method `IsPackageReadonly` should have a snake case name [ 116s] --> ./src/pkgmgr/server/util.rs:389:12 [ 116s] | [ 116s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 116s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly` [ 116s] [ 116s] warning: method `GetPackageType` should have a snake case name [ 116s] --> ./src/pkgmgr/server/util.rs:420:12 [ 116s] | [ 116s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 116s] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type` [ 116s] [ 116s] warning: variable `xmlReaderTypes_XML_READER_TYPE_ELEMENT` should have a snake case name [ 116s] --> ./src/pkgmgr/server/util.rs:473:17 [ 116s] | [ 116s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_element` [ 116s] [ 116s] warning: variable `xmlReaderTypes_XML_READER_TYPE_TEXT` should have a snake case name [ 116s] --> ./src/pkgmgr/server/util.rs:478:17 [ 116s] | [ 116s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_text` [ 116s] [ 116s] warning: variable `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` should have a snake case name [ 116s] --> ./src/pkgmgr/server/util.rs:483:17 [ 116s] | [ 116s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_end_element` [ 116s] [ 116s] warning: constant `type_map` should have an upper case name [ 116s] --> ./src/pkgmgr/server/util.rs:623:15 [ 116s] | [ 116s] 623 | const type_map : [[&str; 2]; 3] = [ [ 116s] | ^^^^^^^^ help: convert the identifier to upper case: `TYPE_MAP` [ 116s] | [ 116s] = note: `#[warn(non_upper_case_globals)]` on by default [ 116s] [ 116s] warning: method `GenerateRequestId` should have a snake case name [ 116s] --> ./src/pkgmgr/server/util.rs:646:12 [ 116s] | [ 116s] 646 | pub fn GenerateRequestId(pkgid: &str) -> Option { [ 116s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_request_id` [ 116s] [ 116s] warning: method `CreatePkgUpdateInfo` should have a snake case name [ 116s] --> ./src/pkgmgr/server/util.rs:657:12 [ 116s] | [ 116s] 657 | pub fn CreatePkgUpdateInfo(pkgid: *const c_char, version: *const c_char, update_type: c_int) -> *mut c_void { [ 116s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info` [ 116s] [ 116s] warning: method `DestroyPkgUpdateInfo` should have a snake case name [ 116s] --> ./src/pkgmgr/server/util.rs:680:12 [ 116s] | [ 116s] 680 | pub fn DestroyPkgUpdateInfo(handle: *mut c_void) -> c_int { [ 116s] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroy_pkg_update_info` [ 116s] [ 116s] warning: method `RegisterPkgUpdateInfo` should have a snake case name [ 116s] --> ./src/pkgmgr/server/util.rs:686:12 [ 116s] | [ 116s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 116s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `register_pkg_update_info` [ 116s] [ 116s] warning: method `UnregisterPkgUpdateInfo` should have a snake case name [ 116s] --> ./src/pkgmgr/server/util.rs:696:12 [ 116s] | [ 116s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_pkg_update_info` [ 116s] [ 116s] warning: method `UnregisterAllPkgUpdateInfo` should have a snake case name [ 116s] --> ./src/pkgmgr/server/util.rs:706:12 [ 116s] | [ 116s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_all_pkg_update_info` [ 116s] [ 116s] warning: method `EnableApp` should have a snake case name [ 116s] --> ./src/pkgmgr/server/util.rs:728:12 [ 116s] | [ 116s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 116s] | ^^^^^^^^^ help: convert the identifier to snake case: `enable_app` [ 116s] [ 116s] warning: method `DisableApp` should have a snake case name [ 116s] --> ./src/pkgmgr/server/util.rs:738:12 [ 116s] | [ 116s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 116s] | ^^^^^^^^^^ help: convert the identifier to snake case: `disable_app` [ 116s] [ 116s] warning: method `EnableGlobalApp` should have a snake case name [ 116s] --> ./src/pkgmgr/server/util.rs:747:12 [ 116s] | [ 116s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 116s] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app` [ 116s] [ 116s] warning: method `DisableGlobalApp` should have a snake case name [ 116s] --> ./src/pkgmgr/server/util.rs:757:12 [ 116s] | [ 116s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 116s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app` [ 116s] [ 116s] warning: method `EnableAppSplashScreen` should have a snake case name [ 116s] --> ./src/pkgmgr/server/util.rs:766:12 [ 116s] | [ 116s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 116s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_app_splash_screen` [ 116s] [ 116s] warning: method `DisableAppSplashScreen` should have a snake case name [ 116s] --> ./src/pkgmgr/server/util.rs:775:12 [ 116s] | [ 116s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_app_splash_screen` [ 116s] [ 116s] warning: method `EnableGlobalAppSplashScreen` should have a snake case name [ 116s] --> ./src/pkgmgr/server/util.rs:784:12 [ 116s] | [ 116s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app_splash_screen` [ 116s] [ 116s] warning: method `DisableGlobalAppSplashScreen` should have a snake case name [ 116s] --> ./src/pkgmgr/server/util.rs:793:12 [ 116s] | [ 116s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 116s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app_splash_screen` [ 116s] [ 116s] warning: method `KillApp` should have a snake case name [ 116s] --> ./src/pkgmgr/server/util.rs:813:12 [ 116s] | [ 116s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 116s] | ^^^^^^^ help: convert the identifier to snake case: `kill_app` [ 116s] [ 116s] warning: method `KillAppsInPkg` should have a snake case name [ 116s] --> ./src/pkgmgr/server/util.rs:835:12 [ 116s] | [ 116s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 116s] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_apps_in_pkg` [ 116s] [ 116s] warning: method `IsAdminUser` should have a snake case name [ 116s] --> ./src/pkgmgr/server/util.rs:855:8 [ 116s] | [ 116s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 116s] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_admin_user` [ 116s] [ 125s] warning: 542 warnings emitted [ 125s] [ 125s] + export LD_LIBRARY_PATH=:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib [ 125s] + LD_LIBRARY_PATH=:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib [ 125s] ++ find /usr/lib64 -maxdepth 1 -name 'libstd-*.so' [ 125s] + __rust_std=/usr/lib64/libstd-fcf70ff533b679b2.so [ 125s] + /usr/bin/rustc -C prefer-dynamic --extern std=/usr/lib64/libstd-fcf70ff533b679b2.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 [ 125s] warning: unused import: `boxed` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:4:11 [ 125s] | [ 125s] 4 | use std::{boxed, str}; [ 125s] | ^^^^^ [ 125s] | [ 125s] = note: `#[warn(unused_imports)]` on by default [ 125s] [ 125s] warning: unused import: `std::mem` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:6:5 [ 125s] | [ 125s] 6 | use std::mem; [ 125s] | ^^^^^^^^ [ 125s] [ 125s] warning: unused import: `std::ptr` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:7:5 [ 125s] | [ 125s] 7 | use std::ptr; [ 125s] | ^^^^^^^^ [ 125s] [ 125s] warning: unused import: `malloc` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:8:18 [ 125s] | [ 125s] 8 | use libc::{free, malloc, strlen}; [ 125s] | ^^^^^^ [ 125s] [ 125s] warning: unused import: `super::Server` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:10:5 [ 125s] | [ 125s] 10 | use super::Server; [ 125s] | ^^^^^^^^^^^^^ [ 125s] [ 125s] warning: type `rpc_port_stub_array_string_h` should have an upper camel case name [ 125s] --> ./src/pkgmgr/server/admin_service.rs:23:6 [ 125s] | [ 125s] 23 | type rpc_port_stub_array_string_h = *mut c_void; [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RpcPortStubArrayStringH` [ 125s] | [ 125s] = note: `#[warn(non_camel_case_types)]` on by default [ 125s] [ 125s] warning: unused imports: `pid_t`, `uid_t` [ 125s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 125s] | [ 125s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 125s] | ^^^^^ ^^^^^ [ 125s] [ 125s] warning: unused imports: `c_int`, `c_void` [ 125s] --> ./src/pkgmgr/server/backend_context.rs:4:16 [ 125s] | [ 125s] 4 | use std::ffi::{c_int, c_void}; [ 125s] | ^^^^^ ^^^^^^ [ 125s] [ 125s] warning: unused import: `std::path::Path` [ 125s] --> ./src/pkgmgr/server/backend_queue.rs:10:5 [ 125s] | [ 125s] 10 | use std::path::Path; [ 125s] | ^^^^^^^^^^^^^^^ [ 125s] [ 125s] warning: denote infinite loops with `loop { ... }` [ 125s] --> ./src/pkgmgr/server/backend_queue.rs:50:9 [ 125s] | [ 125s] 50 | while true { [ 125s] | ^^^^^^^^^^ help: use `loop` [ 125s] | [ 125s] = note: `#[warn(while_true)]` on by default [ 125s] [ 125s] warning: unnecessary parentheses around `if` condition [ 125s] --> ./src/pkgmgr/server/backend_queue.rs:73:8 [ 125s] | [ 125s] 73 | if (mut_queue.is_queue_empty()) { [ 125s] | ^ ^ [ 125s] | [ 125s] = note: `#[warn(unused_parens)]` on by default [ 125s] help: remove these parentheses [ 125s] | [ 125s] 73 - if (mut_queue.is_queue_empty()) { [ 125s] 73 + if mut_queue.is_queue_empty() { [ 125s] | [ 125s] [ 125s] warning: unnecessary trailing semicolon [ 125s] --> ./src/pkgmgr/server/backend_queue.rs:297:17 [ 125s] | [ 125s] 297 | ; [ 125s] | ^ help: remove this semicolon [ 125s] | [ 125s] = note: `#[warn(redundant_semicolons)]` on by default [ 125s] [ 125s] warning: unused import: `super::Server` [ 125s] --> ./src/pkgmgr/server/cache_service.rs:1:5 [ 125s] | [ 125s] 1 | use super::Server; [ 125s] | ^^^^^^^^^^^^^ [ 125s] [ 125s] warning: unused import: `super::Server` [ 125s] --> ./src/pkgmgr/server/delayed_service.rs:1:5 [ 125s] | [ 125s] 1 | use super::Server; [ 125s] | ^^^^^^^^^^^^^ [ 125s] [ 125s] warning: unused import: `super::backend_context::*` [ 125s] --> ./src/pkgmgr/server/delayed_service.rs:4:5 [ 125s] | [ 125s] 4 | use super::backend_context::*; [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 125s] [ 125s] warning: unused import: `super::request_result::*` [ 125s] --> ./src/pkgmgr/server/delayed_service.rs:5:5 [ 125s] | [ 125s] 5 | use super::request_result::*; [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 125s] [ 125s] warning: unused import: `super::request_type::*` [ 125s] --> ./src/pkgmgr/server/delayed_service.rs:6:5 [ 125s] | [ 125s] 6 | use super::request_type::*; [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 125s] [ 125s] warning: unused import: `super::util::*` [ 125s] --> ./src/pkgmgr/server/delayed_service.rs:7:5 [ 125s] | [ 125s] 7 | use super::util::*; [ 125s] | ^^^^^^^^^^^^^^ [ 125s] [ 125s] warning: unused imports: `pid_t`, `uid_t` [ 125s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 125s] | [ 125s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 125s] | ^^^^^ ^^^^^ [ 125s] [ 125s] warning: unused import: `std::io::Error` [ 125s] --> ./src/pkgmgr/server/info_service.rs:3:5 [ 125s] | [ 125s] 3 | use std::io::Error; [ 125s] | ^^^^^^^^^^^^^^ [ 125s] [ 125s] warning: unused import: `std::mem` [ 125s] --> ./src/pkgmgr/server/info_service.rs:6:5 [ 125s] | [ 125s] 6 | use std::mem; [ 125s] | ^^^^^^^^ [ 125s] [ 125s] warning: unused import: `std::ptr` [ 125s] --> ./src/pkgmgr/server/info_service.rs:7:5 [ 125s] | [ 125s] 7 | use std::ptr; [ 125s] | ^^^^^^^^ [ 125s] [ 125s] warning: unused imports: `free`, `malloc`, `strlen` [ 125s] --> ./src/pkgmgr/server/info_service.rs:8:12 [ 125s] | [ 125s] 8 | use libc::{free, malloc, strlen, mkfifo}; [ 125s] | ^^^^ ^^^^^^ ^^^^^^ [ 125s] [ 125s] warning: unused import: `super::Server` [ 125s] --> ./src/pkgmgr/server/info_service.rs:10:5 [ 125s] | [ 125s] 10 | use super::Server; [ 125s] | ^^^^^^^^^^^^^ [ 125s] [ 125s] warning: unused import: `super::service::Service` [ 125s] --> ./src/pkgmgr/server/info_service.rs:13:5 [ 125s] | [ 125s] 13 | use super::service::Service; [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 125s] [ 125s] warning: unnecessary trailing semicolon [ 125s] --> ./src/pkgmgr/server/info_service.rs:49:5 [ 125s] | [ 125s] 49 | ; [ 125s] | ^ help: remove this semicolon [ 125s] [ 125s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 125s] --> ./src/pkgmgr/server/request_result.rs:7:5 [ 125s] | [ 125s] 7 | GETSIZE_SYNC(String, i32, i32), [ 125s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 125s] [ 125s] warning: variant `GET_GENERATE_LICENSE_RESULT` should have an upper camel case name [ 125s] --> ./src/pkgmgr/server/request_result.rs:8:5 [ 125s] | [ 125s] 8 | GET_GENERATE_LICENSE_RESULT(String, i32, CString, CString), [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetGenerateLicenseResult` [ 125s] [ 125s] warning: variant `MOUNT_INSTALL` should have an upper camel case name [ 125s] --> ./src/pkgmgr/server/request_type.rs:3:5 [ 125s] | [ 125s] 3 | MOUNT_INSTALL, [ 125s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MountInstall` [ 125s] [ 125s] warning: variant `ENABLE_PKG` should have an upper camel case name [ 125s] --> ./src/pkgmgr/server/request_type.rs:7:5 [ 125s] | [ 125s] 7 | ENABLE_PKG, [ 125s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnablePkg` [ 125s] [ 125s] warning: variant `DISABLE_PKG` should have an upper camel case name [ 125s] --> ./src/pkgmgr/server/request_type.rs:8:5 [ 125s] | [ 125s] 8 | DISABLE_PKG, [ 125s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisablePkg` [ 125s] [ 125s] warning: variant `REGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 125s] --> ./src/pkgmgr/server/request_type.rs:9:5 [ 125s] | [ 125s] 9 | REGISTER_PKG_UPDATE_INFO, [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterPkgUpdateInfo` [ 125s] [ 125s] warning: variant `UNREGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 125s] --> ./src/pkgmgr/server/request_type.rs:10:5 [ 125s] | [ 125s] 10 | UNREGISTER_PKG_UPDATE_INFO, [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterPkgUpdateInfo` [ 125s] [ 125s] warning: variant `UNREGISTER_ALL_PKG_UPDATE_INFO` should have an upper camel case name [ 125s] --> ./src/pkgmgr/server/request_type.rs:11:5 [ 125s] | [ 125s] 11 | UNREGISTER_ALL_PKG_UPDATE_INFO, [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterAllPkgUpdateInfo` [ 125s] [ 125s] warning: variant `ENABLE_APP` should have an upper camel case name [ 125s] --> ./src/pkgmgr/server/request_type.rs:12:5 [ 125s] | [ 125s] 12 | ENABLE_APP, [ 125s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableApp` [ 125s] [ 125s] warning: variant `DISABLE_APP` should have an upper camel case name [ 125s] --> ./src/pkgmgr/server/request_type.rs:13:5 [ 125s] | [ 125s] 13 | DISABLE_APP, [ 125s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableApp` [ 125s] [ 125s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 125s] --> ./src/pkgmgr/server/request_type.rs:15:5 [ 125s] | [ 125s] 15 | GETSIZE_SYNC, [ 125s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 125s] [ 125s] warning: variant `ENABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 125s] --> ./src/pkgmgr/server/request_type.rs:18:5 [ 125s] | [ 125s] 18 | ENABLE_GLOBAL_APP_FOR_UID, [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableGlobalAppForUid` [ 125s] [ 125s] warning: variant `DISABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 125s] --> ./src/pkgmgr/server/request_type.rs:19:5 [ 125s] | [ 125s] 19 | DISABLE_GLOBAL_APP_FOR_UID, [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableGlobalAppForUid` [ 125s] [ 125s] warning: variant `GENERATE_LICENSE_REQUEST` should have an upper camel case name [ 125s] --> ./src/pkgmgr/server/request_type.rs:22:5 [ 125s] | [ 125s] 22 | GENERATE_LICENSE_REQUEST, [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GenerateLicenseRequest` [ 125s] [ 125s] warning: variant `REGISTER_LICENSE` should have an upper camel case name [ 125s] --> ./src/pkgmgr/server/request_type.rs:23:5 [ 125s] | [ 125s] 23 | REGISTER_LICENSE, [ 125s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterLicense` [ 125s] [ 125s] warning: variant `DECRYPT_PACKAGE` should have an upper camel case name [ 125s] --> ./src/pkgmgr/server/request_type.rs:24:5 [ 125s] | [ 125s] 24 | DECRYPT_PACKAGE, [ 125s] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DecryptPackage` [ 125s] [ 125s] warning: variant `ENABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 125s] --> ./src/pkgmgr/server/request_type.rs:25:5 [ 125s] | [ 125s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableAppSplashScreen` [ 125s] [ 125s] warning: variant `DISABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 125s] --> ./src/pkgmgr/server/request_type.rs:26:5 [ 125s] | [ 125s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableAppSplashScreen` [ 125s] [ 125s] warning: variant `SET_APP_LABEL` should have an upper camel case name [ 125s] --> ./src/pkgmgr/server/request_type.rs:27:5 [ 125s] | [ 125s] 27 | SET_APP_LABEL, [ 125s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppLabel` [ 125s] [ 125s] warning: variant `SET_APP_ICON` should have an upper camel case name [ 125s] --> ./src/pkgmgr/server/request_type.rs:28:5 [ 125s] | [ 125s] 28 | SET_APP_ICON, [ 125s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppIcon` [ 125s] [ 125s] warning: variant `MIGRATE_EXTERNAL_IMAGE` should have an upper camel case name [ 125s] --> ./src/pkgmgr/server/request_type.rs:29:5 [ 125s] | [ 125s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MigrateExternalImage` [ 125s] [ 125s] warning: variant `RESOURCE_SHARE_COPY` should have an upper camel case name [ 125s] --> ./src/pkgmgr/server/request_type.rs:30:5 [ 125s] | [ 125s] 30 | RESOURCE_SHARE_COPY, [ 125s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCopy` [ 125s] [ 125s] warning: variant `RESOURCE_SHARE_CREATE_DIR` should have an upper camel case name [ 125s] --> ./src/pkgmgr/server/request_type.rs:31:5 [ 125s] | [ 125s] 31 | RESOURCE_SHARE_CREATE_DIR, [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCreateDir` [ 125s] [ 125s] warning: variant `RESOURCE_SHARE_REMOVE` should have an upper camel case name [ 125s] --> ./src/pkgmgr/server/request_type.rs:32:5 [ 125s] | [ 125s] 32 | RESOURCE_SHARE_REMOVE, [ 125s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareRemove` [ 125s] [ 125s] warning: variant `RESOURCE_SHARE_UNINSTALL` should have an upper camel case name [ 125s] --> ./src/pkgmgr/server/request_type.rs:33:5 [ 125s] | [ 125s] 33 | RESOURCE_SHARE_UNINSTALL, [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareUninstall` [ 125s] [ 125s] warning: variant `REMOVE_FILE` should have an upper camel case name [ 125s] --> ./src/pkgmgr/server/request_type.rs:34:5 [ 125s] | [ 125s] 34 | REMOVE_FILE, [ 125s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RemoveFile` [ 125s] [ 125s] warning: unused import: `CStr` [ 125s] --> ./src/pkgmgr/server/signal.rs:1:39 [ 125s] | [ 125s] 1 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 125s] | ^^^^ [ 125s] [ 125s] warning: unused import: `pid_t` [ 125s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 125s] | [ 125s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: unused imports: `CStr`, `CString`, `c_char`, `c_void` [ 125s] --> ./src/pkgmgr/server/signal.rs:39:20 [ 125s] | [ 125s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 125s] | ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^ [ 125s] [ 125s] warning: unused import: `pid_t` [ 125s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 125s] | [ 125s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: unused import: `std::cell::RefCell` [ 125s] --> ./src/pkgmgr/server/util.rs:1:5 [ 125s] | [ 125s] 1 | use std::cell::RefCell; [ 125s] | ^^^^^^^^^^^^^^^^^^ [ 125s] [ 125s] warning: unused import: `std::rc::Rc` [ 125s] --> ./src/pkgmgr/server/util.rs:8:5 [ 125s] | [ 125s] 8 | use std::rc::Rc; [ 125s] | ^^^^^^^^^^^ [ 125s] [ 125s] warning: type `xmlChar` should have an upper camel case name [ 125s] --> ./src/pkgmgr/server/util.rs:34:6 [ 125s] | [ 125s] 34 | type xmlChar = c_uchar; [ 125s] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlChar` [ 125s] [ 125s] warning: type `xmlTextReaderPtr` should have an upper camel case name [ 125s] --> ./src/pkgmgr/server/util.rs:35:6 [ 125s] | [ 125s] 35 | type xmlTextReaderPtr = *mut c_void; [ 125s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlTextReaderPtr` [ 125s] [ 125s] warning: unused imports: `CStr`, `CString` [ 125s] --> ./src/pkgmgr/server/util.rs:39:43 [ 125s] | [ 125s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 125s] | ^^^^ ^^^^^^^ [ 125s] [ 125s] warning: unused import: `pid_t` [ 125s] --> ./src/pkgmgr/server/util.rs:40:37 [ 125s] | [ 125s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: unnecessary parentheses around `if` condition [ 125s] --> ./src/pkgmgr/server/util.rs:474:24 [ 125s] | [ 125s] 474 | if (cur == depth + 1) { [ 125s] | ^ ^ [ 125s] | [ 125s] help: remove these parentheses [ 125s] | [ 125s] 474 - if (cur == depth + 1) { [ 125s] 474 + if cur == depth + 1 { [ 125s] | [ 125s] [ 125s] warning: unnecessary parentheses around `if` condition [ 125s] --> ./src/pkgmgr/server/util.rs:571:12 [ 125s] | [ 125s] 571 | if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 125s] | ^ ^ [ 125s] | [ 125s] help: remove these parentheses [ 125s] | [ 125s] 571 - if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 125s] 571 + if unzOpenCurrentFile(uf) != UNZ_OK as c_int { [ 125s] | [ 125s] [ 125s] warning: unused import: `std::ffi::CStr` [ 125s] --> ./src/pkgmgr/server/test/util_tests.rs:4:5 [ 125s] | [ 125s] 4 | use std::ffi::CStr; [ 125s] | ^^^^^^^^^^^^^^ [ 125s] [ 125s] warning: unused import: `std::mem` [ 125s] --> ./src/pkgmgr/server/test/util_tests.rs:6:5 [ 125s] | [ 125s] 6 | use std::mem; [ 125s] | ^^^^^^^^ [ 125s] [ 125s] warning: unused import: `mockall::predicate::*` [ 125s] --> ./src/pkgmgr/server/test/util_tests.rs:8:5 [ 125s] | [ 125s] 8 | use mockall::predicate::*; [ 125s] | ^^^^^^^^^^^^^^^^^^^^^ [ 125s] [ 125s] warning: unused import: `mockall::*` [ 125s] --> ./src/pkgmgr/server/test/util_tests.rs:9:5 [ 125s] | [ 125s] 9 | use mockall::*; [ 125s] | ^^^^^^^^^^ [ 125s] [ 125s] warning: unused import: `std::ffi::CString` [ 125s] --> ./src/pkgmgr/server/test/signal_tests.rs:2:5 [ 125s] | [ 125s] 2 | use std::ffi::CString; [ 125s] | ^^^^^^^^^^^^^^^^^ [ 125s] [ 125s] warning: unused import: `std::ffi::CStr` [ 125s] --> ./src/pkgmgr/server/test/signal_tests.rs:3:5 [ 125s] | [ 125s] 3 | use std::ffi::CStr; [ 125s] | ^^^^^^^^^^^^^^ [ 125s] [ 125s] warning: unused import: `std::ffi::c_char` [ 125s] --> ./src/pkgmgr/server/test/signal_tests.rs:4:5 [ 125s] | [ 125s] 4 | use std::ffi::c_char; [ 125s] | ^^^^^^^^^^^^^^^^ [ 125s] [ 125s] warning: unused import: `std::mem` [ 125s] --> ./src/pkgmgr/server/test/signal_tests.rs:5:5 [ 125s] | [ 125s] 5 | use std::mem; [ 125s] | ^^^^^^^^ [ 125s] [ 125s] warning: unused import: `mockall::predicate::*` [ 125s] --> ./src/pkgmgr/server/test/signal_tests.rs:6:5 [ 125s] | [ 125s] 6 | use mockall::predicate::*; [ 125s] | ^^^^^^^^^^^^^^^^^^^^^ [ 125s] [ 125s] warning: unused import: `mockall::*` [ 125s] --> ./src/pkgmgr/server/test/signal_tests.rs:7:5 [ 125s] | [ 125s] 7 | use mockall::*; [ 125s] | ^^^^^^^^^^ [ 125s] [ 125s] warning: unused import: `pid_t` [ 125s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 125s] | [ 125s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: unused import: `std::cell::RefCell` [ 125s] --> ./src/pkgmgr/server/mod.rs:22:5 [ 125s] | [ 125s] 22 | use std::cell::RefCell; [ 125s] | ^^^^^^^^^^^^^^^^^^ [ 125s] [ 125s] warning: unused import: `std::rc::Rc` [ 125s] --> ./src/pkgmgr/server/mod.rs:26:5 [ 125s] | [ 125s] 26 | use std::rc::Rc; [ 125s] | ^^^^^^^^^^^ [ 125s] [ 125s] warning: unused import: `std::process::Command` [ 125s] --> ./src/main.rs:9:5 [ 125s] | [ 125s] 9 | use std::process::Command; [ 125s] | ^^^^^^^^^^^^^^^^^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:5:26 [ 125s] | [ 125s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 125s] | ^^^^^ [ 125s] | [ 125s] = note: `#[warn(deprecated)]` on by default [ 125s] [ 125s] 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 [ 125s] --> ./src/pkgmgr/server/admin_service.rs:5:33 [ 125s] | [ 125s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:20:20 [ 125s] | [ 125s] 20 | const GLOBAL_USER: uid_t = 201; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:322:25 [ 125s] | [ 125s] 322 | let mut caller_uid: uid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:443:25 [ 125s] | [ 125s] 443 | let mut caller_uid: uid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:548:25 [ 125s] | [ 125s] 548 | let mut caller_uid: uid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:595:25 [ 125s] | [ 125s] 595 | let mut caller_uid: uid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:718:25 [ 125s] | [ 125s] 718 | let mut caller_uid: uid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:801:25 [ 125s] | [ 125s] 801 | let mut caller_uid: uid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:853:25 [ 125s] | [ 125s] 853 | let mut caller_uid: uid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:937:25 [ 125s] | [ 125s] 937 | let mut caller_uid: uid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:990:25 [ 125s] | [ 125s] 990 | let mut caller_uid: uid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1015:76 [ 125s] | [ 125s] 1015 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, true) { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1072:25 [ 125s] | [ 125s] 1072 | let mut caller_uid: uid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1097:76 [ 125s] | [ 125s] 1097 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, false) { [ 125s] | ^^^^^ [ 125s] [ 125s] 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 [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1151:25 [ 125s] | [ 125s] 1151 | let mut caller_pid: pid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1152:25 [ 125s] | [ 125s] 1152 | let mut caller_uid: uid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1166:62 [ 125s] | [ 125s] 1166 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1196:66 [ 125s] | [ 125s] 1196 | let ret = Util::RegisterPkgUpdateInfo(handle, uid as uid_t); [ 125s] | ^^^^^ [ 125s] [ 125s] 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 [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1215:25 [ 125s] | [ 125s] 1215 | let mut caller_pid: pid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1216:25 [ 125s] | [ 125s] 1216 | let mut caller_uid: uid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1230:62 [ 125s] | [ 125s] 1230 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1254:109 [ 125s] | [ 125s] 1254 | RequestResult::DELAYED(generated_req_key, Util::UnregisterPkgUpdateInfo(pkg_id.as_ptr(), uid as uid_t)) [ 125s] | ^^^^^ [ 125s] [ 125s] 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 [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1270:25 [ 125s] | [ 125s] 1270 | let mut caller_pid: pid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1271:25 [ 125s] | [ 125s] 1271 | let mut caller_uid: uid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1303:95 [ 125s] | [ 125s] 1303 | RequestResult::DELAYED(generated_req_key, Util::UnregisterAllPkgUpdateInfo(uid as uid_t, caller_uid)) [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1312:45 [ 125s] | [ 125s] 1312 | fn handle_enable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1359:60 [ 125s] | [ 125s] 1359 | fn handle_enable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1371:40 [ 125s] | [ 125s] 1371 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1373:40 [ 125s] | [ 125s] 1373 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1380:36 [ 125s] | [ 125s] 1380 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1382:36 [ 125s] | [ 125s] 1382 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1392:36 [ 125s] | [ 125s] 1392 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1394:36 [ 125s] | [ 125s] 1394 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1400:28 [ 125s] | [ 125s] 1400 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1403:46 [ 125s] | [ 125s] 1403 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1404:59 [ 125s] | [ 125s] 1404 | Util::EnableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1405:32 [ 125s] | [ 125s] 1405 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1409:28 [ 125s] | [ 125s] 1409 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1415:46 [ 125s] | [ 125s] 1415 | fn handle_disable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1463:61 [ 125s] | [ 125s] 1463 | fn handle_disable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1475:40 [ 125s] | [ 125s] 1475 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1477:40 [ 125s] | [ 125s] 1477 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1484:36 [ 125s] | [ 125s] 1484 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1486:36 [ 125s] | [ 125s] 1486 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1496:36 [ 125s] | [ 125s] 1496 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1498:36 [ 125s] | [ 125s] 1498 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1504:28 [ 125s] | [ 125s] 1504 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1507:46 [ 125s] | [ 125s] 1507 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1508:60 [ 125s] | [ 125s] 1508 | Util::DisableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1509:32 [ 125s] | [ 125s] 1509 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1513:28 [ 125s] | [ 125s] 1513 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1535:25 [ 125s] | [ 125s] 1535 | let mut caller_uid: uid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1562:70 [ 125s] | [ 125s] 1562 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1588:25 [ 125s] | [ 125s] 1588 | let mut caller_uid: uid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1615:71 [ 125s] | [ 125s] 1615 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1673:74 [ 125s] | [ 125s] 1673 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1735:75 [ 125s] | [ 125s] 1735 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1765:25 [ 125s] | [ 125s] 1765 | let mut caller_uid: uid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1792:85 [ 125s] | [ 125s] 1792 | RequestResult::VAL(handle_enable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1818:25 [ 125s] | [ 125s] 1818 | let mut caller_uid: uid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1845:86 [ 125s] | [ 125s] 1845 | RequestResult::VAL(handle_disable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1863:40 [ 125s] | [ 125s] 1863 | Util::KillAppsInPkg(pkg_id, uid as uid_t) [ 125s] | ^^^^^ [ 125s] [ 125s] 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 [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1873:25 [ 125s] | [ 125s] 1873 | let mut caller_pid: pid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1874:25 [ 125s] | [ 125s] 1874 | let mut caller_uid: uid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] 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 [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1985:25 [ 125s] | [ 125s] 1985 | let mut caller_pid: pid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1986:25 [ 125s] | [ 125s] 1986 | let mut caller_uid: uid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] 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 [ 125s] --> ./src/pkgmgr/server/admin_service.rs:2035:25 [ 125s] | [ 125s] 2035 | let mut caller_pid: pid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:2036:25 [ 125s] | [ 125s] 2036 | let mut caller_uid: uid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:2083:54 [ 125s] | [ 125s] 2083 | Util::EnableGlobalAppSplashScreen(app_id, uid as uid_t) [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:2093:55 [ 125s] | [ 125s] 2093 | Util::DisableGlobalAppSplashScreen(app_id, uid as uid_t) [ 125s] | ^^^^^ [ 125s] [ 125s] 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 [ 125s] --> ./src/pkgmgr/server/admin_service.rs:2105:25 [ 125s] | [ 125s] 2105 | let mut caller_pid: pid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:2106:25 [ 125s] | [ 125s] 2106 | let mut caller_uid: uid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:2137:102 [ 125s] | [ 125s] 2137 | RequestResult::DELAYED(generated_req_key, Util::update_app_label(app_id.as_ptr(), uid as uid_t , label.as_ptr())) [ 125s] | ^^^^^ [ 125s] [ 125s] 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 [ 125s] --> ./src/pkgmgr/server/admin_service.rs:2155:25 [ 125s] | [ 125s] 2155 | let mut caller_pid: pid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:2156:25 [ 125s] | [ 125s] 2156 | let mut caller_uid: uid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:2187:101 [ 125s] | [ 125s] 2187 | RequestResult::DELAYED(generated_req_key, Util::update_app_icon(app_id.as_ptr(), uid as uid_t , icon_path.as_ptr())) [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:2312:25 [ 125s] | [ 125s] 2312 | let mut caller_uid: uid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] 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 [ 125s] --> ./src/pkgmgr/server/admin_service.rs:2313:25 [ 125s] | [ 125s] 2313 | let mut caller_pid: pid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:2383:25 [ 125s] | [ 125s] 2383 | let mut caller_uid: uid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] 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 [ 125s] --> ./src/pkgmgr/server/admin_service.rs:2384:25 [ 125s] | [ 125s] 2384 | let mut caller_pid: pid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:2453:25 [ 125s] | [ 125s] 2453 | let mut caller_uid: uid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] 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 [ 125s] --> ./src/pkgmgr/server/admin_service.rs:2454:25 [ 125s] | [ 125s] 2454 | let mut caller_pid: pid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:2532:25 [ 125s] | [ 125s] 2532 | let mut caller_uid: uid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:2622:41 [ 125s] | [ 125s] 2622 | if unsafe { check_valid_path(uid as uid_t, pkg_id, file_path) } != 0 { [ 125s] | ^^^^^ [ 125s] [ 125s] 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 [ 125s] --> ./src/pkgmgr/server/admin_service.rs:2681:19 [ 125s] | [ 125s] 2681 | pid: *mut pid_t, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/admin_service.rs:2682:19 [ 125s] | [ 125s] 2682 | uid: *mut uid_t [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 125s] | [ 125s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 125s] | ^^^^^ [ 125s] [ 125s] 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 [ 125s] --> ./src/pkgmgr/server/backend_context.rs:3:33 [ 125s] | [ 125s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/cache_service.rs:12:26 [ 125s] | [ 125s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 125s] | ^^^^^ [ 125s] [ 125s] 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 [ 125s] --> ./src/pkgmgr/server/cache_service.rs:12:33 [ 125s] | [ 125s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/cache_service.rs:23:14 [ 125s] | [ 125s] 23 | uid: uid_t, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/cache_service.rs:48:17 [ 125s] | [ 125s] 48 | target_uid: uid_t, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/cache_service.rs:53:25 [ 125s] | [ 125s] 53 | let mut caller_uid: uid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] 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 [ 125s] --> ./src/pkgmgr/server/cache_service.rs:106:19 [ 125s] | [ 125s] 106 | pid: *mut pid_t, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/cache_service.rs:107:19 [ 125s] | [ 125s] 107 | uid: *mut uid_t [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 125s] | [ 125s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 125s] | ^^^^^ [ 125s] [ 125s] 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 [ 125s] --> ./src/pkgmgr/server/delayed_service.rs:13:33 [ 125s] | [ 125s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/info_service.rs:2:26 [ 125s] | [ 125s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 125s] | ^^^^^ [ 125s] [ 125s] 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 [ 125s] --> ./src/pkgmgr/server/info_service.rs:2:33 [ 125s] | [ 125s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/info_service.rs:37:90 [ 125s] | [ 125s] 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... [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/info_service.rs:38:94 [ 125s] | [ 125s] 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... [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/info_service.rs:40:88 [ 125s] | [ 125s] 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... [ 125s] | ^^^^^ [ 125s] [ 125s] 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 [ 125s] --> ./src/pkgmgr/server/info_service.rs:40:128 [ 125s] | [ 125s] 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... [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/info_service.rs:54:17 [ 125s] | [ 125s] 54 | target_uid: uid_t, [ 125s] | ^^^^^ [ 125s] [ 125s] 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 [ 125s] --> ./src/pkgmgr/server/info_service.rs:60:25 [ 125s] | [ 125s] 60 | let mut caller_pid: pid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/info_service.rs:61:25 [ 125s] | [ 125s] 61 | let mut caller_uid: uid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/info_service.rs:114:17 [ 125s] | [ 125s] 114 | target_uid: uid_t, [ 125s] | ^^^^^ [ 125s] [ 125s] 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 [ 125s] --> ./src/pkgmgr/server/info_service.rs:120:25 [ 125s] | [ 125s] 120 | let mut caller_pid: pid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/info_service.rs:121:25 [ 125s] | [ 125s] 121 | let mut caller_uid: uid_t = 0; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/info_service.rs:223:17 [ 125s] | [ 125s] 223 | target_uid: uid_t, [ 125s] | ^^^^^ [ 125s] [ 125s] 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 [ 125s] --> ./src/pkgmgr/server/info_service.rs:225:15 [ 125s] | [ 125s] 225 | pid: *mut pid_t, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/info_service.rs:228:43 [ 125s] | [ 125s] 228 | Util::check_app(pkg_id, target_uid as uid_t, pid) [ 125s] | ^^^^^ [ 125s] [ 125s] 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 [ 125s] --> ./src/pkgmgr/server/info_service.rs:242:19 [ 125s] | [ 125s] 242 | pid: *mut pid_t, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/info_service.rs:243:19 [ 125s] | [ 125s] 243 | uid: *mut uid_t [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/signal.rs:2:26 [ 125s] | [ 125s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 125s] | ^^^^^ [ 125s] [ 125s] 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 [ 125s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 125s] | [ 125s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/signal.rs:99:20 [ 125s] | [ 125s] 99 | const GLOBAL_USER: uid_t = 201; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/signal.rs:101:33 [ 125s] | [ 125s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/signal.rs:101:47 [ 125s] | [ 125s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/signal.rs:102:26 [ 125s] | [ 125s] 102 | let mut uid_vec: Vec = vec![]; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/signal.rs:110:28 [ 125s] | [ 125s] 110 | let mut uids: *mut uid_t = std::ptr::null_mut(); [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/signal.rs:124:14 [ 125s] | [ 125s] 124 | uid: uid_t, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/signal.rs:53:44 [ 125s] | [ 125s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/signal.rs:62:14 [ 125s] | [ 125s] 62 | uid: uid_t, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/signal.rs:86:14 [ 125s] | [ 125s] 86 | uid: uid_t, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/signal.rs:40:30 [ 125s] | [ 125s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 125s] | ^^^^^ [ 125s] [ 125s] 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 [ 125s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 125s] | [ 125s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/signal.rs:44:45 [ 125s] | [ 125s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:4:26 [ 125s] | [ 125s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 125s] | ^^^^^ [ 125s] [ 125s] 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 [ 125s] --> ./src/pkgmgr/server/util.rs:4:33 [ 125s] | [ 125s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:22:21 [ 125s] | [ 125s] 22 | const REGULAR_USER: uid_t = 5000; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:23:20 [ 125s] | [ 125s] 23 | const GLOBAL_USER: uid_t = 201; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:25:18 [ 125s] | [ 125s] 25 | const APPFW_UID: uid_t = 301; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:307:36 [ 125s] | [ 125s] 307 | let uid : uid_t = user_data as uid_t; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:307:15 [ 125s] | [ 125s] 307 | let uid : uid_t = user_data as uid_t; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:326:81 [ 125s] | [ 125s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 125s] | ^^^^^ [ 125s] [ 125s] 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 [ 125s] --> ./src/pkgmgr/server/util.rs:326:93 [ 125s] | [ 125s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:326:25 [ 125s] | [ 125s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 125s] | ^^^^^ [ 125s] [ 125s] 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 [ 125s] --> ./src/pkgmgr/server/util.rs:326:37 [ 125s] | [ 125s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:389:57 [ 125s] | [ 125s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:420:55 [ 125s] | [ 125s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:686:62 [ 125s] | [ 125s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:696:63 [ 125s] | [ 125s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:706:44 [ 125s] | [ 125s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:706:63 [ 125s] | [ 125s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:728:49 [ 125s] | [ 125s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:738:50 [ 125s] | [ 125s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:747:55 [ 125s] | [ 125s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:757:56 [ 125s] | [ 125s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:766:61 [ 125s] | [ 125s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:775:62 [ 125s] | [ 125s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:784:67 [ 125s] | [ 125s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:793:68 [ 125s] | [ 125s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:802:54 [ 125s] | [ 125s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 125s] | ^^^^^ [ 125s] [ 125s] 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 [ 125s] --> ./src/pkgmgr/server/util.rs:802:64 [ 125s] | [ 125s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:813:47 [ 125s] | [ 125s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:835:53 [ 125s] | [ 125s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:855:25 [ 125s] | [ 125s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:983:69 [ 125s] | [ 125s] 983 | pub fn get_application_info_by_appid(appid: *const c_char, uid: uid_t) -> Option<(CString, bool)> { [ 125s] | ^^^^^ [ 125s] [ 125s] 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 [ 125s] --> ./src/pkgmgr/server/util.rs:1012:41 [ 125s] | [ 125s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:1012:53 [ 125s] | [ 125s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:1029:71 [ 125s] | [ 125s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:1029:90 [ 125s] | [ 125s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:1076:56 [ 125s] | [ 125s] 1076 | pub fn update_app_label(appid: *const c_char, uid: uid_t, label: *const c_char) -> c_int { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:1080:55 [ 125s] | [ 125s] 1080 | pub fn update_app_icon(appid: *const c_char, uid: uid_t, icon_path: *const c_char) -> c_int { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:1108:49 [ 125s] | [ 125s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 125s] | ^^^^^ [ 125s] [ 125s] 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 [ 125s] --> ./src/pkgmgr/server/util.rs:1108:66 [ 125s] | [ 125s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:156:14 [ 125s] | [ 125s] 156 | uid: uid_t, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:166:14 [ 125s] | [ 125s] 166 | uid: uid_t, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:180:14 [ 125s] | [ 125s] 180 | uid: uid_t [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:185:14 [ 125s] | [ 125s] 185 | uid: uid_t [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:189:14 [ 125s] | [ 125s] 189 | uid: uid_t [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:194:14 [ 125s] | [ 125s] 194 | uid: uid_t, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:200:14 [ 125s] | [ 125s] 200 | uid: uid_t, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:206:14 [ 125s] | [ 125s] 206 | uid: uid_t, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:212:14 [ 125s] | [ 125s] 212 | uid: uid_t, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:218:14 [ 125s] | [ 125s] 218 | uid: uid_t, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:224:14 [ 125s] | [ 125s] 224 | uid: uid_t, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:237:32 [ 125s] | [ 125s] 237 | fn gum_user_get_sync(uid : uid_t, offline : c_int) -> *mut c_void; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:266:21 [ 125s] | [ 125s] 266 | caller_uid: uid_t [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:274:14 [ 125s] | [ 125s] 274 | uid: uid_t, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:40:30 [ 125s] | [ 125s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 125s] | ^^^^^ [ 125s] [ 125s] 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 [ 125s] --> ./src/pkgmgr/server/util.rs:40:37 [ 125s] | [ 125s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:46:18 [ 125s] | [ 125s] 46 | uid: uid_t, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:52:18 [ 125s] | [ 125s] 52 | uid: uid_t, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:67:18 [ 125s] | [ 125s] 67 | uid: uid_t, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:101:18 [ 125s] | [ 125s] 101 | uid: uid_t, [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:122:70 [ 125s] | [ 125s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:123:66 [ 125s] | [ 125s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:124:59 [ 125s] | [ 125s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/util.rs:125:97 [ 125s] | [ 125s] 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; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 125s] | [ 125s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 125s] | ^^^^^ [ 125s] [ 125s] 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 [ 125s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 125s] | [ 125s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/test/signal_tests.rs:12:26 [ 125s] | [ 125s] 12 | let mut uid_vec: Vec = vec![]; [ 125s] | ^^^^^ [ 125s] [ 125s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 125s] --> ./src/pkgmgr/server/test/signal_tests.rs:19:26 [ 125s] | [ 125s] 19 | let mut uid_vec: Vec = vec![]; [ 125s] | ^^^^^ [ 125s] [ 126s] warning: unreachable expression [ 126s] --> ./src/pkgmgr/server/backend_queue.rs:64:5 [ 126s] | [ 126s] 61 | return G_SOURCE_CONTINUE; [ 126s] | ------------------------ any code following this expression is unreachable [ 126s] ... [ 126s] 64 | 1 [ 126s] | ^ unreachable expression [ 126s] | [ 126s] = note: `#[warn(unreachable_code)]` on by default [ 126s] [ 126s] warning: unused import: `super::super::super::server::service::Service` [ 126s] --> ./src/pkgmgr/server/test/info_service_tests.rs:3:5 [ 126s] | [ 126s] 3 | use super::super::super::server::service::Service; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 126s] [ 126s] warning: unused variable: `context` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:297:5 [ 126s] | [ 126s] 297 | context: *mut c_void, [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 126s] | [ 126s] = note: `#[warn(unused_variables)]` on by default [ 126s] [ 126s] warning: unused variable: `context` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:306:5 [ 126s] | [ 126s] 306 | context: *mut c_void, [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 126s] [ 126s] warning: unused variable: `user_data` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:307:5 [ 126s] | [ 126s] 307 | user_data: *mut c_void, [ 126s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 126s] [ 126s] warning: unused variable: `ret` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:323:9 [ 126s] | [ 126s] 323 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 126s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 126s] [ 126s] warning: unused variable: `req_id` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:318:5 [ 126s] | [ 126s] 318 | req_id: *const c_char, [ 126s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:415:9 [ 126s] | [ 126s] 415 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] | [ 126s] = note: `#[warn(unused_mut)]` on by default [ 126s] [ 126s] warning: unused variable: `ret` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:444:9 [ 126s] | [ 126s] 444 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 126s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 126s] [ 126s] warning: unused variable: `req_id` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:434:5 [ 126s] | [ 126s] 434 | req_id: *const c_char, [ 126s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:510:9 [ 126s] | [ 126s] 510 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `ret` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:549:9 [ 126s] | [ 126s] 549 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 126s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:571:9 [ 126s] | [ 126s] 571 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `ret` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:596:9 [ 126s] | [ 126s] 596 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 126s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 126s] [ 126s] warning: unused variable: `req_id` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:591:5 [ 126s] | [ 126s] 591 | req_id: *const c_char, [ 126s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:688:9 [ 126s] | [ 126s] 688 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `ret` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:719:9 [ 126s] | [ 126s] 719 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 126s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 126s] [ 126s] warning: unused variable: `req_id` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:706:5 [ 126s] | [ 126s] 706 | req_id: *const c_char, [ 126s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:763:9 [ 126s] | [ 126s] 763 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `ret` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:802:9 [ 126s] | [ 126s] 802 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 126s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:824:9 [ 126s] | [ 126s] 824 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `ret` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:854:9 [ 126s] | [ 126s] 854 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 126s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:898:9 [ 126s] | [ 126s] 898 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `ret` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:938:9 [ 126s] | [ 126s] 938 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 126s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:961:9 [ 126s] | [ 126s] 961 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `ret` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:991:9 [ 126s] | [ 126s] 991 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 126s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1038:17 [ 126s] | [ 126s] 1038 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `ret` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1073:9 [ 126s] | [ 126s] 1073 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 126s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1123:17 [ 126s] | [ 126s] 1123 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `pkg_id` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1186:9 [ 126s] | [ 126s] 1186 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) }); [ 126s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1180:9 [ 126s] | [ 126s] 1180 | let mut handle : *mut c_void = Util::CreatePkgUpdateInfo(pkg_id, version, update_type); [ 126s] | ----^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1190:9 [ 126s] | [ 126s] 1190 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1248:9 [ 126s] | [ 126s] 1248 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1297:9 [ 126s] | [ 126s] 1297 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `is_global` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1321:17 [ 126s] | [ 126s] 1321 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 126s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 126s] [ 126s] warning: unused variable: `is_global` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1368:17 [ 126s] | [ 126s] 1368 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 126s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 126s] [ 126s] warning: unused variable: `is_global` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1424:17 [ 126s] | [ 126s] 1424 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 126s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 126s] [ 126s] warning: unused variable: `is_global` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1472:17 [ 126s] | [ 126s] 1472 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 126s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 126s] [ 126s] warning: unused variable: `caller_uid` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1535:13 [ 126s] | [ 126s] 1535 | let mut caller_uid: uid_t = 0; [ 126s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 126s] [ 126s] warning: unused variable: `context` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1521:5 [ 126s] | [ 126s] 1521 | context: *mut c_void, [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1535:9 [ 126s] | [ 126s] 1535 | let mut caller_uid: uid_t = 0; [ 126s] | ----^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1558:13 [ 126s] | [ 126s] 1558 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `caller_uid` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1588:13 [ 126s] | [ 126s] 1588 | let mut caller_uid: uid_t = 0; [ 126s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 126s] [ 126s] warning: unused variable: `context` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1574:5 [ 126s] | [ 126s] 1574 | context: *mut c_void, [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1588:9 [ 126s] | [ 126s] 1588 | let mut caller_uid: uid_t = 0; [ 126s] | ----^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1611:13 [ 126s] | [ 126s] 1611 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `context` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1627:5 [ 126s] | [ 126s] 1627 | context: *mut c_void, [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1669:17 [ 126s] | [ 126s] 1669 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `context` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1689:5 [ 126s] | [ 126s] 1689 | context: *mut c_void, [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1731:17 [ 126s] | [ 126s] 1731 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `caller_uid` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1765:13 [ 126s] | [ 126s] 1765 | let mut caller_uid: uid_t = 0; [ 126s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 126s] [ 126s] warning: unused variable: `context` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1751:5 [ 126s] | [ 126s] 1751 | context: *mut c_void, [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1765:9 [ 126s] | [ 126s] 1765 | let mut caller_uid: uid_t = 0; [ 126s] | ----^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1788:13 [ 126s] | [ 126s] 1788 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `caller_uid` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1818:13 [ 126s] | [ 126s] 1818 | let mut caller_uid: uid_t = 0; [ 126s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 126s] [ 126s] warning: unused variable: `context` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1804:5 [ 126s] | [ 126s] 1804 | context: *mut c_void, [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1818:9 [ 126s] | [ 126s] 1818 | let mut caller_uid: uid_t = 0; [ 126s] | ----^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1841:13 [ 126s] | [ 126s] 1841 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `context` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1857:5 [ 126s] | [ 126s] 1857 | context: *mut c_void, [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 126s] [ 126s] warning: unused variable: `pid` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1860:5 [ 126s] | [ 126s] 1860 | pid: *mut c_int, [ 126s] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [ 126s] [ 126s] warning: unused variable: `user_data` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1861:5 [ 126s] | [ 126s] 1861 | user_data: *mut c_void, [ 126s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1900:9 [ 126s] | [ 126s] 1900 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `context` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1932:5 [ 126s] | [ 126s] 1932 | context: *mut c_void, [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2012:9 [ 126s] | [ 126s] 2012 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2063:9 [ 126s] | [ 126s] 2063 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `context` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2078:5 [ 126s] | [ 126s] 2078 | context: *mut c_void, [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 126s] [ 126s] warning: unused variable: `user_data` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2081:5 [ 126s] | [ 126s] 2081 | user_data: *mut c_void, [ 126s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 126s] [ 126s] warning: unused variable: `context` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2088:5 [ 126s] | [ 126s] 2088 | context: *mut c_void, [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 126s] [ 126s] warning: unused variable: `user_data` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2091:5 [ 126s] | [ 126s] 2091 | user_data: *mut c_void, [ 126s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2133:9 [ 126s] | [ 126s] 2133 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2183:9 [ 126s] | [ 126s] 2183 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `context` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2198:5 [ 126s] | [ 126s] 2198 | context: *mut c_void, [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 126s] [ 126s] warning: unused variable: `uid` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2199:5 [ 126s] | [ 126s] 2199 | uid: c_int, [ 126s] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [ 126s] [ 126s] warning: unused variable: `pkg_id` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2200:5 [ 126s] | [ 126s] 2200 | pkg_id: *const c_char, [ 126s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 126s] [ 126s] warning: unused variable: `user_data` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2201:5 [ 126s] | [ 126s] 2201 | user_data: *mut c_void, [ 126s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2364:9 [ 126s] | [ 126s] 2364 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2434:9 [ 126s] | [ 126s] 2434 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2504:9 [ 126s] | [ 126s] 2504 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `ret` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2533:9 [ 126s] | [ 126s] 2533 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 126s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2552:9 [ 126s] | [ 126s] 2552 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `context` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2567:5 [ 126s] | [ 126s] 2567 | context: *mut c_void, [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2597:9 [ 126s] | [ 126s] 2597 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `context` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2612:5 [ 126s] | [ 126s] 2612 | context: *mut c_void, [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2656:9 [ 126s] | [ 126s] 2656 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `status` [ 126s] --> ./src/pkgmgr/server/backend_queue.rs:38:17 [ 126s] | [ 126s] 38 | let mut status: c_int; [ 126s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [ 126s] [ 126s] warning: unused variable: `io` [ 126s] --> ./src/pkgmgr/server/backend_queue.rs:30:33 [ 126s] | [ 126s] 30 | extern "C" fn signal_handler_cb(io: *mut glib_sys::GIOChannel, [ 126s] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [ 126s] [ 126s] warning: unused variable: `cond` [ 126s] --> ./src/pkgmgr/server/backend_queue.rs:31:9 [ 126s] | [ 126s] 31 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 126s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/backend_queue.rs:71:9 [ 126s] | [ 126s] 71 | let mut mut_queue = queue.borrow_mut(); [ 126s] | ----^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/backend_queue.rs:189:28 [ 126s] | [ 126s] 189 | pub fn push(&mut self, mut context: BackendContext) -> i32 { [ 126s] | ----^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `req_key` [ 126s] --> ./src/pkgmgr/server/backend_queue.rs:296:41 [ 126s] | [ 126s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_key` [ 126s] [ 126s] warning: unused variable: `ret` [ 126s] --> ./src/pkgmgr/server/backend_queue.rs:296:50 [ 126s] | [ 126s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 126s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 126s] [ 126s] warning: unused variable: `s` [ 126s] --> ./src/pkgmgr/server/backend_queue.rs:296:55 [ 126s] | [ 126s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 126s] | ^ help: if this is intentional, prefix it with an underscore: `_s` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/backend_queue.rs:278:25 [ 126s] | [ 126s] 278 | let mut backend: &mut Backend = backend.unwrap(); [ 126s] | ----^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `context` [ 126s] --> ./src/pkgmgr/server/cache_service.rs:31:5 [ 126s] | [ 126s] 31 | context: *mut c_void, [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 126s] [ 126s] warning: unused variable: `context` [ 126s] --> ./src/pkgmgr/server/cache_service.rs:40:5 [ 126s] | [ 126s] 40 | context: *mut c_void, [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 126s] [ 126s] warning: unused variable: `user_data` [ 126s] --> ./src/pkgmgr/server/cache_service.rs:41:5 [ 126s] | [ 126s] 41 | user_data: *mut c_void, [ 126s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 126s] [ 126s] warning: unused variable: `ret` [ 126s] --> ./src/pkgmgr/server/cache_service.rs:54:9 [ 126s] | [ 126s] 54 | let ret = unsafe { rpc_port_stub_PkgMgrForClearCache_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 126s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 126s] [ 126s] warning: value assigned to `pkg_type` is never read [ 126s] --> ./src/pkgmgr/server/cache_service.rs:63:13 [ 126s] | [ 126s] 63 | let mut pkg_type: String = String::new(); [ 126s] | ^^^^^^^^ [ 126s] | [ 126s] = help: maybe it is overwritten before being read? [ 126s] = note: `#[warn(unused_assignments)]` on by default [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/cache_service.rs:83:9 [ 126s] | [ 126s] 83 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `context` [ 126s] --> ./src/pkgmgr/server/delayed_service.rs:32:5 [ 126s] | [ 126s] 32 | context: *mut c_void, [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 126s] [ 126s] warning: unused variable: `context` [ 126s] --> ./src/pkgmgr/server/delayed_service.rs:41:5 [ 126s] | [ 126s] 41 | context: *mut c_void, [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 126s] [ 126s] warning: unused variable: `user_data` [ 126s] --> ./src/pkgmgr/server/delayed_service.rs:42:5 [ 126s] | [ 126s] 42 | user_data: *mut c_void, [ 126s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 126s] [ 126s] warning: unused variable: `context` [ 126s] --> ./src/pkgmgr/server/delayed_service.rs:48:5 [ 126s] | [ 126s] 48 | context: *mut c_void, [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 126s] [ 126s] warning: unused variable: `context` [ 126s] --> ./src/pkgmgr/server/info_service.rs:43:55 [ 126s] | [ 126s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 126s] [ 126s] warning: unused variable: `context` [ 126s] --> ./src/pkgmgr/server/info_service.rs:48:58 [ 126s] | [ 126s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 126s] [ 126s] warning: unused variable: `user_data` [ 126s] --> ./src/pkgmgr/server/info_service.rs:48:80 [ 126s] | [ 126s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 126s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/info_service.rs:98:9 [ 126s] | [ 126s] 98 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/info_service.rs:160:9 [ 126s] | [ 126s] 160 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `context` [ 126s] --> ./src/pkgmgr/server/info_service.rs:195:5 [ 126s] | [ 126s] 195 | context: *mut c_void, [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 126s] [ 126s] warning: unused variable: `context` [ 126s] --> ./src/pkgmgr/server/info_service.rs:222:5 [ 126s] | [ 126s] 222 | context: *mut c_void, [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 126s] [ 126s] warning: unused variable: `user_data` [ 126s] --> ./src/pkgmgr/server/info_service.rs:226:5 [ 126s] | [ 126s] 226 | user_data: *mut c_void [ 126s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/signal.rs:144:13 [ 126s] | [ 126s] 144 | let mut c_req_type: c_int; [ 126s] | ----^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 127s] warning: value assigned to `size_result` is never read [ 127s] --> ./src/pkgmgr/server/util.rs:351:17 [ 127s] | [ 127s] 351 | let mut size_result: i64 = -1; [ 127s] | ^^^^^^^^^^^ [ 127s] | [ 127s] = help: maybe it is overwritten before being read? [ 127s] [ 127s] warning: unused variable: `cond` [ 127s] --> ./src/pkgmgr/server/util.rs:341:9 [ 127s] | [ 127s] 341 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 127s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 127s] [ 127s] warning: value assigned to `ret` is never read [ 127s] --> ./src/pkgmgr/server/util.rs:425:21 [ 127s] | [ 127s] 425 | let mut ret: c_int = 0; [ 127s] | ^^^ [ 127s] | [ 127s] = help: maybe it is overwritten before being read? [ 127s] [ 127s] warning: unreachable pattern [ 127s] --> ./src/pkgmgr/server/util.rs:478:17 [ 127s] | [ 127s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 127s] | -------------------------------------- matches any value [ 127s] ... [ 127s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 127s] | [ 127s] = note: `#[warn(unreachable_patterns)]` on by default [ 127s] [ 127s] warning: unreachable pattern [ 127s] --> ./src/pkgmgr/server/util.rs:483:17 [ 127s] | [ 127s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 127s] | -------------------------------------- matches any value [ 127s] ... [ 127s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 127s] [ 127s] warning: unreachable pattern [ 127s] --> ./src/pkgmgr/server/util.rs:488:17 [ 127s] | [ 127s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 127s] | -------------------------------------- matches any value [ 127s] ... [ 127s] 488 | _ => { [ 127s] | ^ unreachable pattern [ 127s] [ 127s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 127s] --> ./src/pkgmgr/server/util.rs:473:17 [ 127s] | [ 127s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 127s] [ 127s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_TEXT` [ 127s] --> ./src/pkgmgr/server/util.rs:478:17 [ 127s] | [ 127s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_TEXT` [ 127s] [ 127s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 127s] --> ./src/pkgmgr/server/util.rs:483:17 [ 127s] | [ 127s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 127s] [ 127s] warning: variable does not need to be mutable [ 127s] --> ./src/pkgmgr/server/util.rs:519:13 [ 127s] | [ 127s] 519 | let mut attr = xmlTextReaderGetAttribute(reader, RES_TYPE_ATTRIBUTE_KEY.as_ptr()); [ 127s] | ----^^^^ [ 127s] | | [ 127s] | help: remove this `mut` [ 127s] [ 127s] warning: variable does not need to be mutable [ 127s] --> ./src/pkgmgr/server/util.rs:588:13 [ 127s] | [ 127s] 588 | let mut reader = [ 127s] | ----^^^^^^ [ 127s] | | [ 127s] | help: remove this `mut` [ 127s] [ 127s] warning: unused variable: `gid` [ 127s] --> ./src/pkgmgr/server/util.rs:891:52 [ 127s] | [ 127s] 891 | fn set_environment(mut envs: Vec<&mut String>, gid: libc::gid_t) -> bool { [ 127s] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:15:38 [ 127s] | [ 127s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:15:40 [ 127s] | [ 127s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `z` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:15:42 [ 127s] | [ 127s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:22:38 [ 127s] | [ 127s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:22:40 [ 127s] | [ 127s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `z` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:22:42 [ 127s] | [ 127s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:29:38 [ 127s] | [ 127s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:29:40 [ 127s] | [ 127s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `z` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:29:42 [ 127s] | [ 127s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:31:39 [ 127s] | [ 127s] 31 | ctx2.expect().times(1).returning(|x,y| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:31:41 [ 127s] | [ 127s] 31 | ctx2.expect().times(1).returning(|x,y| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:38:38 [ 127s] | [ 127s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:38:40 [ 127s] | [ 127s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `z` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:38:42 [ 127s] | [ 127s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:40:39 [ 127s] | [ 127s] 40 | ctx2.expect().times(1).returning(|x,y: *mut bool| { [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:45:40 [ 127s] | [ 127s] 45 | ctx_d.expect().times(1).returning(|x| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:52:38 [ 127s] | [ 127s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:52:40 [ 127s] | [ 127s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `z` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:52:42 [ 127s] | [ 127s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:54:39 [ 127s] | [ 127s] 54 | ctx2.expect().times(1).returning(|x,y: *mut bool| { [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:59:40 [ 127s] | [ 127s] 59 | ctx_d.expect().times(1).returning(|x| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:67:38 [ 127s] | [ 127s] 67 | ctx.expect().times(1).returning(|x,y| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:67:40 [ 127s] | [ 127s] 67 | ctx.expect().times(1).returning(|x,y| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:74:38 [ 127s] | [ 127s] 74 | ctx.expect().times(1).returning(|x,y| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:74:40 [ 127s] | [ 127s] 74 | ctx.expect().times(1).returning(|x,y| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:76:39 [ 127s] | [ 127s] 76 | ctx2.expect().times(1).returning(|x,y| -1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:76:41 [ 127s] | [ 127s] 76 | ctx2.expect().times(1).returning(|x,y| -1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:83:38 [ 127s] | [ 127s] 83 | ctx.expect().times(1).returning(|x,y| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:83:40 [ 127s] | [ 127s] 83 | ctx.expect().times(1).returning(|x,y| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:85:39 [ 127s] | [ 127s] 85 | ctx2.expect().times(1).returning(|x,y| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:85:41 [ 127s] | [ 127s] 85 | ctx2.expect().times(1).returning(|x,y| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:87:39 [ 127s] | [ 127s] 87 | ctx3.expect().times(1).returning(|x,y| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:87:41 [ 127s] | [ 127s] 87 | ctx3.expect().times(1).returning(|x,y| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:94:38 [ 127s] | [ 127s] 94 | ctx.expect().times(1).returning(|x,y| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:94:40 [ 127s] | [ 127s] 94 | ctx.expect().times(1).returning(|x,y| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:96:39 [ 127s] | [ 127s] 96 | ctx2.expect().times(1).returning(|x,y| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:96:41 [ 127s] | [ 127s] 96 | ctx2.expect().times(1).returning(|x,y| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:98:39 [ 127s] | [ 127s] 98 | ctx3.expect().times(1).returning(|x,y| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:98:41 [ 127s] | [ 127s] 98 | ctx3.expect().times(1).returning(|x,y| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:106:38 [ 127s] | [ 127s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:106:40 [ 127s] | [ 127s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `z` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:106:42 [ 127s] | [ 127s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:113:38 [ 127s] | [ 127s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:113:40 [ 127s] | [ 127s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `z` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:113:42 [ 127s] | [ 127s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:115:39 [ 127s] | [ 127s] 115 | ctx2.expect().times(1).returning(|x,y| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:115:41 [ 127s] | [ 127s] 115 | ctx2.expect().times(1).returning(|x,y| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:117:39 [ 127s] | [ 127s] 117 | ctx3.expect().times(1).returning(|x| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:124:38 [ 127s] | [ 127s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:124:40 [ 127s] | [ 127s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `z` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:124:42 [ 127s] | [ 127s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:126:39 [ 127s] | [ 127s] 126 | ctx2.expect().times(1).returning(|x,y| { [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:131:39 [ 127s] | [ 127s] 131 | ctx3.expect().times(1).returning(|x| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:138:38 [ 127s] | [ 127s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:138:40 [ 127s] | [ 127s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `z` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:138:42 [ 127s] | [ 127s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:140:39 [ 127s] | [ 127s] 140 | ctx2.expect().times(1).returning(|x,y| { [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:145:39 [ 127s] | [ 127s] 145 | ctx3.expect().times(1).returning(|x| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:153:38 [ 127s] | [ 127s] 153 | ctx.expect().times(1).returning(|x| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:160:38 [ 127s] | [ 127s] 160 | ctx.expect().times(1).returning(|x| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:162:39 [ 127s] | [ 127s] 162 | ctx2.expect().times(1).returning(|x,y| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:162:41 [ 127s] | [ 127s] 162 | ctx2.expect().times(1).returning(|x,y| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:164:40 [ 127s] | [ 127s] 164 | ctx_d.expect().times(1).returning(|x| -1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:171:38 [ 127s] | [ 127s] 171 | ctx.expect().times(1).returning(|x| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:173:39 [ 127s] | [ 127s] 173 | ctx2.expect().times(1).returning(|x,y| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:173:41 [ 127s] | [ 127s] 173 | ctx2.expect().times(1).returning(|x,y| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:175:39 [ 127s] | [ 127s] 175 | ctx3.expect().times(1).returning(|x,y| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:175:41 [ 127s] | [ 127s] 175 | ctx3.expect().times(1).returning(|x,y| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:177:40 [ 127s] | [ 127s] 177 | ctx_d.expect().times(1).returning(|x| -1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:184:38 [ 127s] | [ 127s] 184 | ctx.expect().times(1).returning(|x| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:186:39 [ 127s] | [ 127s] 186 | ctx2.expect().times(1).returning(|x,y| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:186:41 [ 127s] | [ 127s] 186 | ctx2.expect().times(1).returning(|x,y| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:188:39 [ 127s] | [ 127s] 188 | ctx3.expect().times(1).returning(|x,y| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:188:41 [ 127s] | [ 127s] 188 | ctx3.expect().times(1).returning(|x,y| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:190:39 [ 127s] | [ 127s] 190 | ctx4.expect().times(1).returning(|x,y| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:190:41 [ 127s] | [ 127s] 190 | ctx4.expect().times(1).returning(|x,y| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:192:40 [ 127s] | [ 127s] 192 | ctx_d.expect().times(1).returning(|x| -1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:199:38 [ 127s] | [ 127s] 199 | ctx.expect().times(1).returning(|x| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:201:39 [ 127s] | [ 127s] 201 | ctx2.expect().times(1).returning(|x,y| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:201:41 [ 127s] | [ 127s] 201 | ctx2.expect().times(1).returning(|x,y| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:203:39 [ 127s] | [ 127s] 203 | ctx3.expect().times(1).returning(|x,y| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:203:41 [ 127s] | [ 127s] 203 | ctx3.expect().times(1).returning(|x,y| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:205:39 [ 127s] | [ 127s] 205 | ctx4.expect().times(1).returning(|x,y| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:205:41 [ 127s] | [ 127s] 205 | ctx4.expect().times(1).returning(|x,y| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:213:38 [ 127s] | [ 127s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:213:40 [ 127s] | [ 127s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `z` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:213:42 [ 127s] | [ 127s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:220:38 [ 127s] | [ 127s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:220:40 [ 127s] | [ 127s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `z` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:220:42 [ 127s] | [ 127s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:222:39 [ 127s] | [ 127s] 222 | ctx2.expect().times(1).returning(|x,y| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:222:41 [ 127s] | [ 127s] 222 | ctx2.expect().times(1).returning(|x,y| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:224:40 [ 127s] | [ 127s] 224 | ctx_d.expect().times(1).returning(|x| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:231:38 [ 127s] | [ 127s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:231:40 [ 127s] | [ 127s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `z` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:231:42 [ 127s] | [ 127s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:233:39 [ 127s] | [ 127s] 233 | ctx2.expect().times(1).returning(|x,y| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:233:41 [ 127s] | [ 127s] 233 | ctx2.expect().times(1).returning(|x,y| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:235:39 [ 127s] | [ 127s] 235 | ctx3.expect().times(1).returning(|x,y| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:235:41 [ 127s] | [ 127s] 235 | ctx3.expect().times(1).returning(|x,y| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:237:40 [ 127s] | [ 127s] 237 | ctx_d.expect().times(1).returning(|x| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:244:38 [ 127s] | [ 127s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:244:40 [ 127s] | [ 127s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `z` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:244:42 [ 127s] | [ 127s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:246:39 [ 127s] | [ 127s] 246 | ctx2.expect().times(1).returning(|x,y| { [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:251:39 [ 127s] | [ 127s] 251 | ctx3.expect().times(1).returning(|x, y| { [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:256:40 [ 127s] | [ 127s] 256 | ctx_d.expect().times(1).returning(|x| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:264:38 [ 127s] | [ 127s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `y` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:264:40 [ 127s] | [ 127s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 127s] [ 127s] warning: unused variable: `z` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:264:42 [ 127s] | [ 127s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 127s] [ 127s] warning: unused variable: `e` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:264:44 [ 127s] | [ 127s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:271:38 [ 127s] | [ 127s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `z` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:271:42 [ 127s] | [ 127s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 127s] [ 127s] warning: unused variable: `e` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:271:44 [ 127s] | [ 127s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:285:38 [ 127s] | [ 127s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: unused variable: `z` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:285:42 [ 127s] | [ 127s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 127s] [ 127s] warning: unused variable: `e` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:285:44 [ 127s] | [ 127s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 127s] [ 127s] warning: unused variable: `x` [ 127s] --> ./src/pkgmgr/server/test/signal_tests.rs:21:38 [ 127s] | [ 127s] 21 | ctx.expect().times(1).returning(|x| 0); [ 127s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 127s] [ 127s] warning: variable does not need to be mutable [ 127s] --> ./src/pkgmgr/server/test/signal_tests.rs:19:9 [ 127s] | [ 127s] 19 | let mut uid_vec: Vec = vec![]; [ 127s] | ----^^^^^^^ [ 127s] | | [ 127s] | help: remove this `mut` [ 127s] [ 127s] warning: variable does not need to be mutable [ 127s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:7:9 [ 127s] | [ 127s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 127s] | ----^^^^^^^^^^^^^ [ 127s] | | [ 127s] | help: remove this `mut` [ 127s] [ 127s] warning: variable does not need to be mutable [ 127s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:14:9 [ 127s] | [ 127s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 127s] | ----^^^^^^^^^^^^^ [ 127s] | | [ 127s] | help: remove this `mut` [ 127s] [ 127s] warning: variable does not need to be mutable [ 127s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:7:9 [ 127s] | [ 127s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 127s] | ----^^^^^^^^^^^^^ [ 127s] | | [ 127s] | help: remove this `mut` [ 127s] [ 127s] warning: variable does not need to be mutable [ 127s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:14:9 [ 127s] | [ 127s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 127s] | ----^^^^^^^^^^^^^ [ 127s] | | [ 127s] | help: remove this `mut` [ 127s] [ 127s] warning: variable does not need to be mutable [ 127s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:7:9 [ 127s] | [ 127s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 127s] | ----^^^^^^^^^^^^^ [ 127s] | | [ 127s] | help: remove this `mut` [ 127s] [ 127s] warning: variable does not need to be mutable [ 127s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:14:9 [ 127s] | [ 127s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 127s] | ----^^^^^^^^^^^^^ [ 127s] | | [ 127s] | help: remove this `mut` [ 127s] [ 127s] warning: variable does not need to be mutable [ 127s] --> ./src/pkgmgr/server/test/info_service_tests.rs:7:9 [ 127s] | [ 127s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 127s] | ----^^^^^^^^^^^^^ [ 127s] | | [ 127s] | help: remove this `mut` [ 127s] [ 127s] warning: variable does not need to be mutable [ 127s] --> ./src/pkgmgr/server/test/info_service_tests.rs:14:9 [ 127s] | [ 127s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 127s] | ----^^^^^^^^^^^^^ [ 127s] | | [ 127s] | help: remove this `mut` [ 127s] [ 127s] warning: variable does not need to be mutable [ 127s] --> ./src/pkgmgr/server/mod.rs:89:13 [ 127s] | [ 127s] 89 | let mut backend_queue = BackendQueue::new(self.mainloop); [ 127s] | ----^^^^^^^^^^^^^ [ 127s] | | [ 127s] | help: remove this `mut` [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/server/admin_service.rs:995:32 [ 127s] | [ 127s] 993 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] 994 | match CString::new(generated_req_key.clone()) { [ 127s] 995 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] = note: `#[warn(unused_unsafe)]` on by default [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/admin_service.rs:993:5 [ 127s] | [ 127s] 993 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 997 | error!("Fail to generate req key, err({:?})", e); [ 127s] | ------------------------------------------------ in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1023:46 [ 127s] | [ 127s] 993 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 1023 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1077:32 [ 127s] | [ 127s] 1075 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] 1076 | match CString::new(generated_req_key.clone()) { [ 127s] 1077 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 127s] | [ 127s] 1075 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 1079 | error!("Fail to generate req key, err({:?})", e); [ 127s] | ------------------------------------------------ in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 127s] | [ 127s] 1075 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 1106 | debug!("push disable pkg {pkg_id}"); [ 127s] | ----------------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1108:46 [ 127s] | [ 127s] 1075 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 1108 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1537:5 [ 127s] | [ 127s] 1537 | unsafe { [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1590:5 [ 127s] | [ 127s] 1590 | unsafe { [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1643:32 [ 127s] | [ 127s] 1641 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] 1642 | match CString::new(generated_req_key.clone()) { [ 127s] 1643 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/admin_service.rs:1641:5 [ 127s] | [ 127s] 1641 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 1645 | error!("Fail to generate req key, err({:?})", e); [ 127s] | ------------------------------------------------ in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1657:42 [ 127s] | [ 127s] 1641 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 1657 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1705:32 [ 127s] | [ 127s] 1703 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] 1704 | match CString::new(generated_req_key.clone()) { [ 127s] 1705 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/admin_service.rs:1703:5 [ 127s] | [ 127s] 1703 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 1707 | error!("Fail to generate req key, err({:?})", e); [ 127s] | ------------------------------------------------ in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1719:42 [ 127s] | [ 127s] 1703 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 1719 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1767:5 [ 127s] | [ 127s] 1767 | unsafe { [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1820:5 [ 127s] | [ 127s] 1820 | unsafe { [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/server/admin_service.rs:2296:17 [ 127s] | [ 127s] 2294 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] 2295 | if !(*value.offset(i as isize)).is_null() { [ 127s] 2296 | unsafe { free(*value.offset(i as isize) as *mut _) }; [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/admin_service.rs:2793:9 [ 127s] | [ 127s] 2793 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] 2794 | let ret = rpc_port_stub_PkgMgrAdmin_register(&mut self.callbacks, self as *mut _ as *mut c_void); [ 127s] 2795 | debug!("admin service start : {ret}"); [ 127s] | ------------------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/admin_service.rs:2801:9 [ 127s] | [ 127s] 2801 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] 2802 | let ret = rpc_port_stub_PkgMgrAdmin_unregister(); [ 127s] 2803 | debug!("ret : {ret}"); [ 127s] | --------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 127s] | [ 127s] 204 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 210 | error!("sigprocmask failed"); [ 127s] | ---------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 127s] | [ 127s] 204 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 216 | error!("signalfd failed"); [ 127s] | ------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/cache_service.rs:134:9 [ 127s] | [ 127s] 134 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 139 | debug!("cache service start : {ret}"); [ 127s] | ------------------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/cache_service.rs:145:9 [ 127s] | [ 127s] 145 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] 146 | let ret = rpc_port_stub_PkgMgrForClearCache_unregister(); [ 127s] 147 | debug!("ret : {ret}"); [ 127s] | --------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/delayed_service.rs:107:9 [ 127s] | [ 127s] 107 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 112 | debug!("delayed result service start : {ret}"); [ 127s] | ---------------------------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/delayed_service.rs:118:9 [ 127s] | [ 127s] 118 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] 119 | let ret = rpc_port_stub_DelayedResult_unregister(); [ 127s] 120 | debug!("ret : {ret}"); [ 127s] | --------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/info_service.rs:165:13 [ 127s] | [ 127s] 165 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] 166 | if mkfifo(fifo_path.as_ptr() as *const c_char, 0o600) < 0 { [ 127s] 167 | error!("Failed to mkfifo"); [ 127s] | -------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/info_service.rs:268:9 [ 127s] | [ 127s] 268 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 273 | debug!("info service start : {ret}"); [ 127s] | ------------------------------------ in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/info_service.rs:279:9 [ 127s] | [ 127s] 279 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] 280 | let ret = rpc_port_stub_PkgMgr_unregister(); [ 127s] 281 | debug!("ret : {ret}"); [ 127s] | --------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 127s] | [ 127s] 131 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 134 | error!("Failure in creating the pkgmgr_installer object"); [ 127s] | --------------------------------------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 127s] | [ 127s] 131 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 139 | error!("pkgmgr_installer_set_uid fail"); [ 127s] | --------------------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 127s] | [ 127s] 131 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 154 | warn!("Unsupported req_type[{}]", req_type as c_int); [ 127s] | ---------------------------------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 127s] | [ 127s] 131 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 161 | error!("pkgmgr_installer_set_request_type fail"); [ 127s] | ------------------------------------------------ in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 127s] | [ 127s] 131 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 168 | error!("pkgmgr_installer_set_session_id fail : {:?}", c_req_id); [ 127s] | --------------------------------------------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 127s] | [ 127s] 309 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] 310 | if pkgmgrinfo_appinfo_get_appid(pkgmgrinfo_appinfo_h, &mut app_id) != 0 { [ 127s] 311 | error!("Failed get appid"); [ 127s] | -------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 127s] | [ 127s] 309 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 314 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 127s] | --------------------------------------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/server/util.rs:326:46 [ 127s] | [ 127s] 325 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 127s] | [ 127s] 325 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 329 | error!("Failed get appid"); [ 127s] | -------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 127s] | [ 127s] 325 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 333 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 127s] | --------------------------------------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 127s] | [ 127s] 342 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 355 | error!("getsize fd read failed: {:?}", Util::c_char_to_cstr((*err).message)); [ 127s] | ---------------------------------------------------------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 127s] | [ 127s] 342 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 361 | error!("empty result"); [ 127s] | ---------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 127s] | [ 127s] 390 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 399 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 127s] | --------------------------------------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 127s] | [ 127s] 390 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 406 | error!("Fail to get is readonly"); [ 127s] | --------------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 127s] | [ 127s] 422 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 429 | error!("Not found package"); [ 127s] | --------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 127s] | [ 127s] 422 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 445 | debug!("pkgtype - {ret_string}"); [ 127s] | -------------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:803:9 [ 127s] | [ 127s] 803 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] 804 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 127s] 805 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 127s] | ------------------------------------------------------ in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 127s] | [ 127s] 814 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] 815 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 127s] 816 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 127s] | ------------------------------------------------------ in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 127s] | [ 127s] 814 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 822 | error!("Failed to get pid of app{:?}", CStr::from_ptr(appid)); [ 127s] | ------------------------------------------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 127s] | [ 127s] 814 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 828 | error!("Failed to terminate app{:?}", CStr::from_ptr(appid)); [ 127s] | ------------------------------------------------------------ in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 127s] | [ 127s] 836 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 840 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 127s] | --------------------------------------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 127s] | [ 127s] 836 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 848 | error!("Failed to get list for {:?}", CStr::from_ptr(pkgid)); [ 127s] | ------------------------------------------------------------ in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 127s] | [ 127s] 859 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 863 | warn!("cannot get user information from gumd, retry"); [ 127s] | ----------------------------------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 127s] | [ 127s] 859 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 871 | error!("cannot get user information from gumd, failed"); [ 127s] | ------------------------------------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 127s] | [ 127s] 859 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 877 | error!("cannot get user type"); [ 127s] | ------------------------------ in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 127s] | [ 127s] 892 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 895 | error!("Failed to get the number of supplementary group IDs"); [ 127s] | ------------------------------------------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 127s] | [ 127s] 892 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 901 | error!("Failed to get list of supplementary group IDs"); [ 127s] | ------------------------------------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 127s] | [ 127s] 892 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 908 | error!("setgroups failed: {}", *__errno_location()); [ 127s] | --------------------------------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 127s] | [ 127s] 928 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 942 | error!("getpwuid_r fail"); [ 127s] | ------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 127s] | [ 127s] 928 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 949 | error!("Fail to get str, err({:?})", e); [ 127s] | --------------------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 127s] | [ 127s] 928 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 957 | error!("Fail to get str, err({:?})", e); [ 127s] | --------------------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 127s] | [ 127s] 928 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 966 | error!("Failed to set env for the user : {}", APPFW_UID); [ 127s] | -------------------------------------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 127s] | [ 127s] 984 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 987 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 127s] | ----------------------------------------------------------------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 127s] | [ 127s] 984 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 993 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 127s] | ---------------------------------------------------------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 127s] | [ 127s] 984 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 1000 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 127s] | ---------------------------------------------------------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/server/util.rs:1005:40 [ 127s] | [ 127s] 984 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 1005 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) } ); [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 127s] | [ 127s] 1081 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 1084 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 127s] | ----------------------------------------------------------------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 127s] | [ 127s] 1081 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 1090 | error!("Failed get root path for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 127s] | --------------------------------------------------------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 127s] | [ 127s] 1081 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 1098 | error!("Invalid path[{:?}]", Self::c_char_to_cstr(icon_path)); [ 127s] | ------------------------------------------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:1109:9 [ 127s] | [ 127s] 1109 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 1119 | error!("Fail to get list for {:?}", CStr::from_ptr(pkgid)); [ 127s] | ---------------------------------------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 127s] | [ 127s] 1129 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 1132 | error!("failed to open the fifo({}), errno({})", fifo_path, *__errno_location()); [ 127s] | -------------------------------------------------------------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: unnecessary `unsafe` block [ 127s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 127s] | [ 127s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 127s] | ^^^^^^ unnecessary `unsafe` block [ 127s] | [ 127s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 127s] | [ 127s] 1129 | unsafe { [ 127s] | ------ because it's nested under this `unsafe` block [ 127s] ... [ 127s] 1155 | error!("failed to add io watch"); [ 127s] | -------------------------------- in this macro invocation [ 127s] | [ 127s] = 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) [ 127s] [ 127s] warning: constant `SD_LISTEN_FDS_START` is never used [ 127s] --> ./src/pkgmgr/server/mod.rs:28:7 [ 127s] | [ 127s] 28 | const SD_LISTEN_FDS_START: i32 = 3; [ 127s] | ^^^^^^^^^^^^^^^^^^^ [ 127s] | [ 127s] = note: `#[warn(dead_code)]` on by default [ 127s] [ 127s] warning: multiple variants are never constructed [ 127s] --> ./src/pkgmgr/server/mod.rs:43:5 [ 127s] | [ 127s] 42 | enum AUL_RETURN_VALUE { [ 127s] | ---------------- variants in this enum [ 127s] 43 | AUL_R_ENOMEM = -16, //< Out of memory (Since 5.5) [ 127s] | ^^^^^^^^^^^^ [ 127s] 44 | AUL_R_ENOENT = -15, //< App directory entry error [ 127s] | ^^^^^^^^^^^^ [ 127s] 45 | AUL_R_EREJECTED = -14, //< App disable for mode [ 127s] | ^^^^^^^^^^^^^^^ [ 127s] 46 | AUL_R_ENOAPP = -13, //< Failed to find app ID or pkg ID [ 127s] | ^^^^^^^^^^^^ [ 127s] 47 | AUL_R_EHIDDENFORGUEST = -11, //< App hidden for guest mode [ 127s] | ^^^^^^^^^^^^^^^^^^^^^ [ 127s] 48 | AUL_R_ENOLAUNCHPAD = -10, //< no launchpad [ 127s] | ^^^^^^^^^^^^^^^^^^ [ 127s] 49 | AUL_R_ETERMINATING = -9, //< application terminating [ 127s] | ^^^^^^^^^^^^^^^^^^ [ 127s] 50 | AUL_R_EILLACC = -8, //< Illegal Access [ 127s] | ^^^^^^^^^^^^^ [ 127s] 51 | AUL_R_LOCAL = -7, //< Launch by himself [ 127s] | ^^^^^^^^^^^ [ 127s] 52 | AUL_R_ETIMEOUT = -6, //< Timeout [ 127s] | ^^^^^^^^^^^^^^ [ 127s] 53 | AUL_R_ECANCELED = -5, //< Operation canceled [ 127s] | ^^^^^^^^^^^^^^^ [ 127s] 54 | AUL_R_EINVAL = -4, //< Invalid argument [ 127s] | ^^^^^^^^^^^^ [ 127s] 55 | AUL_R_ECOMM = -3, //< Comunication Error [ 127s] | ^^^^^^^^^^^ [ 127s] 56 | AUL_R_ENOINIT = -2, //< AUL handler NOT initialized [ 127s] | ^^^^^^^^^^^^^ [ 127s] 57 | AUL_R_ERROR = -1, //< General error [ 127s] | ^^^^^^^^^^^ [ 127s] [ 127s] warning: field `timer` is never read [ 127s] --> ./src/pkgmgr/server/mod.rs:63:5 [ 127s] | [ 127s] 61 | pub struct Server { [ 127s] | ------ field in this struct [ 127s] 62 | mainloop: *mut GMainLoop, [ 127s] 63 | timer: c_uint [ 127s] | ^^^^^ [ 127s] [ 127s] warning: variants `IO_ERROR`, `OUT_OF_MEMORY`, `INVALID_PARAMETER`, and `PERMISSION_DENIED` are never constructed [ 127s] --> ./src/pkgmgr/server/admin_service.rs:29:5 [ 127s] | [ 127s] 27 | enum RPC_PORT_ERROR { [ 127s] | -------------- variants in this enum [ 127s] 28 | NONE = 0, //< Successful [ 127s] 29 | IO_ERROR = -5, //< Internal I/O error [ 127s] | ^^^^^^^^ [ 127s] 30 | OUT_OF_MEMORY = -12, //< Out of memory [ 127s] | ^^^^^^^^^^^^^ [ 127s] 31 | INVALID_PARAMETER = -22, //< Invalid parameter [ 127s] | ^^^^^^^^^^^^^^^^^ [ 127s] 32 | PERMISSION_DENIED = -13, //< Permission denied [ 127s] | ^^^^^^^^^^^^^^^^^ [ 127s] [ 127s] warning: method `generate_request_id` is never used [ 127s] --> ./src/pkgmgr/server/admin_service.rs:2786:8 [ 127s] | [ 127s] 2713 | impl AdminService { [ 127s] | ----------------- method in this implementation [ 127s] ... [ 127s] 2786 | fn generate_request_id(&self) -> String { [ 127s] | ^^^^^^^^^^^^^^^^^^^ [ 127s] [ 127s] warning: field `request_type` is never read [ 127s] --> ./src/pkgmgr/server/backend_context.rs:7:5 [ 127s] | [ 127s] 6 | pub struct BackendContext { [ 127s] | -------------- field in this struct [ 127s] 7 | request_type: RequestType, [ 127s] | ^^^^^^^^^^^^ [ 127s] [ 127s] warning: type alias `GIOChannel` is never used [ 127s] --> ./src/pkgmgr/server/backend_queue.rs:14:6 [ 127s] | [ 127s] 14 | type GIOChannel = *mut c_void; [ 127s] | ^^^^^^^^^^ [ 127s] [ 127s] warning: type alias `GIOCondition` is never used [ 127s] --> ./src/pkgmgr/server/backend_queue.rs:15:6 [ 127s] | [ 127s] 15 | type GIOCondition = c_int; [ 127s] | ^^^^^^^^^^^^ [ 127s] [ 127s] warning: variants `EIO`, `ENOPKG`, `EPRIV`, `ETIMEOUT`, `EINVAL`, and `ECOMM` are never constructed [ 127s] --> ./src/pkgmgr/server/info_service.rs:22:5 [ 127s] | [ 127s] 20 | enum PKGMGR_RETURN_VALUE { [ 127s] | ------------------- variants in this enum [ 127s] 21 | ESYSTEM = -9, // Severe system error [ 127s] 22 | EIO = -8, // IO error [ 127s] | ^^^ [ 127s] 23 | ENOMEM = -7, // Out of memory [ 127s] 24 | ENOPKG = -6, // No such package [ 127s] | ^^^^^^ [ 127s] 25 | EPRIV = -5, // Privilege denied [ 127s] | ^^^^^ [ 127s] 26 | ETIMEOUT = -4, // Timeout [ 127s] | ^^^^^^^^ [ 127s] 27 | EINVAL = -3, // Invalid argument [ 127s] | ^^^^^^ [ 127s] 28 | ECOMM = -2, // Comunication Error [ 127s] | ^^^^^ [ 127s] [ 127s] warning: variants `EPRIV` and `ETIMEOUT` are never constructed [ 127s] --> ./src/pkgmgr/server/pkgmgr_return_value.rs:8:5 [ 127s] | [ 127s] 3 | pub enum PKGMGR_RETURN_VALUE { [ 127s] | ------------------- variants in this enum [ 127s] ... [ 127s] 8 | EPRIV = -5, // Privilege denied [ 127s] | ^^^^^ [ 127s] 9 | ETIMEOUT = -4, // Timeout [ 127s] | ^^^^^^^^ [ 127s] [ 127s] warning: variants `KILL`, `CHECK`, `ENABLE_APP_SPLASH_SCREEN`, `DISABLE_APP_SPLASH_SCREEN`, and `MIGRATE_EXTERNAL_IMAGE` are never constructed [ 127s] --> ./src/pkgmgr/server/request_type.rs:20:5 [ 127s] | [ 127s] 1 | pub enum RequestType { [ 127s] | ----------- variants in this enum [ 127s] ... [ 127s] 20 | KILL, [ 127s] | ^^^^ [ 127s] 21 | CHECK, [ 127s] | ^^^^^ [ 127s] ... [ 127s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 127s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 127s] ... [ 127s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 127s] [ 127s] warning: multiple variants are never constructed [ 127s] --> ./src/pkgmgr/server/signal.rs:10:2 [ 127s] | [ 127s] 9 | enum PKGMGR_REQ { [ 127s] | ---------- variants in this enum [ 127s] 10 | PERM = -1, [ 127s] | ^^^^ [ 127s] 11 | INVALID = 0, [ 127s] | ^^^^^^^ [ 127s] 12 | INSTALL = 1, [ 127s] | ^^^^^^^ [ 127s] 13 | UNINSTALL = 2, [ 127s] | ^^^^^^^^^ [ 127s] 14 | CLEAR = 3, [ 127s] | ^^^^^ [ 127s] 15 | MOVE = 4, [ 127s] | ^^^^ [ 127s] 16 | RECOVER = 5, [ 127s] | ^^^^^^^ [ 127s] 17 | REINSTALL = 6, [ 127s] | ^^^^^^^^^ [ 127s] 18 | GETSIZE = 7, [ 127s] | ^^^^^^^ [ 127s] 19 | UPGRADE = 8, [ 127s] | ^^^^^^^ [ 127s] 20 | SMACK = 9, [ 127s] | ^^^^^ [ 127s] 21 | MANIFEST_DIRECT_INSTALL = 10, [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 127s] ... [ 127s] 26 | MOUNT_INSTALL = 15, [ 127s] | ^^^^^^^^^^^^^ [ 127s] 27 | DISABLE_PKG = 16, [ 127s] | ^^^^^^^^^^^ [ 127s] 28 | ENABLE_PKG = 17, [ 127s] | ^^^^^^^^^^ [ 127s] 29 | MIGRATE_EXTIMG = 18, [ 127s] | ^^^^^^^^^^^^^^ [ 127s] 30 | RECOVER_DB = 19, [ 127s] | ^^^^^^^^^^ [ 127s] 31 | RES_COPY = 20, [ 127s] | ^^^^^^^^ [ 127s] 32 | RES_CREATE_DIR = 21, [ 127s] | ^^^^^^^^^^^^^^ [ 127s] 33 | RES_REMOVE = 22, [ 127s] | ^^^^^^^^^^ [ 127s] 34 | RES_UNINSTALL = 23 [ 127s] | ^^^^^^^^^^^^^ [ 127s] [ 127s] warning: constant `TZ_SYS_GLOBALAPP_USER` is never used [ 127s] --> ./src/pkgmgr/server/signal.rs:97:7 [ 127s] | [ 127s] 97 | const TZ_SYS_GLOBALAPP_USER: c_int = 22; [ 127s] | ^^^^^^^^^^^^^^^^^^^^^ [ 127s] [ 127s] warning: function `tzplatform_getuid` is never used [ 127s] --> ./src/pkgmgr/server/signal.rs:53:12 [ 127s] | [ 127s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 127s] | ^^^^^^^^^^^^^^^^^ [ 127s] [ 127s] warning: function `sd_get_uids` is never used [ 127s] --> ./src/pkgmgr/server/signal.rs:44:16 [ 127s] | [ 127s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 127s] | ^^^^^^^^^^^ [ 127s] [ 127s] warning: constant `XML_READER_TYPE_ELEMENT` is never used [ 127s] --> ./src/pkgmgr/server/util.rs:29:7 [ 127s] | [ 127s] 29 | const XML_READER_TYPE_ELEMENT: i32 = 1; [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 127s] [ 127s] warning: constant `XML_READER_TYPE_TEXT` is never used [ 127s] --> ./src/pkgmgr/server/util.rs:30:7 [ 127s] | [ 127s] 30 | const XML_READER_TYPE_TEXT: i32 = 3; [ 127s] | ^^^^^^^^^^^^^^^^^^^^ [ 127s] [ 127s] warning: constant `XML_READER_TYPE_END_ELEMENT` is never used [ 127s] --> ./src/pkgmgr/server/util.rs:31:7 [ 127s] | [ 127s] 31 | const XML_READER_TYPE_END_ELEMENT: i32 = 15; [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 127s] [ 127s] warning: type alias `GIOChannel` is never used [ 127s] --> ./src/pkgmgr/server/util.rs:33:6 [ 127s] | [ 127s] 33 | type GIOChannel = *mut c_void; [ 127s] | ^^^^^^^^^^ [ 127s] [ 127s] warning: variants `PMINFO_UI_APP`, `PMINFO_SVC_APP`, `PMINFO_WIDGET_APP`, `PMINFO_WATCH_APP`, and `PMINFO_COMPONENT_BASED_APP` are never constructed [ 127s] --> ./src/pkgmgr/server/util.rs:136:5 [ 127s] | [ 127s] 134 | enum PKGMGRINFO_APP_COMPONENT { [ 127s] | ------------------------ variants in this enum [ 127s] 135 | PMINFO_ALL_APP = 0, //< All Application [ 127s] 136 | PMINFO_UI_APP, //< UI Application [ 127s] | ^^^^^^^^^^^^^ [ 127s] 137 | PMINFO_SVC_APP, //< Service Application [ 127s] | ^^^^^^^^^^^^^^ [ 127s] 138 | PMINFO_WIDGET_APP, //< Widget Application [ 127s] | ^^^^^^^^^^^^^^^^^ [ 127s] 139 | PMINFO_WATCH_APP, //< Watch Application [ 127s] | ^^^^^^^^^^^^^^^^ [ 127s] 140 | PMINFO_COMPONENT_BASED_APP, //< Component-based Application (Since 5.5) [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 127s] [ 127s] warning: associated functions `EnableAppSplashScreen` and `DisableAppSplashScreen` are never used [ 127s] --> ./src/pkgmgr/server/util.rs:766:12 [ 127s] | [ 127s] 384 | impl Util { [ 127s] | --------- associated functions in this implementation [ 127s] ... [ 127s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^ [ 127s] ... [ 127s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 127s] [ 127s] warning: function `pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db` is never used [ 127s] --> ./src/pkgmgr/server/util.rs:204:8 [ 127s] | [ 127s] 204 | fn pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db( [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 127s] [ 127s] warning: function `pkgmgrinfo_pkginfo_get_usr_pkginfo` is never used [ 127s] --> ./src/pkgmgr/server/util.rs:44:16 [ 127s] | [ 127s] 44 | pub fn pkgmgrinfo_pkginfo_get_usr_pkginfo( [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 127s] [ 127s] warning: function `pkgmgrinfo_pkginfo_get_usr_disabled_pkginfo` is never used [ 127s] --> ./src/pkgmgr/server/util.rs:50:16 [ 127s] | [ 127s] 50 | pub fn pkgmgrinfo_pkginfo_get_usr_disabled_pkginfo( [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 127s] [ 127s] warning: function `pkgmgrinfo_pkginfo_is_readonly` is never used [ 127s] --> ./src/pkgmgr/server/util.rs:56:16 [ 127s] | [ 127s] 56 | pub fn pkgmgrinfo_pkginfo_is_readonly( [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 127s] [ 127s] warning: function `pkgmgrinfo_pkginfo_destroy_pkginfo` is never used [ 127s] --> ./src/pkgmgr/server/util.rs:61:16 [ 127s] | [ 127s] 61 | pub fn pkgmgrinfo_pkginfo_destroy_pkginfo( [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 127s] [ 127s] warning: function `pkgmgrinfo_pkginfo_get_usr_all_pkginfo` is never used [ 127s] --> ./src/pkgmgr/server/util.rs:65:16 [ 127s] | [ 127s] 65 | pub fn pkgmgrinfo_pkginfo_get_usr_all_pkginfo( [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 127s] [ 127s] warning: function `pkgmgrinfo_pkginfo_get_type` is never used [ 127s] --> ./src/pkgmgr/server/util.rs:71:16 [ 127s] | [ 127s] 71 | pub fn pkgmgrinfo_pkginfo_get_type( [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 127s] [ 127s] warning: function `pkgmgrinfo_updateinfo_create` is never used [ 127s] --> ./src/pkgmgr/server/util.rs:76:16 [ 127s] | [ 127s] 76 | pub fn pkgmgrinfo_updateinfo_create( [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 127s] [ 127s] warning: function `pkgmgrinfo_updateinfo_set_pkgid` is never used [ 127s] --> ./src/pkgmgr/server/util.rs:80:16 [ 127s] | [ 127s] 80 | pub fn pkgmgrinfo_updateinfo_set_pkgid( [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 127s] [ 127s] warning: function `pkgmgrinfo_updateinfo_set_version` is never used [ 127s] --> ./src/pkgmgr/server/util.rs:85:16 [ 127s] | [ 127s] 85 | pub fn pkgmgrinfo_updateinfo_set_version( [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 127s] [ 127s] warning: function `pkgmgrinfo_updateinfo_set_type` is never used [ 127s] --> ./src/pkgmgr/server/util.rs:90:16 [ 127s] | [ 127s] 90 | pub fn pkgmgrinfo_updateinfo_set_type( [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 127s] [ 127s] warning: function `pkgmgrinfo_updateinfo_destroy` is never used [ 127s] --> ./src/pkgmgr/server/util.rs:95:16 [ 127s] | [ 127s] 95 | pub fn pkgmgrinfo_updateinfo_destroy( [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 127s] [ 127s] warning: function `pkgmgrinfo_appinfo_get_usr_all_appinfo` is never used [ 127s] --> ./src/pkgmgr/server/util.rs:99:16 [ 127s] | [ 127s] 99 | pub fn pkgmgrinfo_appinfo_get_usr_all_appinfo( [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 127s] [ 127s] warning: function `pkgmgrinfo_appinfo_is_global` is never used [ 127s] --> ./src/pkgmgr/server/util.rs:105:16 [ 127s] | [ 127s] 105 | pub fn pkgmgrinfo_appinfo_is_global( [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 127s] [ 127s] warning: function `pkgmgrinfo_appinfo_get_pkgid` is never used [ 127s] --> ./src/pkgmgr/server/util.rs:110:16 [ 127s] | [ 127s] 110 | pub fn pkgmgrinfo_appinfo_get_pkgid( [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 127s] [ 127s] warning: function `pkgmgrinfo_appinfo_destroy_appinfo` is never used [ 127s] --> ./src/pkgmgr/server/util.rs:115:16 [ 127s] | [ 127s] 115 | pub fn pkgmgrinfo_appinfo_destroy_appinfo( [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 127s] [ 127s] warning: function `aul_app_is_running_for_uid` is never used [ 127s] --> ./src/pkgmgr/server/util.rs:122:16 [ 127s] | [ 127s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 127s] [ 127s] warning: function `aul_app_get_pid_for_uid` is never used [ 127s] --> ./src/pkgmgr/server/util.rs:123:16 [ 127s] | [ 127s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 127s] [ 127s] warning: function `aul_terminate_pid_for_uid` is never used [ 127s] --> ./src/pkgmgr/server/util.rs:124:16 [ 127s] | [ 127s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 127s] [ 127s] warning: function `aul_app_get_pkgid_bypid_for_uid` is never used [ 127s] --> ./src/pkgmgr/server/util.rs:125:16 [ 127s] | [ 127s] 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; [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 127s] [ 127s] warning: unused `Result` that must be used [ 127s] --> ./src/main.rs:14:5 [ 127s] | [ 127s] 14 | pkgmgr::server::Server::run(&mut server); [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 127s] | [ 127s] = note: this `Result` may be an `Err` variant, which should be handled [ 127s] = note: `#[warn(unused_must_use)]` on by default [ 127s] help: use `let _ = ...` to ignore the resulting value [ 127s] | [ 127s] 14 | let _ = pkgmgr::server::Server::run(&mut server); [ 127s] | +++++++ [ 127s] [ 127s] warning: unused `Result` that must be used [ 127s] --> ./src/pkgmgr/server/mod.rs:93:9 [ 127s] | [ 127s] 93 | admin_service.run(); [ 127s] | ^^^^^^^^^^^^^^^^^^^ [ 127s] | [ 127s] = note: this `Result` may be an `Err` variant, which should be handled [ 127s] help: use `let _ = ...` to ignore the resulting value [ 127s] | [ 127s] 93 | let _ = admin_service.run(); [ 127s] | +++++++ [ 127s] [ 127s] warning: unused `Result` that must be used [ 127s] --> ./src/pkgmgr/server/mod.rs:95:9 [ 127s] | [ 127s] 95 | cache_service.run(); [ 127s] | ^^^^^^^^^^^^^^^^^^^ [ 127s] | [ 127s] = note: this `Result` may be an `Err` variant, which should be handled [ 127s] help: use `let _ = ...` to ignore the resulting value [ 127s] | [ 127s] 95 | let _ = cache_service.run(); [ 127s] | +++++++ [ 127s] [ 127s] warning: unused `Result` that must be used [ 127s] --> ./src/pkgmgr/server/mod.rs:97:9 [ 127s] | [ 127s] 97 | info_service.run(); [ 127s] | ^^^^^^^^^^^^^^^^^^ [ 127s] | [ 127s] = note: this `Result` may be an `Err` variant, which should be handled [ 127s] help: use `let _ = ...` to ignore the resulting value [ 127s] | [ 127s] 97 | let _ = info_service.run(); [ 127s] | +++++++ [ 127s] [ 127s] warning: unused `Result` that must be used [ 127s] --> ./src/pkgmgr/server/mod.rs:99:9 [ 127s] | [ 127s] 99 | delayed_result_service.run(); [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 127s] | [ 127s] = note: this `Result` may be an `Err` variant, which should be handled [ 127s] help: use `let _ = ...` to ignore the resulting value [ 127s] | [ 127s] 99 | let _ = delayed_result_service.run(); [ 127s] | +++++++ [ 127s] [ 127s] warning: unused `Result` that must be used [ 127s] --> ./src/pkgmgr/server/mod.rs:109:9 [ 127s] | [ 127s] 109 | admin_service.stop(); [ 127s] | ^^^^^^^^^^^^^^^^^^^^ [ 127s] | [ 127s] = note: this `Result` may be an `Err` variant, which should be handled [ 127s] help: use `let _ = ...` to ignore the resulting value [ 127s] | [ 127s] 109 | let _ = admin_service.stop(); [ 127s] | +++++++ [ 127s] [ 127s] warning: unused `Result` that must be used [ 127s] --> ./src/pkgmgr/server/mod.rs:110:9 [ 127s] | [ 127s] 110 | cache_service.stop(); [ 127s] | ^^^^^^^^^^^^^^^^^^^^ [ 127s] | [ 127s] = note: this `Result` may be an `Err` variant, which should be handled [ 127s] help: use `let _ = ...` to ignore the resulting value [ 127s] | [ 127s] 110 | let _ = cache_service.stop(); [ 127s] | +++++++ [ 127s] [ 127s] warning: unused `Result` that must be used [ 127s] --> ./src/pkgmgr/server/mod.rs:111:9 [ 127s] | [ 127s] 111 | info_service.stop(); [ 127s] | ^^^^^^^^^^^^^^^^^^^ [ 127s] | [ 127s] = note: this `Result` may be an `Err` variant, which should be handled [ 127s] help: use `let _ = ...` to ignore the resulting value [ 127s] | [ 127s] 111 | let _ = info_service.stop(); [ 127s] | +++++++ [ 127s] [ 127s] warning: unused `Result` that must be used [ 127s] --> ./src/pkgmgr/server/mod.rs:112:9 [ 127s] | [ 127s] 112 | delayed_result_service.stop(); [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 127s] | [ 127s] = note: this `Result` may be an `Err` variant, which should be handled [ 127s] help: use `let _ = ...` to ignore the resulting value [ 127s] | [ 127s] 112 | let _ = delayed_result_service.stop(); [ 127s] | +++++++ [ 127s] [ 127s] warning: unused return value of `std::mem::size_of` that must be used [ 127s] --> ./src/pkgmgr/server/backend_queue.rs:40:9 [ 127s] | [ 127s] 40 | mem::size_of::(); [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 127s] | [ 127s] help: use `let _ = ...` to ignore the resulting value [ 127s] | [ 127s] 40 | let _ = mem::size_of::(); [ 127s] | +++++++ [ 127s] [ 127s] warning: structure field `rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 127s] --> ./src/pkgmgr/server/info_service.rs:35:9 [ 127s] | [ 127s] 35 | pub rpc_port_stub_PkgMgr_create_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_create_cb` [ 127s] | [ 127s] = note: `#[warn(non_snake_case)]` on by default [ 127s] [ 127s] warning: structure field `rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 127s] --> ./src/pkgmgr/server/info_service.rs:36:9 [ 127s] | [ 127s] 36 | pub rpc_port_stub_PkgMgr_terminate_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_terminate_cb` [ 127s] [ 127s] warning: structure field `rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 127s] --> ./src/pkgmgr/server/info_service.rs:37:9 [ 127s] | [ 127s] 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... [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_cb` [ 127s] [ 127s] warning: structure field `rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 127s] --> ./src/pkgmgr/server/info_service.rs:38:9 [ 127s] | [ 127s] 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... [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 127s] [ 127s] warning: structure field `rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 127s] --> ./src/pkgmgr/server/info_service.rs:39:9 [ 127s] | [ 127s] 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... [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 127s] [ 127s] warning: structure field `rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 127s] --> ./src/pkgmgr/server/info_service.rs:40:9 [ 127s] | [ 127s] 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... [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_check_cb` [ 127s] [ 127s] warning: function `impl_rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 127s] --> ./src/pkgmgr/server/info_service.rs:43:19 [ 127s] | [ 127s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_create_cb` [ 127s] [ 127s] warning: function `impl_rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 127s] --> ./src/pkgmgr/server/info_service.rs:48:19 [ 127s] | [ 127s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_terminate_cb` [ 127s] [ 127s] warning: function `impl_rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 127s] --> ./src/pkgmgr/server/info_service.rs:52:19 [ 127s] | [ 127s] 52 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSize_cb( [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_cb` [ 127s] [ 127s] warning: function `impl_rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 127s] --> ./src/pkgmgr/server/info_service.rs:112:19 [ 127s] | [ 127s] 112 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSizeSync_cb( [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 127s] [ 127s] warning: function `impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 127s] --> ./src/pkgmgr/server/info_service.rs:194:19 [ 127s] | [ 127s] 194 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb( [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 127s] [ 127s] warning: function `impl_rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 127s] --> ./src/pkgmgr/server/info_service.rs:221:19 [ 127s] | [ 127s] 221 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_Check_cb( [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_check_cb` [ 127s] [ 127s] warning: method `IsPackageReadonly` should have a snake case name [ 127s] --> ./src/pkgmgr/server/util.rs:389:12 [ 127s] | [ 127s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 127s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly` [ 127s] [ 127s] warning: method `GetPackageType` should have a snake case name [ 127s] --> ./src/pkgmgr/server/util.rs:420:12 [ 127s] | [ 127s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 127s] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type` [ 127s] [ 127s] warning: variable `xmlReaderTypes_XML_READER_TYPE_ELEMENT` should have a snake case name [ 127s] --> ./src/pkgmgr/server/util.rs:473:17 [ 127s] | [ 127s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_element` [ 127s] [ 127s] warning: variable `xmlReaderTypes_XML_READER_TYPE_TEXT` should have a snake case name [ 127s] --> ./src/pkgmgr/server/util.rs:478:17 [ 127s] | [ 127s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_text` [ 127s] [ 127s] warning: variable `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` should have a snake case name [ 127s] --> ./src/pkgmgr/server/util.rs:483:17 [ 127s] | [ 127s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_end_element` [ 127s] [ 127s] warning: constant `type_map` should have an upper case name [ 127s] --> ./src/pkgmgr/server/util.rs:623:15 [ 127s] | [ 127s] 623 | const type_map : [[&str; 2]; 3] = [ [ 127s] | ^^^^^^^^ help: convert the identifier to upper case: `TYPE_MAP` [ 127s] | [ 127s] = note: `#[warn(non_upper_case_globals)]` on by default [ 127s] [ 127s] warning: method `GenerateRequestId` should have a snake case name [ 127s] --> ./src/pkgmgr/server/util.rs:646:12 [ 127s] | [ 127s] 646 | pub fn GenerateRequestId(pkgid: &str) -> Option { [ 127s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_request_id` [ 127s] [ 127s] warning: method `CreatePkgUpdateInfo` should have a snake case name [ 127s] --> ./src/pkgmgr/server/util.rs:657:12 [ 127s] | [ 127s] 657 | pub fn CreatePkgUpdateInfo(pkgid: *const c_char, version: *const c_char, update_type: c_int) -> *mut c_void { [ 127s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info` [ 127s] [ 127s] warning: method `DestroyPkgUpdateInfo` should have a snake case name [ 127s] --> ./src/pkgmgr/server/util.rs:680:12 [ 127s] | [ 127s] 680 | pub fn DestroyPkgUpdateInfo(handle: *mut c_void) -> c_int { [ 127s] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroy_pkg_update_info` [ 127s] [ 127s] warning: method `RegisterPkgUpdateInfo` should have a snake case name [ 127s] --> ./src/pkgmgr/server/util.rs:686:12 [ 127s] | [ 127s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `register_pkg_update_info` [ 127s] [ 127s] warning: method `UnregisterPkgUpdateInfo` should have a snake case name [ 127s] --> ./src/pkgmgr/server/util.rs:696:12 [ 127s] | [ 127s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_pkg_update_info` [ 127s] [ 127s] warning: method `UnregisterAllPkgUpdateInfo` should have a snake case name [ 127s] --> ./src/pkgmgr/server/util.rs:706:12 [ 127s] | [ 127s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_all_pkg_update_info` [ 127s] [ 127s] warning: method `EnableApp` should have a snake case name [ 127s] --> ./src/pkgmgr/server/util.rs:728:12 [ 127s] | [ 127s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 127s] | ^^^^^^^^^ help: convert the identifier to snake case: `enable_app` [ 127s] [ 127s] warning: method `DisableApp` should have a snake case name [ 127s] --> ./src/pkgmgr/server/util.rs:738:12 [ 127s] | [ 127s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 127s] | ^^^^^^^^^^ help: convert the identifier to snake case: `disable_app` [ 127s] [ 127s] warning: method `EnableGlobalApp` should have a snake case name [ 127s] --> ./src/pkgmgr/server/util.rs:747:12 [ 127s] | [ 127s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 127s] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app` [ 127s] [ 127s] warning: method `DisableGlobalApp` should have a snake case name [ 127s] --> ./src/pkgmgr/server/util.rs:757:12 [ 127s] | [ 127s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 127s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app` [ 127s] [ 127s] warning: method `EnableAppSplashScreen` should have a snake case name [ 127s] --> ./src/pkgmgr/server/util.rs:766:12 [ 127s] | [ 127s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_app_splash_screen` [ 127s] [ 127s] warning: method `DisableAppSplashScreen` should have a snake case name [ 127s] --> ./src/pkgmgr/server/util.rs:775:12 [ 127s] | [ 127s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_app_splash_screen` [ 127s] [ 127s] warning: method `EnableGlobalAppSplashScreen` should have a snake case name [ 127s] --> ./src/pkgmgr/server/util.rs:784:12 [ 127s] | [ 127s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app_splash_screen` [ 127s] [ 127s] warning: method `DisableGlobalAppSplashScreen` should have a snake case name [ 127s] --> ./src/pkgmgr/server/util.rs:793:12 [ 127s] | [ 127s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app_splash_screen` [ 127s] [ 127s] warning: method `KillApp` should have a snake case name [ 127s] --> ./src/pkgmgr/server/util.rs:813:12 [ 127s] | [ 127s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 127s] | ^^^^^^^ help: convert the identifier to snake case: `kill_app` [ 127s] [ 127s] warning: method `KillAppsInPkg` should have a snake case name [ 127s] --> ./src/pkgmgr/server/util.rs:835:12 [ 127s] | [ 127s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 127s] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_apps_in_pkg` [ 127s] [ 127s] warning: method `IsAdminUser` should have a snake case name [ 127s] --> ./src/pkgmgr/server/util.rs:855:8 [ 127s] | [ 127s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 127s] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_admin_user` [ 127s] [ 127s] warning: function `IsPackageReadonly_test_return_None_from_disable1` should have a snake case name [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:13:4 [ 127s] | [ 127s] 13 | fn IsPackageReadonly_test_return_None_from_disable1() { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_disable1` [ 127s] [ 127s] warning: getting the inner pointer of a temporary `CString` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:16:77 [ 127s] | [ 127s] 16 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, false)); [ 127s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 127s] | | [ 127s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 127s] | [ 127s] = 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 [ 127s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 127s] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [ 127s] [ 127s] warning: function `IsPackageReadonly_test_return_None_from_disable2` should have a snake case name [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:20:4 [ 127s] | [ 127s] 20 | fn IsPackageReadonly_test_return_None_from_disable2() { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_disable2` [ 127s] [ 127s] warning: getting the inner pointer of a temporary `CString` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:23:77 [ 127s] | [ 127s] 23 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 127s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 127s] | | [ 127s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 127s] | [ 127s] = 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 [ 127s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 127s] [ 127s] warning: function `IsPackageReadonly_test_return_None_from_readonly` should have a snake case name [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:27:4 [ 127s] | [ 127s] 27 | fn IsPackageReadonly_test_return_None_from_readonly() { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_readonly` [ 127s] [ 127s] warning: getting the inner pointer of a temporary `CString` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:32:77 [ 127s] | [ 127s] 32 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 127s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 127s] | | [ 127s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 127s] | [ 127s] = 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 [ 127s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 127s] [ 127s] warning: function `IsPackageReadonly_test_return_someTrue_from_readonly` should have a snake case name [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:36:4 [ 127s] | [ 127s] 36 | fn IsPackageReadonly_test_return_someTrue_from_readonly() { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_some_true_from_readonly` [ 127s] [ 127s] warning: getting the inner pointer of a temporary `CString` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:46:83 [ 127s] | [ 127s] 46 | assert_eq!(Some(true), Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 127s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 127s] | | [ 127s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 127s] | [ 127s] = 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 [ 127s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 127s] [ 127s] warning: function `IsPackageReadonly_test_return_someFalse_from_readonly` should have a snake case name [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:50:4 [ 127s] | [ 127s] 50 | fn IsPackageReadonly_test_return_someFalse_from_readonly() { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_some_false_from_readonly` [ 127s] [ 127s] warning: getting the inner pointer of a temporary `CString` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:60:84 [ 127s] | [ 127s] 60 | assert_eq!(Some(false), Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 127s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 127s] | | [ 127s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 127s] | [ 127s] = 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 [ 127s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 127s] [ 127s] warning: function `KillApp_test_return_0_from_running` should have a snake case name [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:65:4 [ 127s] | [ 127s] 65 | fn KillApp_test_return_0_from_running() { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_0_from_running` [ 127s] [ 127s] warning: getting the inner pointer of a temporary `CString` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:68:64 [ 127s] | [ 127s] 68 | assert_eq!(0, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 127s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 127s] | | [ 127s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 127s] | [ 127s] = 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 [ 127s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 127s] [ 127s] warning: function `KillApp_test_return_minus_from_getpid` should have a snake case name [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:72:4 [ 127s] | [ 127s] 72 | fn KillApp_test_return_minus_from_getpid() { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_minus_from_getpid` [ 127s] [ 127s] warning: getting the inner pointer of a temporary `CString` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:77:65 [ 127s] | [ 127s] 77 | assert_eq!(-1, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 127s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 127s] | | [ 127s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 127s] | [ 127s] = 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 [ 127s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 127s] [ 127s] warning: function `KillApp_test_return_minus_from_terminate` should have a snake case name [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:81:4 [ 127s] | [ 127s] 81 | fn KillApp_test_return_minus_from_terminate() { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_minus_from_terminate` [ 127s] [ 127s] warning: getting the inner pointer of a temporary `CString` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:88:65 [ 127s] | [ 127s] 88 | assert_eq!(-1, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 127s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 127s] | | [ 127s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 127s] | [ 127s] = 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 [ 127s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 127s] [ 127s] warning: function `KillApp_test_return_0_from_end` should have a snake case name [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:92:4 [ 127s] | [ 127s] 92 | fn KillApp_test_return_0_from_end() { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_0_from_end` [ 127s] [ 127s] warning: getting the inner pointer of a temporary `CString` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:99:64 [ 127s] | [ 127s] 99 | assert_eq!(0, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 127s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 127s] | | [ 127s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 127s] | [ 127s] = 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 [ 127s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 127s] [ 127s] warning: function `GetPackageType_test_return_new_from_all` should have a snake case name [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:104:4 [ 127s] | [ 127s] 104 | fn GetPackageType_test_return_new_from_all() { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_new_from_all` [ 127s] [ 127s] warning: getting the inner pointer of a temporary `CString` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:107:83 [ 127s] | [ 127s] 107 | assert_eq!(String::new(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 127s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 127s] | | [ 127s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 127s] | [ 127s] = 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 [ 127s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 127s] [ 127s] warning: function `GetPackageType_test_return_new_from_type` should have a snake case name [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:111:4 [ 127s] | [ 127s] 111 | fn GetPackageType_test_return_new_from_type() { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_new_from_type` [ 127s] [ 127s] warning: getting the inner pointer of a temporary `CString` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:118:83 [ 127s] | [ 127s] 118 | assert_eq!(String::new(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 127s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 127s] | | [ 127s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 127s] | [ 127s] = 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 [ 127s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 127s] [ 127s] warning: function `GetPackageType_test_return_rpk_from_end` should have a snake case name [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:122:4 [ 127s] | [ 127s] 122 | fn GetPackageType_test_return_rpk_from_end() { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_rpk_from_end` [ 127s] [ 127s] warning: getting the inner pointer of a temporary `CString` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:132:87 [ 127s] | [ 127s] 132 | assert_eq!("rpk".to_string(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 127s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 127s] | | [ 127s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 127s] | [ 127s] = 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 [ 127s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 127s] [ 127s] warning: function `GetPackageType_test_return_newtype_from_end` should have a snake case name [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:136:4 [ 127s] | [ 127s] 136 | fn GetPackageType_test_return_newtype_from_end() { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_newtype_from_end` [ 127s] [ 127s] warning: getting the inner pointer of a temporary `CString` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:146:87 [ 127s] | [ 127s] 146 | assert_eq!("ABC".to_string(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 127s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 127s] | | [ 127s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 127s] | [ 127s] = 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 [ 127s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 127s] [ 127s] warning: function `CreatePkgUpdateInfo_test_return_null1` should have a snake case name [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:151:4 [ 127s] | [ 127s] 151 | fn CreatePkgUpdateInfo_test_return_null1() { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null1` [ 127s] [ 127s] warning: getting the inner pointer of a temporary `CString` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:154:95 [ 127s] | [ 127s] 154 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 127s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 127s] | | [ 127s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 127s] | [ 127s] = 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 [ 127s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 127s] [ 127s] warning: getting the inner pointer of a temporary `CString` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:154:138 [ 127s] | [ 127s] 154 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 127s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 127s] | | [ 127s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 127s] | [ 127s] = 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 [ 127s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 127s] [ 127s] warning: function `CreatePkgUpdateInfo_test_return_null2` should have a snake case name [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:158:4 [ 127s] | [ 127s] 158 | fn CreatePkgUpdateInfo_test_return_null2() { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null2` [ 127s] [ 127s] warning: getting the inner pointer of a temporary `CString` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:165:95 [ 127s] | [ 127s] 165 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 127s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 127s] | | [ 127s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 127s] | [ 127s] = 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 [ 127s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 127s] [ 127s] warning: getting the inner pointer of a temporary `CString` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:165:138 [ 127s] | [ 127s] 165 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 127s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 127s] | | [ 127s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 127s] | [ 127s] = 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 [ 127s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 127s] [ 127s] warning: function `CreatePkgUpdateInfo_test_return_null3` should have a snake case name [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:169:4 [ 127s] | [ 127s] 169 | fn CreatePkgUpdateInfo_test_return_null3() { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null3` [ 127s] [ 127s] warning: getting the inner pointer of a temporary `CString` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:178:95 [ 127s] | [ 127s] 178 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 127s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 127s] | | [ 127s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 127s] | [ 127s] = 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 [ 127s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 127s] [ 127s] warning: getting the inner pointer of a temporary `CString` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:178:138 [ 127s] | [ 127s] 178 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 127s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 127s] | | [ 127s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 127s] | [ 127s] = 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 [ 127s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 127s] [ 127s] warning: function `CreatePkgUpdateInfo_test_return_null4` should have a snake case name [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:182:4 [ 127s] | [ 127s] 182 | fn CreatePkgUpdateInfo_test_return_null4() { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null4` [ 127s] [ 127s] warning: getting the inner pointer of a temporary `CString` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:193:95 [ 127s] | [ 127s] 193 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 127s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 127s] | | [ 127s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 127s] | [ 127s] = 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 [ 127s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 127s] [ 127s] warning: getting the inner pointer of a temporary `CString` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:193:138 [ 127s] | [ 127s] 193 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 127s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 127s] | | [ 127s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 127s] | [ 127s] = 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 [ 127s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 127s] [ 127s] warning: function `CreatePkgUpdateInfo_test_return_handle` should have a snake case name [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:197:4 [ 127s] | [ 127s] 197 | fn CreatePkgUpdateInfo_test_return_handle() { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_handle` [ 127s] [ 127s] warning: getting the inner pointer of a temporary `CString` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:206:95 [ 127s] | [ 127s] 206 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 127s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 127s] | | [ 127s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 127s] | [ 127s] = 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 [ 127s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 127s] [ 127s] warning: getting the inner pointer of a temporary `CString` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:206:138 [ 127s] | [ 127s] 206 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 127s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 127s] | | [ 127s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 127s] | [ 127s] = 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 [ 127s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 127s] [ 127s] warning: function `getapplicationinfobyappid_test_return_None_from_appinfo` should have a snake case name [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:211:4 [ 127s] | [ 127s] 211 | fn getapplicationinfobyappid_test_return_None_from_appinfo() { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_appinfo` [ 127s] [ 127s] warning: getting the inner pointer of a temporary `CString` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:214:89 [ 127s] | [ 127s] 214 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 127s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 127s] | | [ 127s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 127s] | [ 127s] = 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 [ 127s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 127s] [ 127s] warning: function `getapplicationinfobyappid_test_return_None_from_global` should have a snake case name [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:218:4 [ 127s] | [ 127s] 218 | fn getapplicationinfobyappid_test_return_None_from_global() { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_global` [ 127s] [ 127s] warning: getting the inner pointer of a temporary `CString` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:225:89 [ 127s] | [ 127s] 225 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 127s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 127s] | | [ 127s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 127s] | [ 127s] = 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 [ 127s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 127s] [ 127s] warning: function `getapplicationinfobyappid_test_return_None_from_pkgid` should have a snake case name [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:229:4 [ 127s] | [ 127s] 229 | fn getapplicationinfobyappid_test_return_None_from_pkgid() { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_pkgid` [ 127s] [ 127s] warning: getting the inner pointer of a temporary `CString` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:238:89 [ 127s] | [ 127s] 238 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 127s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 127s] | | [ 127s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 127s] | [ 127s] = 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 [ 127s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 127s] [ 127s] warning: function `getapplicationinfobyappid_test_return_Some_from_end` should have a snake case name [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:242:4 [ 127s] | [ 127s] 242 | fn getapplicationinfobyappid_test_return_Some_from_end() { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `getapplicationinfobyappid_test_return_some_from_end` [ 127s] [ 127s] warning: getting the inner pointer of a temporary `CString` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:257:127 [ 127s] | [ 127s] 257 | assert_eq!(Some((CString::new("aaa").unwrap(), true)), Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 127s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 127s] | | [ 127s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 127s] | [ 127s] = 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 [ 127s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 127s] [ 127s] warning: function `get_pkgid_bypid_for_uid_test_return_None` should have a snake case name [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:262:4 [ 127s] | [ 127s] 262 | fn get_pkgid_bypid_for_uid_test_return_None() { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_pkgid_bypid_for_uid_test_return_none` [ 127s] [ 127s] warning: function `get_pkgid_bypid_for_uid_test_return_Some` should have a snake case name [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:269:4 [ 127s] | [ 127s] 269 | fn get_pkgid_bypid_for_uid_test_return_Some() { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `get_pkgid_bypid_for_uid_test_return_some` [ 127s] [ 127s] warning: function `get_pkgid_bypid_for_uid_test_return_None_from_end` should have a snake case name [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:283:4 [ 127s] | [ 127s] 283 | fn get_pkgid_bypid_for_uid_test_return_None_from_end() { [ 127s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_pkgid_bypid_for_uid_test_return_none_from_end` [ 127s] [ 127s] warning: literal out of range for `i8` [ 127s] --> ./src/pkgmgr/server/test/util_tests.rs:287:28 [ 127s] | [ 127s] 287 | *y.offset(0) = 0xff [ 127s] | ^^^^ [ 127s] | [ 127s] = note: the literal `0xff` (decimal `255`) does not fit into the type `i8` and will become `-1i8` [ 127s] = help: consider using the type `u8` instead [ 127s] = note: `#[warn(overflowing_literals)]` on by default [ 127s] help: to use as a negative number (decimal `-1`), consider using the type `u8` for the literal and cast it to `i8` [ 127s] | [ 127s] 287 | *y.offset(0) = 0xffu8 as i8 [ 127s] | ~~~~~~~~~~~~ [ 127s] [ 144s] warning: 736 warnings emitted [ 144s] [ 144s] + exit 0 [ 144s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.pLMJD1 [ 144s] + umask 022 [ 144s] + cd /home/abuild/rpmbuild/BUILD [ 144s] + cd pkgmgr-server-1.0.15 [ 144s] + LANG=C [ 144s] + export LANG [ 144s] + unset DISPLAY [ 144s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64 [ 144s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64 [ 144s] + /bin/make DESTDIR=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64 INSTALL_ROOT=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64 install [ 144s] /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 [ 144s] /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 [ 144s] /bin/make -f CMakeFiles/Makefile2 all [ 144s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 144s] /bin/make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/depend [ 144s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 144s] 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= [ 144s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 144s] /bin/make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build [ 144s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 144s] make[2]: Nothing to be done for 'tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build'. [ 144s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 144s] [ 50%] Built target tidl_pkgmgr_server [ 144s] /bin/make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/depend [ 144s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 144s] 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= [ 144s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 144s] /bin/make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build [ 144s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 144s] make[2]: Nothing to be done for 'util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build'. [ 144s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 144s] [100%] Built target util_pkgmgr_server [ 144s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 144s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/CMakeFiles 0 [ 144s] /bin/make -f CMakeFiles/Makefile2 preinstall [ 144s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 144s] make[1]: Nothing to be done for 'preinstall'. [ 144s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 144s] Install the project... [ 144s] /usr/bin/cmake -P cmake_install.cmake [ 144s] -- Install configuration: "" [ 144s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/lib/systemd/system/package-manager.service [ 144s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/lib/systemd/system/package-manager.socket [ 144s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/lib64/libtidl_pkgmgr_server.so [ 144s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/lib64/libutil_pkgmgr_server.so [ 144s] + rm -f /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/share/info/dir [ 144s] + find /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64 -regex '.*\.la$' [ 144s] + xargs rm -f -- [ 144s] + find /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64 -regex '.*\.a$' [ 144s] + xargs rm -f -- [ 144s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/lib/systemd/system/basic.target.wants [ 144s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/lib/systemd/system/sockets.target.wants [ 144s] + ln -sf ../package-manager.socket /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/lib/systemd/system/sockets.target.wants/package-manager.socket [ 144s] + install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/bin [ 144s] + install -m 0755 ./rust_pkgmgr_server /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/bin/pkgmgr-server [ 144s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/etc/package-manager/server [ 144s] + _target= [ 144s] + _symlinks=0 [ 144s] + _files=() [ 144s] + fdupes -q -n -r /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64 [ 144s] + read _file [ 144s] + /usr/lib/rpm/find-debuginfo.sh -j8 --build-id-seed 1.0.15-1 --unique-debug-src-base pkgmgr-server-1.0.15-1.x86_64 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 144s] 1+0 records in [ 144s] 1+0 records out [ 144s] 1+0 records in [ 144s] 1+0 records out [ 144s] 1+0 records in [ 144s] 1+0 records out [ 144s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/bin/pkgmgr-server [ 144s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/lib64/libutil_pkgmgr_server.so [ 144s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/lib64/libtidl_pkgmgr_server.so [ 144s] 0+0 records in [ 144s] 0+0 records out [ 144s] 0+0 records in [ 144s] 0+0 records out [ 145s] 0+0 records in [ 145s] 0+0 records out [ 145s] 797 blocks [ 145s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/pkgmgr-server-debuginfo.manifest [ 145s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/pkgmgr-server-debugsource.manifest [ 145s] + /usr/lib/rpm/check-buildroot [ 145s] + /usr/lib/rpm//brp-compress [ 145s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 145s] + /usr/lib/rpm/brp-python-hardlink [ 145s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64 [ 145s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/isu.list [ 145s] ~/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64 ~/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 145s] ~/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 145s] + /etc/hal/rootstrap/hal-rootstrap-checker.sh 0 /home/abuild/rpmbuild/SOURCES [ 145s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Nb2sMx [ 145s] + umask 022 [ 145s] + cd /home/abuild/rpmbuild/BUILD [ 145s] + cd pkgmgr-server-1.0.15 [ 145s] + export LD_LIBRARY_PATH=./util_pkgmgr_server/:./tidl_pkgmgr_server/:/usr/lib64/rustlib/dylib [ 145s] + LD_LIBRARY_PATH=./util_pkgmgr_server/:./tidl_pkgmgr_server/:/usr/lib64/rustlib/dylib [ 145s] + RUST_BACKTRACE=1 [ 145s] + RUST_TEST_THREADS=1 [ 145s] + ./unittests_rust_pkgmgr_server [ 145s] [ 145s] running 35 tests [ 146s] test pkgmgr::server::test::admin_service_tests::run_test ... ok [ 146s] test pkgmgr::server::test::admin_service_tests::stop_test ... ok [ 146s] test pkgmgr::server::test::cache_service_tests::run_test ... ok [ 146s] test pkgmgr::server::test::cache_service_tests::stop_test ... ok [ 147s] test pkgmgr::server::test::delayed_service_tests::run_test ... ok [ 147s] test pkgmgr::server::test::delayed_service_tests::stop_test ... ok [ 147s] test pkgmgr::server::test::info_service_tests::run_test ... ok [ 147s] test pkgmgr::server::test::info_service_tests::stop_test ... ok [ 147s] test pkgmgr::server::test::signal_tests::get_uid_list_test_return_uidvec1 ... ok [ 147s] test pkgmgr::server::test::signal_tests::get_uid_list_test_return_uidvec2 ... ok [ 147s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_handle ... ok [ 147s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null1 ... ok [ 147s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null2 ... ok [ 147s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null3 ... ok [ 147s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null4 ... ok [ 147s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_new_from_all ... ok [ 147s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_new_from_type ... ok [ 147s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_newtype_from_end ... ok [ 147s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_rpk_from_end ... ok [ 147s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_disable1 ... ok [ 147s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_disable2 ... ok [ 147s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_readonly ... ok [ 147s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_someFalse_from_readonly ... ok [ 147s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_someTrue_from_readonly ... ok [ 147s] test pkgmgr::server::test::util_tests::KillApp_test_return_0_from_end ... ok [ 147s] test pkgmgr::server::test::util_tests::KillApp_test_return_0_from_running ... ok [ 147s] test pkgmgr::server::test::util_tests::KillApp_test_return_minus_from_getpid ... ok [ 147s] test pkgmgr::server::test::util_tests::KillApp_test_return_minus_from_terminate ... ok [ 147s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_None ... ok [ 147s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_None_from_end ... ok [ 147s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_Some ... ok [ 147s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_appinfo ... ok [ 147s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_global ... ok [ 147s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_pkgid ... ok [ 147s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_Some_from_end ... ok [ 147s] [ 147s] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.41s [ 147s] [ 147s] + exit 0 [ 147s] Processing files: pkgmgr-server-1.0.15-1.x86_64 [ 147s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIiAvPgoJPC9y [ 147s] ZXF1ZXN0PgoJPGFzc2lnbj4KCQk8ZmlsZXN5c3RlbSBwYXRoPSIvdXNyL2Jpbi9w [ 147s] a2dtZ3Itc2VydmVyIiBsYWJlbD0iU3lzdGVtIiBleGVjX2xhYmVsPSJub25lIiAv [ 147s] PgoJCTxmaWxlc3lzdGVtIHBhdGg9Ii92YXIvbGliL3BhY2thZ2UtbWFuYWdlciIg [ 147s] bGFiZWw9IlN5c3RlbSIgLz4KCTwvYXNzaWduPgo8L21hbmlmZXN0Pgo= [ 147s] [ 147s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.mTjt2w [ 147s] + umask 022 [ 147s] + cd /home/abuild/rpmbuild/BUILD [ 147s] + cd pkgmgr-server-1.0.15 [ 147s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/share/licenses/pkgmgr-server [ 147s] + export LC_ALL=C [ 147s] + LC_ALL=C [ 147s] + export LICENSEDIR [ 147s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/share/licenses/pkgmgr-server [ 147s] + cp -pr LICENSE /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/share/licenses/pkgmgr-server [ 147s] + exit 0 [ 147s] Provides: libtidl_pkgmgr_server.so()(64bit) libutil_pkgmgr_server.so()(64bit) pkgmgr-server = 1.0.15-1 pkgmgr-server(x86-64) = 1.0.15-1 [ 147s] Requires(interp): /bin/sh [ 147s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 147s] Requires(post): /bin/sh [ 147s] Requires: libaul.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(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-fcf70ff533b679b2.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) [ 147s] Processing files: pkgmgr-server-debugsource-1.0.15-1.x86_64 [ 147s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 147s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 147s] [ 147s] Provides: pkgmgr-server-debugsource = 1.0.15-1 pkgmgr-server-debugsource(x86-64) = 1.0.15-1 [ 147s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 147s] Processing files: pkgmgr-server-debuginfo-1.0.15-1.x86_64 [ 147s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 147s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 147s] [ 147s] Provides: pkgmgr-server-debuginfo = 1.0.15-1 pkgmgr-server-debuginfo(x86-64) = 1.0.15-1 [ 147s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 147s] Recommends: pkgmgr-server-debugsource(x86-64) = 1.0.15-1 [ 147s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64 [ 147s] Wrote: /home/abuild/rpmbuild/SRPMS/pkgmgr-server-1.0.15-1.src.rpm [ 148s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/pkgmgr-server-1.0.15-1.x86_64.rpm [ 148s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/pkgmgr-server-debugsource-1.0.15-1.x86_64.rpm [ 149s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/pkgmgr-server-debuginfo-1.0.15-1.x86_64.rpm [ 149s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.L8QrUW [ 149s] + umask 022 [ 149s] + cd /home/abuild/rpmbuild/BUILD [ 149s] + cd pkgmgr-server-1.0.15 [ 149s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64 [ 149s] + exit 0 [ 149s] ... checking for files with abuild user/group [ 149s] ... creating baselibs [ 149s] [ 149s] ip-192-168-56-170 finished "build pkgmgr-server.spec" at Mon Dec 16 00:01:09 UTC 2024. [ 149s]