[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.17 [ 0s] Using BUILD_ARCH=armv7l:armv7el:armv6l:armv5tejl:armv5tel:armv5l:armv4tl:armv4l:armv3l:noarch [ 0s] [ 0s] [ 0s] ip-192-168-56-26 started "build pkgmgr-server.spec" at Tue Dec 17 14:06:09 UTC 2024. [ 0s] [ 0s] [ 0s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_standard_gcov/pkgmgr-server-1.0.15-1/pkgmgr-server.spec ... [ 0s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache --define jobs 8 --define _smp_mflags -j8 --define _costomized_smp_mflags -j32 --repository /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_standard_gcov/armv7l/RPMS --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241215.110758/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241215.110758/repos/standard/debug/ /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_standard_gcov/pkgmgr-server-1.0.15-1/pkgmgr-server.spec build ... [ 0s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.17/.srcfiles.cache ... [ 1s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.17/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_standard_gcov/armv7l/RPMS [ 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/packages/ [ 2s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241215.110758/repos/standard/debug/ [ 2s] expanding package dependencies... [ 3s] copying qemu [ 3s] [ 3s] registering binfmt handlers for cross build [ 3s] calculating packages to download... [ 5s] reordering...cycle: gio-branding-upstream -> libgio [ 5s] breaking dependency libgio -> gio-branding-upstream [ 5s] cycle: pkgmgr-info -> pkgmgr-info-parser [ 5s] breaking dependency pkgmgr-info -> pkgmgr-info-parser [ 5s] cycle: libgum -> gumd [ 5s] breaking dependency libgum -> gumd [ 5s] cycle: glibc-devel -> libxcrypt-devel [ 5s] breaking dependency libxcrypt-devel -> glibc-devel [ 5s] cycle: rust -> rust-devel [ 5s] breaking dependency rust-devel -> rust [ 5s] cycle: libsoftokn3 -> nss [ 5s] breaking dependency nss -> libsoftokn3 [ 5s] reordering done [ 6s] deleting coregl [ 6s] deleting dbus-devel [ 6s] deleting ecore-audio [ 6s] deleting ecore-audio-devel [ 6s] deleting ecore-buffer [ 6s] deleting ecore-buffer-devel [ 6s] deleting ecore-con [ 6s] deleting ecore-con-devel [ 7s] deleting ecore-core [ 7s] deleting ecore-core-devel [ 7s] deleting ecore-devel [ 7s] deleting ecore-evas [ 7s] deleting ecore-evas-devel [ 7s] deleting ecore-fb [ 7s] deleting ecore-fb-devel [ 7s] deleting ecore-file [ 7s] deleting ecore-file-devel [ 7s] deleting ecore-imf [ 7s] deleting ecore-imf-devel [ 7s] deleting ecore-imf-evas [ 7s] deleting ecore-imf-evas-devel [ 8s] deleting ecore-input [ 8s] deleting ecore-input-devel [ 8s] deleting ecore-input-evas [ 8s] deleting ecore-input-evas-devel [ 8s] deleting ecore-ipc [ 8s] deleting ecore-ipc-devel [ 8s] deleting ecore-wayland [ 8s] /sbin/ldconfig: relative path `0' used to build cache [ 8s] warning: %postun(ecore-wayland-1.25.1-0.armv7l) scriptlet failed, exit status 1 [ 8s] deleting ecore-wayland-devel [ 8s] deleting ecore-wl2 [ 8s] deleting ecore-wl2-devel [ 8s] deleting ector [ 9s] deleting ector-devel [ 9s] deleting edje [ 9s] deleting edje-devel [ 9s] deleting edje-tools [ 9s] deleting eet [ 9s] deleting eet-devel [ 9s] deleting eet-tools [ 9s] deleting eeze [ 10s] deleting eeze-devel [ 10s] deleting efl [ 10s] deleting efl-devel [ 10s] deleting efreet [ 10s] deleting efreet-devel [ 10s] deleting eina [ 11s] deleting eina-devel [ 11s] deleting eio [ 11s] deleting eio-devel [ 11s] deleting eldbus [ 11s] deleting eldbus-devel [ 11s] deleting elementary [ 12s] deleting elementary-devel [ 12s] deleting embryo [ 12s] deleting embryo-devel [ 12s] deleting emile [ 12s] deleting emile-devel [ 12s] deleting emotion [ 12s] deleting emotion-devel [ 12s] deleting eo [ 13s] deleting eo-devel [ 13s] deleting ethumb [ 13s] deleting ethumb-devel [ 13s] deleting evas [ 13s] deleting evas-devel [ 13s] deleting fontconfig [ 13s] deleting fontconfig-devel [ 14s] deleting freetype2-devel [ 14s] deleting fribidi [ 14s] deleting fribidi-devel [ 14s] deleting giflib [ 14s] deleting hal-api-common [ 14s] deleting hal-api-tbm [ 14s] /var/tmp/rpm-tmp.zBQxbB: line 2: /usr/bin/hal-compatibility-checker: No such file or directory [ 14s] warning: %postun(hal-api-tbm-0.1.2-1.armv7l) scriptlet failed, exit status 127 [ 14s] deleting hal-api-tdm [ 15s] /var/tmp/rpm-tmp.KG05mP: line 2: /usr/bin/hal-compatibility-checker: No such file or directory [ 15s] warning: %postun(hal-api-tdm-0.3.1-1.armv7l) scriptlet failed, exit status 127 [ 15s] deleting harfbuzz-devel [ 15s] deleting libdrm [ 15s] deleting libfreetype [ 15s] deleting libharfbuzz [ 15s] deleting libhyphen [ 16s] deleting libicu [ 16s] deleting libicu-devel [ 16s] deleting libjpeg [ 16s] deleting libjpeg-devel [ 17s] deleting libogg [ 17s] deleting libogg-devel [ 17s] deleting libpng [ 17s] deleting libpng-devel [ 17s] deleting libsndfile [ 18s] deleting libsndfile-devel [ 18s] deleting libtbm [ 18s] /sbin/ldconfig: relative path `0' used to build cache [ 18s] warning: %postun(libtbm-4.5.5-1.armv7l) scriptlet failed, exit status 1 [ 18s] deleting libtbm-devel [ 18s] deleting libtdm [ 18s] /sbin/ldconfig: relative path `0' used to build cache [ 18s] warning: %postun(libtdm-3.2.0-0.armv7l) scriptlet failed, exit status 1 [ 18s] deleting libtdm-client [ 18s] deleting libtdm-client-devel [ 18s] deleting libtdm-devel [ 18s] deleting libtiff [ 18s] deleting libtpl-egl [ 19s] deleting libuuid-devel [ 19s] deleting libvorbis [ 19s] deleting libvorbis-devel [ 19s] deleting libvorbisenc [ 19s] deleting libvorbisfile [ 19s] deleting libwayland-client [ 20s] deleting libwayland-cursor [ 20s] deleting libwayland-egl [ 20s] deleting libwayland-egl-tizen [ 20s] deleting libwayland-egl-tizen-devel [ 20s] deleting libwayland-extension-client [ 21s] deleting libwayland-server [ 21s] deleting libwayland-tbm-client [ 21s] deleting libwayland-tbm-devel [ 21s] deleting libwayland-tbm-server [ 21s] deleting libwebp [ 22s] deleting libxkbcommon [ 22s] deleting libxkbcommon-devel [ 22s] deleting lottie-player [ 22s] deleting lottie-player-devel [ 22s] deleting lua [ 22s] deleting lua-devel [ 22s] deleting opus [ 22s] deleting opus-devel [ 22s] deleting pixman [ 23s] deleting thorvg [ 23s] deleting thorvg-devel [ 23s] deleting tizen-core [ 23s] deleting tizen-core-devel [ 23s] deleting tizen-release [ 23s] deleting tizen-release-profile_common [ 24s] deleting ttrace-devel [ 24s] deleting wayland-devel [ 24s] deleting wayland-extension-client-devel [ 24s] deleting xkb-tizen-data [ 24s] [1/241] cumulate default-ac-domains-0.1-1.1 [ 24s] [2/241] keeping dlog-config-persistent-logs-9.0.1-1 [ 24s] [3/241] keeping libmagic-data-5.45-1.4 [ 24s] [4/241] keeping pcre2-syntax-10.40-1 [ 24s] [5/241] keeping python3-pyparsing-3.1.1-1.1 [ 24s] [6/241] keeping python3-six-1.16.0-1.1 [ 24s] [7/241] cumulate rust-std-static-1.74.0-1 [ 24s] [8/241] keeping setup-0.9-1.1 [ 24s] [9/241] keeping filesystem-3.1-1.1 [ 24s] [10/241] keeping python3-packaging-23.2-1.1 [ 24s] [11/241] keeping glibc-2.39-1.6 [ 24s] [12/241] keeping libatomic-14.2.0-1.6 [ 24s] [13/241] keeping libgcc-14.2.0-1.6 [ 24s] [14/241] keeping bash-3.2.57-1.1 [ 24s] [15/241] keeping capi-base-common-0.4.82-1 [ 24s] [16/241] keeping cpio-2.8-1.1 [ 24s] [17/241] keeping diffutils-3.10-1.1 [ 24s] [18/241] cumulate fdupes-2.2.1-1.4 [ 24s] [19/241] keeping findutils-4.3.8-1.4 [ 24s] [20/241] keeping gdbm-1.8.3-1.6 [ 24s] [21/241] keeping hostname-3.23-1.1 [ 24s] [22/241] keeping iniparser-4.1-1.1 [ 24s] [23/241] keeping libattr-2.5.1-1.4 [ 24s] [24/241] keeping libblkid-2.39.3-1.4 [ 24s] [25/241] keeping libbz2-1.0.8-1.4 [ 24s] [26/241] keeping libcap-2.69-1.4 [ 24s] [27/241] keeping libexpat-2.6.2-1.5 [ 24s] [28/241] keeping libffi-3.4.2-1.5 [ 24s] [29/241] keeping libfreebl3-3.98-1.6 [ 24s] [30/241] keeping libgfortran-14.2.0-1.6 [ 24s] [31/241] keeping libgomp-14.2.0-1.6 [ 24s] [32/241] keeping libitm-14.2.0-1.6 [ 24s] [33/241] cumulate libjson-0.17-0 [ 24s] [34/241] keeping libltdl-2.4.7-1.6 [ 24s] [35/241] keeping liblua-5.1.5-1.4 [ 24s] [36/241] keeping liblzma-5.4.5-1.6 [ 24s] [37/241] keeping libopenssl11-1.1.1w-1.5 [ 24s] [38/241] keeping libopenssl3-3.0.13-1.6 [ 24s] [39/241] keeping libpcre-8.45-1.4 [ 24s] [40/241] keeping libpopt-1.16-1.3 [ 24s] [41/241] keeping libpython3_121_0-3.12.0-1.5 [ 24s] [42/241] keeping libsmack-1.3.1-1.3 [ 24s] [43/241] keeping libsmartcols-2.39.3-1.4 [ 24s] [44/241] keeping libsqlite-3.44.0-1.4 [ 24s] [45/241] keeping libstdc++-14.2.0-1.6 [ 24s] [46/241] keeping libuuid-2.39.3-1.4 [ 24s] [47/241] keeping libxcrypt-4.4.36-1.6 [ 24s] [48/241] keeping libzstd1-1.5.5-1.5 [ 24s] [49/241] keeping m4-1.4.19-1.1 [ 24s] [50/241] keeping net-tools-2.0_20121208git-1.3 [ 24s] [51/241] keeping nspr-4.35-1.4 [ 24s] [52/241] keeping patch-2.7.6-1.3 [ 24s] [53/241] keeping pkg-config-0.29.2-1.4 [ 24s] [54/241] cumulate rust-std-shared-1.74.0-1 [ 24s] [55/241] keeping sed-4.1c-1.4 [ 24s] [56/241] keeping update-alternatives-1.22.2-1.1 [ 24s] [57/241] keeping which-2.17-1.1 [ 24s] [58/241] cumulate xdgmime-0.0.17-1.1 [ 24s] [59/241] keeping zlib-1.3-1.5 [ 24s] [60/241] keeping pcre2-10.40-1 [ 24s] [61/241] keeping pcre2-utf16-10.40-1 [ 24s] [62/241] keeping pcre2-utf32-10.40-1 [ 24s] [63/241] keeping build-compare-2023.06.18-1.1 [ 24s] [64/241] keeping hal-rootstrap-checker-0.1.0-1.1 [ 24s] [65/241] keeping libstdc++-devel-14.2.0-1.6 [ 24s] [66/241] keeping qemu-linux-user-x86_64-cross-5.2.0.2-21.1 [ 24s] [67/241] cumulate vconf-internal-keys-devel-0.0.191-0 [ 24s] [68/241] keeping capi-base-common-devel-0.4.82-1 [ 24s] [69/241] keeping cpp-14.2.0-1.6 [ 24s] [70/241] keeping gcc-c++-14.2.0-1.6 [ 24s] [71/241] keeping libblkid-devel-2.39.3-1.4 [ 24s] [72/241] keeping libffi-devel-3.4.2-1.5 [ 24s] [73/241] cumulate tidl-2.3.4-1 [ 24s] [74/241] cumulate unzip-610c25-1.1 [ 24s] [75/241] cumulate xdgmime-devel-0.0.17-1.1 [ 24s] [76/241] cumulate xz-devel-5.4.5-1.6 [ 24s] [77/241] keeping binutils-libs-2.43-1.6 [ 24s] [78/241] keeping coreutils-6.9-14.1 [ 24s] [79/241] keeping gawk-3.1.5-1.1 [ 24s] [80/241] keeping grep-2.5.2-1.3 [ 24s] [81/241] keeping libacl-2.3.2-1.4 [ 24s] [82/241] keeping libcap-tools-2.69-1.4 [ 24s] [83/241] keeping libcc1-14.2.0-1.6 [ 24s] [84/241] keeping libelf-0.189-1.6 [ 24s] [85/241] keeping libglib-2.80.5-0 [ 24s] [86/241] keeping libmount-2.39.3-1.4 [ 24s] [87/241] keeping libubsan-14.2.0-1.6 [ 24s] [88/241] keeping make-4.4-1.4 [ 24s] [89/241] cumulate minizip-1.3-1.5 [ 24s] [90/241] keeping nss-certs-3.98-1.6 [ 24s] [91/241] keeping smack-1.3.1-1.3 [ 24s] [92/241] cumulate sqlite-3.44.0-1.4 [ 24s] [93/241] keeping bzip2-1.0.8-1.4 [ 24s] [94/241] keeping dlog-9.0.1-1 [ 25s] [95/241] cumulate gettext-runtime-0.21.1-2.5 [ 25s] [96/241] keeping libfdisk-2.39.3-1.4 [ 25s] [97/241] keeping libkmod-31-1.1 [ 25s] [98/241] keeping libmagic-5.45-1.4 [ 25s] [99/241] keeping libxml2-2.12.5-1.5 [ 25s] [100/241] keeping shadow-utils-4.1.4.2-7.1 [ 25s] [101/241] keeping xz-5.4.5-1.6 [ 25s] [102/241] keeping pcre2-devel-10.40-1 [ 25s] [103/241] keeping perl-5.38.0-1.4 [ 25s] [104/241] cumulate cynara-db-migration-0.19.5-1 [ 25s] [105/241] keeping ttrace-1.1.0-1 [ 25s] [106/241] keeping build-mkbaselibs-20120927-1.1 [ 25s] [107/241] keeping linux-glibc-devel-6.6-1.6 [ 25s] [108/241] keeping dlog-logger-9.0.1-1 [ 25s] [109/241] cumulate minizip-devel-1.3-1.5 [ 25s] [110/241] keeping terminfo-base-full-6.4-1.6 [ 25s] [111/241] keeping acl-2.3.2-1.4 [ 25s] [112/241] keeping autoconf-2.71-1.7 [ 25s] [113/241] keeping file-5.45-1.4 [ 25s] [114/241] keeping glibc-locale-2.39-1.6 [ 25s] [115/241] keeping libgmodule-2.80.5-0 [ 25s] [116/241] keeping libgthread-2.80.5-0 [ 25s] [117/241] keeping libmount-devel-2.39.3-1.4 [ 25s] [118/241] keeping tar-1.17-1.1 [ 25s] [119/241] cumulate tizen-platform-config-5.0-1 [ 25s] [120/241] keeping binutils-2.43-1.6 [ 25s] [121/241] keeping gzip-1.3.12-1.4 [ 25s] [122/241] keeping libgobject-2.80.5-0 [ 25s] [123/241] keeping pam-1.1.6-1.3 [ 25s] [124/241] keeping tzdata-2023c-1.1 [ 25s] [125/241] keeping libdw-0.189-1.6 [ 25s] [126/241] keeping security-config-1.0-1 [ 25s] [127/241] cumulate gettext-tools-0.21.1-2.5 [ 25s] [128/241] keeping libarchive-3.7.2-1.5 [ 25s] [129/241] keeping shared-mime-info-1.7-0 [ 25s] [130/241] keeping gcc-14.2.0-1.6 [ 25s] [131/241] keeping qemu-accel-x86_64-armv7l-0.4-1.1 [ 25s] [132/241] keeping automake-1.16.5-1.6 [ 25s] [133/241] cumulate libtzplatform-config-5.0-1 [ 25s] [134/241] keeping libasm-0.189-1.6 [ 25s] [135/241] cumulate libncurses5-6.4-1.6 [ 25s] [136/241] keeping libncurses6-6.4-1.6 [ 25s] [137/241] keeping build-20120927-1.1 [ 25s] [138/241] keeping libsystemd-244-0 [ 25s] [139/241] keeping libgirepository2-2.80.5-0 [ 25s] [140/241] keeping libdlog-9.0.1-1 [ 25s] [141/241] keeping libncurses-6.4-1.6 [ 25s] [142/241] cumulate libtzplatform-config-devel-5.0-1 [ 25s] [143/241] keeping capi-system-resource-1.0.0-0 [ 25s] [144/241] keeping dbus-libs-1.12.20-3 [ 25s] [145/241] keeping less-643-1.1 [ 25s] [146/241] keeping libdlog-devel-9.0.1-1 [ 25s] [147/241] keeping libreadline-5.2-1.4 [ 25s] [148/241] keeping libtool-2.4.7-1.6 [ 25s] [149/241] cumulate ncurses-devel-6.4-1.6 [ 25s] [150/241] cumulate parcel-0.17.3-0 [ 25s] [151/241] keeping elfutils-0.189-1.6 [ 25s] [152/241] cumulate cmake-3.25.2-1.5 [ 25s] [153/241] cumulate libcynara-commons-0.19.5-1 [ 25s] [154/241] cumulate capi-system-info-0.5.2-1 [ 25s] [155/241] keeping systemd-244-0 [ 25s] [156/241] cumulate readline-devel-5.2-1.4 [ 25s] [157/241] cumulate capi-system-resource-devel-1.0.0-0 [ 25s] [158/241] cumulate libcynara-session-0.19.5-1 [ 25s] [159/241] cumulate parcel-devel-0.17.3-0 [ 25s] [160/241] cumulate pkgmgr-0.20.21-0 [ 25s] [161/241] keeping systemd-devel-244-0 [ 25s] [162/241] cumulate libcynara-creds-commons-0.19.5-1 [ 25s] [163/241] cumulate libxml2-tools-2.12.5-1.5 [ 25s] [164/241] cumulate libcynara-client-0.19.5-1 [ 25s] [165/241] keeping python3-base-3.12.0-1.5 [ 25s] [166/241] keeping util-linux-2.39.3-1.4 [ 25s] [167/241] keeping python3-3.12.0-1.1 [ 25s] [168/241] cumulate pkgmgr-types-devel-0.20.21-0 [ 25s] [169/241] keeping util-linux-su-2.39.3-1.4 [ 25s] [170/241] cumulate libcynara-creds-socket-0.19.5-1 [ 25s] [171/241] cumulate dbus-1.12.20-3 [ 25s] [172/241] keeping python3-setuptools-69.0.2-1.1 [ 25s] [173/241] keeping libxcrypt-devel-4.4.36-1.6 [ 25s] [174/241] cumulate rust-devel-1.74.0-1 [ 25s] [175/241] keeping nss-3.98-1.6 [ 25s] [176/241] keeping libgio-2.80.5-0 [ 25s] [177/241] keeping gio-branding-upstream-2.80.5-0 [ 25s] [178/241] keeping glibc-devel-2.39-1.6 [ 25s] [179/241] cumulate libjson-glib-1.8.0-0 [ 25s] [180/241] keeping libsoftokn3-3.98-1.6 [ 25s] [181/241] cumulate rust-1.74.0-1 [ 25s] [182/241] keeping glib2-tools-2.80.5-0 [ 25s] [183/241] cumulate libgum-1.0.8-0 [ 25s] [184/241] cumulate libsyscommon-5.0.0-0 [ 25s] [185/241] cumulate buxton2-1.8.10-0 [ 25s] [186/241] keeping rpm-4.14.1.1-1.6 [ 25s] [187/241] cumulate rust-cfg-if-1.0.0-1 [ 25s] [188/241] cumulate rust-either-1.8.1-1 [ 25s] [189/241] cumulate rust-normalize-line-endings-0.3.0-1 [ 25s] [190/241] keeping zlib-devel-1.3-1.5 [ 25s] [191/241] cumulate rust-anstyle-0.3.5-1 [ 25s] [192/241] cumulate rust-difflib-0.4.0-1 [ 25s] [193/241] cumulate rust-downcast-0.11.0-1 [ 25s] [194/241] cumulate rust-fragile-2.0.0-1 [ 25s] [195/241] cumulate rust-libc-0.2.139-1 [ 25s] [196/241] cumulate rust-libm-0.2.6-1 [ 25s] [197/241] cumulate rust-minizip-sys-0.1.2-1 [ 25s] [198/241] cumulate rust-predicates-core-1.0.6-1 [ 25s] [199/241] cumulate rust-regex-syntax-0.6.28-1 [ 25s] [200/241] cumulate rust-scopeguard-1.1.0-1 [ 25s] [201/241] cumulate rust-termtree-0.4.1-1 [ 25s] [202/241] cumulate rust-unicode-ident-1.0.6-1 [ 25s] [203/241] cumulate sqlite-devel-3.44.0-1.4 [ 25s] [204/241] cumulate vconf-compat-1.8.10-0 [ 25s] [205/241] cumulate bundle-0.17.3-0 [ 25s] [206/241] cumulate gumd-1.0.8-0 [ 25s] [207/241] keeping rpm-build-4.14.1.1-1.6 [ 25s] [208/241] cumulate bundle-devel-0.17.3-0 [ 25s] [209/241] cumulate rust-glib-sys-0.17.10-1 [ 25s] [210/241] cumulate rust-itertools-0.10.5-1 [ 25s] [211/241] cumulate rust-lock_api-0.4.9-1 [ 25s] [212/241] cumulate rust-num-traits-0.2.15-1 [ 25s] [213/241] cumulate rust-proc-macro2-1.0.51-1 [ 25s] [214/241] cumulate rust-regex-1.7.1-1 [ 25s] [215/241] cumulate rust-predicates-tree-1.0.9-1 [ 25s] [216/241] cumulate libxml2-devel-2.12.5-1.5 [ 25s] [217/241] cumulate libstorage-1.0.0-0 [ 25s] [218/241] cumulate pkgmgr-info-0.28.5-1 [ 25s] [219/241] keeping glib2-devel-2.80.5-0 [ 25s] [220/241] cumulate libgum-devel-1.0.8-0 [ 25s] [221/241] cumulate pkgmgr-info-devel-0.28.5-1 [ 25s] [222/241] cumulate vconf-compat-devel-1.8.10-0 [ 25s] [223/241] cumulate rust-float-cmp-0.9.0-1 [ 25s] [224/241] cumulate rust-quote-1.0.23-1 [ 25s] [225/241] cumulate rust-spin-0.9.5-1 [ 25s] [226/241] cumulate pkgmgr-info-parser-0.28.5-1 [ 25s] [227/241] cumulate aul-0.66.0-1 [ 26s] [228/241] cumulate rust-lazy_static-1.4.0-1 [ 26s] [229/241] cumulate pkgmgr-info-parser-devel-0.28.5-1 [ 26s] [230/241] cumulate rust-syn-1.0.107-1 [ 26s] [231/241] cumulate aul-devel-0.66.0-1 [ 26s] [232/241] cumulate rust-predicates-3.0.4-1 [ 26s] [233/241] cumulate rpc-port-1.19.1-0 [ 26s] [234/241] cumulate rpc-port-devel-1.19.1-0 [ 26s] [235/241] cumulate rust-mockall_derive-0.11.4-1 [ 26s] [236/241] cumulate rust-mockall_double-0.3.0-1 [ 26s] [237/241] cumulate pkgmgr-client-0.20.21-0 [ 26s] [238/241] cumulate pkgmgr-installer-0.20.21-0 [ 26s] [239/241] cumulate pkgmgr-installer-devel-0.20.21-0 [ 26s] [240/241] cumulate pkgmgr-client-devel-0.20.21-0 [ 26s] [241/241] cumulate rust-mockall-0.11.4-1 [ 26s] now installing cumulated packages [ 26s] Preparing... ######################################## [ 26s] Updating / installing... [ 26s] tizen-platform-config-5.0-1 ######################################## [ 27s] capi-system-resource-devel-1.0.0-0 ######################################## [ 27s] xz-devel-5.4.5-1.6 ######################################## [ 27s] vconf-internal-keys-devel-0.0.191-0 ######################################## [ 30s] rust-std-static-1.74.0-1 ######################################## [ 30s] default-ac-domains-0.1-1.1 ######################################## [ 31s] rust-std-shared-1.74.0-1 ######################################## [ 31s] libtzplatform-config-5.0-1 ######################################## [ 31s] parcel-0.17.3-0 ######################################## [ 31s] capi-system-info-0.5.2-1 ######################################## [ 31s] pkgmgr-0.20.21-0 ######################################## [ 31s] rust-cfg-if-1.0.0-1 ######################################## [ 31s] minizip-1.3-1.5 ######################################## [ 32s] rust-predicates-core-1.0.6-1 ######################################## [ 32s] rust-unicode-ident-1.0.6-1 ######################################## [ 32s] rust-proc-macro2-1.0.51-1 ######################################## [ 32s] rust-quote-1.0.23-1 ######################################## [ 33s] rust-syn-1.0.107-1 ######################################## [ 33s] xdgmime-0.0.17-1.1 ######################################## [ 33s] xdgmime-devel-0.0.17-1.1 ######################################## [ 33s] pkgmgr-types-devel-0.20.21-0 ######################################## [ 33s] parcel-devel-0.17.3-0 ######################################## [ 33s] libtzplatform-config-devel-5.0-1 ######################################## [ 33s] rust-mockall_derive-0.11.4-1 ######################################## [ 41s] rust-devel-1.74.0-1 ######################################## [ 41s] rust-either-1.8.1-1 ######################################## [ 41s] rust-itertools-0.10.5-1 ######################################## [ 42s] rust-normalize-line-endings-0.3.0-1 ######################################## [ 42s] rust-anstyle-0.3.5-1 ######################################## [ 42s] rust-difflib-0.4.0-1 ######################################## [ 42s] rust-downcast-0.11.0-1 ######################################## [ 42s] rust-fragile-2.0.0-1 ######################################## [ 42s] rust-libc-0.2.139-1 ######################################## [ 43s] rust-libm-0.2.6-1 ######################################## [ 43s] rust-num-traits-0.2.15-1 ######################################## [ 43s] rust-float-cmp-0.9.0-1 ######################################## [ 43s] rust-regex-syntax-0.6.28-1 ######################################## [ 44s] rust-regex-1.7.1-1 ######################################## [ 44s] rust-predicates-3.0.4-1 ######################################## [ 44s] rust-scopeguard-1.1.0-1 ######################################## [ 44s] rust-lock_api-0.4.9-1 ######################################## [ 44s] rust-spin-0.9.5-1 ######################################## [ 44s] rust-lazy_static-1.4.0-1 ######################################## [ 44s] rust-termtree-0.4.1-1 ######################################## [ 45s] rust-predicates-tree-1.0.9-1 ######################################## [ 45s] libjson-glib-1.8.0-0 ######################################## [ 45s] bundle-0.17.3-0 ######################################## [ 45s] bundle-devel-0.17.3-0 ######################################## [ 45s] libxml2-tools-2.12.5-1.5 ######################################## [ 45s] libncurses5-6.4-1.6 ######################################## [ 45s] ncurses-devel-6.4-1.6 ######################################## [ 45s] readline-devel-5.2-1.4 ######################################## [ 45s] libxml2-devel-2.12.5-1.5 ######################################## [ 45s] cynara-db-migration-0.19.5-1 ######################################## [ 46s] libcynara-commons-0.19.5-1 ######################################## [ 46s] libcynara-client-0.19.5-1 ######################################## [ 46s] libcynara-session-0.19.5-1 ######################################## [ 46s] dbus-1.12.20-3 ######################################## [ 46s] libgum-1.0.8-0 ######################################## [ 47s] gumd-1.0.8-0 ######################################## [ 47s] buxton2-1.8.10-0 ######################################## [ 47s] vconf-compat-1.8.10-0 ######################################## [ 47s] vconf-compat-devel-1.8.10-0 ######################################## [ 47s] libcynara-creds-commons-0.19.5-1 ######################################## [ 47s] libcynara-creds-socket-0.19.5-1 ######################################## [ 48s] pkgmgr-info-parser-0.28.5-1 ######################################## [ 48s] pkgmgr-info-0.28.5-1 ######################################## [ 48s] pkgmgr-info-devel-0.28.5-1 ######################################## [ 48s] gettext-runtime-0.21.1-2.5 ######################################## [ 48s] sqlite-3.44.0-1.4 ######################################## [ 48s] libjson-0.17-0 ######################################## [ 48s] sqlite-devel-3.44.0-1.4 ######################################## [ 48s] pkgmgr-info-parser-devel-0.28.5-1 ######################################## [ 48s] libgum-devel-1.0.8-0 ######################################## [ 48s] minizip-devel-1.3-1.5 ######################################## [ 48s] libsyscommon-5.0.0-0 ######################################## [ 49s] libstorage-1.0.0-0 ######################################## [ 49s] aul-0.66.0-1 ######################################## [ 49s] rpc-port-1.19.1-0 ######################################## [ 49s] rpc-port-devel-1.19.1-0 ######################################## [ 49s] aul-devel-0.66.0-1 ######################################## [ 49s] pkgmgr-client-0.20.21-0 ######################################## [ 50s] pkgmgr-installer-0.20.21-0 ######################################## [ 50s] pkgmgr-installer-devel-0.20.21-0 ######################################## [ 50s] pkgmgr-client-devel-0.20.21-0 ######################################## [ 50s] gettext-tools-0.21.1-2.5 ######################################## [ 50s] rust-mockall-0.11.4-1 ######################################## [ 50s] rust-glib-sys-0.17.10-1 ######################################## [ 55s] rust-1.74.0-1 ######################################## [ 55s] rust-mockall_double-0.3.0-1 ######################################## [ 55s] rust-minizip-sys-0.1.2-1 ######################################## [ 56s] cmake-3.25.2-1.5 ######################################## [ 56s] unzip-610c25-1.1 ######################################## [ 57s] tidl-2.3.4-1 ######################################## [ 57s] fdupes-2.2.1-1.4 ######################################## [ 57s] Running capi-system-info %posttrans script [ 57s] I/O warning : failed to load external entity "/etc/config/model-config.xml" [ 57s] iniparser: cannot open /etc/info.ini [ 57s] Running pkgmgr %posttrans script [ 57s] /var/tmp/rpm-tmp.71dX8R: line 5: pkg_initdb: command not found [ 57s] /var/tmp/rpm-tmp.71dX8R: line 6: install_preload_pkg: command not found [ 57s] /var/tmp/rpm-tmp.71dX8R: line 13: pkgcmd: command not found [ 57s] /var/tmp/rpm-tmp.71dX8R: line 15: /etc/package-manager/pkgmgr-label-initial-image.sh: No such file or directory [ 57s] Running buxton2 %posttrans script [ 57s] chmod: cannot access `/etc/buxton2/*': No such file or directory [ 57s] /etc/buxton2/*: No such file or directory [ 57s] chmod: cannot access `/var/lib/buxton2/*': No such file or directory [ 57s] /var/lib/buxton2/*: No such file or directory [ 58s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.17/etc/nsswitch.conf... [ 58s] now finalizing build dir... [ 58s] ----------------------------------------------------------------- [ 58s] ----- building pkgmgr-server.spec (user abuild) [ 58s] ----------------------------------------------------------------- [ 58s] ----------------------------------------------------------------- [ 59s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_costomized_smp_mflags -j32' --define '_srcdefattr (-,root,root)' --nosignature --target=armv7l-tizen-linux --define '_build_create_debug 1' -ba /home/abuild/rpmbuild/SOURCES/pkgmgr-server.spec [ 59s] Building target platforms: armv7l-tizen-linux [ 59s] Building for target armv7l-tizen-linux [ 59s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Z98goo [ 59s] + umask 022 [ 59s] + cd /home/abuild/rpmbuild/BUILD [ 59s] + cd /home/abuild/rpmbuild/BUILD [ 59s] + rm -rf pkgmgr-server-1.0.15 [ 59s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/pkgmgr-server-1.0.15.tar.gz [ 59s] + /bin/tar -xof - [ 59s] + STATUS=0 [ 59s] + '[' 0 -ne 0 ']' [ 59s] + cd pkgmgr-server-1.0.15 [ 59s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 59s] + cp /home/abuild/rpmbuild/SOURCES/pkgmgr-server.manifest . [ 59s] + tidlc -s -l C -e -i ./tidl_pkgmgr_server/PkgMgr.tidl -o tidl_pkgmgr_server [ 59s] + mv tidl_pkgmgr_server.c tidl_pkgmgr_server.h ./tidl_pkgmgr_server/ [ 59s] + exit 0 [ 59s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zjFtfl [ 59s] + umask 022 [ 59s] + cd /home/abuild/rpmbuild/BUILD [ 59s] + cd pkgmgr-server-1.0.15 [ 59s] + ref=/usr/lib/rpm [ 59s] + mints=0 [ 59s] + case $(uname -m) in [ 59s] ++ uname -m [ 59s] + for s in guess sub [ 59s] ++ find -maxdepth 8 -name config.guess [ 59s] + for s in guess sub [ 59s] ++ find -maxdepth 8 -name config.sub [ 59s] + LANG=C [ 59s] + export LANG [ 59s] + unset DISPLAY [ 59s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g' [ 59s] + export CFLAGS [ 59s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g' [ 59s] + export CXXFLAGS [ 59s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -I%_fmoddir' [ 59s] + export FFLAGS [ 59s] + LDFLAGS= [ 59s] + export LDFLAGS [ 59s] + export 'CFLAGS=-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 59s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 59s] + export 'CXXFLAGS=-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 59s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 59s] + export 'FFLAGS=-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 59s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 59s] ++ echo 1.0.15 [ 59s] ++ awk 'BEGIN {FS="."}{print $1}' [ 59s] + MAJORVER=1 [ 59s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 59s] + export CFLAGS [ 59s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 59s] + export CXXFLAGS [ 59s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 59s] + export FFLAGS [ 59s] + /usr/bin/cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_SKIP_RPATH:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -DFULLVER=1.0.15 -DMAJORVER=1 -DUNITDIR=/usr/lib/systemd/system . [ 59s] -- The C compiler identification is GNU 14.2.0 [ 59s] -- The CXX compiler identification is GNU 14.2.0 [ 59s] -- Detecting C compiler ABI info [ 59s] -- Detecting C compiler ABI info - done [ 59s] -- Check for working C compiler: /bin/cc - skipped [ 59s] -- Detecting C compile features [ 59s] -- Detecting C compile features - done [ 59s] -- Detecting CXX compiler ABI info [ 59s] -- Detecting CXX compiler ABI info - done [ 59s] -- Check for working CXX compiler: /bin/c++ - skipped [ 59s] -- Detecting CXX compile features [ 59s] -- Detecting CXX compile features - done [ 59s] -- Found PkgConfig: /bin/pkg-config (found version "0.29.2") [ 59s] -- Checking for module 'rpc-port' [ 60s] -- Found rpc-port, version [ 60s] -- Checking for module 'dlog' [ 60s] -- Found dlog, version 1.0 [ 61s] -- Checking for module 'gio-2.0' [ 61s] -- Found gio-2.0, version 2.80.5 [ 62s] -- Checking for module 'glib-2.0' [ 62s] -- Found glib-2.0, version 2.80.5 [ 63s] -- Checking for module 'capi-base-common' [ 63s] -- Found capi-base-common, version 0.4.82 [ 63s] -- Checking for module 'pkgmgr' [ 63s] -- Found pkgmgr, version 0.20.21 [ 64s] -- Checking for module 'libtzplatform-config' [ 64s] -- Found libtzplatform-config, version 2.0 [ 64s] -- Configuring done [ 64s] -- Generating done [ 64s] CMake Warning: [ 64s] Manually-specified variables were not used by the project: [ 64s] [ 64s] FULLVER [ 64s] INCLUDE_INSTALL_DIR [ 64s] MAJORVER [ 64s] SHARE_INSTALL_PREFIX [ 64s] SYSCONF_INSTALL_DIR [ 64s] [ 64s] [ 64s] -- Build files have been written to: /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 64s] + make -j8 [ 64s] /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 [ 64s] /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 [ 64s] make -f CMakeFiles/Makefile2 all [ 64s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 64s] make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/depend [ 64s] make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/depend [ 64s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 64s] 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= [ 64s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 64s] 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= [ 64s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 64s] make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build [ 64s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 64s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 64s] make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build [ 64s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 64s] [ 25%] Building C object tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o [ 64s] cd /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server && /bin/cc -DLIBDIR=\"/usr/lib\" -Dtidl_pkgmgr_server_EXPORTS -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server/SYSTEM -I/usr/include/rpc-port -I/usr/include/dlog -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -fPIC -I/usr/include/rpc-port -I/usr/include/dlog -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MD -MT tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o -MF CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o.d -o CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o -c /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server/tidl_pkgmgr_server.c [ 64s] [ 50%] Building C object util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o [ 64s] cd /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server && /bin/cc -DLIBDIR=\"/usr/lib\" -Dutil_pkgmgr_server_EXPORTS -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server/SYSTEM -I/usr/include/rpc-port -I/usr/include/dlog -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -fPIC -I/usr/include/rpc-port -I/usr/include/dlog -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/ -MD -MT util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o -MF CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o.d -o CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o -c /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server/util_pkgmgr_server.c [ 65s] [ 75%] Linking C shared library libutil_pkgmgr_server.so [ 65s] 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 [ 65s] /bin/cc -fPIC -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -shared -Wl,-soname,libutil_pkgmgr_server.so -o libutil_pkgmgr_server.so CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o -lrpc-port -ldlog -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lglib-2.0 -lcapi-base-common -lpkgmgr-client -ltzplatform-config-2.0 -ldl [ 65s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 65s] [ 75%] Built target util_pkgmgr_server [ 66s] [100%] Linking C shared library libtidl_pkgmgr_server.so [ 66s] 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 [ 66s] /bin/cc -fPIC -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -shared -Wl,-soname,libtidl_pkgmgr_server.so -o libtidl_pkgmgr_server.so CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o -lrpc-port -ldlog -lglib-2.0 -lcapi-base-common -ldl [ 66s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 66s] [100%] Built target tidl_pkgmgr_server [ 66s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 66s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/CMakeFiles 0 [ 66s] + export LD_LIBRARY_PATH=:/usr/lib/rustlib:/usr/lib/rustlib/dylib [ 66s] + LD_LIBRARY_PATH=:/usr/lib/rustlib:/usr/lib/rustlib/dylib [ 66s] ++ find /usr/lib -maxdepth 1 -name 'libstd-*.so' [ 66s] + __rust_std=/usr/lib/libstd-161dbff30b3b0c00.so [ 66s] + /usr/bin/rustc -C prefer-dynamic --extern std=/usr/lib/libstd-161dbff30b3b0c00.so -C codegen-units=1 -C debuginfo=2 -C opt-level=3 -C relocation-model=pic -C overflow-checks=on -C symbol-mangling-version=v0 -L/usr/lib/rustlib -L/usr/lib/rustlib/dylib --crate-type=bin --crate-name=rust_pkgmgr_server -L native=./tidl_pkgmgr_server -L native=./util_pkgmgr_server -l minizip --edition=2021 --extern libc=/usr/lib/rustlib/dylib/liblibc.so ./src/main.rs [ 68s] warning: unused import: `boxed` [ 68s] --> ./src/pkgmgr/server/admin_service.rs:4:11 [ 68s] | [ 68s] 4 | use std::{boxed, str}; [ 68s] | ^^^^^ [ 68s] | [ 68s] = note: `#[warn(unused_imports)]` on by default [ 68s] [ 68s] warning: unused import: `std::mem` [ 68s] --> ./src/pkgmgr/server/admin_service.rs:6:5 [ 68s] | [ 68s] 6 | use std::mem; [ 68s] | ^^^^^^^^ [ 68s] [ 68s] warning: unused import: `std::ptr` [ 68s] --> ./src/pkgmgr/server/admin_service.rs:7:5 [ 68s] | [ 68s] 7 | use std::ptr; [ 68s] | ^^^^^^^^ [ 68s] [ 68s] warning: unused import: `malloc` [ 68s] --> ./src/pkgmgr/server/admin_service.rs:8:18 [ 68s] | [ 68s] 8 | use libc::{free, malloc, strlen}; [ 68s] | ^^^^^^ [ 68s] [ 68s] warning: unused import: `super::Server` [ 68s] --> ./src/pkgmgr/server/admin_service.rs:10:5 [ 68s] | [ 68s] 10 | use super::Server; [ 68s] | ^^^^^^^^^^^^^ [ 68s] [ 68s] warning: type `rpc_port_stub_array_string_h` should have an upper camel case name [ 68s] --> ./src/pkgmgr/server/admin_service.rs:23:6 [ 68s] | [ 68s] 23 | type rpc_port_stub_array_string_h = *mut c_void; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RpcPortStubArrayStringH` [ 68s] | [ 68s] = note: `#[warn(non_camel_case_types)]` on by default [ 68s] [ 68s] warning: unused imports: `pid_t`, `uid_t` [ 68s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 68s] | [ 68s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 68s] | ^^^^^ ^^^^^ [ 68s] [ 68s] warning: unused imports: `c_int`, `c_void` [ 68s] --> ./src/pkgmgr/server/backend_context.rs:4:16 [ 68s] | [ 68s] 4 | use std::ffi::{c_int, c_void}; [ 68s] | ^^^^^ ^^^^^^ [ 68s] [ 68s] warning: unused import: `std::path::Path` [ 68s] --> ./src/pkgmgr/server/backend_queue.rs:10:5 [ 68s] | [ 68s] 10 | use std::path::Path; [ 68s] | ^^^^^^^^^^^^^^^ [ 68s] [ 68s] warning: denote infinite loops with `loop { ... }` [ 68s] --> ./src/pkgmgr/server/backend_queue.rs:50:9 [ 68s] | [ 68s] 50 | while true { [ 68s] | ^^^^^^^^^^ help: use `loop` [ 68s] | [ 68s] = note: `#[warn(while_true)]` on by default [ 68s] [ 68s] warning: unnecessary parentheses around `if` condition [ 68s] --> ./src/pkgmgr/server/backend_queue.rs:73:8 [ 68s] | [ 68s] 73 | if (mut_queue.is_queue_empty()) { [ 68s] | ^ ^ [ 68s] | [ 68s] = note: `#[warn(unused_parens)]` on by default [ 68s] help: remove these parentheses [ 68s] | [ 68s] 73 - if (mut_queue.is_queue_empty()) { [ 68s] 73 + if mut_queue.is_queue_empty() { [ 68s] | [ 68s] [ 68s] warning: unnecessary trailing semicolon [ 68s] --> ./src/pkgmgr/server/backend_queue.rs:297:17 [ 68s] | [ 68s] 297 | ; [ 68s] | ^ help: remove this semicolon [ 68s] | [ 68s] = note: `#[warn(redundant_semicolons)]` on by default [ 68s] [ 68s] warning: unused import: `super::Server` [ 68s] --> ./src/pkgmgr/server/cache_service.rs:1:5 [ 68s] | [ 68s] 1 | use super::Server; [ 68s] | ^^^^^^^^^^^^^ [ 68s] [ 68s] warning: unused import: `super::Server` [ 68s] --> ./src/pkgmgr/server/delayed_service.rs:1:5 [ 68s] | [ 68s] 1 | use super::Server; [ 68s] | ^^^^^^^^^^^^^ [ 68s] [ 68s] warning: unused import: `super::backend_context::*` [ 68s] --> ./src/pkgmgr/server/delayed_service.rs:4:5 [ 68s] | [ 68s] 4 | use super::backend_context::*; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 68s] [ 68s] warning: unused import: `super::request_result::*` [ 68s] --> ./src/pkgmgr/server/delayed_service.rs:5:5 [ 68s] | [ 68s] 5 | use super::request_result::*; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 68s] [ 68s] warning: unused import: `super::request_type::*` [ 68s] --> ./src/pkgmgr/server/delayed_service.rs:6:5 [ 68s] | [ 68s] 6 | use super::request_type::*; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 68s] [ 68s] warning: unused import: `super::util::*` [ 68s] --> ./src/pkgmgr/server/delayed_service.rs:7:5 [ 68s] | [ 68s] 7 | use super::util::*; [ 68s] | ^^^^^^^^^^^^^^ [ 68s] [ 68s] warning: unused imports: `pid_t`, `uid_t` [ 68s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 68s] | [ 68s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 68s] | ^^^^^ ^^^^^ [ 68s] [ 68s] warning: unused import: `std::io::Error` [ 68s] --> ./src/pkgmgr/server/info_service.rs:3:5 [ 68s] | [ 68s] 3 | use std::io::Error; [ 68s] | ^^^^^^^^^^^^^^ [ 68s] [ 68s] warning: unused import: `std::mem` [ 68s] --> ./src/pkgmgr/server/info_service.rs:6:5 [ 68s] | [ 68s] 6 | use std::mem; [ 68s] | ^^^^^^^^ [ 68s] [ 68s] warning: unused import: `std::ptr` [ 68s] --> ./src/pkgmgr/server/info_service.rs:7:5 [ 68s] | [ 68s] 7 | use std::ptr; [ 68s] | ^^^^^^^^ [ 68s] [ 68s] warning: unused imports: `free`, `malloc`, `strlen` [ 68s] --> ./src/pkgmgr/server/info_service.rs:8:12 [ 68s] | [ 68s] 8 | use libc::{free, malloc, strlen, mkfifo}; [ 68s] | ^^^^ ^^^^^^ ^^^^^^ [ 68s] [ 68s] warning: unused import: `super::Server` [ 68s] --> ./src/pkgmgr/server/info_service.rs:10:5 [ 68s] | [ 68s] 10 | use super::Server; [ 68s] | ^^^^^^^^^^^^^ [ 68s] [ 68s] warning: unused import: `super::service::Service` [ 68s] --> ./src/pkgmgr/server/info_service.rs:13:5 [ 68s] | [ 68s] 13 | use super::service::Service; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 68s] [ 68s] warning: unnecessary trailing semicolon [ 68s] --> ./src/pkgmgr/server/info_service.rs:49:5 [ 68s] | [ 68s] 49 | ; [ 68s] | ^ help: remove this semicolon [ 68s] [ 68s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 68s] --> ./src/pkgmgr/server/request_result.rs:7:5 [ 68s] | [ 68s] 7 | GETSIZE_SYNC(String, i32, i32), [ 68s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 68s] [ 68s] warning: variant `GET_GENERATE_LICENSE_RESULT` should have an upper camel case name [ 68s] --> ./src/pkgmgr/server/request_result.rs:8:5 [ 68s] | [ 68s] 8 | GET_GENERATE_LICENSE_RESULT(String, i32, CString, CString), [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetGenerateLicenseResult` [ 68s] [ 68s] warning: variant `MOUNT_INSTALL` should have an upper camel case name [ 68s] --> ./src/pkgmgr/server/request_type.rs:3:5 [ 68s] | [ 68s] 3 | MOUNT_INSTALL, [ 68s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MountInstall` [ 68s] [ 68s] warning: variant `ENABLE_PKG` should have an upper camel case name [ 68s] --> ./src/pkgmgr/server/request_type.rs:7:5 [ 68s] | [ 68s] 7 | ENABLE_PKG, [ 68s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnablePkg` [ 68s] [ 68s] warning: variant `DISABLE_PKG` should have an upper camel case name [ 68s] --> ./src/pkgmgr/server/request_type.rs:8:5 [ 68s] | [ 68s] 8 | DISABLE_PKG, [ 68s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisablePkg` [ 68s] [ 68s] warning: variant `REGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 68s] --> ./src/pkgmgr/server/request_type.rs:9:5 [ 68s] | [ 68s] 9 | REGISTER_PKG_UPDATE_INFO, [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterPkgUpdateInfo` [ 68s] [ 68s] warning: variant `UNREGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 68s] --> ./src/pkgmgr/server/request_type.rs:10:5 [ 68s] | [ 68s] 10 | UNREGISTER_PKG_UPDATE_INFO, [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterPkgUpdateInfo` [ 68s] [ 68s] warning: variant `UNREGISTER_ALL_PKG_UPDATE_INFO` should have an upper camel case name [ 68s] --> ./src/pkgmgr/server/request_type.rs:11:5 [ 68s] | [ 68s] 11 | UNREGISTER_ALL_PKG_UPDATE_INFO, [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterAllPkgUpdateInfo` [ 68s] [ 68s] warning: variant `ENABLE_APP` should have an upper camel case name [ 68s] --> ./src/pkgmgr/server/request_type.rs:12:5 [ 68s] | [ 68s] 12 | ENABLE_APP, [ 68s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableApp` [ 68s] [ 68s] warning: variant `DISABLE_APP` should have an upper camel case name [ 68s] --> ./src/pkgmgr/server/request_type.rs:13:5 [ 68s] | [ 68s] 13 | DISABLE_APP, [ 68s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableApp` [ 68s] [ 68s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 68s] --> ./src/pkgmgr/server/request_type.rs:15:5 [ 68s] | [ 68s] 15 | GETSIZE_SYNC, [ 68s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 68s] [ 68s] warning: variant `ENABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 68s] --> ./src/pkgmgr/server/request_type.rs:18:5 [ 68s] | [ 68s] 18 | ENABLE_GLOBAL_APP_FOR_UID, [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableGlobalAppForUid` [ 68s] [ 68s] warning: variant `DISABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 68s] --> ./src/pkgmgr/server/request_type.rs:19:5 [ 68s] | [ 68s] 19 | DISABLE_GLOBAL_APP_FOR_UID, [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableGlobalAppForUid` [ 68s] [ 68s] warning: variant `GENERATE_LICENSE_REQUEST` should have an upper camel case name [ 68s] --> ./src/pkgmgr/server/request_type.rs:22:5 [ 68s] | [ 68s] 22 | GENERATE_LICENSE_REQUEST, [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GenerateLicenseRequest` [ 68s] [ 68s] warning: variant `REGISTER_LICENSE` should have an upper camel case name [ 68s] --> ./src/pkgmgr/server/request_type.rs:23:5 [ 68s] | [ 68s] 23 | REGISTER_LICENSE, [ 68s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterLicense` [ 68s] [ 68s] warning: variant `DECRYPT_PACKAGE` should have an upper camel case name [ 68s] --> ./src/pkgmgr/server/request_type.rs:24:5 [ 68s] | [ 68s] 24 | DECRYPT_PACKAGE, [ 68s] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DecryptPackage` [ 68s] [ 68s] warning: variant `ENABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 68s] --> ./src/pkgmgr/server/request_type.rs:25:5 [ 68s] | [ 68s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableAppSplashScreen` [ 68s] [ 68s] warning: variant `DISABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 68s] --> ./src/pkgmgr/server/request_type.rs:26:5 [ 68s] | [ 68s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableAppSplashScreen` [ 68s] [ 68s] warning: variant `SET_APP_LABEL` should have an upper camel case name [ 68s] --> ./src/pkgmgr/server/request_type.rs:27:5 [ 68s] | [ 68s] 27 | SET_APP_LABEL, [ 68s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppLabel` [ 68s] [ 68s] warning: variant `SET_APP_ICON` should have an upper camel case name [ 68s] --> ./src/pkgmgr/server/request_type.rs:28:5 [ 68s] | [ 68s] 28 | SET_APP_ICON, [ 68s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppIcon` [ 68s] [ 68s] warning: variant `MIGRATE_EXTERNAL_IMAGE` should have an upper camel case name [ 68s] --> ./src/pkgmgr/server/request_type.rs:29:5 [ 68s] | [ 68s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MigrateExternalImage` [ 68s] [ 68s] warning: variant `RESOURCE_SHARE_COPY` should have an upper camel case name [ 68s] --> ./src/pkgmgr/server/request_type.rs:30:5 [ 68s] | [ 68s] 30 | RESOURCE_SHARE_COPY, [ 68s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCopy` [ 68s] [ 68s] warning: variant `RESOURCE_SHARE_CREATE_DIR` should have an upper camel case name [ 68s] --> ./src/pkgmgr/server/request_type.rs:31:5 [ 68s] | [ 68s] 31 | RESOURCE_SHARE_CREATE_DIR, [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCreateDir` [ 68s] [ 68s] warning: variant `RESOURCE_SHARE_REMOVE` should have an upper camel case name [ 68s] --> ./src/pkgmgr/server/request_type.rs:32:5 [ 68s] | [ 68s] 32 | RESOURCE_SHARE_REMOVE, [ 68s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareRemove` [ 68s] [ 68s] warning: variant `RESOURCE_SHARE_UNINSTALL` should have an upper camel case name [ 68s] --> ./src/pkgmgr/server/request_type.rs:33:5 [ 68s] | [ 68s] 33 | RESOURCE_SHARE_UNINSTALL, [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareUninstall` [ 68s] [ 68s] warning: variant `REMOVE_FILE` should have an upper camel case name [ 68s] --> ./src/pkgmgr/server/request_type.rs:34:5 [ 68s] | [ 68s] 34 | REMOVE_FILE, [ 68s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RemoveFile` [ 68s] [ 68s] warning: unused import: `CStr` [ 68s] --> ./src/pkgmgr/server/signal.rs:1:39 [ 68s] | [ 68s] 1 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 68s] | ^^^^ [ 68s] [ 68s] warning: unused import: `pid_t` [ 68s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 68s] | [ 68s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 68s] | ^^^^^ [ 68s] [ 68s] warning: unused imports: `CStr`, `CString`, `c_char`, `c_void` [ 68s] --> ./src/pkgmgr/server/signal.rs:39:20 [ 68s] | [ 68s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 68s] | ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^ [ 68s] [ 68s] warning: unused import: `pid_t` [ 68s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 68s] | [ 68s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 68s] | ^^^^^ [ 68s] [ 68s] warning: unused import: `std::cell::RefCell` [ 68s] --> ./src/pkgmgr/server/util.rs:1:5 [ 68s] | [ 68s] 1 | use std::cell::RefCell; [ 68s] | ^^^^^^^^^^^^^^^^^^ [ 68s] [ 68s] warning: unused import: `std::rc::Rc` [ 68s] --> ./src/pkgmgr/server/util.rs:8:5 [ 68s] | [ 68s] 8 | use std::rc::Rc; [ 68s] | ^^^^^^^^^^^ [ 68s] [ 68s] warning: type `xmlChar` should have an upper camel case name [ 68s] --> ./src/pkgmgr/server/util.rs:34:6 [ 68s] | [ 68s] 34 | type xmlChar = c_uchar; [ 68s] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlChar` [ 68s] [ 68s] warning: type `xmlTextReaderPtr` should have an upper camel case name [ 68s] --> ./src/pkgmgr/server/util.rs:35:6 [ 68s] | [ 68s] 35 | type xmlTextReaderPtr = *mut c_void; [ 68s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlTextReaderPtr` [ 68s] [ 68s] warning: unused imports: `CStr`, `CString` [ 68s] --> ./src/pkgmgr/server/util.rs:39:43 [ 68s] | [ 68s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 68s] | ^^^^ ^^^^^^^ [ 68s] [ 68s] warning: unused import: `pid_t` [ 68s] --> ./src/pkgmgr/server/util.rs:40:37 [ 68s] | [ 68s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 68s] | ^^^^^ [ 68s] [ 68s] warning: unnecessary parentheses around `if` condition [ 68s] --> ./src/pkgmgr/server/util.rs:474:24 [ 68s] | [ 68s] 474 | if (cur == depth + 1) { [ 68s] | ^ ^ [ 68s] | [ 68s] help: remove these parentheses [ 68s] | [ 68s] 474 - if (cur == depth + 1) { [ 68s] 474 + if cur == depth + 1 { [ 68s] | [ 68s] [ 68s] warning: unnecessary parentheses around `if` condition [ 68s] --> ./src/pkgmgr/server/util.rs:571:12 [ 68s] | [ 68s] 571 | if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 68s] | ^ ^ [ 68s] | [ 68s] help: remove these parentheses [ 68s] | [ 68s] 571 - if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 68s] 571 + if unzOpenCurrentFile(uf) != UNZ_OK as c_int { [ 68s] | [ 68s] [ 68s] warning: unused import: `super::super::super::server::signal::*` [ 68s] --> ./src/pkgmgr/server/test/signal_tests.rs:1:5 [ 68s] | [ 68s] 1 | use super::super::super::server::signal::*; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 68s] | [ 68s] help: consider adding a `#[cfg(test)]` to the containing module [ 68s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 68s] | [ 68s] 3 | pub mod signal_tests; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^ [ 68s] [ 68s] warning: unused import: `std::ffi::CString` [ 68s] --> ./src/pkgmgr/server/test/signal_tests.rs:2:5 [ 68s] | [ 68s] 2 | use std::ffi::CString; [ 68s] | ^^^^^^^^^^^^^^^^^ [ 68s] | [ 68s] help: consider adding a `#[cfg(test)]` to the containing module [ 68s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 68s] | [ 68s] 3 | pub mod signal_tests; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^ [ 68s] [ 68s] warning: unused import: `std::ffi::CStr` [ 68s] --> ./src/pkgmgr/server/test/signal_tests.rs:3:5 [ 68s] | [ 68s] 3 | use std::ffi::CStr; [ 68s] | ^^^^^^^^^^^^^^ [ 68s] | [ 68s] help: consider adding a `#[cfg(test)]` to the containing module [ 68s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 68s] | [ 68s] 3 | pub mod signal_tests; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^ [ 68s] [ 68s] warning: unused import: `std::ffi::c_char` [ 68s] --> ./src/pkgmgr/server/test/signal_tests.rs:4:5 [ 68s] | [ 68s] 4 | use std::ffi::c_char; [ 68s] | ^^^^^^^^^^^^^^^^ [ 68s] | [ 68s] help: consider adding a `#[cfg(test)]` to the containing module [ 68s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 68s] | [ 68s] 3 | pub mod signal_tests; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^ [ 68s] [ 68s] warning: unused import: `std::mem` [ 68s] --> ./src/pkgmgr/server/test/signal_tests.rs:5:5 [ 68s] | [ 68s] 5 | use std::mem; [ 68s] | ^^^^^^^^ [ 68s] | [ 68s] help: consider adding a `#[cfg(test)]` to the containing module [ 68s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 68s] | [ 68s] 3 | pub mod signal_tests; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^ [ 68s] [ 68s] warning: unused import: `mockall::predicate::*` [ 68s] --> ./src/pkgmgr/server/test/signal_tests.rs:6:5 [ 68s] | [ 68s] 6 | use mockall::predicate::*; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^ [ 68s] | [ 68s] help: consider adding a `#[cfg(test)]` to the containing module [ 68s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 68s] | [ 68s] 3 | pub mod signal_tests; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^ [ 68s] [ 68s] warning: unused import: `mockall::*` [ 68s] --> ./src/pkgmgr/server/test/signal_tests.rs:7:5 [ 68s] | [ 68s] 7 | use mockall::*; [ 68s] | ^^^^^^^^^^ [ 68s] | [ 68s] help: consider adding a `#[cfg(test)]` to the containing module [ 68s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 68s] | [ 68s] 3 | pub mod signal_tests; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^ [ 68s] [ 68s] warning: unused imports: `pid_t`, `uid_t` [ 68s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 68s] | [ 68s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 68s] | ^^^^^ ^^^^^ [ 68s] | [ 68s] help: consider adding a `#[cfg(test)]` to the containing module [ 68s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 68s] | [ 68s] 3 | pub mod signal_tests; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^ [ 68s] [ 68s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 68s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:1:5 [ 68s] | [ 68s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 68s] | [ 68s] help: consider adding a `#[cfg(test)]` to the containing module [ 68s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 68s] | [ 68s] 4 | pub mod admin_service_tests; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 68s] [ 68s] warning: unused import: `super::super::super::server::admin_service::AdminService` [ 68s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:2:5 [ 68s] | [ 68s] 2 | use super::super::super::server::admin_service::AdminService; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 68s] | [ 68s] help: consider adding a `#[cfg(test)]` to the containing module [ 68s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 68s] | [ 68s] 4 | pub mod admin_service_tests; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 68s] [ 68s] warning: unused import: `super::super::super::server::service::Service` [ 68s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:3:5 [ 68s] | [ 68s] 3 | use super::super::super::server::service::Service; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 68s] | [ 68s] help: consider adding a `#[cfg(test)]` to the containing module [ 68s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 68s] | [ 68s] 4 | pub mod admin_service_tests; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 68s] [ 68s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 68s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:1:5 [ 68s] | [ 68s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 68s] | [ 68s] help: consider adding a `#[cfg(test)]` to the containing module [ 68s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 68s] | [ 68s] 5 | pub mod cache_service_tests; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 68s] [ 68s] warning: unused import: `super::super::super::server::cache_service::CacheService` [ 68s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:2:5 [ 68s] | [ 68s] 2 | use super::super::super::server::cache_service::CacheService; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 68s] | [ 68s] help: consider adding a `#[cfg(test)]` to the containing module [ 68s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 68s] | [ 68s] 5 | pub mod cache_service_tests; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 68s] [ 68s] warning: unused import: `super::super::super::server::service::Service` [ 68s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:3:5 [ 68s] | [ 68s] 3 | use super::super::super::server::service::Service; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 68s] | [ 68s] help: consider adding a `#[cfg(test)]` to the containing module [ 68s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 68s] | [ 68s] 5 | pub mod cache_service_tests; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 68s] [ 68s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 68s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:1:5 [ 68s] | [ 68s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 68s] | [ 68s] help: consider adding a `#[cfg(test)]` to the containing module [ 68s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 68s] | [ 68s] 6 | pub mod delayed_service_tests; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 68s] [ 68s] warning: unused import: `super::super::super::server::delayed_service::DelayedService` [ 68s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:2:5 [ 68s] | [ 68s] 2 | use super::super::super::server::delayed_service::DelayedService; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 68s] | [ 68s] help: consider adding a `#[cfg(test)]` to the containing module [ 68s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 68s] | [ 68s] 6 | pub mod delayed_service_tests; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 68s] [ 68s] warning: unused import: `super::super::super::server::service::Service` [ 68s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:3:5 [ 68s] | [ 68s] 3 | use super::super::super::server::service::Service; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 68s] | [ 68s] help: consider adding a `#[cfg(test)]` to the containing module [ 68s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 68s] | [ 68s] 6 | pub mod delayed_service_tests; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 68s] [ 68s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 68s] --> ./src/pkgmgr/server/test/info_service_tests.rs:1:5 [ 68s] | [ 68s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 68s] | [ 68s] help: consider adding a `#[cfg(test)]` to the containing module [ 68s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 68s] | [ 68s] 7 | pub mod info_service_tests; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 68s] [ 68s] warning: unused import: `super::super::super::server::info_service::InfoService` [ 68s] --> ./src/pkgmgr/server/test/info_service_tests.rs:2:5 [ 68s] | [ 68s] 2 | use super::super::super::server::info_service::InfoService; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 68s] | [ 68s] help: consider adding a `#[cfg(test)]` to the containing module [ 68s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 68s] | [ 68s] 7 | pub mod info_service_tests; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 68s] [ 68s] warning: unused import: `super::super::super::server::service::Service` [ 68s] --> ./src/pkgmgr/server/test/info_service_tests.rs:3:5 [ 68s] | [ 68s] 3 | use super::super::super::server::service::Service; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 68s] | [ 68s] help: consider adding a `#[cfg(test)]` to the containing module [ 68s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 68s] | [ 68s] 7 | pub mod info_service_tests; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 68s] [ 68s] warning: unused import: `std::cell::RefCell` [ 68s] --> ./src/pkgmgr/server/mod.rs:22:5 [ 68s] | [ 68s] 22 | use std::cell::RefCell; [ 68s] | ^^^^^^^^^^^^^^^^^^ [ 68s] [ 68s] warning: unused import: `std::rc::Rc` [ 68s] --> ./src/pkgmgr/server/mod.rs:26:5 [ 68s] | [ 68s] 26 | use std::rc::Rc; [ 68s] | ^^^^^^^^^^^ [ 68s] [ 68s] warning: unused import: `std::process::Command` [ 68s] --> ./src/main.rs:9:5 [ 68s] | [ 68s] 9 | use std::process::Command; [ 68s] | ^^^^^^^^^^^^^^^^^^^^^ [ 68s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:5:26 [ 69s] | [ 69s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 69s] | ^^^^^ [ 69s] | [ 69s] = note: `#[warn(deprecated)]` on by default [ 69s] [ 69s] 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 [ 69s] --> ./src/pkgmgr/server/admin_service.rs:5:33 [ 69s] | [ 69s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:20:20 [ 69s] | [ 69s] 20 | const GLOBAL_USER: uid_t = 201; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:322:25 [ 69s] | [ 69s] 322 | let mut caller_uid: uid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:443:25 [ 69s] | [ 69s] 443 | let mut caller_uid: uid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:548:25 [ 69s] | [ 69s] 548 | let mut caller_uid: uid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:595:25 [ 69s] | [ 69s] 595 | let mut caller_uid: uid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:718:25 [ 69s] | [ 69s] 718 | let mut caller_uid: uid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:801:25 [ 69s] | [ 69s] 801 | let mut caller_uid: uid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:853:25 [ 69s] | [ 69s] 853 | let mut caller_uid: uid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:937:25 [ 69s] | [ 69s] 937 | let mut caller_uid: uid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:990:25 [ 69s] | [ 69s] 990 | let mut caller_uid: uid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1015:76 [ 69s] | [ 69s] 1015 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, true) { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1072:25 [ 69s] | [ 69s] 1072 | let mut caller_uid: uid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1097:76 [ 69s] | [ 69s] 1097 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, false) { [ 69s] | ^^^^^ [ 69s] [ 69s] 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 [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1151:25 [ 69s] | [ 69s] 1151 | let mut caller_pid: pid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1152:25 [ 69s] | [ 69s] 1152 | let mut caller_uid: uid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1166:62 [ 69s] | [ 69s] 1166 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1196:66 [ 69s] | [ 69s] 1196 | let ret = Util::RegisterPkgUpdateInfo(handle, uid as uid_t); [ 69s] | ^^^^^ [ 69s] [ 69s] 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 [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1215:25 [ 69s] | [ 69s] 1215 | let mut caller_pid: pid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1216:25 [ 69s] | [ 69s] 1216 | let mut caller_uid: uid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1230:62 [ 69s] | [ 69s] 1230 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1254:109 [ 69s] | [ 69s] 1254 | RequestResult::DELAYED(generated_req_key, Util::UnregisterPkgUpdateInfo(pkg_id.as_ptr(), uid as uid_t)) [ 69s] | ^^^^^ [ 69s] [ 69s] 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 [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1270:25 [ 69s] | [ 69s] 1270 | let mut caller_pid: pid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1271:25 [ 69s] | [ 69s] 1271 | let mut caller_uid: uid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1303:95 [ 69s] | [ 69s] 1303 | RequestResult::DELAYED(generated_req_key, Util::UnregisterAllPkgUpdateInfo(uid as uid_t, caller_uid)) [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1312:45 [ 69s] | [ 69s] 1312 | fn handle_enable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1359:60 [ 69s] | [ 69s] 1359 | fn handle_enable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1371:40 [ 69s] | [ 69s] 1371 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1373:40 [ 69s] | [ 69s] 1373 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1380:36 [ 69s] | [ 69s] 1380 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1382:36 [ 69s] | [ 69s] 1382 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1392:36 [ 69s] | [ 69s] 1392 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1394:36 [ 69s] | [ 69s] 1394 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1400:28 [ 69s] | [ 69s] 1400 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1403:46 [ 69s] | [ 69s] 1403 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1404:59 [ 69s] | [ 69s] 1404 | Util::EnableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1405:32 [ 69s] | [ 69s] 1405 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1409:28 [ 69s] | [ 69s] 1409 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1415:46 [ 69s] | [ 69s] 1415 | fn handle_disable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1463:61 [ 69s] | [ 69s] 1463 | fn handle_disable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1475:40 [ 69s] | [ 69s] 1475 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1477:40 [ 69s] | [ 69s] 1477 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1484:36 [ 69s] | [ 69s] 1484 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1486:36 [ 69s] | [ 69s] 1486 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1496:36 [ 69s] | [ 69s] 1496 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1498:36 [ 69s] | [ 69s] 1498 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1504:28 [ 69s] | [ 69s] 1504 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1507:46 [ 69s] | [ 69s] 1507 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1508:60 [ 69s] | [ 69s] 1508 | Util::DisableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1509:32 [ 69s] | [ 69s] 1509 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1513:28 [ 69s] | [ 69s] 1513 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1535:25 [ 69s] | [ 69s] 1535 | let mut caller_uid: uid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1562:70 [ 69s] | [ 69s] 1562 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1588:25 [ 69s] | [ 69s] 1588 | let mut caller_uid: uid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1615:71 [ 69s] | [ 69s] 1615 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1673:74 [ 69s] | [ 69s] 1673 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1735:75 [ 69s] | [ 69s] 1735 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1765:25 [ 69s] | [ 69s] 1765 | let mut caller_uid: uid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1792:85 [ 69s] | [ 69s] 1792 | RequestResult::VAL(handle_enable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1818:25 [ 69s] | [ 69s] 1818 | let mut caller_uid: uid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1845:86 [ 69s] | [ 69s] 1845 | RequestResult::VAL(handle_disable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1863:40 [ 69s] | [ 69s] 1863 | Util::KillAppsInPkg(pkg_id, uid as uid_t) [ 69s] | ^^^^^ [ 69s] [ 69s] 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 [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1873:25 [ 69s] | [ 69s] 1873 | let mut caller_pid: pid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1874:25 [ 69s] | [ 69s] 1874 | let mut caller_uid: uid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] 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 [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1985:25 [ 69s] | [ 69s] 1985 | let mut caller_pid: pid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:1986:25 [ 69s] | [ 69s] 1986 | let mut caller_uid: uid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] 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 [ 69s] --> ./src/pkgmgr/server/admin_service.rs:2035:25 [ 69s] | [ 69s] 2035 | let mut caller_pid: pid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:2036:25 [ 69s] | [ 69s] 2036 | let mut caller_uid: uid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:2083:54 [ 69s] | [ 69s] 2083 | Util::EnableGlobalAppSplashScreen(app_id, uid as uid_t) [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:2093:55 [ 69s] | [ 69s] 2093 | Util::DisableGlobalAppSplashScreen(app_id, uid as uid_t) [ 69s] | ^^^^^ [ 69s] [ 69s] 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 [ 69s] --> ./src/pkgmgr/server/admin_service.rs:2105:25 [ 69s] | [ 69s] 2105 | let mut caller_pid: pid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:2106:25 [ 69s] | [ 69s] 2106 | let mut caller_uid: uid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:2137:102 [ 69s] | [ 69s] 2137 | RequestResult::DELAYED(generated_req_key, Util::update_app_label(app_id.as_ptr(), uid as uid_t , label.as_ptr())) [ 69s] | ^^^^^ [ 69s] [ 69s] 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 [ 69s] --> ./src/pkgmgr/server/admin_service.rs:2155:25 [ 69s] | [ 69s] 2155 | let mut caller_pid: pid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:2156:25 [ 69s] | [ 69s] 2156 | let mut caller_uid: uid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:2187:101 [ 69s] | [ 69s] 2187 | RequestResult::DELAYED(generated_req_key, Util::update_app_icon(app_id.as_ptr(), uid as uid_t , icon_path.as_ptr())) [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:2312:25 [ 69s] | [ 69s] 2312 | let mut caller_uid: uid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] 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 [ 69s] --> ./src/pkgmgr/server/admin_service.rs:2313:25 [ 69s] | [ 69s] 2313 | let mut caller_pid: pid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:2383:25 [ 69s] | [ 69s] 2383 | let mut caller_uid: uid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] 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 [ 69s] --> ./src/pkgmgr/server/admin_service.rs:2384:25 [ 69s] | [ 69s] 2384 | let mut caller_pid: pid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:2453:25 [ 69s] | [ 69s] 2453 | let mut caller_uid: uid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] 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 [ 69s] --> ./src/pkgmgr/server/admin_service.rs:2454:25 [ 69s] | [ 69s] 2454 | let mut caller_pid: pid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:2532:25 [ 69s] | [ 69s] 2532 | let mut caller_uid: uid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:2622:41 [ 69s] | [ 69s] 2622 | if unsafe { check_valid_path(uid as uid_t, pkg_id, file_path) } != 0 { [ 69s] | ^^^^^ [ 69s] [ 69s] 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 [ 69s] --> ./src/pkgmgr/server/admin_service.rs:2681:19 [ 69s] | [ 69s] 2681 | pid: *mut pid_t, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/admin_service.rs:2682:19 [ 69s] | [ 69s] 2682 | uid: *mut uid_t [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 69s] | [ 69s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 69s] | ^^^^^ [ 69s] [ 69s] 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 [ 69s] --> ./src/pkgmgr/server/backend_context.rs:3:33 [ 69s] | [ 69s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/cache_service.rs:12:26 [ 69s] | [ 69s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 69s] | ^^^^^ [ 69s] [ 69s] 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 [ 69s] --> ./src/pkgmgr/server/cache_service.rs:12:33 [ 69s] | [ 69s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/cache_service.rs:23:14 [ 69s] | [ 69s] 23 | uid: uid_t, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/cache_service.rs:48:17 [ 69s] | [ 69s] 48 | target_uid: uid_t, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/cache_service.rs:53:25 [ 69s] | [ 69s] 53 | let mut caller_uid: uid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] 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 [ 69s] --> ./src/pkgmgr/server/cache_service.rs:106:19 [ 69s] | [ 69s] 106 | pid: *mut pid_t, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/cache_service.rs:107:19 [ 69s] | [ 69s] 107 | uid: *mut uid_t [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 69s] | [ 69s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 69s] | ^^^^^ [ 69s] [ 69s] 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 [ 69s] --> ./src/pkgmgr/server/delayed_service.rs:13:33 [ 69s] | [ 69s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/info_service.rs:2:26 [ 69s] | [ 69s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 69s] | ^^^^^ [ 69s] [ 69s] 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 [ 69s] --> ./src/pkgmgr/server/info_service.rs:2:33 [ 69s] | [ 69s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/info_service.rs:37:90 [ 69s] | [ 69s] 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... [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/info_service.rs:38:94 [ 69s] | [ 69s] 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... [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/info_service.rs:40:88 [ 69s] | [ 69s] 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... [ 69s] | ^^^^^ [ 69s] [ 69s] 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 [ 69s] --> ./src/pkgmgr/server/info_service.rs:40:128 [ 69s] | [ 69s] 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... [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/info_service.rs:54:17 [ 69s] | [ 69s] 54 | target_uid: uid_t, [ 69s] | ^^^^^ [ 69s] [ 69s] 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 [ 69s] --> ./src/pkgmgr/server/info_service.rs:60:25 [ 69s] | [ 69s] 60 | let mut caller_pid: pid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/info_service.rs:61:25 [ 69s] | [ 69s] 61 | let mut caller_uid: uid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/info_service.rs:114:17 [ 69s] | [ 69s] 114 | target_uid: uid_t, [ 69s] | ^^^^^ [ 69s] [ 69s] 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 [ 69s] --> ./src/pkgmgr/server/info_service.rs:120:25 [ 69s] | [ 69s] 120 | let mut caller_pid: pid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/info_service.rs:121:25 [ 69s] | [ 69s] 121 | let mut caller_uid: uid_t = 0; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/info_service.rs:223:17 [ 69s] | [ 69s] 223 | target_uid: uid_t, [ 69s] | ^^^^^ [ 69s] [ 69s] 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 [ 69s] --> ./src/pkgmgr/server/info_service.rs:225:15 [ 69s] | [ 69s] 225 | pid: *mut pid_t, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/info_service.rs:228:43 [ 69s] | [ 69s] 228 | Util::check_app(pkg_id, target_uid as uid_t, pid) [ 69s] | ^^^^^ [ 69s] [ 69s] 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 [ 69s] --> ./src/pkgmgr/server/info_service.rs:242:19 [ 69s] | [ 69s] 242 | pid: *mut pid_t, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/info_service.rs:243:19 [ 69s] | [ 69s] 243 | uid: *mut uid_t [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/signal.rs:2:26 [ 69s] | [ 69s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 69s] | ^^^^^ [ 69s] [ 69s] 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 [ 69s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 69s] | [ 69s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/signal.rs:99:20 [ 69s] | [ 69s] 99 | const GLOBAL_USER: uid_t = 201; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/signal.rs:101:33 [ 69s] | [ 69s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/signal.rs:101:47 [ 69s] | [ 69s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/signal.rs:102:26 [ 69s] | [ 69s] 102 | let mut uid_vec: Vec = vec![]; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/signal.rs:110:28 [ 69s] | [ 69s] 110 | let mut uids: *mut uid_t = std::ptr::null_mut(); [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/signal.rs:124:14 [ 69s] | [ 69s] 124 | uid: uid_t, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/signal.rs:53:44 [ 69s] | [ 69s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/signal.rs:62:14 [ 69s] | [ 69s] 62 | uid: uid_t, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/signal.rs:86:14 [ 69s] | [ 69s] 86 | uid: uid_t, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/signal.rs:40:30 [ 69s] | [ 69s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 69s] | ^^^^^ [ 69s] [ 69s] 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 [ 69s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 69s] | [ 69s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/signal.rs:44:45 [ 69s] | [ 69s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:4:26 [ 69s] | [ 69s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 69s] | ^^^^^ [ 69s] [ 69s] 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 [ 69s] --> ./src/pkgmgr/server/util.rs:4:33 [ 69s] | [ 69s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:22:21 [ 69s] | [ 69s] 22 | const REGULAR_USER: uid_t = 5000; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:23:20 [ 69s] | [ 69s] 23 | const GLOBAL_USER: uid_t = 201; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:25:18 [ 69s] | [ 69s] 25 | const APPFW_UID: uid_t = 301; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:307:36 [ 69s] | [ 69s] 307 | let uid : uid_t = user_data as uid_t; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:307:15 [ 69s] | [ 69s] 307 | let uid : uid_t = user_data as uid_t; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:326:81 [ 69s] | [ 69s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 69s] | ^^^^^ [ 69s] [ 69s] 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 [ 69s] --> ./src/pkgmgr/server/util.rs:326:93 [ 69s] | [ 69s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:326:25 [ 69s] | [ 69s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 69s] | ^^^^^ [ 69s] [ 69s] 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 [ 69s] --> ./src/pkgmgr/server/util.rs:326:37 [ 69s] | [ 69s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:389:57 [ 69s] | [ 69s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:420:55 [ 69s] | [ 69s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:686:62 [ 69s] | [ 69s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:696:63 [ 69s] | [ 69s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:706:44 [ 69s] | [ 69s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:706:63 [ 69s] | [ 69s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:728:49 [ 69s] | [ 69s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:738:50 [ 69s] | [ 69s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:747:55 [ 69s] | [ 69s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:757:56 [ 69s] | [ 69s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:766:61 [ 69s] | [ 69s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:775:62 [ 69s] | [ 69s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:784:67 [ 69s] | [ 69s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:793:68 [ 69s] | [ 69s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:802:54 [ 69s] | [ 69s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 69s] | ^^^^^ [ 69s] [ 69s] 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 [ 69s] --> ./src/pkgmgr/server/util.rs:802:64 [ 69s] | [ 69s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:813:47 [ 69s] | [ 69s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:835:53 [ 69s] | [ 69s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:855:25 [ 69s] | [ 69s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:983:69 [ 69s] | [ 69s] 983 | pub fn get_application_info_by_appid(appid: *const c_char, uid: uid_t) -> Option<(CString, bool)> { [ 69s] | ^^^^^ [ 69s] [ 69s] 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 [ 69s] --> ./src/pkgmgr/server/util.rs:1012:41 [ 69s] | [ 69s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:1012:53 [ 69s] | [ 69s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:1029:71 [ 69s] | [ 69s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:1029:90 [ 69s] | [ 69s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:1076:56 [ 69s] | [ 69s] 1076 | pub fn update_app_label(appid: *const c_char, uid: uid_t, label: *const c_char) -> c_int { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:1080:55 [ 69s] | [ 69s] 1080 | pub fn update_app_icon(appid: *const c_char, uid: uid_t, icon_path: *const c_char) -> c_int { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:1108:49 [ 69s] | [ 69s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 69s] | ^^^^^ [ 69s] [ 69s] 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 [ 69s] --> ./src/pkgmgr/server/util.rs:1108:66 [ 69s] | [ 69s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:156:14 [ 69s] | [ 69s] 156 | uid: uid_t, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:166:14 [ 69s] | [ 69s] 166 | uid: uid_t, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:180:14 [ 69s] | [ 69s] 180 | uid: uid_t [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:185:14 [ 69s] | [ 69s] 185 | uid: uid_t [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:189:14 [ 69s] | [ 69s] 189 | uid: uid_t [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:194:14 [ 69s] | [ 69s] 194 | uid: uid_t, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:200:14 [ 69s] | [ 69s] 200 | uid: uid_t, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:206:14 [ 69s] | [ 69s] 206 | uid: uid_t, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:212:14 [ 69s] | [ 69s] 212 | uid: uid_t, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:218:14 [ 69s] | [ 69s] 218 | uid: uid_t, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:224:14 [ 69s] | [ 69s] 224 | uid: uid_t, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:237:32 [ 69s] | [ 69s] 237 | fn gum_user_get_sync(uid : uid_t, offline : c_int) -> *mut c_void; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:266:21 [ 69s] | [ 69s] 266 | caller_uid: uid_t [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:274:14 [ 69s] | [ 69s] 274 | uid: uid_t, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:40:30 [ 69s] | [ 69s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 69s] | ^^^^^ [ 69s] [ 69s] 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 [ 69s] --> ./src/pkgmgr/server/util.rs:40:37 [ 69s] | [ 69s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:46:18 [ 69s] | [ 69s] 46 | uid: uid_t, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:52:18 [ 69s] | [ 69s] 52 | uid: uid_t, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:67:18 [ 69s] | [ 69s] 67 | uid: uid_t, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:101:18 [ 69s] | [ 69s] 101 | uid: uid_t, [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:122:70 [ 69s] | [ 69s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:123:66 [ 69s] | [ 69s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:124:59 [ 69s] | [ 69s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/util.rs:125:97 [ 69s] | [ 69s] 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; [ 69s] | ^^^^^ [ 69s] [ 69s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 69s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 69s] | [ 69s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 69s] | ^^^^^ [ 69s] [ 69s] 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 [ 69s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 69s] | [ 69s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 69s] | ^^^^^ [ 69s] [ 71s] warning: unreachable expression [ 71s] --> ./src/pkgmgr/server/backend_queue.rs:64:5 [ 71s] | [ 71s] 61 | return G_SOURCE_CONTINUE; [ 71s] | ------------------------ any code following this expression is unreachable [ 71s] ... [ 71s] 64 | 1 [ 71s] | ^ unreachable expression [ 71s] | [ 71s] = note: `#[warn(unreachable_code)]` on by default [ 71s] [ 73s] warning: unused variable: `context` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:297:5 [ 73s] | [ 73s] 297 | context: *mut c_void, [ 73s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 73s] | [ 73s] = note: `#[warn(unused_variables)]` on by default [ 73s] [ 73s] warning: unused variable: `context` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:306:5 [ 73s] | [ 73s] 306 | context: *mut c_void, [ 73s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 73s] [ 73s] warning: unused variable: `user_data` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:307:5 [ 73s] | [ 73s] 307 | user_data: *mut c_void, [ 73s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 73s] [ 73s] warning: unused variable: `ret` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:323:9 [ 73s] | [ 73s] 323 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 73s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 73s] [ 73s] warning: unused variable: `req_id` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:318:5 [ 73s] | [ 73s] 318 | req_id: *const c_char, [ 73s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 73s] [ 73s] warning: variable does not need to be mutable [ 73s] --> ./src/pkgmgr/server/admin_service.rs:415:9 [ 73s] | [ 73s] 415 | let mut backend_context = BackendContext::new( [ 73s] | ----^^^^^^^^^^^^^^^ [ 73s] | | [ 73s] | help: remove this `mut` [ 73s] | [ 73s] = note: `#[warn(unused_mut)]` on by default [ 73s] [ 73s] warning: unused variable: `ret` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:444:9 [ 73s] | [ 73s] 444 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 73s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 73s] [ 73s] warning: unused variable: `req_id` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:434:5 [ 73s] | [ 73s] 434 | req_id: *const c_char, [ 73s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 73s] [ 73s] warning: variable does not need to be mutable [ 73s] --> ./src/pkgmgr/server/admin_service.rs:510:9 [ 73s] | [ 73s] 510 | let mut backend_context = BackendContext::new( [ 73s] | ----^^^^^^^^^^^^^^^ [ 73s] | | [ 73s] | help: remove this `mut` [ 73s] [ 73s] warning: unused variable: `ret` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:549:9 [ 73s] | [ 73s] 549 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 73s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 73s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/admin_service.rs:571:9 [ 74s] | [ 74s] 571 | let mut backend_context = BackendContext::new( [ 74s] | ----^^^^^^^^^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: unused variable: `ret` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:596:9 [ 74s] | [ 74s] 596 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 74s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 74s] [ 74s] warning: unused variable: `req_id` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:591:5 [ 74s] | [ 74s] 591 | req_id: *const c_char, [ 74s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 74s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/admin_service.rs:688:9 [ 74s] | [ 74s] 688 | let mut backend_context = BackendContext::new( [ 74s] | ----^^^^^^^^^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: unused variable: `ret` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:719:9 [ 74s] | [ 74s] 719 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 74s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 74s] [ 74s] warning: unused variable: `req_id` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:706:5 [ 74s] | [ 74s] 706 | req_id: *const c_char, [ 74s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 74s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/admin_service.rs:763:9 [ 74s] | [ 74s] 763 | let mut backend_context = BackendContext::new( [ 74s] | ----^^^^^^^^^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: unused variable: `ret` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:802:9 [ 74s] | [ 74s] 802 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 74s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 74s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/admin_service.rs:824:9 [ 74s] | [ 74s] 824 | let mut backend_context = BackendContext::new( [ 74s] | ----^^^^^^^^^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: unused variable: `ret` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:854:9 [ 74s] | [ 74s] 854 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 74s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 74s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/admin_service.rs:898:9 [ 74s] | [ 74s] 898 | let mut backend_context = BackendContext::new( [ 74s] | ----^^^^^^^^^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: unused variable: `ret` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:938:9 [ 74s] | [ 74s] 938 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 74s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 74s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/admin_service.rs:961:9 [ 74s] | [ 74s] 961 | let mut backend_context = BackendContext::new( [ 74s] | ----^^^^^^^^^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: unused variable: `ret` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:991:9 [ 74s] | [ 74s] 991 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 74s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 74s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1038:17 [ 74s] | [ 74s] 1038 | let mut backend_context = BackendContext::new( [ 74s] | ----^^^^^^^^^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: unused variable: `ret` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1073:9 [ 74s] | [ 74s] 1073 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 74s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 74s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1123:17 [ 74s] | [ 74s] 1123 | let mut backend_context = BackendContext::new( [ 74s] | ----^^^^^^^^^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: unused variable: `pkg_id` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1186:9 [ 74s] | [ 74s] 1186 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) }); [ 74s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 74s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1180:9 [ 74s] | [ 74s] 1180 | let mut handle : *mut c_void = Util::CreatePkgUpdateInfo(pkg_id, version, update_type); [ 74s] | ----^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1190:9 [ 74s] | [ 74s] 1190 | let mut backend_context = BackendContext::new( [ 74s] | ----^^^^^^^^^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1248:9 [ 74s] | [ 74s] 1248 | let mut backend_context = BackendContext::new( [ 74s] | ----^^^^^^^^^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1297:9 [ 74s] | [ 74s] 1297 | let mut backend_context = BackendContext::new( [ 74s] | ----^^^^^^^^^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: unused variable: `is_global` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1321:17 [ 74s] | [ 74s] 1321 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 74s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 74s] [ 74s] warning: unused variable: `is_global` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1368:17 [ 74s] | [ 74s] 1368 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 74s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 74s] [ 74s] warning: unused variable: `is_global` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1424:17 [ 74s] | [ 74s] 1424 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 74s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 74s] [ 74s] warning: unused variable: `is_global` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1472:17 [ 74s] | [ 74s] 1472 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 74s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 74s] [ 74s] warning: unused variable: `caller_uid` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1535:13 [ 74s] | [ 74s] 1535 | let mut caller_uid: uid_t = 0; [ 74s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 74s] [ 74s] warning: unused variable: `context` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1521:5 [ 74s] | [ 74s] 1521 | context: *mut c_void, [ 74s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 74s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1535:9 [ 74s] | [ 74s] 1535 | let mut caller_uid: uid_t = 0; [ 74s] | ----^^^^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1558:13 [ 74s] | [ 74s] 1558 | let mut backend_context = BackendContext::new( [ 74s] | ----^^^^^^^^^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: unused variable: `caller_uid` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1588:13 [ 74s] | [ 74s] 1588 | let mut caller_uid: uid_t = 0; [ 74s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 74s] [ 74s] warning: unused variable: `context` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1574:5 [ 74s] | [ 74s] 1574 | context: *mut c_void, [ 74s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 74s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1588:9 [ 74s] | [ 74s] 1588 | let mut caller_uid: uid_t = 0; [ 74s] | ----^^^^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1611:13 [ 74s] | [ 74s] 1611 | let mut backend_context = BackendContext::new( [ 74s] | ----^^^^^^^^^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: unused variable: `context` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1627:5 [ 74s] | [ 74s] 1627 | context: *mut c_void, [ 74s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 74s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1669:17 [ 74s] | [ 74s] 1669 | let mut backend_context = BackendContext::new( [ 74s] | ----^^^^^^^^^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: unused variable: `context` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1689:5 [ 74s] | [ 74s] 1689 | context: *mut c_void, [ 74s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 74s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1731:17 [ 74s] | [ 74s] 1731 | let mut backend_context = BackendContext::new( [ 74s] | ----^^^^^^^^^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: unused variable: `caller_uid` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1765:13 [ 74s] | [ 74s] 1765 | let mut caller_uid: uid_t = 0; [ 74s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 74s] [ 74s] warning: unused variable: `context` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1751:5 [ 74s] | [ 74s] 1751 | context: *mut c_void, [ 74s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 74s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1765:9 [ 74s] | [ 74s] 1765 | let mut caller_uid: uid_t = 0; [ 74s] | ----^^^^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1788:13 [ 74s] | [ 74s] 1788 | let mut backend_context = BackendContext::new( [ 74s] | ----^^^^^^^^^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: unused variable: `caller_uid` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1818:13 [ 74s] | [ 74s] 1818 | let mut caller_uid: uid_t = 0; [ 74s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 74s] [ 74s] warning: unused variable: `context` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1804:5 [ 74s] | [ 74s] 1804 | context: *mut c_void, [ 74s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 74s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1818:9 [ 74s] | [ 74s] 1818 | let mut caller_uid: uid_t = 0; [ 74s] | ----^^^^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1841:13 [ 74s] | [ 74s] 1841 | let mut backend_context = BackendContext::new( [ 74s] | ----^^^^^^^^^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: unused variable: `context` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1857:5 [ 74s] | [ 74s] 1857 | context: *mut c_void, [ 74s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 74s] [ 74s] warning: unused variable: `pid` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1860:5 [ 74s] | [ 74s] 1860 | pid: *mut c_int, [ 74s] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [ 74s] [ 74s] warning: unused variable: `user_data` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1861:5 [ 74s] | [ 74s] 1861 | user_data: *mut c_void, [ 74s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 74s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1900:9 [ 74s] | [ 74s] 1900 | let mut backend_context = BackendContext::new( [ 74s] | ----^^^^^^^^^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: unused variable: `context` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:1932:5 [ 74s] | [ 74s] 1932 | context: *mut c_void, [ 74s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 74s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/admin_service.rs:2012:9 [ 74s] | [ 74s] 2012 | let mut backend_context = BackendContext::new( [ 74s] | ----^^^^^^^^^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/admin_service.rs:2063:9 [ 74s] | [ 74s] 2063 | let mut backend_context = BackendContext::new( [ 74s] | ----^^^^^^^^^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: unused variable: `context` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:2078:5 [ 74s] | [ 74s] 2078 | context: *mut c_void, [ 74s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 74s] [ 74s] warning: unused variable: `user_data` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:2081:5 [ 74s] | [ 74s] 2081 | user_data: *mut c_void, [ 74s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 74s] [ 74s] warning: unused variable: `context` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:2088:5 [ 74s] | [ 74s] 2088 | context: *mut c_void, [ 74s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 74s] [ 74s] warning: unused variable: `user_data` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:2091:5 [ 74s] | [ 74s] 2091 | user_data: *mut c_void, [ 74s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 74s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/admin_service.rs:2133:9 [ 74s] | [ 74s] 2133 | let mut backend_context = BackendContext::new( [ 74s] | ----^^^^^^^^^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/admin_service.rs:2183:9 [ 74s] | [ 74s] 2183 | let mut backend_context = BackendContext::new( [ 74s] | ----^^^^^^^^^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: unused variable: `context` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:2198:5 [ 74s] | [ 74s] 2198 | context: *mut c_void, [ 74s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 74s] [ 74s] warning: unused variable: `uid` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:2199:5 [ 74s] | [ 74s] 2199 | uid: c_int, [ 74s] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [ 74s] [ 74s] warning: unused variable: `pkg_id` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:2200:5 [ 74s] | [ 74s] 2200 | pkg_id: *const c_char, [ 74s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 74s] [ 74s] warning: unused variable: `user_data` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:2201:5 [ 74s] | [ 74s] 2201 | user_data: *mut c_void, [ 74s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 74s] [ 75s] warning: variable does not need to be mutable [ 75s] --> ./src/pkgmgr/server/admin_service.rs:2364:9 [ 75s] | [ 75s] 2364 | let mut backend_context = BackendContext::new( [ 75s] | ----^^^^^^^^^^^^^^^ [ 75s] | | [ 75s] | help: remove this `mut` [ 75s] [ 75s] warning: variable does not need to be mutable [ 75s] --> ./src/pkgmgr/server/admin_service.rs:2434:9 [ 75s] | [ 75s] 2434 | let mut backend_context = BackendContext::new( [ 75s] | ----^^^^^^^^^^^^^^^ [ 75s] | | [ 75s] | help: remove this `mut` [ 75s] [ 75s] warning: variable does not need to be mutable [ 75s] --> ./src/pkgmgr/server/admin_service.rs:2504:9 [ 75s] | [ 75s] 2504 | let mut backend_context = BackendContext::new( [ 75s] | ----^^^^^^^^^^^^^^^ [ 75s] | | [ 75s] | help: remove this `mut` [ 75s] [ 75s] warning: unused variable: `ret` [ 75s] --> ./src/pkgmgr/server/admin_service.rs:2533:9 [ 75s] | [ 75s] 2533 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 75s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 75s] [ 75s] warning: variable does not need to be mutable [ 75s] --> ./src/pkgmgr/server/admin_service.rs:2552:9 [ 75s] | [ 75s] 2552 | let mut backend_context = BackendContext::new( [ 75s] | ----^^^^^^^^^^^^^^^ [ 75s] | | [ 75s] | help: remove this `mut` [ 75s] [ 75s] warning: unused variable: `context` [ 75s] --> ./src/pkgmgr/server/admin_service.rs:2567:5 [ 75s] | [ 75s] 2567 | context: *mut c_void, [ 75s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 75s] [ 75s] warning: variable does not need to be mutable [ 75s] --> ./src/pkgmgr/server/admin_service.rs:2597:9 [ 75s] | [ 75s] 2597 | let mut backend_context = BackendContext::new( [ 75s] | ----^^^^^^^^^^^^^^^ [ 75s] | | [ 75s] | help: remove this `mut` [ 75s] [ 75s] warning: unused variable: `context` [ 75s] --> ./src/pkgmgr/server/admin_service.rs:2612:5 [ 75s] | [ 75s] 2612 | context: *mut c_void, [ 75s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 75s] [ 75s] warning: variable does not need to be mutable [ 75s] --> ./src/pkgmgr/server/admin_service.rs:2656:9 [ 75s] | [ 75s] 2656 | let mut backend_context = BackendContext::new( [ 75s] | ----^^^^^^^^^^^^^^^ [ 75s] | | [ 75s] | help: remove this `mut` [ 75s] [ 75s] warning: unused variable: `status` [ 75s] --> ./src/pkgmgr/server/backend_queue.rs:38:17 [ 75s] | [ 75s] 38 | let mut status: c_int; [ 75s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [ 75s] [ 75s] warning: unused variable: `io` [ 75s] --> ./src/pkgmgr/server/backend_queue.rs:30:33 [ 75s] | [ 75s] 30 | extern "C" fn signal_handler_cb(io: *mut glib_sys::GIOChannel, [ 75s] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [ 75s] [ 75s] warning: unused variable: `cond` [ 75s] --> ./src/pkgmgr/server/backend_queue.rs:31:9 [ 75s] | [ 75s] 31 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 75s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 75s] [ 75s] warning: variable does not need to be mutable [ 75s] --> ./src/pkgmgr/server/backend_queue.rs:71:9 [ 75s] | [ 75s] 71 | let mut mut_queue = queue.borrow_mut(); [ 75s] | ----^^^^^^^^^ [ 75s] | | [ 75s] | help: remove this `mut` [ 75s] [ 75s] warning: variable does not need to be mutable [ 75s] --> ./src/pkgmgr/server/backend_queue.rs:189:28 [ 75s] | [ 75s] 189 | pub fn push(&mut self, mut context: BackendContext) -> i32 { [ 75s] | ----^^^^^^^ [ 75s] | | [ 75s] | help: remove this `mut` [ 75s] [ 75s] warning: unused variable: `req_key` [ 75s] --> ./src/pkgmgr/server/backend_queue.rs:296:41 [ 75s] | [ 75s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 75s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_key` [ 75s] [ 75s] warning: unused variable: `ret` [ 75s] --> ./src/pkgmgr/server/backend_queue.rs:296:50 [ 75s] | [ 75s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 75s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 75s] [ 75s] warning: unused variable: `s` [ 75s] --> ./src/pkgmgr/server/backend_queue.rs:296:55 [ 75s] | [ 75s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 75s] | ^ help: if this is intentional, prefix it with an underscore: `_s` [ 75s] [ 75s] warning: variable does not need to be mutable [ 75s] --> ./src/pkgmgr/server/backend_queue.rs:278:25 [ 75s] | [ 75s] 278 | let mut backend: &mut Backend = backend.unwrap(); [ 75s] | ----^^^^^^^ [ 75s] | | [ 75s] | help: remove this `mut` [ 75s] [ 75s] warning: unused variable: `context` [ 75s] --> ./src/pkgmgr/server/cache_service.rs:31:5 [ 75s] | [ 75s] 31 | context: *mut c_void, [ 75s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 75s] [ 75s] warning: unused variable: `context` [ 75s] --> ./src/pkgmgr/server/cache_service.rs:40:5 [ 75s] | [ 75s] 40 | context: *mut c_void, [ 75s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 75s] [ 75s] warning: unused variable: `user_data` [ 75s] --> ./src/pkgmgr/server/cache_service.rs:41:5 [ 75s] | [ 75s] 41 | user_data: *mut c_void, [ 75s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 75s] [ 75s] warning: unused variable: `ret` [ 75s] --> ./src/pkgmgr/server/cache_service.rs:54:9 [ 75s] | [ 75s] 54 | let ret = unsafe { rpc_port_stub_PkgMgrForClearCache_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 75s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 75s] [ 75s] warning: value assigned to `pkg_type` is never read [ 75s] --> ./src/pkgmgr/server/cache_service.rs:63:13 [ 75s] | [ 75s] 63 | let mut pkg_type: String = String::new(); [ 75s] | ^^^^^^^^ [ 75s] | [ 75s] = help: maybe it is overwritten before being read? [ 75s] = note: `#[warn(unused_assignments)]` on by default [ 75s] [ 75s] warning: variable does not need to be mutable [ 75s] --> ./src/pkgmgr/server/cache_service.rs:83:9 [ 75s] | [ 75s] 83 | let mut backend_context = BackendContext::new( [ 75s] | ----^^^^^^^^^^^^^^^ [ 75s] | | [ 75s] | help: remove this `mut` [ 75s] [ 75s] warning: unused variable: `context` [ 75s] --> ./src/pkgmgr/server/delayed_service.rs:32:5 [ 75s] | [ 75s] 32 | context: *mut c_void, [ 75s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 75s] [ 75s] warning: unused variable: `context` [ 75s] --> ./src/pkgmgr/server/delayed_service.rs:41:5 [ 75s] | [ 75s] 41 | context: *mut c_void, [ 75s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 75s] [ 75s] warning: unused variable: `user_data` [ 75s] --> ./src/pkgmgr/server/delayed_service.rs:42:5 [ 75s] | [ 75s] 42 | user_data: *mut c_void, [ 75s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 75s] [ 75s] warning: unused variable: `context` [ 75s] --> ./src/pkgmgr/server/delayed_service.rs:48:5 [ 75s] | [ 75s] 48 | context: *mut c_void, [ 75s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 75s] [ 75s] warning: unused variable: `context` [ 75s] --> ./src/pkgmgr/server/info_service.rs:43:55 [ 75s] | [ 75s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 75s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 75s] [ 75s] warning: unused variable: `context` [ 75s] --> ./src/pkgmgr/server/info_service.rs:48:58 [ 75s] | [ 75s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 75s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 75s] [ 75s] warning: unused variable: `user_data` [ 75s] --> ./src/pkgmgr/server/info_service.rs:48:80 [ 75s] | [ 75s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 75s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 75s] [ 75s] warning: variable does not need to be mutable [ 75s] --> ./src/pkgmgr/server/info_service.rs:98:9 [ 75s] | [ 75s] 98 | let mut backend_context = BackendContext::new( [ 75s] | ----^^^^^^^^^^^^^^^ [ 75s] | | [ 75s] | help: remove this `mut` [ 75s] [ 76s] warning: variable does not need to be mutable [ 76s] --> ./src/pkgmgr/server/info_service.rs:160:9 [ 76s] | [ 76s] 160 | let mut backend_context = BackendContext::new( [ 76s] | ----^^^^^^^^^^^^^^^ [ 76s] | | [ 76s] | help: remove this `mut` [ 76s] [ 76s] warning: unused variable: `context` [ 76s] --> ./src/pkgmgr/server/info_service.rs:195:5 [ 76s] | [ 76s] 195 | context: *mut c_void, [ 76s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 76s] [ 76s] warning: unused variable: `context` [ 76s] --> ./src/pkgmgr/server/info_service.rs:222:5 [ 76s] | [ 76s] 222 | context: *mut c_void, [ 76s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 76s] [ 76s] warning: unused variable: `user_data` [ 76s] --> ./src/pkgmgr/server/info_service.rs:226:5 [ 76s] | [ 76s] 226 | user_data: *mut c_void [ 76s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 76s] [ 76s] warning: variable does not need to be mutable [ 76s] --> ./src/pkgmgr/server/signal.rs:144:13 [ 76s] | [ 76s] 144 | let mut c_req_type: c_int; [ 76s] | ----^^^^^^^^^^ [ 76s] | | [ 76s] | help: remove this `mut` [ 76s] [ 76s] warning: value assigned to `size_result` is never read [ 76s] --> ./src/pkgmgr/server/util.rs:351:17 [ 76s] | [ 76s] 351 | let mut size_result: i64 = -1; [ 76s] | ^^^^^^^^^^^ [ 76s] | [ 76s] = help: maybe it is overwritten before being read? [ 76s] [ 76s] warning: unused variable: `cond` [ 76s] --> ./src/pkgmgr/server/util.rs:341:9 [ 76s] | [ 76s] 341 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 76s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 76s] [ 76s] warning: value assigned to `ret` is never read [ 76s] --> ./src/pkgmgr/server/util.rs:425:21 [ 76s] | [ 76s] 425 | let mut ret: c_int = 0; [ 76s] | ^^^ [ 76s] | [ 76s] = help: maybe it is overwritten before being read? [ 76s] [ 76s] warning: unreachable pattern [ 76s] --> ./src/pkgmgr/server/util.rs:478:17 [ 76s] | [ 76s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 76s] | -------------------------------------- matches any value [ 76s] ... [ 76s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 76s] | [ 76s] = note: `#[warn(unreachable_patterns)]` on by default [ 76s] [ 76s] warning: unreachable pattern [ 76s] --> ./src/pkgmgr/server/util.rs:483:17 [ 76s] | [ 76s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 76s] | -------------------------------------- matches any value [ 76s] ... [ 76s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 76s] [ 76s] warning: unreachable pattern [ 76s] --> ./src/pkgmgr/server/util.rs:488:17 [ 76s] | [ 76s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 76s] | -------------------------------------- matches any value [ 76s] ... [ 76s] 488 | _ => { [ 76s] | ^ unreachable pattern [ 76s] [ 76s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 76s] --> ./src/pkgmgr/server/util.rs:473:17 [ 76s] | [ 76s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 76s] [ 76s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_TEXT` [ 76s] --> ./src/pkgmgr/server/util.rs:478:17 [ 76s] | [ 76s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_TEXT` [ 76s] [ 76s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 76s] --> ./src/pkgmgr/server/util.rs:483:17 [ 76s] | [ 76s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 76s] [ 76s] warning: variable does not need to be mutable [ 76s] --> ./src/pkgmgr/server/util.rs:519:13 [ 76s] | [ 76s] 519 | let mut attr = xmlTextReaderGetAttribute(reader, RES_TYPE_ATTRIBUTE_KEY.as_ptr()); [ 76s] | ----^^^^ [ 76s] | | [ 76s] | help: remove this `mut` [ 76s] [ 76s] warning: variable does not need to be mutable [ 76s] --> ./src/pkgmgr/server/util.rs:588:13 [ 76s] | [ 76s] 588 | let mut reader = [ 76s] | ----^^^^^^ [ 76s] | | [ 76s] | help: remove this `mut` [ 76s] [ 76s] warning: unused variable: `gid` [ 76s] --> ./src/pkgmgr/server/util.rs:891:52 [ 76s] | [ 76s] 891 | fn set_environment(mut envs: Vec<&mut String>, gid: libc::gid_t) -> bool { [ 76s] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [ 76s] [ 76s] warning: variable does not need to be mutable [ 76s] --> ./src/pkgmgr/server/mod.rs:89:13 [ 76s] | [ 76s] 89 | let mut backend_queue = BackendQueue::new(self.mainloop); [ 76s] | ----^^^^^^^^^^^^^ [ 76s] | | [ 76s] | help: remove this `mut` [ 76s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/server/admin_service.rs:995:32 [ 77s] | [ 77s] 993 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] 994 | match CString::new(generated_req_key.clone()) { [ 77s] 995 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] = note: `#[warn(unused_unsafe)]` on by default [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/admin_service.rs:993:5 [ 77s] | [ 77s] 993 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 997 | error!("Fail to generate req key, err({:?})", e); [ 77s] | ------------------------------------------------ in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1023:46 [ 77s] | [ 77s] 993 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 1023 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1077:32 [ 77s] | [ 77s] 1075 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] 1076 | match CString::new(generated_req_key.clone()) { [ 77s] 1077 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 77s] | [ 77s] 1075 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 1079 | error!("Fail to generate req key, err({:?})", e); [ 77s] | ------------------------------------------------ in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 77s] | [ 77s] 1075 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 1106 | debug!("push disable pkg {pkg_id}"); [ 77s] | ----------------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1108:46 [ 77s] | [ 77s] 1075 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 1108 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1537:5 [ 77s] | [ 77s] 1537 | unsafe { [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1590:5 [ 77s] | [ 77s] 1590 | unsafe { [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1643:32 [ 77s] | [ 77s] 1641 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] 1642 | match CString::new(generated_req_key.clone()) { [ 77s] 1643 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/admin_service.rs:1641:5 [ 77s] | [ 77s] 1641 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 1645 | error!("Fail to generate req key, err({:?})", e); [ 77s] | ------------------------------------------------ in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1657:42 [ 77s] | [ 77s] 1641 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 1657 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1705:32 [ 77s] | [ 77s] 1703 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] 1704 | match CString::new(generated_req_key.clone()) { [ 77s] 1705 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/admin_service.rs:1703:5 [ 77s] | [ 77s] 1703 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 1707 | error!("Fail to generate req key, err({:?})", e); [ 77s] | ------------------------------------------------ in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1719:42 [ 77s] | [ 77s] 1703 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 1719 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1767:5 [ 77s] | [ 77s] 1767 | unsafe { [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1820:5 [ 77s] | [ 77s] 1820 | unsafe { [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2296:17 [ 77s] | [ 77s] 2294 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] 2295 | if !(*value.offset(i as isize)).is_null() { [ 77s] 2296 | unsafe { free(*value.offset(i as isize) as *mut _) }; [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/admin_service.rs:2793:9 [ 77s] | [ 77s] 2793 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] 2794 | let ret = rpc_port_stub_PkgMgrAdmin_register(&mut self.callbacks, self as *mut _ as *mut c_void); [ 77s] 2795 | debug!("admin service start : {ret}"); [ 77s] | ------------------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/admin_service.rs:2801:9 [ 77s] | [ 77s] 2801 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] 2802 | let ret = rpc_port_stub_PkgMgrAdmin_unregister(); [ 77s] 2803 | debug!("ret : {ret}"); [ 77s] | --------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 77s] | [ 77s] 204 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 210 | error!("sigprocmask failed"); [ 77s] | ---------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 77s] | [ 77s] 204 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 216 | error!("signalfd failed"); [ 77s] | ------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/cache_service.rs:134:9 [ 77s] | [ 77s] 134 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 139 | debug!("cache service start : {ret}"); [ 77s] | ------------------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/cache_service.rs:145:9 [ 77s] | [ 77s] 145 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] 146 | let ret = rpc_port_stub_PkgMgrForClearCache_unregister(); [ 77s] 147 | debug!("ret : {ret}"); [ 77s] | --------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/delayed_service.rs:107:9 [ 77s] | [ 77s] 107 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 112 | debug!("delayed result service start : {ret}"); [ 77s] | ---------------------------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/delayed_service.rs:118:9 [ 77s] | [ 77s] 118 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] 119 | let ret = rpc_port_stub_DelayedResult_unregister(); [ 77s] 120 | debug!("ret : {ret}"); [ 77s] | --------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/info_service.rs:165:13 [ 77s] | [ 77s] 165 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] 166 | if mkfifo(fifo_path.as_ptr() as *const c_char, 0o600) < 0 { [ 77s] 167 | error!("Failed to mkfifo"); [ 77s] | -------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/info_service.rs:268:9 [ 77s] | [ 77s] 268 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 273 | debug!("info service start : {ret}"); [ 77s] | ------------------------------------ in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/info_service.rs:279:9 [ 77s] | [ 77s] 279 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] 280 | let ret = rpc_port_stub_PkgMgr_unregister(); [ 77s] 281 | debug!("ret : {ret}"); [ 77s] | --------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 77s] | [ 77s] 131 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 134 | error!("Failure in creating the pkgmgr_installer object"); [ 77s] | --------------------------------------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 77s] | [ 77s] 131 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 139 | error!("pkgmgr_installer_set_uid fail"); [ 77s] | --------------------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 77s] | [ 77s] 131 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 154 | warn!("Unsupported req_type[{}]", req_type as c_int); [ 77s] | ---------------------------------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 77s] | [ 77s] 131 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 161 | error!("pkgmgr_installer_set_request_type fail"); [ 77s] | ------------------------------------------------ in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 77s] | [ 77s] 131 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 168 | error!("pkgmgr_installer_set_session_id fail : {:?}", c_req_id); [ 77s] | --------------------------------------------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 77s] | [ 77s] 309 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] 310 | if pkgmgrinfo_appinfo_get_appid(pkgmgrinfo_appinfo_h, &mut app_id) != 0 { [ 77s] 311 | error!("Failed get appid"); [ 77s] | -------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 77s] | [ 77s] 309 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 314 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 77s] | --------------------------------------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/server/util.rs:326:46 [ 77s] | [ 77s] 325 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 77s] | [ 77s] 325 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 329 | error!("Failed get appid"); [ 77s] | -------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 77s] | [ 77s] 325 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 333 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 77s] | --------------------------------------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 77s] | [ 77s] 342 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 355 | error!("getsize fd read failed: {:?}", Util::c_char_to_cstr((*err).message)); [ 77s] | ---------------------------------------------------------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 77s] | [ 77s] 342 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 361 | error!("empty result"); [ 77s] | ---------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 77s] | [ 77s] 390 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 399 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 77s] | --------------------------------------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 77s] | [ 77s] 390 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 406 | error!("Fail to get is readonly"); [ 77s] | --------------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 77s] | [ 77s] 422 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 429 | error!("Not found package"); [ 77s] | --------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 77s] | [ 77s] 422 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 445 | debug!("pkgtype - {ret_string}"); [ 77s] | -------------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:803:9 [ 77s] | [ 77s] 803 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] 804 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 77s] 805 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 77s] | ------------------------------------------------------ in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 77s] | [ 77s] 814 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] 815 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 77s] 816 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 77s] | ------------------------------------------------------ in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 77s] | [ 77s] 814 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 822 | error!("Failed to get pid of app{:?}", CStr::from_ptr(appid)); [ 77s] | ------------------------------------------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 77s] | [ 77s] 814 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 828 | error!("Failed to terminate app{:?}", CStr::from_ptr(appid)); [ 77s] | ------------------------------------------------------------ in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 77s] | [ 77s] 836 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 840 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 77s] | --------------------------------------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 77s] | [ 77s] 836 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 848 | error!("Failed to get list for {:?}", CStr::from_ptr(pkgid)); [ 77s] | ------------------------------------------------------------ in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 77s] | [ 77s] 859 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 863 | warn!("cannot get user information from gumd, retry"); [ 77s] | ----------------------------------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 77s] | [ 77s] 859 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 871 | error!("cannot get user information from gumd, failed"); [ 77s] | ------------------------------------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 77s] | [ 77s] 859 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 877 | error!("cannot get user type"); [ 77s] | ------------------------------ in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 77s] | [ 77s] 892 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 895 | error!("Failed to get the number of supplementary group IDs"); [ 77s] | ------------------------------------------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 77s] | [ 77s] 892 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 901 | error!("Failed to get list of supplementary group IDs"); [ 77s] | ------------------------------------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 77s] | [ 77s] 892 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 908 | error!("setgroups failed: {}", *__errno_location()); [ 77s] | --------------------------------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 77s] | [ 77s] 928 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 942 | error!("getpwuid_r fail"); [ 77s] | ------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 77s] | [ 77s] 928 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 949 | error!("Fail to get str, err({:?})", e); [ 77s] | --------------------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 77s] | [ 77s] 928 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 957 | error!("Fail to get str, err({:?})", e); [ 77s] | --------------------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 77s] | [ 77s] 928 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 966 | error!("Failed to set env for the user : {}", APPFW_UID); [ 77s] | -------------------------------------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 77s] | [ 77s] 984 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 987 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 77s] | ----------------------------------------------------------------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 77s] | [ 77s] 984 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 993 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 77s] | ---------------------------------------------------------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 77s] | [ 77s] 984 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 1000 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 77s] | ---------------------------------------------------------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/server/util.rs:1005:40 [ 77s] | [ 77s] 984 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 1005 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) } ); [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 77s] | [ 77s] 1081 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 1084 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 77s] | ----------------------------------------------------------------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 77s] | [ 77s] 1081 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 1090 | error!("Failed get root path for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 77s] | --------------------------------------------------------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 77s] | [ 77s] 1081 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 1098 | error!("Invalid path[{:?}]", Self::c_char_to_cstr(icon_path)); [ 77s] | ------------------------------------------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:1109:9 [ 77s] | [ 77s] 1109 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 1119 | error!("Fail to get list for {:?}", CStr::from_ptr(pkgid)); [ 77s] | ---------------------------------------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 77s] | [ 77s] 1129 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 1132 | error!("failed to open the fifo({}), errno({})", fifo_path, *__errno_location()); [ 77s] | -------------------------------------------------------------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 77s] warning: unnecessary `unsafe` block [ 77s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 77s] | [ 77s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 77s] | ^^^^^^ unnecessary `unsafe` block [ 77s] | [ 77s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 77s] | [ 77s] 1129 | unsafe { [ 77s] | ------ because it's nested under this `unsafe` block [ 77s] ... [ 77s] 1155 | error!("failed to add io watch"); [ 77s] | -------------------------------- in this macro invocation [ 77s] | [ 77s] = 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) [ 77s] [ 78s] warning: constant `SD_LISTEN_FDS_START` is never used [ 78s] --> ./src/pkgmgr/server/mod.rs:28:7 [ 78s] | [ 78s] 28 | const SD_LISTEN_FDS_START: i32 = 3; [ 78s] | ^^^^^^^^^^^^^^^^^^^ [ 78s] | [ 78s] = note: `#[warn(dead_code)]` on by default [ 78s] [ 78s] warning: multiple variants are never constructed [ 78s] --> ./src/pkgmgr/server/mod.rs:43:5 [ 78s] | [ 78s] 42 | enum AUL_RETURN_VALUE { [ 78s] | ---------------- variants in this enum [ 78s] 43 | AUL_R_ENOMEM = -16, //< Out of memory (Since 5.5) [ 78s] | ^^^^^^^^^^^^ [ 78s] 44 | AUL_R_ENOENT = -15, //< App directory entry error [ 78s] | ^^^^^^^^^^^^ [ 78s] 45 | AUL_R_EREJECTED = -14, //< App disable for mode [ 78s] | ^^^^^^^^^^^^^^^ [ 78s] 46 | AUL_R_ENOAPP = -13, //< Failed to find app ID or pkg ID [ 78s] | ^^^^^^^^^^^^ [ 78s] 47 | AUL_R_EHIDDENFORGUEST = -11, //< App hidden for guest mode [ 78s] | ^^^^^^^^^^^^^^^^^^^^^ [ 78s] 48 | AUL_R_ENOLAUNCHPAD = -10, //< no launchpad [ 78s] | ^^^^^^^^^^^^^^^^^^ [ 78s] 49 | AUL_R_ETERMINATING = -9, //< application terminating [ 78s] | ^^^^^^^^^^^^^^^^^^ [ 78s] 50 | AUL_R_EILLACC = -8, //< Illegal Access [ 78s] | ^^^^^^^^^^^^^ [ 78s] 51 | AUL_R_LOCAL = -7, //< Launch by himself [ 78s] | ^^^^^^^^^^^ [ 78s] 52 | AUL_R_ETIMEOUT = -6, //< Timeout [ 78s] | ^^^^^^^^^^^^^^ [ 78s] 53 | AUL_R_ECANCELED = -5, //< Operation canceled [ 78s] | ^^^^^^^^^^^^^^^ [ 78s] 54 | AUL_R_EINVAL = -4, //< Invalid argument [ 78s] | ^^^^^^^^^^^^ [ 78s] 55 | AUL_R_ECOMM = -3, //< Comunication Error [ 78s] | ^^^^^^^^^^^ [ 78s] 56 | AUL_R_ENOINIT = -2, //< AUL handler NOT initialized [ 78s] | ^^^^^^^^^^^^^ [ 78s] 57 | AUL_R_ERROR = -1, //< General error [ 78s] | ^^^^^^^^^^^ [ 78s] [ 78s] warning: field `timer` is never read [ 78s] --> ./src/pkgmgr/server/mod.rs:63:5 [ 78s] | [ 78s] 61 | pub struct Server { [ 78s] | ------ field in this struct [ 78s] 62 | mainloop: *mut GMainLoop, [ 78s] 63 | timer: c_uint [ 78s] | ^^^^^ [ 78s] [ 78s] warning: variants `IO_ERROR`, `OUT_OF_MEMORY`, `INVALID_PARAMETER`, and `PERMISSION_DENIED` are never constructed [ 78s] --> ./src/pkgmgr/server/admin_service.rs:29:5 [ 78s] | [ 78s] 27 | enum RPC_PORT_ERROR { [ 78s] | -------------- variants in this enum [ 78s] 28 | NONE = 0, //< Successful [ 78s] 29 | IO_ERROR = -5, //< Internal I/O error [ 78s] | ^^^^^^^^ [ 78s] 30 | OUT_OF_MEMORY = -12, //< Out of memory [ 78s] | ^^^^^^^^^^^^^ [ 78s] 31 | INVALID_PARAMETER = -22, //< Invalid parameter [ 78s] | ^^^^^^^^^^^^^^^^^ [ 78s] 32 | PERMISSION_DENIED = -13, //< Permission denied [ 78s] | ^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: method `generate_request_id` is never used [ 78s] --> ./src/pkgmgr/server/admin_service.rs:2786:8 [ 78s] | [ 78s] 2713 | impl AdminService { [ 78s] | ----------------- method in this implementation [ 78s] ... [ 78s] 2786 | fn generate_request_id(&self) -> String { [ 78s] | ^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: field `request_type` is never read [ 78s] --> ./src/pkgmgr/server/backend_context.rs:7:5 [ 78s] | [ 78s] 6 | pub struct BackendContext { [ 78s] | -------------- field in this struct [ 78s] 7 | request_type: RequestType, [ 78s] | ^^^^^^^^^^^^ [ 78s] [ 78s] warning: type alias `GIOChannel` is never used [ 78s] --> ./src/pkgmgr/server/backend_queue.rs:14:6 [ 78s] | [ 78s] 14 | type GIOChannel = *mut c_void; [ 78s] | ^^^^^^^^^^ [ 78s] [ 78s] warning: type alias `GIOCondition` is never used [ 78s] --> ./src/pkgmgr/server/backend_queue.rs:15:6 [ 78s] | [ 78s] 15 | type GIOCondition = c_int; [ 78s] | ^^^^^^^^^^^^ [ 78s] [ 78s] warning: variants `EIO`, `ENOPKG`, `EPRIV`, `ETIMEOUT`, `EINVAL`, and `ECOMM` are never constructed [ 78s] --> ./src/pkgmgr/server/info_service.rs:22:5 [ 78s] | [ 78s] 20 | enum PKGMGR_RETURN_VALUE { [ 78s] | ------------------- variants in this enum [ 78s] 21 | ESYSTEM = -9, // Severe system error [ 78s] 22 | EIO = -8, // IO error [ 78s] | ^^^ [ 78s] 23 | ENOMEM = -7, // Out of memory [ 78s] 24 | ENOPKG = -6, // No such package [ 78s] | ^^^^^^ [ 78s] 25 | EPRIV = -5, // Privilege denied [ 78s] | ^^^^^ [ 78s] 26 | ETIMEOUT = -4, // Timeout [ 78s] | ^^^^^^^^ [ 78s] 27 | EINVAL = -3, // Invalid argument [ 78s] | ^^^^^^ [ 78s] 28 | ECOMM = -2, // Comunication Error [ 78s] | ^^^^^ [ 78s] [ 78s] warning: variants `EPRIV` and `ETIMEOUT` are never constructed [ 78s] --> ./src/pkgmgr/server/pkgmgr_return_value.rs:8:5 [ 78s] | [ 78s] 3 | pub enum PKGMGR_RETURN_VALUE { [ 78s] | ------------------- variants in this enum [ 78s] ... [ 78s] 8 | EPRIV = -5, // Privilege denied [ 78s] | ^^^^^ [ 78s] 9 | ETIMEOUT = -4, // Timeout [ 78s] | ^^^^^^^^ [ 78s] [ 78s] warning: variants `KILL`, `CHECK`, `ENABLE_APP_SPLASH_SCREEN`, `DISABLE_APP_SPLASH_SCREEN`, and `MIGRATE_EXTERNAL_IMAGE` are never constructed [ 78s] --> ./src/pkgmgr/server/request_type.rs:20:5 [ 78s] | [ 78s] 1 | pub enum RequestType { [ 78s] | ----------- variants in this enum [ 78s] ... [ 78s] 20 | KILL, [ 78s] | ^^^^ [ 78s] 21 | CHECK, [ 78s] | ^^^^^ [ 78s] ... [ 78s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] ... [ 78s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: multiple variants are never constructed [ 78s] --> ./src/pkgmgr/server/signal.rs:10:2 [ 78s] | [ 78s] 9 | enum PKGMGR_REQ { [ 78s] | ---------- variants in this enum [ 78s] 10 | PERM = -1, [ 78s] | ^^^^ [ 78s] 11 | INVALID = 0, [ 78s] | ^^^^^^^ [ 78s] 12 | INSTALL = 1, [ 78s] | ^^^^^^^ [ 78s] 13 | UNINSTALL = 2, [ 78s] | ^^^^^^^^^ [ 78s] 14 | CLEAR = 3, [ 78s] | ^^^^^ [ 78s] 15 | MOVE = 4, [ 78s] | ^^^^ [ 78s] 16 | RECOVER = 5, [ 78s] | ^^^^^^^ [ 78s] 17 | REINSTALL = 6, [ 78s] | ^^^^^^^^^ [ 78s] 18 | GETSIZE = 7, [ 78s] | ^^^^^^^ [ 78s] 19 | UPGRADE = 8, [ 78s] | ^^^^^^^ [ 78s] 20 | SMACK = 9, [ 78s] | ^^^^^ [ 78s] 21 | MANIFEST_DIRECT_INSTALL = 10, [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] ... [ 78s] 26 | MOUNT_INSTALL = 15, [ 78s] | ^^^^^^^^^^^^^ [ 78s] 27 | DISABLE_PKG = 16, [ 78s] | ^^^^^^^^^^^ [ 78s] 28 | ENABLE_PKG = 17, [ 78s] | ^^^^^^^^^^ [ 78s] 29 | MIGRATE_EXTIMG = 18, [ 78s] | ^^^^^^^^^^^^^^ [ 78s] 30 | RECOVER_DB = 19, [ 78s] | ^^^^^^^^^^ [ 78s] 31 | RES_COPY = 20, [ 78s] | ^^^^^^^^ [ 78s] 32 | RES_CREATE_DIR = 21, [ 78s] | ^^^^^^^^^^^^^^ [ 78s] 33 | RES_REMOVE = 22, [ 78s] | ^^^^^^^^^^ [ 78s] 34 | RES_UNINSTALL = 23 [ 78s] | ^^^^^^^^^^^^^ [ 78s] [ 78s] warning: constant `TZ_SYS_GLOBALAPP_USER` is never used [ 78s] --> ./src/pkgmgr/server/signal.rs:97:7 [ 78s] | [ 78s] 97 | const TZ_SYS_GLOBALAPP_USER: c_int = 22; [ 78s] | ^^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: function `tzplatform_getuid` is never used [ 78s] --> ./src/pkgmgr/server/signal.rs:53:12 [ 78s] | [ 78s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 78s] | ^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: constant `XML_READER_TYPE_ELEMENT` is never used [ 78s] --> ./src/pkgmgr/server/util.rs:29:7 [ 78s] | [ 78s] 29 | const XML_READER_TYPE_ELEMENT: i32 = 1; [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: constant `XML_READER_TYPE_TEXT` is never used [ 78s] --> ./src/pkgmgr/server/util.rs:30:7 [ 78s] | [ 78s] 30 | const XML_READER_TYPE_TEXT: i32 = 3; [ 78s] | ^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: constant `XML_READER_TYPE_END_ELEMENT` is never used [ 78s] --> ./src/pkgmgr/server/util.rs:31:7 [ 78s] | [ 78s] 31 | const XML_READER_TYPE_END_ELEMENT: i32 = 15; [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: type alias `GIOChannel` is never used [ 78s] --> ./src/pkgmgr/server/util.rs:33:6 [ 78s] | [ 78s] 33 | type GIOChannel = *mut c_void; [ 78s] | ^^^^^^^^^^ [ 78s] [ 78s] warning: variants `PMINFO_UI_APP`, `PMINFO_SVC_APP`, `PMINFO_WIDGET_APP`, `PMINFO_WATCH_APP`, and `PMINFO_COMPONENT_BASED_APP` are never constructed [ 78s] --> ./src/pkgmgr/server/util.rs:136:5 [ 78s] | [ 78s] 134 | enum PKGMGRINFO_APP_COMPONENT { [ 78s] | ------------------------ variants in this enum [ 78s] 135 | PMINFO_ALL_APP = 0, //< All Application [ 78s] 136 | PMINFO_UI_APP, //< UI Application [ 78s] | ^^^^^^^^^^^^^ [ 78s] 137 | PMINFO_SVC_APP, //< Service Application [ 78s] | ^^^^^^^^^^^^^^ [ 78s] 138 | PMINFO_WIDGET_APP, //< Widget Application [ 78s] | ^^^^^^^^^^^^^^^^^ [ 78s] 139 | PMINFO_WATCH_APP, //< Watch Application [ 78s] | ^^^^^^^^^^^^^^^^ [ 78s] 140 | PMINFO_COMPONENT_BASED_APP, //< Component-based Application (Since 5.5) [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: associated functions `EnableAppSplashScreen` and `DisableAppSplashScreen` are never used [ 78s] --> ./src/pkgmgr/server/util.rs:766:12 [ 78s] | [ 78s] 384 | impl Util { [ 78s] | --------- associated functions in this implementation [ 78s] ... [ 78s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^ [ 78s] ... [ 78s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: function `pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db` is never used [ 78s] --> ./src/pkgmgr/server/util.rs:204:8 [ 78s] | [ 78s] 204 | fn pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db( [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: unused `Result` that must be used [ 78s] --> ./src/main.rs:14:5 [ 78s] | [ 78s] 14 | pkgmgr::server::Server::run(&mut server); [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] | [ 78s] = note: this `Result` may be an `Err` variant, which should be handled [ 78s] = note: `#[warn(unused_must_use)]` on by default [ 78s] help: use `let _ = ...` to ignore the resulting value [ 78s] | [ 78s] 14 | let _ = pkgmgr::server::Server::run(&mut server); [ 78s] | +++++++ [ 78s] [ 78s] warning: unused `Result` that must be used [ 78s] --> ./src/pkgmgr/server/mod.rs:93:9 [ 78s] | [ 78s] 93 | admin_service.run(); [ 78s] | ^^^^^^^^^^^^^^^^^^^ [ 78s] | [ 78s] = note: this `Result` may be an `Err` variant, which should be handled [ 78s] help: use `let _ = ...` to ignore the resulting value [ 78s] | [ 78s] 93 | let _ = admin_service.run(); [ 78s] | +++++++ [ 78s] [ 78s] warning: unused `Result` that must be used [ 78s] --> ./src/pkgmgr/server/mod.rs:95:9 [ 78s] | [ 78s] 95 | cache_service.run(); [ 78s] | ^^^^^^^^^^^^^^^^^^^ [ 78s] | [ 78s] = note: this `Result` may be an `Err` variant, which should be handled [ 78s] help: use `let _ = ...` to ignore the resulting value [ 78s] | [ 78s] 95 | let _ = cache_service.run(); [ 78s] | +++++++ [ 78s] [ 78s] warning: unused `Result` that must be used [ 78s] --> ./src/pkgmgr/server/mod.rs:97:9 [ 78s] | [ 78s] 97 | info_service.run(); [ 78s] | ^^^^^^^^^^^^^^^^^^ [ 78s] | [ 78s] = note: this `Result` may be an `Err` variant, which should be handled [ 78s] help: use `let _ = ...` to ignore the resulting value [ 78s] | [ 78s] 97 | let _ = info_service.run(); [ 78s] | +++++++ [ 78s] [ 78s] warning: unused `Result` that must be used [ 78s] --> ./src/pkgmgr/server/mod.rs:99:9 [ 78s] | [ 78s] 99 | delayed_result_service.run(); [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] | [ 78s] = note: this `Result` may be an `Err` variant, which should be handled [ 78s] help: use `let _ = ...` to ignore the resulting value [ 78s] | [ 78s] 99 | let _ = delayed_result_service.run(); [ 78s] | +++++++ [ 78s] [ 78s] warning: unused `Result` that must be used [ 78s] --> ./src/pkgmgr/server/mod.rs:109:9 [ 78s] | [ 78s] 109 | admin_service.stop(); [ 78s] | ^^^^^^^^^^^^^^^^^^^^ [ 78s] | [ 78s] = note: this `Result` may be an `Err` variant, which should be handled [ 78s] help: use `let _ = ...` to ignore the resulting value [ 78s] | [ 78s] 109 | let _ = admin_service.stop(); [ 78s] | +++++++ [ 78s] [ 78s] warning: unused `Result` that must be used [ 78s] --> ./src/pkgmgr/server/mod.rs:110:9 [ 78s] | [ 78s] 110 | cache_service.stop(); [ 78s] | ^^^^^^^^^^^^^^^^^^^^ [ 78s] | [ 78s] = note: this `Result` may be an `Err` variant, which should be handled [ 78s] help: use `let _ = ...` to ignore the resulting value [ 78s] | [ 78s] 110 | let _ = cache_service.stop(); [ 78s] | +++++++ [ 78s] [ 78s] warning: unused `Result` that must be used [ 78s] --> ./src/pkgmgr/server/mod.rs:111:9 [ 78s] | [ 78s] 111 | info_service.stop(); [ 78s] | ^^^^^^^^^^^^^^^^^^^ [ 78s] | [ 78s] = note: this `Result` may be an `Err` variant, which should be handled [ 78s] help: use `let _ = ...` to ignore the resulting value [ 78s] | [ 78s] 111 | let _ = info_service.stop(); [ 78s] | +++++++ [ 78s] [ 78s] warning: unused `Result` that must be used [ 78s] --> ./src/pkgmgr/server/mod.rs:112:9 [ 78s] | [ 78s] 112 | delayed_result_service.stop(); [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] | [ 78s] = note: this `Result` may be an `Err` variant, which should be handled [ 78s] help: use `let _ = ...` to ignore the resulting value [ 78s] | [ 78s] 112 | let _ = delayed_result_service.stop(); [ 78s] | +++++++ [ 78s] [ 78s] warning: unused return value of `std::mem::size_of` that must be used [ 78s] --> ./src/pkgmgr/server/backend_queue.rs:40:9 [ 78s] | [ 78s] 40 | mem::size_of::(); [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] | [ 78s] help: use `let _ = ...` to ignore the resulting value [ 78s] | [ 78s] 40 | let _ = mem::size_of::(); [ 78s] | +++++++ [ 78s] [ 78s] warning: structure field `rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 78s] --> ./src/pkgmgr/server/info_service.rs:35:9 [ 78s] | [ 78s] 35 | pub rpc_port_stub_PkgMgr_create_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_create_cb` [ 78s] | [ 78s] = note: `#[warn(non_snake_case)]` on by default [ 78s] [ 78s] warning: structure field `rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 78s] --> ./src/pkgmgr/server/info_service.rs:36:9 [ 78s] | [ 78s] 36 | pub rpc_port_stub_PkgMgr_terminate_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_terminate_cb` [ 78s] [ 78s] warning: structure field `rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 78s] --> ./src/pkgmgr/server/info_service.rs:37:9 [ 78s] | [ 78s] 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... [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_cb` [ 78s] [ 78s] warning: structure field `rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 78s] --> ./src/pkgmgr/server/info_service.rs:38:9 [ 78s] | [ 78s] 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... [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 78s] [ 78s] warning: structure field `rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 78s] --> ./src/pkgmgr/server/info_service.rs:39:9 [ 78s] | [ 78s] 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... [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 78s] [ 78s] warning: structure field `rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 78s] --> ./src/pkgmgr/server/info_service.rs:40:9 [ 78s] | [ 78s] 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... [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_check_cb` [ 78s] [ 78s] warning: function `impl_rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 78s] --> ./src/pkgmgr/server/info_service.rs:43:19 [ 78s] | [ 78s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_create_cb` [ 78s] [ 78s] warning: function `impl_rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 78s] --> ./src/pkgmgr/server/info_service.rs:48:19 [ 78s] | [ 78s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_terminate_cb` [ 78s] [ 78s] warning: function `impl_rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 78s] --> ./src/pkgmgr/server/info_service.rs:52:19 [ 78s] | [ 78s] 52 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSize_cb( [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_cb` [ 78s] [ 78s] warning: function `impl_rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 78s] --> ./src/pkgmgr/server/info_service.rs:112:19 [ 78s] | [ 78s] 112 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSizeSync_cb( [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 78s] [ 78s] warning: function `impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 78s] --> ./src/pkgmgr/server/info_service.rs:194:19 [ 78s] | [ 78s] 194 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb( [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 78s] [ 78s] warning: function `impl_rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 78s] --> ./src/pkgmgr/server/info_service.rs:221:19 [ 78s] | [ 78s] 221 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_Check_cb( [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_check_cb` [ 78s] [ 78s] warning: method `IsPackageReadonly` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:389:12 [ 78s] | [ 78s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 78s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly` [ 78s] [ 78s] warning: method `GetPackageType` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:420:12 [ 78s] | [ 78s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 78s] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type` [ 78s] [ 78s] warning: variable `xmlReaderTypes_XML_READER_TYPE_ELEMENT` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:473:17 [ 78s] | [ 78s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_element` [ 78s] [ 78s] warning: variable `xmlReaderTypes_XML_READER_TYPE_TEXT` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:478:17 [ 78s] | [ 78s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_text` [ 78s] [ 78s] warning: variable `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:483:17 [ 78s] | [ 78s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_end_element` [ 78s] [ 78s] warning: constant `type_map` should have an upper case name [ 78s] --> ./src/pkgmgr/server/util.rs:623:15 [ 78s] | [ 78s] 623 | const type_map : [[&str; 2]; 3] = [ [ 78s] | ^^^^^^^^ help: convert the identifier to upper case: `TYPE_MAP` [ 78s] | [ 78s] = note: `#[warn(non_upper_case_globals)]` on by default [ 78s] [ 78s] warning: method `GenerateRequestId` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:646:12 [ 78s] | [ 78s] 646 | pub fn GenerateRequestId(pkgid: &str) -> Option { [ 78s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_request_id` [ 78s] [ 78s] warning: method `CreatePkgUpdateInfo` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:657:12 [ 78s] | [ 78s] 657 | pub fn CreatePkgUpdateInfo(pkgid: *const c_char, version: *const c_char, update_type: c_int) -> *mut c_void { [ 78s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info` [ 78s] [ 78s] warning: method `DestroyPkgUpdateInfo` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:680:12 [ 78s] | [ 78s] 680 | pub fn DestroyPkgUpdateInfo(handle: *mut c_void) -> c_int { [ 78s] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroy_pkg_update_info` [ 78s] [ 78s] warning: method `RegisterPkgUpdateInfo` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:686:12 [ 78s] | [ 78s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `register_pkg_update_info` [ 78s] [ 78s] warning: method `UnregisterPkgUpdateInfo` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:696:12 [ 78s] | [ 78s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_pkg_update_info` [ 78s] [ 78s] warning: method `UnregisterAllPkgUpdateInfo` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:706:12 [ 78s] | [ 78s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_all_pkg_update_info` [ 78s] [ 78s] warning: method `EnableApp` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:728:12 [ 78s] | [ 78s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 78s] | ^^^^^^^^^ help: convert the identifier to snake case: `enable_app` [ 78s] [ 78s] warning: method `DisableApp` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:738:12 [ 78s] | [ 78s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 78s] | ^^^^^^^^^^ help: convert the identifier to snake case: `disable_app` [ 78s] [ 78s] warning: method `EnableGlobalApp` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:747:12 [ 78s] | [ 78s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 78s] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app` [ 78s] [ 78s] warning: method `DisableGlobalApp` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:757:12 [ 78s] | [ 78s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 78s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app` [ 78s] [ 78s] warning: method `EnableAppSplashScreen` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:766:12 [ 78s] | [ 78s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_app_splash_screen` [ 78s] [ 78s] warning: method `DisableAppSplashScreen` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:775:12 [ 78s] | [ 78s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_app_splash_screen` [ 78s] [ 78s] warning: method `EnableGlobalAppSplashScreen` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:784:12 [ 78s] | [ 78s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app_splash_screen` [ 78s] [ 78s] warning: method `DisableGlobalAppSplashScreen` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:793:12 [ 78s] | [ 78s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app_splash_screen` [ 78s] [ 78s] warning: method `KillApp` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:813:12 [ 78s] | [ 78s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 78s] | ^^^^^^^ help: convert the identifier to snake case: `kill_app` [ 78s] [ 78s] warning: method `KillAppsInPkg` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:835:12 [ 78s] | [ 78s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 78s] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_apps_in_pkg` [ 78s] [ 78s] warning: method `IsAdminUser` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:855:8 [ 78s] | [ 78s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 78s] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_admin_user` [ 78s] [ 148s] warning: 542 warnings emitted [ 148s] [ 148s] + export LD_LIBRARY_PATH=:/usr/lib/rustlib:/usr/lib/rustlib/dylib:/usr/lib/rustlib:/usr/lib/rustlib/dylib [ 148s] + LD_LIBRARY_PATH=:/usr/lib/rustlib:/usr/lib/rustlib/dylib:/usr/lib/rustlib:/usr/lib/rustlib/dylib [ 148s] ++ find /usr/lib -maxdepth 1 -name 'libstd-*.so' [ 148s] + __rust_std=/usr/lib/libstd-161dbff30b3b0c00.so [ 148s] + /usr/bin/rustc -C prefer-dynamic --extern std=/usr/lib/libstd-161dbff30b3b0c00.so -C codegen-units=1 -C debuginfo=2 -C opt-level=3 -C relocation-model=pic -C overflow-checks=on -C symbol-mangling-version=v0 -L/usr/lib/rustlib -L/usr/lib/rustlib/dylib --test --crate-type=bin --crate-name=unittests_rust_pkgmgr_server -L native=./tidl_pkgmgr_server -L native=./util_pkgmgr_server -l minizip --edition=2021 --extern libc=/usr/lib/rustlib/dylib/liblibc.so --cap-lints warn ./src/main.rs [ 151s] warning: unused import: `boxed` [ 151s] --> ./src/pkgmgr/server/admin_service.rs:4:11 [ 151s] | [ 151s] 4 | use std::{boxed, str}; [ 151s] | ^^^^^ [ 151s] | [ 151s] = note: `#[warn(unused_imports)]` on by default [ 151s] [ 151s] warning: unused import: `std::mem` [ 151s] --> ./src/pkgmgr/server/admin_service.rs:6:5 [ 151s] | [ 151s] 6 | use std::mem; [ 151s] | ^^^^^^^^ [ 151s] [ 151s] warning: unused import: `std::ptr` [ 151s] --> ./src/pkgmgr/server/admin_service.rs:7:5 [ 151s] | [ 151s] 7 | use std::ptr; [ 151s] | ^^^^^^^^ [ 151s] [ 151s] warning: unused import: `malloc` [ 151s] --> ./src/pkgmgr/server/admin_service.rs:8:18 [ 151s] | [ 151s] 8 | use libc::{free, malloc, strlen}; [ 151s] | ^^^^^^ [ 151s] [ 151s] warning: unused import: `super::Server` [ 151s] --> ./src/pkgmgr/server/admin_service.rs:10:5 [ 151s] | [ 151s] 10 | use super::Server; [ 151s] | ^^^^^^^^^^^^^ [ 151s] [ 151s] warning: type `rpc_port_stub_array_string_h` should have an upper camel case name [ 151s] --> ./src/pkgmgr/server/admin_service.rs:23:6 [ 151s] | [ 151s] 23 | type rpc_port_stub_array_string_h = *mut c_void; [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RpcPortStubArrayStringH` [ 151s] | [ 151s] = note: `#[warn(non_camel_case_types)]` on by default [ 151s] [ 151s] warning: unused imports: `pid_t`, `uid_t` [ 151s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 151s] | [ 151s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 151s] | ^^^^^ ^^^^^ [ 151s] [ 151s] warning: unused imports: `c_int`, `c_void` [ 151s] --> ./src/pkgmgr/server/backend_context.rs:4:16 [ 151s] | [ 151s] 4 | use std::ffi::{c_int, c_void}; [ 151s] | ^^^^^ ^^^^^^ [ 151s] [ 151s] warning: unused import: `std::path::Path` [ 151s] --> ./src/pkgmgr/server/backend_queue.rs:10:5 [ 151s] | [ 151s] 10 | use std::path::Path; [ 151s] | ^^^^^^^^^^^^^^^ [ 151s] [ 151s] warning: denote infinite loops with `loop { ... }` [ 151s] --> ./src/pkgmgr/server/backend_queue.rs:50:9 [ 151s] | [ 151s] 50 | while true { [ 151s] | ^^^^^^^^^^ help: use `loop` [ 151s] | [ 151s] = note: `#[warn(while_true)]` on by default [ 151s] [ 151s] warning: unnecessary parentheses around `if` condition [ 151s] --> ./src/pkgmgr/server/backend_queue.rs:73:8 [ 151s] | [ 151s] 73 | if (mut_queue.is_queue_empty()) { [ 151s] | ^ ^ [ 151s] | [ 151s] = note: `#[warn(unused_parens)]` on by default [ 151s] help: remove these parentheses [ 151s] | [ 151s] 73 - if (mut_queue.is_queue_empty()) { [ 151s] 73 + if mut_queue.is_queue_empty() { [ 151s] | [ 151s] [ 151s] warning: unnecessary trailing semicolon [ 151s] --> ./src/pkgmgr/server/backend_queue.rs:297:17 [ 151s] | [ 151s] 297 | ; [ 151s] | ^ help: remove this semicolon [ 151s] | [ 151s] = note: `#[warn(redundant_semicolons)]` on by default [ 151s] [ 151s] warning: unused import: `super::Server` [ 151s] --> ./src/pkgmgr/server/cache_service.rs:1:5 [ 151s] | [ 151s] 1 | use super::Server; [ 151s] | ^^^^^^^^^^^^^ [ 151s] [ 151s] warning: unused import: `super::Server` [ 151s] --> ./src/pkgmgr/server/delayed_service.rs:1:5 [ 151s] | [ 151s] 1 | use super::Server; [ 151s] | ^^^^^^^^^^^^^ [ 151s] [ 151s] warning: unused import: `super::backend_context::*` [ 151s] --> ./src/pkgmgr/server/delayed_service.rs:4:5 [ 151s] | [ 151s] 4 | use super::backend_context::*; [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 151s] [ 151s] warning: unused import: `super::request_result::*` [ 151s] --> ./src/pkgmgr/server/delayed_service.rs:5:5 [ 151s] | [ 151s] 5 | use super::request_result::*; [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 151s] [ 151s] warning: unused import: `super::request_type::*` [ 151s] --> ./src/pkgmgr/server/delayed_service.rs:6:5 [ 151s] | [ 151s] 6 | use super::request_type::*; [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 151s] [ 151s] warning: unused import: `super::util::*` [ 151s] --> ./src/pkgmgr/server/delayed_service.rs:7:5 [ 151s] | [ 151s] 7 | use super::util::*; [ 151s] | ^^^^^^^^^^^^^^ [ 151s] [ 151s] warning: unused imports: `pid_t`, `uid_t` [ 151s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 151s] | [ 151s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 151s] | ^^^^^ ^^^^^ [ 151s] [ 151s] warning: unused import: `std::io::Error` [ 151s] --> ./src/pkgmgr/server/info_service.rs:3:5 [ 151s] | [ 151s] 3 | use std::io::Error; [ 151s] | ^^^^^^^^^^^^^^ [ 151s] [ 151s] warning: unused import: `std::mem` [ 151s] --> ./src/pkgmgr/server/info_service.rs:6:5 [ 151s] | [ 151s] 6 | use std::mem; [ 151s] | ^^^^^^^^ [ 151s] [ 151s] warning: unused import: `std::ptr` [ 151s] --> ./src/pkgmgr/server/info_service.rs:7:5 [ 151s] | [ 151s] 7 | use std::ptr; [ 151s] | ^^^^^^^^ [ 151s] [ 151s] warning: unused imports: `free`, `malloc`, `strlen` [ 151s] --> ./src/pkgmgr/server/info_service.rs:8:12 [ 151s] | [ 151s] 8 | use libc::{free, malloc, strlen, mkfifo}; [ 151s] | ^^^^ ^^^^^^ ^^^^^^ [ 151s] [ 151s] warning: unused import: `super::Server` [ 151s] --> ./src/pkgmgr/server/info_service.rs:10:5 [ 151s] | [ 151s] 10 | use super::Server; [ 151s] | ^^^^^^^^^^^^^ [ 151s] [ 151s] warning: unused import: `super::service::Service` [ 151s] --> ./src/pkgmgr/server/info_service.rs:13:5 [ 151s] | [ 151s] 13 | use super::service::Service; [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 151s] [ 151s] warning: unnecessary trailing semicolon [ 151s] --> ./src/pkgmgr/server/info_service.rs:49:5 [ 151s] | [ 151s] 49 | ; [ 151s] | ^ help: remove this semicolon [ 151s] [ 151s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 151s] --> ./src/pkgmgr/server/request_result.rs:7:5 [ 151s] | [ 151s] 7 | GETSIZE_SYNC(String, i32, i32), [ 151s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 151s] [ 151s] warning: variant `GET_GENERATE_LICENSE_RESULT` should have an upper camel case name [ 151s] --> ./src/pkgmgr/server/request_result.rs:8:5 [ 151s] | [ 151s] 8 | GET_GENERATE_LICENSE_RESULT(String, i32, CString, CString), [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetGenerateLicenseResult` [ 151s] [ 151s] warning: variant `MOUNT_INSTALL` should have an upper camel case name [ 151s] --> ./src/pkgmgr/server/request_type.rs:3:5 [ 151s] | [ 151s] 3 | MOUNT_INSTALL, [ 151s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MountInstall` [ 151s] [ 151s] warning: variant `ENABLE_PKG` should have an upper camel case name [ 151s] --> ./src/pkgmgr/server/request_type.rs:7:5 [ 151s] | [ 151s] 7 | ENABLE_PKG, [ 151s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnablePkg` [ 151s] [ 151s] warning: variant `DISABLE_PKG` should have an upper camel case name [ 151s] --> ./src/pkgmgr/server/request_type.rs:8:5 [ 151s] | [ 151s] 8 | DISABLE_PKG, [ 151s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisablePkg` [ 151s] [ 151s] warning: variant `REGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 151s] --> ./src/pkgmgr/server/request_type.rs:9:5 [ 151s] | [ 151s] 9 | REGISTER_PKG_UPDATE_INFO, [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterPkgUpdateInfo` [ 151s] [ 151s] warning: variant `UNREGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 151s] --> ./src/pkgmgr/server/request_type.rs:10:5 [ 151s] | [ 151s] 10 | UNREGISTER_PKG_UPDATE_INFO, [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterPkgUpdateInfo` [ 151s] [ 151s] warning: variant `UNREGISTER_ALL_PKG_UPDATE_INFO` should have an upper camel case name [ 151s] --> ./src/pkgmgr/server/request_type.rs:11:5 [ 151s] | [ 151s] 11 | UNREGISTER_ALL_PKG_UPDATE_INFO, [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterAllPkgUpdateInfo` [ 151s] [ 151s] warning: variant `ENABLE_APP` should have an upper camel case name [ 151s] --> ./src/pkgmgr/server/request_type.rs:12:5 [ 151s] | [ 151s] 12 | ENABLE_APP, [ 151s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableApp` [ 151s] [ 151s] warning: variant `DISABLE_APP` should have an upper camel case name [ 151s] --> ./src/pkgmgr/server/request_type.rs:13:5 [ 151s] | [ 151s] 13 | DISABLE_APP, [ 151s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableApp` [ 151s] [ 151s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 151s] --> ./src/pkgmgr/server/request_type.rs:15:5 [ 151s] | [ 151s] 15 | GETSIZE_SYNC, [ 151s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 151s] [ 151s] warning: variant `ENABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 151s] --> ./src/pkgmgr/server/request_type.rs:18:5 [ 151s] | [ 151s] 18 | ENABLE_GLOBAL_APP_FOR_UID, [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableGlobalAppForUid` [ 151s] [ 151s] warning: variant `DISABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 151s] --> ./src/pkgmgr/server/request_type.rs:19:5 [ 151s] | [ 151s] 19 | DISABLE_GLOBAL_APP_FOR_UID, [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableGlobalAppForUid` [ 151s] [ 151s] warning: variant `GENERATE_LICENSE_REQUEST` should have an upper camel case name [ 151s] --> ./src/pkgmgr/server/request_type.rs:22:5 [ 151s] | [ 151s] 22 | GENERATE_LICENSE_REQUEST, [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GenerateLicenseRequest` [ 151s] [ 151s] warning: variant `REGISTER_LICENSE` should have an upper camel case name [ 151s] --> ./src/pkgmgr/server/request_type.rs:23:5 [ 151s] | [ 151s] 23 | REGISTER_LICENSE, [ 151s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterLicense` [ 151s] [ 151s] warning: variant `DECRYPT_PACKAGE` should have an upper camel case name [ 151s] --> ./src/pkgmgr/server/request_type.rs:24:5 [ 151s] | [ 151s] 24 | DECRYPT_PACKAGE, [ 151s] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DecryptPackage` [ 151s] [ 151s] warning: variant `ENABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 151s] --> ./src/pkgmgr/server/request_type.rs:25:5 [ 151s] | [ 151s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableAppSplashScreen` [ 151s] [ 151s] warning: variant `DISABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 151s] --> ./src/pkgmgr/server/request_type.rs:26:5 [ 151s] | [ 151s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableAppSplashScreen` [ 151s] [ 151s] warning: variant `SET_APP_LABEL` should have an upper camel case name [ 151s] --> ./src/pkgmgr/server/request_type.rs:27:5 [ 151s] | [ 151s] 27 | SET_APP_LABEL, [ 151s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppLabel` [ 151s] [ 151s] warning: variant `SET_APP_ICON` should have an upper camel case name [ 151s] --> ./src/pkgmgr/server/request_type.rs:28:5 [ 151s] | [ 151s] 28 | SET_APP_ICON, [ 151s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppIcon` [ 151s] [ 151s] warning: variant `MIGRATE_EXTERNAL_IMAGE` should have an upper camel case name [ 151s] --> ./src/pkgmgr/server/request_type.rs:29:5 [ 151s] | [ 151s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MigrateExternalImage` [ 151s] [ 151s] warning: variant `RESOURCE_SHARE_COPY` should have an upper camel case name [ 151s] --> ./src/pkgmgr/server/request_type.rs:30:5 [ 151s] | [ 151s] 30 | RESOURCE_SHARE_COPY, [ 151s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCopy` [ 151s] [ 151s] warning: variant `RESOURCE_SHARE_CREATE_DIR` should have an upper camel case name [ 151s] --> ./src/pkgmgr/server/request_type.rs:31:5 [ 151s] | [ 151s] 31 | RESOURCE_SHARE_CREATE_DIR, [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCreateDir` [ 151s] [ 151s] warning: variant `RESOURCE_SHARE_REMOVE` should have an upper camel case name [ 151s] --> ./src/pkgmgr/server/request_type.rs:32:5 [ 151s] | [ 151s] 32 | RESOURCE_SHARE_REMOVE, [ 151s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareRemove` [ 151s] [ 151s] warning: variant `RESOURCE_SHARE_UNINSTALL` should have an upper camel case name [ 151s] --> ./src/pkgmgr/server/request_type.rs:33:5 [ 151s] | [ 151s] 33 | RESOURCE_SHARE_UNINSTALL, [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareUninstall` [ 151s] [ 151s] warning: variant `REMOVE_FILE` should have an upper camel case name [ 151s] --> ./src/pkgmgr/server/request_type.rs:34:5 [ 151s] | [ 151s] 34 | REMOVE_FILE, [ 151s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RemoveFile` [ 151s] [ 151s] warning: unused import: `CStr` [ 151s] --> ./src/pkgmgr/server/signal.rs:1:39 [ 151s] | [ 151s] 1 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 151s] | ^^^^ [ 151s] [ 151s] warning: unused import: `pid_t` [ 151s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 151s] | [ 151s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 151s] | ^^^^^ [ 151s] [ 151s] warning: unused imports: `CStr`, `CString`, `c_char`, `c_void` [ 151s] --> ./src/pkgmgr/server/signal.rs:39:20 [ 151s] | [ 151s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 151s] | ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^ [ 151s] [ 151s] warning: unused import: `pid_t` [ 151s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 151s] | [ 151s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 151s] | ^^^^^ [ 151s] [ 151s] warning: unused import: `std::cell::RefCell` [ 151s] --> ./src/pkgmgr/server/util.rs:1:5 [ 151s] | [ 151s] 1 | use std::cell::RefCell; [ 151s] | ^^^^^^^^^^^^^^^^^^ [ 151s] [ 151s] warning: unused import: `std::rc::Rc` [ 151s] --> ./src/pkgmgr/server/util.rs:8:5 [ 151s] | [ 151s] 8 | use std::rc::Rc; [ 151s] | ^^^^^^^^^^^ [ 151s] [ 151s] warning: type `xmlChar` should have an upper camel case name [ 151s] --> ./src/pkgmgr/server/util.rs:34:6 [ 151s] | [ 151s] 34 | type xmlChar = c_uchar; [ 151s] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlChar` [ 151s] [ 151s] warning: type `xmlTextReaderPtr` should have an upper camel case name [ 151s] --> ./src/pkgmgr/server/util.rs:35:6 [ 151s] | [ 151s] 35 | type xmlTextReaderPtr = *mut c_void; [ 151s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlTextReaderPtr` [ 151s] [ 151s] warning: unused imports: `CStr`, `CString` [ 151s] --> ./src/pkgmgr/server/util.rs:39:43 [ 151s] | [ 151s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 151s] | ^^^^ ^^^^^^^ [ 151s] [ 151s] warning: unused import: `pid_t` [ 151s] --> ./src/pkgmgr/server/util.rs:40:37 [ 151s] | [ 151s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 151s] | ^^^^^ [ 151s] [ 151s] warning: unnecessary parentheses around `if` condition [ 151s] --> ./src/pkgmgr/server/util.rs:474:24 [ 151s] | [ 151s] 474 | if (cur == depth + 1) { [ 151s] | ^ ^ [ 151s] | [ 151s] help: remove these parentheses [ 151s] | [ 151s] 474 - if (cur == depth + 1) { [ 151s] 474 + if cur == depth + 1 { [ 151s] | [ 151s] [ 151s] warning: unnecessary parentheses around `if` condition [ 151s] --> ./src/pkgmgr/server/util.rs:571:12 [ 151s] | [ 151s] 571 | if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 151s] | ^ ^ [ 151s] | [ 151s] help: remove these parentheses [ 151s] | [ 151s] 571 - if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 151s] 571 + if unzOpenCurrentFile(uf) != UNZ_OK as c_int { [ 151s] | [ 151s] [ 151s] warning: unused import: `std::ffi::CStr` [ 151s] --> ./src/pkgmgr/server/test/util_tests.rs:4:5 [ 151s] | [ 151s] 4 | use std::ffi::CStr; [ 151s] | ^^^^^^^^^^^^^^ [ 151s] [ 151s] warning: unused import: `std::mem` [ 151s] --> ./src/pkgmgr/server/test/util_tests.rs:6:5 [ 151s] | [ 151s] 6 | use std::mem; [ 151s] | ^^^^^^^^ [ 151s] [ 151s] warning: unused import: `mockall::predicate::*` [ 151s] --> ./src/pkgmgr/server/test/util_tests.rs:8:5 [ 151s] | [ 151s] 8 | use mockall::predicate::*; [ 151s] | ^^^^^^^^^^^^^^^^^^^^^ [ 151s] [ 151s] warning: unused import: `mockall::*` [ 151s] --> ./src/pkgmgr/server/test/util_tests.rs:9:5 [ 151s] | [ 151s] 9 | use mockall::*; [ 151s] | ^^^^^^^^^^ [ 151s] [ 151s] warning: unused import: `std::ffi::CString` [ 151s] --> ./src/pkgmgr/server/test/signal_tests.rs:2:5 [ 151s] | [ 151s] 2 | use std::ffi::CString; [ 151s] | ^^^^^^^^^^^^^^^^^ [ 151s] [ 151s] warning: unused import: `std::ffi::CStr` [ 151s] --> ./src/pkgmgr/server/test/signal_tests.rs:3:5 [ 151s] | [ 151s] 3 | use std::ffi::CStr; [ 151s] | ^^^^^^^^^^^^^^ [ 151s] [ 151s] warning: unused import: `std::ffi::c_char` [ 151s] --> ./src/pkgmgr/server/test/signal_tests.rs:4:5 [ 151s] | [ 151s] 4 | use std::ffi::c_char; [ 151s] | ^^^^^^^^^^^^^^^^ [ 151s] [ 151s] warning: unused import: `std::mem` [ 151s] --> ./src/pkgmgr/server/test/signal_tests.rs:5:5 [ 151s] | [ 151s] 5 | use std::mem; [ 151s] | ^^^^^^^^ [ 151s] [ 151s] warning: unused import: `mockall::predicate::*` [ 151s] --> ./src/pkgmgr/server/test/signal_tests.rs:6:5 [ 151s] | [ 151s] 6 | use mockall::predicate::*; [ 151s] | ^^^^^^^^^^^^^^^^^^^^^ [ 151s] [ 151s] warning: unused import: `mockall::*` [ 151s] --> ./src/pkgmgr/server/test/signal_tests.rs:7:5 [ 151s] | [ 151s] 7 | use mockall::*; [ 151s] | ^^^^^^^^^^ [ 151s] [ 151s] warning: unused import: `pid_t` [ 151s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 151s] | [ 151s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 151s] | ^^^^^ [ 151s] [ 151s] warning: unused import: `std::cell::RefCell` [ 151s] --> ./src/pkgmgr/server/mod.rs:22:5 [ 151s] | [ 151s] 22 | use std::cell::RefCell; [ 151s] | ^^^^^^^^^^^^^^^^^^ [ 151s] [ 151s] warning: unused import: `std::rc::Rc` [ 151s] --> ./src/pkgmgr/server/mod.rs:26:5 [ 151s] | [ 151s] 26 | use std::rc::Rc; [ 151s] | ^^^^^^^^^^^ [ 151s] [ 151s] warning: unused import: `std::process::Command` [ 151s] --> ./src/main.rs:9:5 [ 151s] | [ 151s] 9 | use std::process::Command; [ 151s] | ^^^^^^^^^^^^^^^^^^^^^ [ 151s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:5:26 [ 152s] | [ 152s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 152s] | ^^^^^ [ 152s] | [ 152s] = note: `#[warn(deprecated)]` on by default [ 152s] [ 152s] 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 [ 152s] --> ./src/pkgmgr/server/admin_service.rs:5:33 [ 152s] | [ 152s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:20:20 [ 152s] | [ 152s] 20 | const GLOBAL_USER: uid_t = 201; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:322:25 [ 152s] | [ 152s] 322 | let mut caller_uid: uid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:443:25 [ 152s] | [ 152s] 443 | let mut caller_uid: uid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:548:25 [ 152s] | [ 152s] 548 | let mut caller_uid: uid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:595:25 [ 152s] | [ 152s] 595 | let mut caller_uid: uid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:718:25 [ 152s] | [ 152s] 718 | let mut caller_uid: uid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:801:25 [ 152s] | [ 152s] 801 | let mut caller_uid: uid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:853:25 [ 152s] | [ 152s] 853 | let mut caller_uid: uid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:937:25 [ 152s] | [ 152s] 937 | let mut caller_uid: uid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:990:25 [ 152s] | [ 152s] 990 | let mut caller_uid: uid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1015:76 [ 152s] | [ 152s] 1015 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, true) { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1072:25 [ 152s] | [ 152s] 1072 | let mut caller_uid: uid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1097:76 [ 152s] | [ 152s] 1097 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, false) { [ 152s] | ^^^^^ [ 152s] [ 152s] 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 [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1151:25 [ 152s] | [ 152s] 1151 | let mut caller_pid: pid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1152:25 [ 152s] | [ 152s] 1152 | let mut caller_uid: uid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1166:62 [ 152s] | [ 152s] 1166 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1196:66 [ 152s] | [ 152s] 1196 | let ret = Util::RegisterPkgUpdateInfo(handle, uid as uid_t); [ 152s] | ^^^^^ [ 152s] [ 152s] 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 [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1215:25 [ 152s] | [ 152s] 1215 | let mut caller_pid: pid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1216:25 [ 152s] | [ 152s] 1216 | let mut caller_uid: uid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1230:62 [ 152s] | [ 152s] 1230 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1254:109 [ 152s] | [ 152s] 1254 | RequestResult::DELAYED(generated_req_key, Util::UnregisterPkgUpdateInfo(pkg_id.as_ptr(), uid as uid_t)) [ 152s] | ^^^^^ [ 152s] [ 152s] 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 [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1270:25 [ 152s] | [ 152s] 1270 | let mut caller_pid: pid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1271:25 [ 152s] | [ 152s] 1271 | let mut caller_uid: uid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1303:95 [ 152s] | [ 152s] 1303 | RequestResult::DELAYED(generated_req_key, Util::UnregisterAllPkgUpdateInfo(uid as uid_t, caller_uid)) [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1312:45 [ 152s] | [ 152s] 1312 | fn handle_enable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1359:60 [ 152s] | [ 152s] 1359 | fn handle_enable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1371:40 [ 152s] | [ 152s] 1371 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1373:40 [ 152s] | [ 152s] 1373 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1380:36 [ 152s] | [ 152s] 1380 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1382:36 [ 152s] | [ 152s] 1382 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1392:36 [ 152s] | [ 152s] 1392 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1394:36 [ 152s] | [ 152s] 1394 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1400:28 [ 152s] | [ 152s] 1400 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1403:46 [ 152s] | [ 152s] 1403 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1404:59 [ 152s] | [ 152s] 1404 | Util::EnableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1405:32 [ 152s] | [ 152s] 1405 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1409:28 [ 152s] | [ 152s] 1409 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1415:46 [ 152s] | [ 152s] 1415 | fn handle_disable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1463:61 [ 152s] | [ 152s] 1463 | fn handle_disable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1475:40 [ 152s] | [ 152s] 1475 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1477:40 [ 152s] | [ 152s] 1477 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1484:36 [ 152s] | [ 152s] 1484 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1486:36 [ 152s] | [ 152s] 1486 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1496:36 [ 152s] | [ 152s] 1496 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1498:36 [ 152s] | [ 152s] 1498 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1504:28 [ 152s] | [ 152s] 1504 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1507:46 [ 152s] | [ 152s] 1507 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1508:60 [ 152s] | [ 152s] 1508 | Util::DisableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1509:32 [ 152s] | [ 152s] 1509 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1513:28 [ 152s] | [ 152s] 1513 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1535:25 [ 152s] | [ 152s] 1535 | let mut caller_uid: uid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1562:70 [ 152s] | [ 152s] 1562 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1588:25 [ 152s] | [ 152s] 1588 | let mut caller_uid: uid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1615:71 [ 152s] | [ 152s] 1615 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1673:74 [ 152s] | [ 152s] 1673 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1735:75 [ 152s] | [ 152s] 1735 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1765:25 [ 152s] | [ 152s] 1765 | let mut caller_uid: uid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1792:85 [ 152s] | [ 152s] 1792 | RequestResult::VAL(handle_enable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1818:25 [ 152s] | [ 152s] 1818 | let mut caller_uid: uid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1845:86 [ 152s] | [ 152s] 1845 | RequestResult::VAL(handle_disable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1863:40 [ 152s] | [ 152s] 1863 | Util::KillAppsInPkg(pkg_id, uid as uid_t) [ 152s] | ^^^^^ [ 152s] [ 152s] 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 [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1873:25 [ 152s] | [ 152s] 1873 | let mut caller_pid: pid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1874:25 [ 152s] | [ 152s] 1874 | let mut caller_uid: uid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] 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 [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1985:25 [ 152s] | [ 152s] 1985 | let mut caller_pid: pid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:1986:25 [ 152s] | [ 152s] 1986 | let mut caller_uid: uid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] 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 [ 152s] --> ./src/pkgmgr/server/admin_service.rs:2035:25 [ 152s] | [ 152s] 2035 | let mut caller_pid: pid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:2036:25 [ 152s] | [ 152s] 2036 | let mut caller_uid: uid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:2083:54 [ 152s] | [ 152s] 2083 | Util::EnableGlobalAppSplashScreen(app_id, uid as uid_t) [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:2093:55 [ 152s] | [ 152s] 2093 | Util::DisableGlobalAppSplashScreen(app_id, uid as uid_t) [ 152s] | ^^^^^ [ 152s] [ 152s] 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 [ 152s] --> ./src/pkgmgr/server/admin_service.rs:2105:25 [ 152s] | [ 152s] 2105 | let mut caller_pid: pid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:2106:25 [ 152s] | [ 152s] 2106 | let mut caller_uid: uid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:2137:102 [ 152s] | [ 152s] 2137 | RequestResult::DELAYED(generated_req_key, Util::update_app_label(app_id.as_ptr(), uid as uid_t , label.as_ptr())) [ 152s] | ^^^^^ [ 152s] [ 152s] 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 [ 152s] --> ./src/pkgmgr/server/admin_service.rs:2155:25 [ 152s] | [ 152s] 2155 | let mut caller_pid: pid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:2156:25 [ 152s] | [ 152s] 2156 | let mut caller_uid: uid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:2187:101 [ 152s] | [ 152s] 2187 | RequestResult::DELAYED(generated_req_key, Util::update_app_icon(app_id.as_ptr(), uid as uid_t , icon_path.as_ptr())) [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:2312:25 [ 152s] | [ 152s] 2312 | let mut caller_uid: uid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] 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 [ 152s] --> ./src/pkgmgr/server/admin_service.rs:2313:25 [ 152s] | [ 152s] 2313 | let mut caller_pid: pid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:2383:25 [ 152s] | [ 152s] 2383 | let mut caller_uid: uid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] 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 [ 152s] --> ./src/pkgmgr/server/admin_service.rs:2384:25 [ 152s] | [ 152s] 2384 | let mut caller_pid: pid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:2453:25 [ 152s] | [ 152s] 2453 | let mut caller_uid: uid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] 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 [ 152s] --> ./src/pkgmgr/server/admin_service.rs:2454:25 [ 152s] | [ 152s] 2454 | let mut caller_pid: pid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:2532:25 [ 152s] | [ 152s] 2532 | let mut caller_uid: uid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:2622:41 [ 152s] | [ 152s] 2622 | if unsafe { check_valid_path(uid as uid_t, pkg_id, file_path) } != 0 { [ 152s] | ^^^^^ [ 152s] [ 152s] 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 [ 152s] --> ./src/pkgmgr/server/admin_service.rs:2681:19 [ 152s] | [ 152s] 2681 | pid: *mut pid_t, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/admin_service.rs:2682:19 [ 152s] | [ 152s] 2682 | uid: *mut uid_t [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 152s] | [ 152s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 152s] | ^^^^^ [ 152s] [ 152s] 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 [ 152s] --> ./src/pkgmgr/server/backend_context.rs:3:33 [ 152s] | [ 152s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/cache_service.rs:12:26 [ 152s] | [ 152s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 152s] | ^^^^^ [ 152s] [ 152s] 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 [ 152s] --> ./src/pkgmgr/server/cache_service.rs:12:33 [ 152s] | [ 152s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/cache_service.rs:23:14 [ 152s] | [ 152s] 23 | uid: uid_t, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/cache_service.rs:48:17 [ 152s] | [ 152s] 48 | target_uid: uid_t, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/cache_service.rs:53:25 [ 152s] | [ 152s] 53 | let mut caller_uid: uid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] 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 [ 152s] --> ./src/pkgmgr/server/cache_service.rs:106:19 [ 152s] | [ 152s] 106 | pid: *mut pid_t, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/cache_service.rs:107:19 [ 152s] | [ 152s] 107 | uid: *mut uid_t [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 152s] | [ 152s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 152s] | ^^^^^ [ 152s] [ 152s] 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 [ 152s] --> ./src/pkgmgr/server/delayed_service.rs:13:33 [ 152s] | [ 152s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/info_service.rs:2:26 [ 152s] | [ 152s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 152s] | ^^^^^ [ 152s] [ 152s] 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 [ 152s] --> ./src/pkgmgr/server/info_service.rs:2:33 [ 152s] | [ 152s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/info_service.rs:37:90 [ 152s] | [ 152s] 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... [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/info_service.rs:38:94 [ 152s] | [ 152s] 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... [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/info_service.rs:40:88 [ 152s] | [ 152s] 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... [ 152s] | ^^^^^ [ 152s] [ 152s] 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 [ 152s] --> ./src/pkgmgr/server/info_service.rs:40:128 [ 152s] | [ 152s] 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... [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/info_service.rs:54:17 [ 152s] | [ 152s] 54 | target_uid: uid_t, [ 152s] | ^^^^^ [ 152s] [ 152s] 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 [ 152s] --> ./src/pkgmgr/server/info_service.rs:60:25 [ 152s] | [ 152s] 60 | let mut caller_pid: pid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/info_service.rs:61:25 [ 152s] | [ 152s] 61 | let mut caller_uid: uid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/info_service.rs:114:17 [ 152s] | [ 152s] 114 | target_uid: uid_t, [ 152s] | ^^^^^ [ 152s] [ 152s] 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 [ 152s] --> ./src/pkgmgr/server/info_service.rs:120:25 [ 152s] | [ 152s] 120 | let mut caller_pid: pid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/info_service.rs:121:25 [ 152s] | [ 152s] 121 | let mut caller_uid: uid_t = 0; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/info_service.rs:223:17 [ 152s] | [ 152s] 223 | target_uid: uid_t, [ 152s] | ^^^^^ [ 152s] [ 152s] 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 [ 152s] --> ./src/pkgmgr/server/info_service.rs:225:15 [ 152s] | [ 152s] 225 | pid: *mut pid_t, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/info_service.rs:228:43 [ 152s] | [ 152s] 228 | Util::check_app(pkg_id, target_uid as uid_t, pid) [ 152s] | ^^^^^ [ 152s] [ 152s] 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 [ 152s] --> ./src/pkgmgr/server/info_service.rs:242:19 [ 152s] | [ 152s] 242 | pid: *mut pid_t, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/info_service.rs:243:19 [ 152s] | [ 152s] 243 | uid: *mut uid_t [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/signal.rs:2:26 [ 152s] | [ 152s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 152s] | ^^^^^ [ 152s] [ 152s] 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 [ 152s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 152s] | [ 152s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/signal.rs:99:20 [ 152s] | [ 152s] 99 | const GLOBAL_USER: uid_t = 201; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/signal.rs:101:33 [ 152s] | [ 152s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/signal.rs:101:47 [ 152s] | [ 152s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/signal.rs:102:26 [ 152s] | [ 152s] 102 | let mut uid_vec: Vec = vec![]; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/signal.rs:110:28 [ 152s] | [ 152s] 110 | let mut uids: *mut uid_t = std::ptr::null_mut(); [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/signal.rs:124:14 [ 152s] | [ 152s] 124 | uid: uid_t, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/signal.rs:53:44 [ 152s] | [ 152s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/signal.rs:62:14 [ 152s] | [ 152s] 62 | uid: uid_t, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/signal.rs:86:14 [ 152s] | [ 152s] 86 | uid: uid_t, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/signal.rs:40:30 [ 152s] | [ 152s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 152s] | ^^^^^ [ 152s] [ 152s] 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 [ 152s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 152s] | [ 152s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/signal.rs:44:45 [ 152s] | [ 152s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:4:26 [ 152s] | [ 152s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 152s] | ^^^^^ [ 152s] [ 152s] 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 [ 152s] --> ./src/pkgmgr/server/util.rs:4:33 [ 152s] | [ 152s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:22:21 [ 152s] | [ 152s] 22 | const REGULAR_USER: uid_t = 5000; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:23:20 [ 152s] | [ 152s] 23 | const GLOBAL_USER: uid_t = 201; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:25:18 [ 152s] | [ 152s] 25 | const APPFW_UID: uid_t = 301; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:307:36 [ 152s] | [ 152s] 307 | let uid : uid_t = user_data as uid_t; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:307:15 [ 152s] | [ 152s] 307 | let uid : uid_t = user_data as uid_t; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:326:81 [ 152s] | [ 152s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 152s] | ^^^^^ [ 152s] [ 152s] 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 [ 152s] --> ./src/pkgmgr/server/util.rs:326:93 [ 152s] | [ 152s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:326:25 [ 152s] | [ 152s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 152s] | ^^^^^ [ 152s] [ 152s] 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 [ 152s] --> ./src/pkgmgr/server/util.rs:326:37 [ 152s] | [ 152s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:389:57 [ 152s] | [ 152s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:420:55 [ 152s] | [ 152s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:686:62 [ 152s] | [ 152s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:696:63 [ 152s] | [ 152s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:706:44 [ 152s] | [ 152s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:706:63 [ 152s] | [ 152s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:728:49 [ 152s] | [ 152s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:738:50 [ 152s] | [ 152s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:747:55 [ 152s] | [ 152s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:757:56 [ 152s] | [ 152s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:766:61 [ 152s] | [ 152s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:775:62 [ 152s] | [ 152s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:784:67 [ 152s] | [ 152s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:793:68 [ 152s] | [ 152s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:802:54 [ 152s] | [ 152s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 152s] | ^^^^^ [ 152s] [ 152s] 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 [ 152s] --> ./src/pkgmgr/server/util.rs:802:64 [ 152s] | [ 152s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:813:47 [ 152s] | [ 152s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:835:53 [ 152s] | [ 152s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:855:25 [ 152s] | [ 152s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:983:69 [ 152s] | [ 152s] 983 | pub fn get_application_info_by_appid(appid: *const c_char, uid: uid_t) -> Option<(CString, bool)> { [ 152s] | ^^^^^ [ 152s] [ 152s] 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 [ 152s] --> ./src/pkgmgr/server/util.rs:1012:41 [ 152s] | [ 152s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:1012:53 [ 152s] | [ 152s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:1029:71 [ 152s] | [ 152s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:1029:90 [ 152s] | [ 152s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:1076:56 [ 152s] | [ 152s] 1076 | pub fn update_app_label(appid: *const c_char, uid: uid_t, label: *const c_char) -> c_int { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:1080:55 [ 152s] | [ 152s] 1080 | pub fn update_app_icon(appid: *const c_char, uid: uid_t, icon_path: *const c_char) -> c_int { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:1108:49 [ 152s] | [ 152s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 152s] | ^^^^^ [ 152s] [ 152s] 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 [ 152s] --> ./src/pkgmgr/server/util.rs:1108:66 [ 152s] | [ 152s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:156:14 [ 152s] | [ 152s] 156 | uid: uid_t, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:166:14 [ 152s] | [ 152s] 166 | uid: uid_t, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:180:14 [ 152s] | [ 152s] 180 | uid: uid_t [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:185:14 [ 152s] | [ 152s] 185 | uid: uid_t [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:189:14 [ 152s] | [ 152s] 189 | uid: uid_t [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:194:14 [ 152s] | [ 152s] 194 | uid: uid_t, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:200:14 [ 152s] | [ 152s] 200 | uid: uid_t, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:206:14 [ 152s] | [ 152s] 206 | uid: uid_t, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:212:14 [ 152s] | [ 152s] 212 | uid: uid_t, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:218:14 [ 152s] | [ 152s] 218 | uid: uid_t, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:224:14 [ 152s] | [ 152s] 224 | uid: uid_t, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:237:32 [ 152s] | [ 152s] 237 | fn gum_user_get_sync(uid : uid_t, offline : c_int) -> *mut c_void; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:266:21 [ 152s] | [ 152s] 266 | caller_uid: uid_t [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:274:14 [ 152s] | [ 152s] 274 | uid: uid_t, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:40:30 [ 152s] | [ 152s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 152s] | ^^^^^ [ 152s] [ 152s] 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 [ 152s] --> ./src/pkgmgr/server/util.rs:40:37 [ 152s] | [ 152s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:46:18 [ 152s] | [ 152s] 46 | uid: uid_t, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:52:18 [ 152s] | [ 152s] 52 | uid: uid_t, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:67:18 [ 152s] | [ 152s] 67 | uid: uid_t, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:101:18 [ 152s] | [ 152s] 101 | uid: uid_t, [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:122:70 [ 152s] | [ 152s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:123:66 [ 152s] | [ 152s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:124:59 [ 152s] | [ 152s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/util.rs:125:97 [ 152s] | [ 152s] 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; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 152s] | [ 152s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 152s] | ^^^^^ [ 152s] [ 152s] 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 [ 152s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 152s] | [ 152s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/test/signal_tests.rs:12:26 [ 152s] | [ 152s] 12 | let mut uid_vec: Vec = vec![]; [ 152s] | ^^^^^ [ 152s] [ 152s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 152s] --> ./src/pkgmgr/server/test/signal_tests.rs:19:26 [ 152s] | [ 152s] 19 | let mut uid_vec: Vec = vec![]; [ 152s] | ^^^^^ [ 152s] [ 155s] warning: unreachable expression [ 155s] --> ./src/pkgmgr/server/backend_queue.rs:64:5 [ 155s] | [ 155s] 61 | return G_SOURCE_CONTINUE; [ 155s] | ------------------------ any code following this expression is unreachable [ 155s] ... [ 155s] 64 | 1 [ 155s] | ^ unreachable expression [ 155s] | [ 155s] = note: `#[warn(unreachable_code)]` on by default [ 155s] [ 160s] warning: unused import: `super::super::super::server::service::Service` [ 160s] --> ./src/pkgmgr/server/test/info_service_tests.rs:3:5 [ 160s] | [ 160s] 3 | use super::super::super::server::service::Service; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: unused variable: `context` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:297:5 [ 160s] | [ 160s] 297 | context: *mut c_void, [ 160s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 160s] | [ 160s] = note: `#[warn(unused_variables)]` on by default [ 160s] [ 160s] warning: unused variable: `context` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:306:5 [ 160s] | [ 160s] 306 | context: *mut c_void, [ 160s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 160s] [ 160s] warning: unused variable: `user_data` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:307:5 [ 160s] | [ 160s] 307 | user_data: *mut c_void, [ 160s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 160s] [ 160s] warning: unused variable: `ret` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:323:9 [ 160s] | [ 160s] 323 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 160s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 160s] [ 160s] warning: unused variable: `req_id` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:318:5 [ 160s] | [ 160s] 318 | req_id: *const c_char, [ 160s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 160s] [ 160s] warning: variable does not need to be mutable [ 160s] --> ./src/pkgmgr/server/admin_service.rs:415:9 [ 160s] | [ 160s] 415 | let mut backend_context = BackendContext::new( [ 160s] | ----^^^^^^^^^^^^^^^ [ 160s] | | [ 160s] | help: remove this `mut` [ 160s] | [ 160s] = note: `#[warn(unused_mut)]` on by default [ 160s] [ 160s] warning: unused variable: `ret` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:444:9 [ 160s] | [ 160s] 444 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 160s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 160s] [ 160s] warning: unused variable: `req_id` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:434:5 [ 160s] | [ 160s] 434 | req_id: *const c_char, [ 160s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 160s] [ 160s] warning: variable does not need to be mutable [ 160s] --> ./src/pkgmgr/server/admin_service.rs:510:9 [ 160s] | [ 160s] 510 | let mut backend_context = BackendContext::new( [ 160s] | ----^^^^^^^^^^^^^^^ [ 160s] | | [ 160s] | help: remove this `mut` [ 160s] [ 160s] warning: unused variable: `ret` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:549:9 [ 160s] | [ 160s] 549 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 160s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 160s] [ 160s] warning: variable does not need to be mutable [ 160s] --> ./src/pkgmgr/server/admin_service.rs:571:9 [ 160s] | [ 160s] 571 | let mut backend_context = BackendContext::new( [ 160s] | ----^^^^^^^^^^^^^^^ [ 160s] | | [ 160s] | help: remove this `mut` [ 160s] [ 160s] warning: unused variable: `ret` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:596:9 [ 160s] | [ 160s] 596 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 160s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 160s] [ 160s] warning: unused variable: `req_id` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:591:5 [ 160s] | [ 160s] 591 | req_id: *const c_char, [ 160s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 160s] [ 160s] warning: variable does not need to be mutable [ 160s] --> ./src/pkgmgr/server/admin_service.rs:688:9 [ 160s] | [ 160s] 688 | let mut backend_context = BackendContext::new( [ 160s] | ----^^^^^^^^^^^^^^^ [ 160s] | | [ 160s] | help: remove this `mut` [ 160s] [ 160s] warning: unused variable: `ret` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:719:9 [ 160s] | [ 160s] 719 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 160s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 160s] [ 160s] warning: unused variable: `req_id` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:706:5 [ 160s] | [ 160s] 706 | req_id: *const c_char, [ 160s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 160s] [ 160s] warning: variable does not need to be mutable [ 160s] --> ./src/pkgmgr/server/admin_service.rs:763:9 [ 160s] | [ 160s] 763 | let mut backend_context = BackendContext::new( [ 160s] | ----^^^^^^^^^^^^^^^ [ 160s] | | [ 160s] | help: remove this `mut` [ 160s] [ 160s] warning: unused variable: `ret` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:802:9 [ 160s] | [ 160s] 802 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 160s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 160s] [ 160s] warning: variable does not need to be mutable [ 160s] --> ./src/pkgmgr/server/admin_service.rs:824:9 [ 160s] | [ 160s] 824 | let mut backend_context = BackendContext::new( [ 160s] | ----^^^^^^^^^^^^^^^ [ 160s] | | [ 160s] | help: remove this `mut` [ 160s] [ 160s] warning: unused variable: `ret` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:854:9 [ 160s] | [ 160s] 854 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 160s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 160s] [ 160s] warning: variable does not need to be mutable [ 160s] --> ./src/pkgmgr/server/admin_service.rs:898:9 [ 160s] | [ 160s] 898 | let mut backend_context = BackendContext::new( [ 160s] | ----^^^^^^^^^^^^^^^ [ 160s] | | [ 160s] | help: remove this `mut` [ 160s] [ 160s] warning: unused variable: `ret` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:938:9 [ 160s] | [ 160s] 938 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 160s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 160s] [ 160s] warning: variable does not need to be mutable [ 160s] --> ./src/pkgmgr/server/admin_service.rs:961:9 [ 160s] | [ 160s] 961 | let mut backend_context = BackendContext::new( [ 160s] | ----^^^^^^^^^^^^^^^ [ 160s] | | [ 160s] | help: remove this `mut` [ 160s] [ 160s] warning: unused variable: `ret` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:991:9 [ 160s] | [ 160s] 991 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 160s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 160s] [ 160s] warning: variable does not need to be mutable [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1038:17 [ 160s] | [ 160s] 1038 | let mut backend_context = BackendContext::new( [ 160s] | ----^^^^^^^^^^^^^^^ [ 160s] | | [ 160s] | help: remove this `mut` [ 160s] [ 160s] warning: unused variable: `ret` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1073:9 [ 160s] | [ 160s] 1073 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 160s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 160s] [ 160s] warning: variable does not need to be mutable [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1123:17 [ 160s] | [ 160s] 1123 | let mut backend_context = BackendContext::new( [ 160s] | ----^^^^^^^^^^^^^^^ [ 160s] | | [ 160s] | help: remove this `mut` [ 160s] [ 160s] warning: unused variable: `pkg_id` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1186:9 [ 160s] | [ 160s] 1186 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) }); [ 160s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 160s] [ 160s] warning: variable does not need to be mutable [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1180:9 [ 160s] | [ 160s] 1180 | let mut handle : *mut c_void = Util::CreatePkgUpdateInfo(pkg_id, version, update_type); [ 160s] | ----^^^^^^ [ 160s] | | [ 160s] | help: remove this `mut` [ 160s] [ 160s] warning: variable does not need to be mutable [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1190:9 [ 160s] | [ 160s] 1190 | let mut backend_context = BackendContext::new( [ 160s] | ----^^^^^^^^^^^^^^^ [ 160s] | | [ 160s] | help: remove this `mut` [ 160s] [ 160s] warning: variable does not need to be mutable [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1248:9 [ 160s] | [ 160s] 1248 | let mut backend_context = BackendContext::new( [ 160s] | ----^^^^^^^^^^^^^^^ [ 160s] | | [ 160s] | help: remove this `mut` [ 160s] [ 160s] warning: variable does not need to be mutable [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1297:9 [ 160s] | [ 160s] 1297 | let mut backend_context = BackendContext::new( [ 160s] | ----^^^^^^^^^^^^^^^ [ 160s] | | [ 160s] | help: remove this `mut` [ 160s] [ 160s] warning: unused variable: `is_global` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1321:17 [ 160s] | [ 160s] 1321 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 160s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 160s] [ 160s] warning: unused variable: `is_global` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1368:17 [ 160s] | [ 160s] 1368 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 160s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 160s] [ 160s] warning: unused variable: `is_global` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1424:17 [ 160s] | [ 160s] 1424 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 160s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 160s] [ 160s] warning: unused variable: `is_global` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1472:17 [ 160s] | [ 160s] 1472 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 160s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 160s] [ 160s] warning: unused variable: `caller_uid` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1535:13 [ 160s] | [ 160s] 1535 | let mut caller_uid: uid_t = 0; [ 160s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 160s] [ 160s] warning: unused variable: `context` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1521:5 [ 160s] | [ 160s] 1521 | context: *mut c_void, [ 160s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 160s] [ 160s] warning: variable does not need to be mutable [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1535:9 [ 160s] | [ 160s] 1535 | let mut caller_uid: uid_t = 0; [ 160s] | ----^^^^^^^^^^ [ 160s] | | [ 160s] | help: remove this `mut` [ 160s] [ 160s] warning: variable does not need to be mutable [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1558:13 [ 160s] | [ 160s] 1558 | let mut backend_context = BackendContext::new( [ 160s] | ----^^^^^^^^^^^^^^^ [ 160s] | | [ 160s] | help: remove this `mut` [ 160s] [ 160s] warning: unused variable: `caller_uid` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1588:13 [ 160s] | [ 160s] 1588 | let mut caller_uid: uid_t = 0; [ 160s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 160s] [ 160s] warning: unused variable: `context` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1574:5 [ 160s] | [ 160s] 1574 | context: *mut c_void, [ 160s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 160s] [ 160s] warning: variable does not need to be mutable [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1588:9 [ 160s] | [ 160s] 1588 | let mut caller_uid: uid_t = 0; [ 160s] | ----^^^^^^^^^^ [ 160s] | | [ 160s] | help: remove this `mut` [ 160s] [ 160s] warning: variable does not need to be mutable [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1611:13 [ 160s] | [ 160s] 1611 | let mut backend_context = BackendContext::new( [ 160s] | ----^^^^^^^^^^^^^^^ [ 160s] | | [ 160s] | help: remove this `mut` [ 160s] [ 160s] warning: unused variable: `context` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1627:5 [ 160s] | [ 160s] 1627 | context: *mut c_void, [ 160s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 160s] [ 160s] warning: variable does not need to be mutable [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1669:17 [ 160s] | [ 160s] 1669 | let mut backend_context = BackendContext::new( [ 160s] | ----^^^^^^^^^^^^^^^ [ 160s] | | [ 160s] | help: remove this `mut` [ 160s] [ 160s] warning: unused variable: `context` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1689:5 [ 160s] | [ 160s] 1689 | context: *mut c_void, [ 160s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 160s] [ 160s] warning: variable does not need to be mutable [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1731:17 [ 160s] | [ 160s] 1731 | let mut backend_context = BackendContext::new( [ 160s] | ----^^^^^^^^^^^^^^^ [ 160s] | | [ 160s] | help: remove this `mut` [ 160s] [ 160s] warning: unused variable: `caller_uid` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1765:13 [ 160s] | [ 160s] 1765 | let mut caller_uid: uid_t = 0; [ 160s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 160s] [ 160s] warning: unused variable: `context` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1751:5 [ 160s] | [ 160s] 1751 | context: *mut c_void, [ 160s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 160s] [ 160s] warning: variable does not need to be mutable [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1765:9 [ 160s] | [ 160s] 1765 | let mut caller_uid: uid_t = 0; [ 160s] | ----^^^^^^^^^^ [ 160s] | | [ 160s] | help: remove this `mut` [ 160s] [ 160s] warning: variable does not need to be mutable [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1788:13 [ 160s] | [ 160s] 1788 | let mut backend_context = BackendContext::new( [ 160s] | ----^^^^^^^^^^^^^^^ [ 160s] | | [ 160s] | help: remove this `mut` [ 160s] [ 160s] warning: unused variable: `caller_uid` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1818:13 [ 160s] | [ 160s] 1818 | let mut caller_uid: uid_t = 0; [ 160s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 160s] [ 160s] warning: unused variable: `context` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1804:5 [ 160s] | [ 160s] 1804 | context: *mut c_void, [ 160s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 160s] [ 160s] warning: variable does not need to be mutable [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1818:9 [ 160s] | [ 160s] 1818 | let mut caller_uid: uid_t = 0; [ 160s] | ----^^^^^^^^^^ [ 160s] | | [ 160s] | help: remove this `mut` [ 160s] [ 160s] warning: variable does not need to be mutable [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1841:13 [ 160s] | [ 160s] 1841 | let mut backend_context = BackendContext::new( [ 160s] | ----^^^^^^^^^^^^^^^ [ 160s] | | [ 160s] | help: remove this `mut` [ 160s] [ 160s] warning: unused variable: `context` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1857:5 [ 160s] | [ 160s] 1857 | context: *mut c_void, [ 160s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 160s] [ 160s] warning: unused variable: `pid` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1860:5 [ 160s] | [ 160s] 1860 | pid: *mut c_int, [ 160s] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [ 160s] [ 160s] warning: unused variable: `user_data` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1861:5 [ 160s] | [ 160s] 1861 | user_data: *mut c_void, [ 160s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 160s] [ 160s] warning: variable does not need to be mutable [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1900:9 [ 160s] | [ 160s] 1900 | let mut backend_context = BackendContext::new( [ 160s] | ----^^^^^^^^^^^^^^^ [ 160s] | | [ 160s] | help: remove this `mut` [ 160s] [ 160s] warning: unused variable: `context` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:1932:5 [ 160s] | [ 160s] 1932 | context: *mut c_void, [ 160s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 160s] [ 160s] warning: variable does not need to be mutable [ 160s] --> ./src/pkgmgr/server/admin_service.rs:2012:9 [ 160s] | [ 160s] 2012 | let mut backend_context = BackendContext::new( [ 160s] | ----^^^^^^^^^^^^^^^ [ 160s] | | [ 160s] | help: remove this `mut` [ 160s] [ 160s] warning: variable does not need to be mutable [ 160s] --> ./src/pkgmgr/server/admin_service.rs:2063:9 [ 160s] | [ 160s] 2063 | let mut backend_context = BackendContext::new( [ 160s] | ----^^^^^^^^^^^^^^^ [ 160s] | | [ 160s] | help: remove this `mut` [ 160s] [ 160s] warning: unused variable: `context` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:2078:5 [ 160s] | [ 160s] 2078 | context: *mut c_void, [ 160s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 160s] [ 160s] warning: unused variable: `user_data` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:2081:5 [ 160s] | [ 160s] 2081 | user_data: *mut c_void, [ 160s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 160s] [ 160s] warning: unused variable: `context` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:2088:5 [ 160s] | [ 160s] 2088 | context: *mut c_void, [ 160s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 160s] [ 160s] warning: unused variable: `user_data` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:2091:5 [ 160s] | [ 160s] 2091 | user_data: *mut c_void, [ 160s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 160s] [ 160s] warning: variable does not need to be mutable [ 160s] --> ./src/pkgmgr/server/admin_service.rs:2133:9 [ 160s] | [ 160s] 2133 | let mut backend_context = BackendContext::new( [ 160s] | ----^^^^^^^^^^^^^^^ [ 160s] | | [ 160s] | help: remove this `mut` [ 160s] [ 160s] warning: variable does not need to be mutable [ 160s] --> ./src/pkgmgr/server/admin_service.rs:2183:9 [ 160s] | [ 160s] 2183 | let mut backend_context = BackendContext::new( [ 160s] | ----^^^^^^^^^^^^^^^ [ 160s] | | [ 160s] | help: remove this `mut` [ 160s] [ 160s] warning: unused variable: `context` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:2198:5 [ 160s] | [ 160s] 2198 | context: *mut c_void, [ 160s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 160s] [ 160s] warning: unused variable: `uid` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:2199:5 [ 160s] | [ 160s] 2199 | uid: c_int, [ 160s] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [ 160s] [ 160s] warning: unused variable: `pkg_id` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:2200:5 [ 160s] | [ 160s] 2200 | pkg_id: *const c_char, [ 160s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 160s] [ 160s] warning: unused variable: `user_data` [ 160s] --> ./src/pkgmgr/server/admin_service.rs:2201:5 [ 160s] | [ 160s] 2201 | user_data: *mut c_void, [ 160s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 160s] [ 161s] warning: variable does not need to be mutable [ 161s] --> ./src/pkgmgr/server/admin_service.rs:2364:9 [ 161s] | [ 161s] 2364 | let mut backend_context = BackendContext::new( [ 161s] | ----^^^^^^^^^^^^^^^ [ 161s] | | [ 161s] | help: remove this `mut` [ 161s] [ 161s] warning: variable does not need to be mutable [ 161s] --> ./src/pkgmgr/server/admin_service.rs:2434:9 [ 161s] | [ 161s] 2434 | let mut backend_context = BackendContext::new( [ 161s] | ----^^^^^^^^^^^^^^^ [ 161s] | | [ 161s] | help: remove this `mut` [ 161s] [ 161s] warning: variable does not need to be mutable [ 161s] --> ./src/pkgmgr/server/admin_service.rs:2504:9 [ 161s] | [ 161s] 2504 | let mut backend_context = BackendContext::new( [ 161s] | ----^^^^^^^^^^^^^^^ [ 161s] | | [ 161s] | help: remove this `mut` [ 161s] [ 161s] warning: unused variable: `ret` [ 161s] --> ./src/pkgmgr/server/admin_service.rs:2533:9 [ 161s] | [ 161s] 2533 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 161s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 161s] [ 161s] warning: variable does not need to be mutable [ 161s] --> ./src/pkgmgr/server/admin_service.rs:2552:9 [ 161s] | [ 161s] 2552 | let mut backend_context = BackendContext::new( [ 161s] | ----^^^^^^^^^^^^^^^ [ 161s] | | [ 161s] | help: remove this `mut` [ 161s] [ 161s] warning: unused variable: `context` [ 161s] --> ./src/pkgmgr/server/admin_service.rs:2567:5 [ 161s] | [ 161s] 2567 | context: *mut c_void, [ 161s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 161s] [ 161s] warning: variable does not need to be mutable [ 161s] --> ./src/pkgmgr/server/admin_service.rs:2597:9 [ 161s] | [ 161s] 2597 | let mut backend_context = BackendContext::new( [ 161s] | ----^^^^^^^^^^^^^^^ [ 161s] | | [ 161s] | help: remove this `mut` [ 161s] [ 161s] warning: unused variable: `context` [ 161s] --> ./src/pkgmgr/server/admin_service.rs:2612:5 [ 161s] | [ 161s] 2612 | context: *mut c_void, [ 161s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 161s] [ 161s] warning: variable does not need to be mutable [ 161s] --> ./src/pkgmgr/server/admin_service.rs:2656:9 [ 161s] | [ 161s] 2656 | let mut backend_context = BackendContext::new( [ 161s] | ----^^^^^^^^^^^^^^^ [ 161s] | | [ 161s] | help: remove this `mut` [ 161s] [ 161s] warning: unused variable: `status` [ 161s] --> ./src/pkgmgr/server/backend_queue.rs:38:17 [ 161s] | [ 161s] 38 | let mut status: c_int; [ 161s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [ 161s] [ 161s] warning: unused variable: `io` [ 161s] --> ./src/pkgmgr/server/backend_queue.rs:30:33 [ 161s] | [ 161s] 30 | extern "C" fn signal_handler_cb(io: *mut glib_sys::GIOChannel, [ 161s] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [ 161s] [ 161s] warning: unused variable: `cond` [ 161s] --> ./src/pkgmgr/server/backend_queue.rs:31:9 [ 161s] | [ 161s] 31 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 161s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 161s] [ 161s] warning: variable does not need to be mutable [ 161s] --> ./src/pkgmgr/server/backend_queue.rs:71:9 [ 161s] | [ 161s] 71 | let mut mut_queue = queue.borrow_mut(); [ 161s] | ----^^^^^^^^^ [ 161s] | | [ 161s] | help: remove this `mut` [ 161s] [ 161s] warning: variable does not need to be mutable [ 161s] --> ./src/pkgmgr/server/backend_queue.rs:189:28 [ 161s] | [ 161s] 189 | pub fn push(&mut self, mut context: BackendContext) -> i32 { [ 161s] | ----^^^^^^^ [ 161s] | | [ 161s] | help: remove this `mut` [ 161s] [ 161s] warning: unused variable: `req_key` [ 161s] --> ./src/pkgmgr/server/backend_queue.rs:296:41 [ 161s] | [ 161s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 161s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_key` [ 161s] [ 161s] warning: unused variable: `ret` [ 161s] --> ./src/pkgmgr/server/backend_queue.rs:296:50 [ 161s] | [ 161s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 161s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 161s] [ 161s] warning: unused variable: `s` [ 161s] --> ./src/pkgmgr/server/backend_queue.rs:296:55 [ 161s] | [ 161s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 161s] | ^ help: if this is intentional, prefix it with an underscore: `_s` [ 161s] [ 161s] warning: variable does not need to be mutable [ 161s] --> ./src/pkgmgr/server/backend_queue.rs:278:25 [ 161s] | [ 161s] 278 | let mut backend: &mut Backend = backend.unwrap(); [ 161s] | ----^^^^^^^ [ 161s] | | [ 161s] | help: remove this `mut` [ 161s] [ 161s] warning: unused variable: `context` [ 161s] --> ./src/pkgmgr/server/cache_service.rs:31:5 [ 161s] | [ 161s] 31 | context: *mut c_void, [ 161s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 161s] [ 161s] warning: unused variable: `context` [ 161s] --> ./src/pkgmgr/server/cache_service.rs:40:5 [ 161s] | [ 161s] 40 | context: *mut c_void, [ 161s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 161s] [ 161s] warning: unused variable: `user_data` [ 161s] --> ./src/pkgmgr/server/cache_service.rs:41:5 [ 161s] | [ 161s] 41 | user_data: *mut c_void, [ 161s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 161s] [ 161s] warning: unused variable: `ret` [ 161s] --> ./src/pkgmgr/server/cache_service.rs:54:9 [ 161s] | [ 161s] 54 | let ret = unsafe { rpc_port_stub_PkgMgrForClearCache_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 161s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 161s] [ 161s] warning: value assigned to `pkg_type` is never read [ 161s] --> ./src/pkgmgr/server/cache_service.rs:63:13 [ 161s] | [ 161s] 63 | let mut pkg_type: String = String::new(); [ 161s] | ^^^^^^^^ [ 161s] | [ 161s] = help: maybe it is overwritten before being read? [ 161s] = note: `#[warn(unused_assignments)]` on by default [ 161s] [ 161s] warning: variable does not need to be mutable [ 161s] --> ./src/pkgmgr/server/cache_service.rs:83:9 [ 161s] | [ 161s] 83 | let mut backend_context = BackendContext::new( [ 161s] | ----^^^^^^^^^^^^^^^ [ 161s] | | [ 161s] | help: remove this `mut` [ 161s] [ 161s] warning: unused variable: `context` [ 161s] --> ./src/pkgmgr/server/delayed_service.rs:32:5 [ 161s] | [ 161s] 32 | context: *mut c_void, [ 161s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 161s] [ 161s] warning: unused variable: `context` [ 161s] --> ./src/pkgmgr/server/delayed_service.rs:41:5 [ 161s] | [ 161s] 41 | context: *mut c_void, [ 161s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 161s] [ 161s] warning: unused variable: `user_data` [ 161s] --> ./src/pkgmgr/server/delayed_service.rs:42:5 [ 161s] | [ 161s] 42 | user_data: *mut c_void, [ 161s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 161s] [ 161s] warning: unused variable: `context` [ 161s] --> ./src/pkgmgr/server/delayed_service.rs:48:5 [ 161s] | [ 161s] 48 | context: *mut c_void, [ 161s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 161s] [ 161s] warning: unused variable: `context` [ 161s] --> ./src/pkgmgr/server/info_service.rs:43:55 [ 161s] | [ 161s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 161s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 161s] [ 161s] warning: unused variable: `context` [ 161s] --> ./src/pkgmgr/server/info_service.rs:48:58 [ 161s] | [ 161s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 161s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 161s] [ 161s] warning: unused variable: `user_data` [ 161s] --> ./src/pkgmgr/server/info_service.rs:48:80 [ 161s] | [ 161s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 161s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 161s] [ 161s] warning: variable does not need to be mutable [ 161s] --> ./src/pkgmgr/server/info_service.rs:98:9 [ 161s] | [ 161s] 98 | let mut backend_context = BackendContext::new( [ 161s] | ----^^^^^^^^^^^^^^^ [ 161s] | | [ 161s] | help: remove this `mut` [ 161s] [ 161s] warning: variable does not need to be mutable [ 161s] --> ./src/pkgmgr/server/info_service.rs:160:9 [ 161s] | [ 161s] 160 | let mut backend_context = BackendContext::new( [ 161s] | ----^^^^^^^^^^^^^^^ [ 161s] | | [ 161s] | help: remove this `mut` [ 161s] [ 161s] warning: unused variable: `context` [ 161s] --> ./src/pkgmgr/server/info_service.rs:195:5 [ 161s] | [ 161s] 195 | context: *mut c_void, [ 161s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 161s] [ 161s] warning: unused variable: `context` [ 161s] --> ./src/pkgmgr/server/info_service.rs:222:5 [ 161s] | [ 161s] 222 | context: *mut c_void, [ 161s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 161s] [ 161s] warning: unused variable: `user_data` [ 161s] --> ./src/pkgmgr/server/info_service.rs:226:5 [ 161s] | [ 161s] 226 | user_data: *mut c_void [ 161s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 161s] [ 162s] warning: variable does not need to be mutable [ 162s] --> ./src/pkgmgr/server/signal.rs:144:13 [ 162s] | [ 162s] 144 | let mut c_req_type: c_int; [ 162s] | ----^^^^^^^^^^ [ 162s] | | [ 162s] | help: remove this `mut` [ 162s] [ 168s] warning: value assigned to `size_result` is never read [ 168s] --> ./src/pkgmgr/server/util.rs:351:17 [ 168s] | [ 168s] 351 | let mut size_result: i64 = -1; [ 168s] | ^^^^^^^^^^^ [ 168s] | [ 168s] = help: maybe it is overwritten before being read? [ 168s] [ 168s] warning: unused variable: `cond` [ 168s] --> ./src/pkgmgr/server/util.rs:341:9 [ 168s] | [ 168s] 341 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 168s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 168s] [ 168s] warning: value assigned to `ret` is never read [ 168s] --> ./src/pkgmgr/server/util.rs:425:21 [ 168s] | [ 168s] 425 | let mut ret: c_int = 0; [ 168s] | ^^^ [ 168s] | [ 168s] = help: maybe it is overwritten before being read? [ 168s] [ 168s] warning: unreachable pattern [ 168s] --> ./src/pkgmgr/server/util.rs:478:17 [ 168s] | [ 168s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 168s] | -------------------------------------- matches any value [ 168s] ... [ 168s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 168s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 168s] | [ 168s] = note: `#[warn(unreachable_patterns)]` on by default [ 168s] [ 168s] warning: unreachable pattern [ 168s] --> ./src/pkgmgr/server/util.rs:483:17 [ 168s] | [ 168s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 168s] | -------------------------------------- matches any value [ 168s] ... [ 168s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 168s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 168s] [ 168s] warning: unreachable pattern [ 168s] --> ./src/pkgmgr/server/util.rs:488:17 [ 168s] | [ 168s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 168s] | -------------------------------------- matches any value [ 168s] ... [ 168s] 488 | _ => { [ 168s] | ^ unreachable pattern [ 168s] [ 168s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 168s] --> ./src/pkgmgr/server/util.rs:473:17 [ 168s] | [ 168s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 168s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 168s] [ 168s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_TEXT` [ 168s] --> ./src/pkgmgr/server/util.rs:478:17 [ 168s] | [ 168s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 168s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_TEXT` [ 168s] [ 168s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 168s] --> ./src/pkgmgr/server/util.rs:483:17 [ 168s] | [ 168s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 168s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 168s] [ 168s] warning: variable does not need to be mutable [ 168s] --> ./src/pkgmgr/server/util.rs:519:13 [ 168s] | [ 168s] 519 | let mut attr = xmlTextReaderGetAttribute(reader, RES_TYPE_ATTRIBUTE_KEY.as_ptr()); [ 168s] | ----^^^^ [ 168s] | | [ 168s] | help: remove this `mut` [ 168s] [ 168s] warning: variable does not need to be mutable [ 168s] --> ./src/pkgmgr/server/util.rs:588:13 [ 168s] | [ 168s] 588 | let mut reader = [ 168s] | ----^^^^^^ [ 168s] | | [ 168s] | help: remove this `mut` [ 168s] [ 168s] warning: unused variable: `gid` [ 168s] --> ./src/pkgmgr/server/util.rs:891:52 [ 168s] | [ 168s] 891 | fn set_environment(mut envs: Vec<&mut String>, gid: libc::gid_t) -> bool { [ 168s] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [ 168s] [ 168s] warning: unused variable: `x` [ 168s] --> ./src/pkgmgr/server/test/util_tests.rs:15:38 [ 168s] | [ 168s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 168s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 168s] [ 168s] warning: unused variable: `y` [ 168s] --> ./src/pkgmgr/server/test/util_tests.rs:15:40 [ 168s] | [ 168s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 168s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 168s] [ 168s] warning: unused variable: `z` [ 168s] --> ./src/pkgmgr/server/test/util_tests.rs:15:42 [ 168s] | [ 168s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 168s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 168s] [ 168s] warning: unused variable: `x` [ 168s] --> ./src/pkgmgr/server/test/util_tests.rs:22:38 [ 168s] | [ 168s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 168s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 168s] [ 168s] warning: unused variable: `y` [ 168s] --> ./src/pkgmgr/server/test/util_tests.rs:22:40 [ 168s] | [ 168s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 168s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 168s] [ 168s] warning: unused variable: `z` [ 168s] --> ./src/pkgmgr/server/test/util_tests.rs:22:42 [ 168s] | [ 168s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 168s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 168s] [ 168s] warning: unused variable: `x` [ 168s] --> ./src/pkgmgr/server/test/util_tests.rs:29:38 [ 168s] | [ 168s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 168s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 168s] [ 168s] warning: unused variable: `y` [ 168s] --> ./src/pkgmgr/server/test/util_tests.rs:29:40 [ 168s] | [ 168s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 168s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 168s] [ 168s] warning: unused variable: `z` [ 168s] --> ./src/pkgmgr/server/test/util_tests.rs:29:42 [ 168s] | [ 168s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 168s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 168s] [ 168s] warning: unused variable: `x` [ 168s] --> ./src/pkgmgr/server/test/util_tests.rs:31:39 [ 168s] | [ 168s] 31 | ctx2.expect().times(1).returning(|x,y| 1); [ 168s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 168s] [ 168s] warning: unused variable: `y` [ 168s] --> ./src/pkgmgr/server/test/util_tests.rs:31:41 [ 168s] | [ 168s] 31 | ctx2.expect().times(1).returning(|x,y| 1); [ 168s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 168s] [ 168s] warning: unused variable: `x` [ 168s] --> ./src/pkgmgr/server/test/util_tests.rs:38:38 [ 168s] | [ 168s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 168s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 168s] [ 168s] warning: unused variable: `y` [ 168s] --> ./src/pkgmgr/server/test/util_tests.rs:38:40 [ 168s] | [ 168s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 168s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 168s] [ 168s] warning: unused variable: `z` [ 168s] --> ./src/pkgmgr/server/test/util_tests.rs:38:42 [ 168s] | [ 168s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 168s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 168s] [ 168s] warning: unused variable: `x` [ 168s] --> ./src/pkgmgr/server/test/util_tests.rs:40:39 [ 168s] | [ 168s] 40 | ctx2.expect().times(1).returning(|x,y: *mut bool| { [ 168s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 168s] [ 168s] warning: unused variable: `x` [ 168s] --> ./src/pkgmgr/server/test/util_tests.rs:45:40 [ 168s] | [ 168s] 45 | ctx_d.expect().times(1).returning(|x| 0); [ 168s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 168s] [ 168s] warning: unused variable: `x` [ 168s] --> ./src/pkgmgr/server/test/util_tests.rs:52:38 [ 168s] | [ 168s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 168s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 168s] [ 168s] warning: unused variable: `y` [ 168s] --> ./src/pkgmgr/server/test/util_tests.rs:52:40 [ 168s] | [ 168s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 168s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 168s] [ 168s] warning: unused variable: `z` [ 168s] --> ./src/pkgmgr/server/test/util_tests.rs:52:42 [ 168s] | [ 168s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 168s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 168s] [ 168s] warning: unused variable: `x` [ 168s] --> ./src/pkgmgr/server/test/util_tests.rs:54:39 [ 168s] | [ 168s] 54 | ctx2.expect().times(1).returning(|x,y: *mut bool| { [ 168s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 168s] [ 168s] warning: unused variable: `x` [ 168s] --> ./src/pkgmgr/server/test/util_tests.rs:59:40 [ 168s] | [ 168s] 59 | ctx_d.expect().times(1).returning(|x| 0); [ 168s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 168s] [ 168s] warning: unused variable: `x` [ 168s] --> ./src/pkgmgr/server/test/util_tests.rs:67:38 [ 168s] | [ 168s] 67 | ctx.expect().times(1).returning(|x,y| 0); [ 168s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 168s] [ 168s] warning: unused variable: `y` [ 168s] --> ./src/pkgmgr/server/test/util_tests.rs:67:40 [ 168s] | [ 168s] 67 | ctx.expect().times(1).returning(|x,y| 0); [ 168s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 168s] [ 168s] warning: unused variable: `x` [ 168s] --> ./src/pkgmgr/server/test/util_tests.rs:74:38 [ 168s] | [ 168s] 74 | ctx.expect().times(1).returning(|x,y| 1); [ 168s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 168s] [ 168s] warning: unused variable: `y` [ 168s] --> ./src/pkgmgr/server/test/util_tests.rs:74:40 [ 168s] | [ 168s] 74 | ctx.expect().times(1).returning(|x,y| 1); [ 168s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 168s] [ 168s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:76:39 [ 169s] | [ 169s] 76 | ctx2.expect().times(1).returning(|x,y| -1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `y` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:76:41 [ 169s] | [ 169s] 76 | ctx2.expect().times(1).returning(|x,y| -1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:83:38 [ 169s] | [ 169s] 83 | ctx.expect().times(1).returning(|x,y| 1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `y` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:83:40 [ 169s] | [ 169s] 83 | ctx.expect().times(1).returning(|x,y| 1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:85:39 [ 169s] | [ 169s] 85 | ctx2.expect().times(1).returning(|x,y| 1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `y` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:85:41 [ 169s] | [ 169s] 85 | ctx2.expect().times(1).returning(|x,y| 1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:87:39 [ 169s] | [ 169s] 87 | ctx3.expect().times(1).returning(|x,y| 1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `y` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:87:41 [ 169s] | [ 169s] 87 | ctx3.expect().times(1).returning(|x,y| 1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:94:38 [ 169s] | [ 169s] 94 | ctx.expect().times(1).returning(|x,y| 1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `y` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:94:40 [ 169s] | [ 169s] 94 | ctx.expect().times(1).returning(|x,y| 1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:96:39 [ 169s] | [ 169s] 96 | ctx2.expect().times(1).returning(|x,y| 1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `y` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:96:41 [ 169s] | [ 169s] 96 | ctx2.expect().times(1).returning(|x,y| 1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:98:39 [ 169s] | [ 169s] 98 | ctx3.expect().times(1).returning(|x,y| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `y` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:98:41 [ 169s] | [ 169s] 98 | ctx3.expect().times(1).returning(|x,y| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:106:38 [ 169s] | [ 169s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `y` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:106:40 [ 169s] | [ 169s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 169s] [ 169s] warning: unused variable: `z` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:106:42 [ 169s] | [ 169s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:113:38 [ 169s] | [ 169s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `y` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:113:40 [ 169s] | [ 169s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 169s] [ 169s] warning: unused variable: `z` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:113:42 [ 169s] | [ 169s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:115:39 [ 169s] | [ 169s] 115 | ctx2.expect().times(1).returning(|x,y| 1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `y` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:115:41 [ 169s] | [ 169s] 115 | ctx2.expect().times(1).returning(|x,y| 1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:117:39 [ 169s] | [ 169s] 117 | ctx3.expect().times(1).returning(|x| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:124:38 [ 169s] | [ 169s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `y` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:124:40 [ 169s] | [ 169s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 169s] [ 169s] warning: unused variable: `z` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:124:42 [ 169s] | [ 169s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:126:39 [ 169s] | [ 169s] 126 | ctx2.expect().times(1).returning(|x,y| { [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:131:39 [ 169s] | [ 169s] 131 | ctx3.expect().times(1).returning(|x| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:138:38 [ 169s] | [ 169s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `y` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:138:40 [ 169s] | [ 169s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 169s] [ 169s] warning: unused variable: `z` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:138:42 [ 169s] | [ 169s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:140:39 [ 169s] | [ 169s] 140 | ctx2.expect().times(1).returning(|x,y| { [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:145:39 [ 169s] | [ 169s] 145 | ctx3.expect().times(1).returning(|x| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:153:38 [ 169s] | [ 169s] 153 | ctx.expect().times(1).returning(|x| 1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:160:38 [ 169s] | [ 169s] 160 | ctx.expect().times(1).returning(|x| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:162:39 [ 169s] | [ 169s] 162 | ctx2.expect().times(1).returning(|x,y| 1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `y` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:162:41 [ 169s] | [ 169s] 162 | ctx2.expect().times(1).returning(|x,y| 1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:164:40 [ 169s] | [ 169s] 164 | ctx_d.expect().times(1).returning(|x| -1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:171:38 [ 169s] | [ 169s] 171 | ctx.expect().times(1).returning(|x| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:173:39 [ 169s] | [ 169s] 173 | ctx2.expect().times(1).returning(|x,y| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `y` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:173:41 [ 169s] | [ 169s] 173 | ctx2.expect().times(1).returning(|x,y| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:175:39 [ 169s] | [ 169s] 175 | ctx3.expect().times(1).returning(|x,y| 1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `y` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:175:41 [ 169s] | [ 169s] 175 | ctx3.expect().times(1).returning(|x,y| 1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:177:40 [ 169s] | [ 169s] 177 | ctx_d.expect().times(1).returning(|x| -1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:184:38 [ 169s] | [ 169s] 184 | ctx.expect().times(1).returning(|x| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:186:39 [ 169s] | [ 169s] 186 | ctx2.expect().times(1).returning(|x,y| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `y` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:186:41 [ 169s] | [ 169s] 186 | ctx2.expect().times(1).returning(|x,y| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:188:39 [ 169s] | [ 169s] 188 | ctx3.expect().times(1).returning(|x,y| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `y` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:188:41 [ 169s] | [ 169s] 188 | ctx3.expect().times(1).returning(|x,y| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:190:39 [ 169s] | [ 169s] 190 | ctx4.expect().times(1).returning(|x,y| 1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `y` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:190:41 [ 169s] | [ 169s] 190 | ctx4.expect().times(1).returning(|x,y| 1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:192:40 [ 169s] | [ 169s] 192 | ctx_d.expect().times(1).returning(|x| -1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:199:38 [ 169s] | [ 169s] 199 | ctx.expect().times(1).returning(|x| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:201:39 [ 169s] | [ 169s] 201 | ctx2.expect().times(1).returning(|x,y| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `y` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:201:41 [ 169s] | [ 169s] 201 | ctx2.expect().times(1).returning(|x,y| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:203:39 [ 169s] | [ 169s] 203 | ctx3.expect().times(1).returning(|x,y| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `y` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:203:41 [ 169s] | [ 169s] 203 | ctx3.expect().times(1).returning(|x,y| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:205:39 [ 169s] | [ 169s] 205 | ctx4.expect().times(1).returning(|x,y| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `y` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:205:41 [ 169s] | [ 169s] 205 | ctx4.expect().times(1).returning(|x,y| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:213:38 [ 169s] | [ 169s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `y` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:213:40 [ 169s] | [ 169s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 169s] [ 169s] warning: unused variable: `z` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:213:42 [ 169s] | [ 169s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:220:38 [ 169s] | [ 169s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `y` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:220:40 [ 169s] | [ 169s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 169s] [ 169s] warning: unused variable: `z` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:220:42 [ 169s] | [ 169s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:222:39 [ 169s] | [ 169s] 222 | ctx2.expect().times(1).returning(|x,y| 1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `y` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:222:41 [ 169s] | [ 169s] 222 | ctx2.expect().times(1).returning(|x,y| 1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:224:40 [ 169s] | [ 169s] 224 | ctx_d.expect().times(1).returning(|x| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:231:38 [ 169s] | [ 169s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `y` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:231:40 [ 169s] | [ 169s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 169s] [ 169s] warning: unused variable: `z` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:231:42 [ 169s] | [ 169s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:233:39 [ 169s] | [ 169s] 233 | ctx2.expect().times(1).returning(|x,y| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `y` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:233:41 [ 169s] | [ 169s] 233 | ctx2.expect().times(1).returning(|x,y| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:235:39 [ 169s] | [ 169s] 235 | ctx3.expect().times(1).returning(|x,y| 1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `y` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:235:41 [ 169s] | [ 169s] 235 | ctx3.expect().times(1).returning(|x,y| 1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:237:40 [ 169s] | [ 169s] 237 | ctx_d.expect().times(1).returning(|x| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:244:38 [ 169s] | [ 169s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `y` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:244:40 [ 169s] | [ 169s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 169s] [ 169s] warning: unused variable: `z` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:244:42 [ 169s] | [ 169s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:246:39 [ 169s] | [ 169s] 246 | ctx2.expect().times(1).returning(|x,y| { [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:251:39 [ 169s] | [ 169s] 251 | ctx3.expect().times(1).returning(|x, y| { [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:256:40 [ 169s] | [ 169s] 256 | ctx_d.expect().times(1).returning(|x| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:264:38 [ 169s] | [ 169s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `y` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:264:40 [ 169s] | [ 169s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 169s] [ 169s] warning: unused variable: `z` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:264:42 [ 169s] | [ 169s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 169s] [ 169s] warning: unused variable: `e` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:264:44 [ 169s] | [ 169s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:271:38 [ 169s] | [ 169s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `z` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:271:42 [ 169s] | [ 169s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 169s] [ 169s] warning: unused variable: `e` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:271:44 [ 169s] | [ 169s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:285:38 [ 169s] | [ 169s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: unused variable: `z` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:285:42 [ 169s] | [ 169s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 169s] [ 169s] warning: unused variable: `e` [ 169s] --> ./src/pkgmgr/server/test/util_tests.rs:285:44 [ 169s] | [ 169s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 169s] [ 169s] warning: unused variable: `x` [ 169s] --> ./src/pkgmgr/server/test/signal_tests.rs:21:38 [ 169s] | [ 169s] 21 | ctx.expect().times(1).returning(|x| 0); [ 169s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 169s] [ 169s] warning: variable does not need to be mutable [ 169s] --> ./src/pkgmgr/server/test/signal_tests.rs:19:9 [ 169s] | [ 169s] 19 | let mut uid_vec: Vec = vec![]; [ 169s] | ----^^^^^^^ [ 169s] | | [ 169s] | help: remove this `mut` [ 169s] [ 169s] warning: variable does not need to be mutable [ 169s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:7:9 [ 169s] | [ 169s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 169s] | ----^^^^^^^^^^^^^ [ 169s] | | [ 169s] | help: remove this `mut` [ 169s] [ 169s] warning: variable does not need to be mutable [ 169s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:14:9 [ 169s] | [ 169s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 169s] | ----^^^^^^^^^^^^^ [ 169s] | | [ 169s] | help: remove this `mut` [ 169s] [ 169s] warning: variable does not need to be mutable [ 169s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:7:9 [ 169s] | [ 169s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 169s] | ----^^^^^^^^^^^^^ [ 169s] | | [ 169s] | help: remove this `mut` [ 169s] [ 169s] warning: variable does not need to be mutable [ 169s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:14:9 [ 169s] | [ 169s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 169s] | ----^^^^^^^^^^^^^ [ 169s] | | [ 169s] | help: remove this `mut` [ 169s] [ 169s] warning: variable does not need to be mutable [ 169s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:7:9 [ 169s] | [ 169s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 169s] | ----^^^^^^^^^^^^^ [ 169s] | | [ 169s] | help: remove this `mut` [ 169s] [ 169s] warning: variable does not need to be mutable [ 169s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:14:9 [ 169s] | [ 169s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 169s] | ----^^^^^^^^^^^^^ [ 169s] | | [ 169s] | help: remove this `mut` [ 169s] [ 169s] warning: variable does not need to be mutable [ 169s] --> ./src/pkgmgr/server/test/info_service_tests.rs:7:9 [ 169s] | [ 169s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 169s] | ----^^^^^^^^^^^^^ [ 169s] | | [ 169s] | help: remove this `mut` [ 169s] [ 169s] warning: variable does not need to be mutable [ 169s] --> ./src/pkgmgr/server/test/info_service_tests.rs:14:9 [ 169s] | [ 169s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 169s] | ----^^^^^^^^^^^^^ [ 169s] | | [ 169s] | help: remove this `mut` [ 169s] [ 169s] warning: variable does not need to be mutable [ 169s] --> ./src/pkgmgr/server/mod.rs:89:13 [ 169s] | [ 169s] 89 | let mut backend_queue = BackendQueue::new(self.mainloop); [ 169s] | ----^^^^^^^^^^^^^ [ 169s] | | [ 169s] | help: remove this `mut` [ 169s] [ 169s] warning: unnecessary `unsafe` block [ 169s] --> ./src/pkgmgr/server/admin_service.rs:995:32 [ 169s] | [ 169s] 993 | unsafe { [ 169s] | ------ because it's nested under this `unsafe` block [ 169s] 994 | match CString::new(generated_req_key.clone()) { [ 169s] 995 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 169s] | ^^^^^^ unnecessary `unsafe` block [ 169s] | [ 169s] = note: `#[warn(unused_unsafe)]` on by default [ 169s] [ 169s] warning: unnecessary `unsafe` block [ 169s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 169s] | [ 169s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 169s] | ^^^^^^ unnecessary `unsafe` block [ 169s] | [ 169s] ::: ./src/pkgmgr/server/admin_service.rs:993:5 [ 169s] | [ 169s] 993 | unsafe { [ 169s] | ------ because it's nested under this `unsafe` block [ 169s] ... [ 169s] 997 | error!("Fail to generate req key, err({:?})", e); [ 169s] | ------------------------------------------------ in this macro invocation [ 169s] | [ 169s] = 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) [ 169s] [ 169s] warning: unnecessary `unsafe` block [ 169s] --> ./src/pkgmgr/server/admin_service.rs:1023:46 [ 169s] | [ 169s] 993 | unsafe { [ 169s] | ------ because it's nested under this `unsafe` block [ 169s] ... [ 169s] 1023 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 169s] | ^^^^^^ unnecessary `unsafe` block [ 169s] [ 169s] warning: unnecessary `unsafe` block [ 169s] --> ./src/pkgmgr/server/admin_service.rs:1077:32 [ 169s] | [ 169s] 1075 | unsafe { [ 169s] | ------ because it's nested under this `unsafe` block [ 169s] 1076 | match CString::new(generated_req_key.clone()) { [ 169s] 1077 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 169s] | ^^^^^^ unnecessary `unsafe` block [ 169s] [ 169s] warning: unnecessary `unsafe` block [ 169s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 169s] | [ 169s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 169s] | ^^^^^^ unnecessary `unsafe` block [ 169s] | [ 169s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 169s] | [ 169s] 1075 | unsafe { [ 169s] | ------ because it's nested under this `unsafe` block [ 169s] ... [ 169s] 1079 | error!("Fail to generate req key, err({:?})", e); [ 169s] | ------------------------------------------------ in this macro invocation [ 169s] | [ 169s] = 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) [ 169s] [ 169s] warning: unnecessary `unsafe` block [ 169s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 169s] | [ 169s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 169s] | ^^^^^^ unnecessary `unsafe` block [ 169s] | [ 169s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 169s] | [ 169s] 1075 | unsafe { [ 169s] | ------ because it's nested under this `unsafe` block [ 169s] ... [ 169s] 1106 | debug!("push disable pkg {pkg_id}"); [ 169s] | ----------------------------------- in this macro invocation [ 169s] | [ 169s] = 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) [ 169s] [ 169s] warning: unnecessary `unsafe` block [ 169s] --> ./src/pkgmgr/server/admin_service.rs:1108:46 [ 169s] | [ 169s] 1075 | unsafe { [ 169s] | ------ because it's nested under this `unsafe` block [ 169s] ... [ 169s] 1108 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 169s] | ^^^^^^ unnecessary `unsafe` block [ 169s] [ 169s] warning: unnecessary `unsafe` block [ 169s] --> ./src/pkgmgr/server/admin_service.rs:1537:5 [ 169s] | [ 169s] 1537 | unsafe { [ 169s] | ^^^^^^ unnecessary `unsafe` block [ 169s] [ 169s] warning: unnecessary `unsafe` block [ 169s] --> ./src/pkgmgr/server/admin_service.rs:1590:5 [ 169s] | [ 169s] 1590 | unsafe { [ 169s] | ^^^^^^ unnecessary `unsafe` block [ 169s] [ 169s] warning: unnecessary `unsafe` block [ 169s] --> ./src/pkgmgr/server/admin_service.rs:1643:32 [ 169s] | [ 169s] 1641 | unsafe { [ 169s] | ------ because it's nested under this `unsafe` block [ 169s] 1642 | match CString::new(generated_req_key.clone()) { [ 169s] 1643 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 169s] | ^^^^^^ unnecessary `unsafe` block [ 169s] [ 169s] warning: unnecessary `unsafe` block [ 169s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 169s] | [ 169s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 169s] | ^^^^^^ unnecessary `unsafe` block [ 169s] | [ 169s] ::: ./src/pkgmgr/server/admin_service.rs:1641:5 [ 169s] | [ 169s] 1641 | unsafe { [ 169s] | ------ because it's nested under this `unsafe` block [ 169s] ... [ 169s] 1645 | error!("Fail to generate req key, err({:?})", e); [ 169s] | ------------------------------------------------ in this macro invocation [ 169s] | [ 169s] = 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) [ 169s] [ 169s] warning: unnecessary `unsafe` block [ 169s] --> ./src/pkgmgr/server/admin_service.rs:1657:42 [ 169s] | [ 169s] 1641 | unsafe { [ 169s] | ------ because it's nested under this `unsafe` block [ 169s] ... [ 169s] 1657 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 169s] | ^^^^^^ unnecessary `unsafe` block [ 169s] [ 169s] warning: unnecessary `unsafe` block [ 169s] --> ./src/pkgmgr/server/admin_service.rs:1705:32 [ 169s] | [ 169s] 1703 | unsafe { [ 169s] | ------ because it's nested under this `unsafe` block [ 169s] 1704 | match CString::new(generated_req_key.clone()) { [ 169s] 1705 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 169s] | ^^^^^^ unnecessary `unsafe` block [ 169s] [ 169s] warning: unnecessary `unsafe` block [ 169s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 169s] | [ 169s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 169s] | ^^^^^^ unnecessary `unsafe` block [ 169s] | [ 169s] ::: ./src/pkgmgr/server/admin_service.rs:1703:5 [ 169s] | [ 169s] 1703 | unsafe { [ 169s] | ------ because it's nested under this `unsafe` block [ 169s] ... [ 169s] 1707 | error!("Fail to generate req key, err({:?})", e); [ 169s] | ------------------------------------------------ in this macro invocation [ 169s] | [ 169s] = 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) [ 169s] [ 169s] warning: unnecessary `unsafe` block [ 169s] --> ./src/pkgmgr/server/admin_service.rs:1719:42 [ 169s] | [ 169s] 1703 | unsafe { [ 169s] | ------ because it's nested under this `unsafe` block [ 169s] ... [ 169s] 1719 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 169s] | ^^^^^^ unnecessary `unsafe` block [ 169s] [ 169s] warning: unnecessary `unsafe` block [ 169s] --> ./src/pkgmgr/server/admin_service.rs:1767:5 [ 169s] | [ 169s] 1767 | unsafe { [ 169s] | ^^^^^^ unnecessary `unsafe` block [ 169s] [ 169s] warning: unnecessary `unsafe` block [ 169s] --> ./src/pkgmgr/server/admin_service.rs:1820:5 [ 169s] | [ 169s] 1820 | unsafe { [ 169s] | ^^^^^^ unnecessary `unsafe` block [ 169s] [ 170s] warning: unnecessary `unsafe` block [ 170s] --> ./src/pkgmgr/server/admin_service.rs:2296:17 [ 170s] | [ 170s] 2294 | unsafe { [ 170s] | ------ because it's nested under this `unsafe` block [ 170s] 2295 | if !(*value.offset(i as isize)).is_null() { [ 170s] 2296 | unsafe { free(*value.offset(i as isize) as *mut _) }; [ 170s] | ^^^^^^ unnecessary `unsafe` block [ 170s] [ 170s] warning: unnecessary `unsafe` block [ 170s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 170s] | [ 170s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 170s] | ^^^^^^ unnecessary `unsafe` block [ 170s] | [ 170s] ::: ./src/pkgmgr/server/admin_service.rs:2793:9 [ 170s] | [ 170s] 2793 | unsafe { [ 170s] | ------ because it's nested under this `unsafe` block [ 170s] 2794 | let ret = rpc_port_stub_PkgMgrAdmin_register(&mut self.callbacks, self as *mut _ as *mut c_void); [ 170s] 2795 | debug!("admin service start : {ret}"); [ 170s] | ------------------------------------- in this macro invocation [ 170s] | [ 170s] = 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) [ 170s] [ 170s] warning: unnecessary `unsafe` block [ 170s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 170s] | [ 170s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 170s] | ^^^^^^ unnecessary `unsafe` block [ 170s] | [ 170s] ::: ./src/pkgmgr/server/admin_service.rs:2801:9 [ 170s] | [ 170s] 2801 | unsafe { [ 170s] | ------ because it's nested under this `unsafe` block [ 170s] 2802 | let ret = rpc_port_stub_PkgMgrAdmin_unregister(); [ 170s] 2803 | debug!("ret : {ret}"); [ 170s] | --------------------- in this macro invocation [ 170s] | [ 170s] = 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) [ 170s] [ 170s] warning: unnecessary `unsafe` block [ 170s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 170s] | [ 170s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 170s] | ^^^^^^ unnecessary `unsafe` block [ 170s] | [ 170s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 170s] | [ 170s] 204 | unsafe { [ 170s] | ------ because it's nested under this `unsafe` block [ 170s] ... [ 170s] 210 | error!("sigprocmask failed"); [ 170s] | ---------------------------- in this macro invocation [ 170s] | [ 170s] = 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) [ 170s] [ 170s] warning: unnecessary `unsafe` block [ 170s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 170s] | [ 170s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 170s] | ^^^^^^ unnecessary `unsafe` block [ 170s] | [ 170s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 170s] | [ 170s] 204 | unsafe { [ 170s] | ------ because it's nested under this `unsafe` block [ 170s] ... [ 170s] 216 | error!("signalfd failed"); [ 170s] | ------------------------- in this macro invocation [ 170s] | [ 170s] = 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) [ 170s] [ 170s] warning: unnecessary `unsafe` block [ 170s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 170s] | [ 170s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 170s] | ^^^^^^ unnecessary `unsafe` block [ 170s] | [ 170s] ::: ./src/pkgmgr/server/cache_service.rs:134:9 [ 170s] | [ 170s] 134 | unsafe { [ 170s] | ------ because it's nested under this `unsafe` block [ 170s] ... [ 170s] 139 | debug!("cache service start : {ret}"); [ 170s] | ------------------------------------- in this macro invocation [ 170s] | [ 170s] = 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) [ 170s] [ 170s] warning: unnecessary `unsafe` block [ 170s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 170s] | [ 170s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 170s] | ^^^^^^ unnecessary `unsafe` block [ 170s] | [ 170s] ::: ./src/pkgmgr/server/cache_service.rs:145:9 [ 170s] | [ 170s] 145 | unsafe { [ 170s] | ------ because it's nested under this `unsafe` block [ 170s] 146 | let ret = rpc_port_stub_PkgMgrForClearCache_unregister(); [ 170s] 147 | debug!("ret : {ret}"); [ 170s] | --------------------- in this macro invocation [ 170s] | [ 170s] = 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) [ 170s] [ 170s] warning: unnecessary `unsafe` block [ 170s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 170s] | [ 170s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 170s] | ^^^^^^ unnecessary `unsafe` block [ 170s] | [ 170s] ::: ./src/pkgmgr/server/delayed_service.rs:107:9 [ 170s] | [ 170s] 107 | unsafe { [ 170s] | ------ because it's nested under this `unsafe` block [ 170s] ... [ 170s] 112 | debug!("delayed result service start : {ret}"); [ 170s] | ---------------------------------------------- in this macro invocation [ 170s] | [ 170s] = 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) [ 170s] [ 170s] warning: unnecessary `unsafe` block [ 170s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 170s] | [ 170s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 170s] | ^^^^^^ unnecessary `unsafe` block [ 170s] | [ 170s] ::: ./src/pkgmgr/server/delayed_service.rs:118:9 [ 170s] | [ 170s] 118 | unsafe { [ 170s] | ------ because it's nested under this `unsafe` block [ 170s] 119 | let ret = rpc_port_stub_DelayedResult_unregister(); [ 170s] 120 | debug!("ret : {ret}"); [ 170s] | --------------------- in this macro invocation [ 170s] | [ 170s] = 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) [ 170s] [ 170s] warning: unnecessary `unsafe` block [ 170s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 170s] | [ 170s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 170s] | ^^^^^^ unnecessary `unsafe` block [ 170s] | [ 170s] ::: ./src/pkgmgr/server/info_service.rs:165:13 [ 170s] | [ 170s] 165 | unsafe { [ 170s] | ------ because it's nested under this `unsafe` block [ 170s] 166 | if mkfifo(fifo_path.as_ptr() as *const c_char, 0o600) < 0 { [ 170s] 167 | error!("Failed to mkfifo"); [ 170s] | -------------------------- in this macro invocation [ 170s] | [ 170s] = 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) [ 170s] [ 170s] warning: unnecessary `unsafe` block [ 170s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 170s] | [ 170s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 170s] | ^^^^^^ unnecessary `unsafe` block [ 170s] | [ 170s] ::: ./src/pkgmgr/server/info_service.rs:268:9 [ 170s] | [ 170s] 268 | unsafe { [ 170s] | ------ because it's nested under this `unsafe` block [ 170s] ... [ 170s] 273 | debug!("info service start : {ret}"); [ 170s] | ------------------------------------ in this macro invocation [ 170s] | [ 170s] = 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) [ 170s] [ 170s] warning: unnecessary `unsafe` block [ 170s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 170s] | [ 170s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 170s] | ^^^^^^ unnecessary `unsafe` block [ 170s] | [ 170s] ::: ./src/pkgmgr/server/info_service.rs:279:9 [ 170s] | [ 170s] 279 | unsafe { [ 170s] | ------ because it's nested under this `unsafe` block [ 170s] 280 | let ret = rpc_port_stub_PkgMgr_unregister(); [ 170s] 281 | debug!("ret : {ret}"); [ 170s] | --------------------- in this macro invocation [ 170s] | [ 170s] = 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) [ 170s] [ 170s] warning: unnecessary `unsafe` block [ 170s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 170s] | [ 170s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 170s] | ^^^^^^ unnecessary `unsafe` block [ 170s] | [ 170s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 170s] | [ 170s] 131 | unsafe { [ 170s] | ------ because it's nested under this `unsafe` block [ 170s] ... [ 170s] 134 | error!("Failure in creating the pkgmgr_installer object"); [ 170s] | --------------------------------------------------------- in this macro invocation [ 170s] | [ 170s] = 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) [ 170s] [ 170s] warning: unnecessary `unsafe` block [ 170s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 170s] | [ 170s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 170s] | ^^^^^^ unnecessary `unsafe` block [ 170s] | [ 170s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 170s] | [ 170s] 131 | unsafe { [ 170s] | ------ because it's nested under this `unsafe` block [ 170s] ... [ 170s] 139 | error!("pkgmgr_installer_set_uid fail"); [ 170s] | --------------------------------------- in this macro invocation [ 170s] | [ 170s] = 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) [ 170s] [ 170s] warning: unnecessary `unsafe` block [ 170s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 170s] | [ 170s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 170s] | ^^^^^^ unnecessary `unsafe` block [ 170s] | [ 170s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 170s] | [ 170s] 131 | unsafe { [ 170s] | ------ because it's nested under this `unsafe` block [ 170s] ... [ 170s] 154 | warn!("Unsupported req_type[{}]", req_type as c_int); [ 170s] | ---------------------------------------------------- in this macro invocation [ 170s] | [ 170s] = 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) [ 170s] [ 170s] warning: unnecessary `unsafe` block [ 170s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 170s] | [ 170s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 170s] | ^^^^^^ unnecessary `unsafe` block [ 170s] | [ 170s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 170s] | [ 170s] 131 | unsafe { [ 170s] | ------ because it's nested under this `unsafe` block [ 170s] ... [ 170s] 161 | error!("pkgmgr_installer_set_request_type fail"); [ 170s] | ------------------------------------------------ in this macro invocation [ 170s] | [ 170s] = 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) [ 170s] [ 170s] warning: unnecessary `unsafe` block [ 170s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 170s] | [ 170s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 170s] | ^^^^^^ unnecessary `unsafe` block [ 170s] | [ 170s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 170s] | [ 170s] 131 | unsafe { [ 170s] | ------ because it's nested under this `unsafe` block [ 170s] ... [ 170s] 168 | error!("pkgmgr_installer_set_session_id fail : {:?}", c_req_id); [ 170s] | --------------------------------------------------------------- in this macro invocation [ 170s] | [ 170s] = 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) [ 170s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 171s] | [ 171s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] | [ 171s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 171s] | [ 171s] 309 | unsafe { [ 171s] | ------ because it's nested under this `unsafe` block [ 171s] 310 | if pkgmgrinfo_appinfo_get_appid(pkgmgrinfo_appinfo_h, &mut app_id) != 0 { [ 171s] 311 | error!("Failed get appid"); [ 171s] | -------------------------- in this macro invocation [ 171s] | [ 171s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 171s] | [ 171s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] | [ 171s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 171s] | [ 171s] 309 | unsafe { [ 171s] | ------ because it's nested under this `unsafe` block [ 171s] ... [ 171s] 314 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 171s] | --------------------------------------------------------- in this macro invocation [ 171s] | [ 171s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/server/util.rs:326:46 [ 171s] | [ 171s] 325 | unsafe { [ 171s] | ------ because it's nested under this `unsafe` block [ 171s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 171s] | [ 171s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] | [ 171s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 171s] | [ 171s] 325 | unsafe { [ 171s] | ------ because it's nested under this `unsafe` block [ 171s] ... [ 171s] 329 | error!("Failed get appid"); [ 171s] | -------------------------- in this macro invocation [ 171s] | [ 171s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 171s] | [ 171s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] | [ 171s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 171s] | [ 171s] 325 | unsafe { [ 171s] | ------ because it's nested under this `unsafe` block [ 171s] ... [ 171s] 333 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 171s] | --------------------------------------------------------- in this macro invocation [ 171s] | [ 171s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 171s] | [ 171s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] | [ 171s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 171s] | [ 171s] 342 | unsafe { [ 171s] | ------ because it's nested under this `unsafe` block [ 171s] ... [ 171s] 355 | error!("getsize fd read failed: {:?}", Util::c_char_to_cstr((*err).message)); [ 171s] | ---------------------------------------------------------------------------- in this macro invocation [ 171s] | [ 171s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 171s] | [ 171s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] | [ 171s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 171s] | [ 171s] 342 | unsafe { [ 171s] | ------ because it's nested under this `unsafe` block [ 171s] ... [ 171s] 361 | error!("empty result"); [ 171s] | ---------------------- in this macro invocation [ 171s] | [ 171s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 171s] | [ 171s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] | [ 171s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 171s] | [ 171s] 390 | unsafe { [ 171s] | ------ because it's nested under this `unsafe` block [ 171s] ... [ 171s] 399 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 171s] | --------------------------------------------------------- in this macro invocation [ 171s] | [ 171s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 171s] | [ 171s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] | [ 171s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 171s] | [ 171s] 390 | unsafe { [ 171s] | ------ because it's nested under this `unsafe` block [ 171s] ... [ 171s] 406 | error!("Fail to get is readonly"); [ 171s] | --------------------------------- in this macro invocation [ 171s] | [ 171s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 171s] | [ 171s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] | [ 171s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 171s] | [ 171s] 422 | unsafe { [ 171s] | ------ because it's nested under this `unsafe` block [ 171s] ... [ 171s] 429 | error!("Not found package"); [ 171s] | --------------------------- in this macro invocation [ 171s] | [ 171s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 171s] [ 171s] warning: unnecessary `unsafe` block [ 171s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 171s] | [ 171s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 171s] | ^^^^^^ unnecessary `unsafe` block [ 171s] | [ 171s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 171s] | [ 171s] 422 | unsafe { [ 171s] | ------ because it's nested under this `unsafe` block [ 171s] ... [ 171s] 445 | debug!("pkgtype - {ret_string}"); [ 171s] | -------------------------------- in this macro invocation [ 171s] | [ 171s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `debug` (in Nightly builds, run with -Z macro-backtrace for more info) [ 171s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:803:9 [ 172s] | [ 172s] 803 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] 804 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 172s] 805 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 172s] | ------------------------------------------------------ in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `warn` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 172s] | [ 172s] 814 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] 815 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 172s] 816 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 172s] | ------------------------------------------------------ in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `warn` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 172s] | [ 172s] 814 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 822 | error!("Failed to get pid of app{:?}", CStr::from_ptr(appid)); [ 172s] | ------------------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 172s] | [ 172s] 814 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 828 | error!("Failed to terminate app{:?}", CStr::from_ptr(appid)); [ 172s] | ------------------------------------------------------------ in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 172s] | [ 172s] 836 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 840 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 172s] | --------------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 172s] | [ 172s] 836 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 848 | error!("Failed to get list for {:?}", CStr::from_ptr(pkgid)); [ 172s] | ------------------------------------------------------------ in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 172s] | [ 172s] 859 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 863 | warn!("cannot get user information from gumd, retry"); [ 172s] | ----------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `warn` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 172s] | [ 172s] 859 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 871 | error!("cannot get user information from gumd, failed"); [ 172s] | ------------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 172s] | [ 172s] 859 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 877 | error!("cannot get user type"); [ 172s] | ------------------------------ in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 172s] | [ 172s] 892 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 895 | error!("Failed to get the number of supplementary group IDs"); [ 172s] | ------------------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 172s] | [ 172s] 892 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 901 | error!("Failed to get list of supplementary group IDs"); [ 172s] | ------------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 172s] | [ 172s] 892 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 908 | error!("setgroups failed: {}", *__errno_location()); [ 172s] | --------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 172s] | [ 172s] 928 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 942 | error!("getpwuid_r fail"); [ 172s] | ------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 172s] | [ 172s] 928 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 949 | error!("Fail to get str, err({:?})", e); [ 172s] | --------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 172s] | [ 172s] 928 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 957 | error!("Fail to get str, err({:?})", e); [ 172s] | --------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 172s] | [ 172s] 928 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 966 | error!("Failed to set env for the user : {}", APPFW_UID); [ 172s] | -------------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 172s] | [ 172s] 984 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 987 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 172s] | ----------------------------------------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 172s] | [ 172s] 984 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 993 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 172s] | ---------------------------------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 172s] | [ 172s] 984 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 1000 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 172s] | ---------------------------------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/server/util.rs:1005:40 [ 172s] | [ 172s] 984 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 1005 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) } ); [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 172s] | [ 172s] 1081 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 1084 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 172s] | ----------------------------------------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 172s] | [ 172s] 1081 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 1090 | error!("Failed get root path for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 172s] | --------------------------------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 172s] | [ 172s] 1081 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 1098 | error!("Invalid path[{:?}]", Self::c_char_to_cstr(icon_path)); [ 172s] | ------------------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:1109:9 [ 172s] | [ 172s] 1109 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 1119 | error!("Fail to get list for {:?}", CStr::from_ptr(pkgid)); [ 172s] | ---------------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 172s] | [ 172s] 1129 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 1132 | error!("failed to open the fifo({}), errno({})", fifo_path, *__errno_location()); [ 172s] | -------------------------------------------------------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: unnecessary `unsafe` block [ 172s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 172s] | [ 172s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 172s] | ^^^^^^ unnecessary `unsafe` block [ 172s] | [ 172s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 172s] | [ 172s] 1129 | unsafe { [ 172s] | ------ because it's nested under this `unsafe` block [ 172s] ... [ 172s] 1155 | error!("failed to add io watch"); [ 172s] | -------------------------------- in this macro invocation [ 172s] | [ 172s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 172s] [ 172s] warning: constant `SD_LISTEN_FDS_START` is never used [ 172s] --> ./src/pkgmgr/server/mod.rs:28:7 [ 172s] | [ 172s] 28 | const SD_LISTEN_FDS_START: i32 = 3; [ 172s] | ^^^^^^^^^^^^^^^^^^^ [ 172s] | [ 172s] = note: `#[warn(dead_code)]` on by default [ 172s] [ 172s] warning: multiple variants are never constructed [ 172s] --> ./src/pkgmgr/server/mod.rs:43:5 [ 172s] | [ 172s] 42 | enum AUL_RETURN_VALUE { [ 172s] | ---------------- variants in this enum [ 172s] 43 | AUL_R_ENOMEM = -16, //< Out of memory (Since 5.5) [ 172s] | ^^^^^^^^^^^^ [ 172s] 44 | AUL_R_ENOENT = -15, //< App directory entry error [ 172s] | ^^^^^^^^^^^^ [ 172s] 45 | AUL_R_EREJECTED = -14, //< App disable for mode [ 172s] | ^^^^^^^^^^^^^^^ [ 172s] 46 | AUL_R_ENOAPP = -13, //< Failed to find app ID or pkg ID [ 172s] | ^^^^^^^^^^^^ [ 172s] 47 | AUL_R_EHIDDENFORGUEST = -11, //< App hidden for guest mode [ 172s] | ^^^^^^^^^^^^^^^^^^^^^ [ 172s] 48 | AUL_R_ENOLAUNCHPAD = -10, //< no launchpad [ 172s] | ^^^^^^^^^^^^^^^^^^ [ 172s] 49 | AUL_R_ETERMINATING = -9, //< application terminating [ 172s] | ^^^^^^^^^^^^^^^^^^ [ 172s] 50 | AUL_R_EILLACC = -8, //< Illegal Access [ 172s] | ^^^^^^^^^^^^^ [ 172s] 51 | AUL_R_LOCAL = -7, //< Launch by himself [ 172s] | ^^^^^^^^^^^ [ 172s] 52 | AUL_R_ETIMEOUT = -6, //< Timeout [ 172s] | ^^^^^^^^^^^^^^ [ 172s] 53 | AUL_R_ECANCELED = -5, //< Operation canceled [ 172s] | ^^^^^^^^^^^^^^^ [ 172s] 54 | AUL_R_EINVAL = -4, //< Invalid argument [ 172s] | ^^^^^^^^^^^^ [ 172s] 55 | AUL_R_ECOMM = -3, //< Comunication Error [ 172s] | ^^^^^^^^^^^ [ 172s] 56 | AUL_R_ENOINIT = -2, //< AUL handler NOT initialized [ 172s] | ^^^^^^^^^^^^^ [ 172s] 57 | AUL_R_ERROR = -1, //< General error [ 172s] | ^^^^^^^^^^^ [ 172s] [ 172s] warning: field `timer` is never read [ 172s] --> ./src/pkgmgr/server/mod.rs:63:5 [ 172s] | [ 172s] 61 | pub struct Server { [ 172s] | ------ field in this struct [ 172s] 62 | mainloop: *mut GMainLoop, [ 172s] 63 | timer: c_uint [ 172s] | ^^^^^ [ 172s] [ 172s] warning: variants `IO_ERROR`, `OUT_OF_MEMORY`, `INVALID_PARAMETER`, and `PERMISSION_DENIED` are never constructed [ 172s] --> ./src/pkgmgr/server/admin_service.rs:29:5 [ 172s] | [ 172s] 27 | enum RPC_PORT_ERROR { [ 172s] | -------------- variants in this enum [ 172s] 28 | NONE = 0, //< Successful [ 172s] 29 | IO_ERROR = -5, //< Internal I/O error [ 172s] | ^^^^^^^^ [ 172s] 30 | OUT_OF_MEMORY = -12, //< Out of memory [ 172s] | ^^^^^^^^^^^^^ [ 172s] 31 | INVALID_PARAMETER = -22, //< Invalid parameter [ 172s] | ^^^^^^^^^^^^^^^^^ [ 172s] 32 | PERMISSION_DENIED = -13, //< Permission denied [ 172s] | ^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: method `generate_request_id` is never used [ 172s] --> ./src/pkgmgr/server/admin_service.rs:2786:8 [ 172s] | [ 172s] 2713 | impl AdminService { [ 172s] | ----------------- method in this implementation [ 172s] ... [ 172s] 2786 | fn generate_request_id(&self) -> String { [ 172s] | ^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: field `request_type` is never read [ 172s] --> ./src/pkgmgr/server/backend_context.rs:7:5 [ 172s] | [ 172s] 6 | pub struct BackendContext { [ 172s] | -------------- field in this struct [ 172s] 7 | request_type: RequestType, [ 172s] | ^^^^^^^^^^^^ [ 172s] [ 172s] warning: type alias `GIOChannel` is never used [ 172s] --> ./src/pkgmgr/server/backend_queue.rs:14:6 [ 172s] | [ 172s] 14 | type GIOChannel = *mut c_void; [ 172s] | ^^^^^^^^^^ [ 172s] [ 172s] warning: type alias `GIOCondition` is never used [ 172s] --> ./src/pkgmgr/server/backend_queue.rs:15:6 [ 172s] | [ 172s] 15 | type GIOCondition = c_int; [ 172s] | ^^^^^^^^^^^^ [ 172s] [ 172s] warning: variants `EIO`, `ENOPKG`, `EPRIV`, `ETIMEOUT`, `EINVAL`, and `ECOMM` are never constructed [ 172s] --> ./src/pkgmgr/server/info_service.rs:22:5 [ 172s] | [ 172s] 20 | enum PKGMGR_RETURN_VALUE { [ 172s] | ------------------- variants in this enum [ 172s] 21 | ESYSTEM = -9, // Severe system error [ 172s] 22 | EIO = -8, // IO error [ 172s] | ^^^ [ 172s] 23 | ENOMEM = -7, // Out of memory [ 172s] 24 | ENOPKG = -6, // No such package [ 172s] | ^^^^^^ [ 172s] 25 | EPRIV = -5, // Privilege denied [ 172s] | ^^^^^ [ 172s] 26 | ETIMEOUT = -4, // Timeout [ 172s] | ^^^^^^^^ [ 172s] 27 | EINVAL = -3, // Invalid argument [ 172s] | ^^^^^^ [ 172s] 28 | ECOMM = -2, // Comunication Error [ 172s] | ^^^^^ [ 172s] [ 172s] warning: variants `EPRIV` and `ETIMEOUT` are never constructed [ 172s] --> ./src/pkgmgr/server/pkgmgr_return_value.rs:8:5 [ 172s] | [ 172s] 3 | pub enum PKGMGR_RETURN_VALUE { [ 172s] | ------------------- variants in this enum [ 172s] ... [ 172s] 8 | EPRIV = -5, // Privilege denied [ 172s] | ^^^^^ [ 172s] 9 | ETIMEOUT = -4, // Timeout [ 172s] | ^^^^^^^^ [ 172s] [ 172s] warning: variants `KILL`, `CHECK`, `ENABLE_APP_SPLASH_SCREEN`, `DISABLE_APP_SPLASH_SCREEN`, and `MIGRATE_EXTERNAL_IMAGE` are never constructed [ 172s] --> ./src/pkgmgr/server/request_type.rs:20:5 [ 172s] | [ 172s] 1 | pub enum RequestType { [ 172s] | ----------- variants in this enum [ 172s] ... [ 172s] 20 | KILL, [ 172s] | ^^^^ [ 172s] 21 | CHECK, [ 172s] | ^^^^^ [ 172s] ... [ 172s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] ... [ 172s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: multiple variants are never constructed [ 172s] --> ./src/pkgmgr/server/signal.rs:10:2 [ 172s] | [ 172s] 9 | enum PKGMGR_REQ { [ 172s] | ---------- variants in this enum [ 172s] 10 | PERM = -1, [ 172s] | ^^^^ [ 172s] 11 | INVALID = 0, [ 172s] | ^^^^^^^ [ 172s] 12 | INSTALL = 1, [ 172s] | ^^^^^^^ [ 172s] 13 | UNINSTALL = 2, [ 172s] | ^^^^^^^^^ [ 172s] 14 | CLEAR = 3, [ 172s] | ^^^^^ [ 172s] 15 | MOVE = 4, [ 172s] | ^^^^ [ 172s] 16 | RECOVER = 5, [ 172s] | ^^^^^^^ [ 172s] 17 | REINSTALL = 6, [ 172s] | ^^^^^^^^^ [ 172s] 18 | GETSIZE = 7, [ 172s] | ^^^^^^^ [ 172s] 19 | UPGRADE = 8, [ 172s] | ^^^^^^^ [ 172s] 20 | SMACK = 9, [ 172s] | ^^^^^ [ 172s] 21 | MANIFEST_DIRECT_INSTALL = 10, [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] ... [ 172s] 26 | MOUNT_INSTALL = 15, [ 172s] | ^^^^^^^^^^^^^ [ 172s] 27 | DISABLE_PKG = 16, [ 172s] | ^^^^^^^^^^^ [ 172s] 28 | ENABLE_PKG = 17, [ 172s] | ^^^^^^^^^^ [ 172s] 29 | MIGRATE_EXTIMG = 18, [ 172s] | ^^^^^^^^^^^^^^ [ 172s] 30 | RECOVER_DB = 19, [ 172s] | ^^^^^^^^^^ [ 172s] 31 | RES_COPY = 20, [ 172s] | ^^^^^^^^ [ 172s] 32 | RES_CREATE_DIR = 21, [ 172s] | ^^^^^^^^^^^^^^ [ 172s] 33 | RES_REMOVE = 22, [ 172s] | ^^^^^^^^^^ [ 172s] 34 | RES_UNINSTALL = 23 [ 172s] | ^^^^^^^^^^^^^ [ 172s] [ 172s] warning: constant `TZ_SYS_GLOBALAPP_USER` is never used [ 172s] --> ./src/pkgmgr/server/signal.rs:97:7 [ 172s] | [ 172s] 97 | const TZ_SYS_GLOBALAPP_USER: c_int = 22; [ 172s] | ^^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: function `tzplatform_getuid` is never used [ 172s] --> ./src/pkgmgr/server/signal.rs:53:12 [ 172s] | [ 172s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 172s] | ^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: function `sd_get_uids` is never used [ 172s] --> ./src/pkgmgr/server/signal.rs:44:16 [ 172s] | [ 172s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 172s] | ^^^^^^^^^^^ [ 172s] [ 172s] warning: constant `XML_READER_TYPE_ELEMENT` is never used [ 172s] --> ./src/pkgmgr/server/util.rs:29:7 [ 172s] | [ 172s] 29 | const XML_READER_TYPE_ELEMENT: i32 = 1; [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: constant `XML_READER_TYPE_TEXT` is never used [ 172s] --> ./src/pkgmgr/server/util.rs:30:7 [ 172s] | [ 172s] 30 | const XML_READER_TYPE_TEXT: i32 = 3; [ 172s] | ^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: constant `XML_READER_TYPE_END_ELEMENT` is never used [ 172s] --> ./src/pkgmgr/server/util.rs:31:7 [ 172s] | [ 172s] 31 | const XML_READER_TYPE_END_ELEMENT: i32 = 15; [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: type alias `GIOChannel` is never used [ 172s] --> ./src/pkgmgr/server/util.rs:33:6 [ 172s] | [ 172s] 33 | type GIOChannel = *mut c_void; [ 172s] | ^^^^^^^^^^ [ 172s] [ 172s] warning: variants `PMINFO_UI_APP`, `PMINFO_SVC_APP`, `PMINFO_WIDGET_APP`, `PMINFO_WATCH_APP`, and `PMINFO_COMPONENT_BASED_APP` are never constructed [ 172s] --> ./src/pkgmgr/server/util.rs:136:5 [ 172s] | [ 172s] 134 | enum PKGMGRINFO_APP_COMPONENT { [ 172s] | ------------------------ variants in this enum [ 172s] 135 | PMINFO_ALL_APP = 0, //< All Application [ 172s] 136 | PMINFO_UI_APP, //< UI Application [ 172s] | ^^^^^^^^^^^^^ [ 172s] 137 | PMINFO_SVC_APP, //< Service Application [ 172s] | ^^^^^^^^^^^^^^ [ 172s] 138 | PMINFO_WIDGET_APP, //< Widget Application [ 172s] | ^^^^^^^^^^^^^^^^^ [ 172s] 139 | PMINFO_WATCH_APP, //< Watch Application [ 172s] | ^^^^^^^^^^^^^^^^ [ 172s] 140 | PMINFO_COMPONENT_BASED_APP, //< Component-based Application (Since 5.5) [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: associated functions `EnableAppSplashScreen` and `DisableAppSplashScreen` are never used [ 172s] --> ./src/pkgmgr/server/util.rs:766:12 [ 172s] | [ 172s] 384 | impl Util { [ 172s] | --------- associated functions in this implementation [ 172s] ... [ 172s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 172s] | ^^^^^^^^^^^^^^^^^^^^^ [ 172s] ... [ 172s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: function `pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db` is never used [ 172s] --> ./src/pkgmgr/server/util.rs:204:8 [ 172s] | [ 172s] 204 | fn pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db( [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: function `pkgmgrinfo_pkginfo_get_usr_pkginfo` is never used [ 172s] --> ./src/pkgmgr/server/util.rs:44:16 [ 172s] | [ 172s] 44 | pub fn pkgmgrinfo_pkginfo_get_usr_pkginfo( [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: function `pkgmgrinfo_pkginfo_get_usr_disabled_pkginfo` is never used [ 172s] --> ./src/pkgmgr/server/util.rs:50:16 [ 172s] | [ 172s] 50 | pub fn pkgmgrinfo_pkginfo_get_usr_disabled_pkginfo( [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: function `pkgmgrinfo_pkginfo_is_readonly` is never used [ 172s] --> ./src/pkgmgr/server/util.rs:56:16 [ 172s] | [ 172s] 56 | pub fn pkgmgrinfo_pkginfo_is_readonly( [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: function `pkgmgrinfo_pkginfo_destroy_pkginfo` is never used [ 172s] --> ./src/pkgmgr/server/util.rs:61:16 [ 172s] | [ 172s] 61 | pub fn pkgmgrinfo_pkginfo_destroy_pkginfo( [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: function `pkgmgrinfo_pkginfo_get_usr_all_pkginfo` is never used [ 172s] --> ./src/pkgmgr/server/util.rs:65:16 [ 172s] | [ 172s] 65 | pub fn pkgmgrinfo_pkginfo_get_usr_all_pkginfo( [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: function `pkgmgrinfo_pkginfo_get_type` is never used [ 172s] --> ./src/pkgmgr/server/util.rs:71:16 [ 172s] | [ 172s] 71 | pub fn pkgmgrinfo_pkginfo_get_type( [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: function `pkgmgrinfo_updateinfo_create` is never used [ 172s] --> ./src/pkgmgr/server/util.rs:76:16 [ 172s] | [ 172s] 76 | pub fn pkgmgrinfo_updateinfo_create( [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: function `pkgmgrinfo_updateinfo_set_pkgid` is never used [ 172s] --> ./src/pkgmgr/server/util.rs:80:16 [ 172s] | [ 172s] 80 | pub fn pkgmgrinfo_updateinfo_set_pkgid( [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: function `pkgmgrinfo_updateinfo_set_version` is never used [ 172s] --> ./src/pkgmgr/server/util.rs:85:16 [ 172s] | [ 172s] 85 | pub fn pkgmgrinfo_updateinfo_set_version( [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: function `pkgmgrinfo_updateinfo_set_type` is never used [ 172s] --> ./src/pkgmgr/server/util.rs:90:16 [ 172s] | [ 172s] 90 | pub fn pkgmgrinfo_updateinfo_set_type( [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: function `pkgmgrinfo_updateinfo_destroy` is never used [ 172s] --> ./src/pkgmgr/server/util.rs:95:16 [ 172s] | [ 172s] 95 | pub fn pkgmgrinfo_updateinfo_destroy( [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: function `pkgmgrinfo_appinfo_get_usr_all_appinfo` is never used [ 172s] --> ./src/pkgmgr/server/util.rs:99:16 [ 172s] | [ 172s] 99 | pub fn pkgmgrinfo_appinfo_get_usr_all_appinfo( [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: function `pkgmgrinfo_appinfo_is_global` is never used [ 172s] --> ./src/pkgmgr/server/util.rs:105:16 [ 172s] | [ 172s] 105 | pub fn pkgmgrinfo_appinfo_is_global( [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: function `pkgmgrinfo_appinfo_get_pkgid` is never used [ 172s] --> ./src/pkgmgr/server/util.rs:110:16 [ 172s] | [ 172s] 110 | pub fn pkgmgrinfo_appinfo_get_pkgid( [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: function `pkgmgrinfo_appinfo_destroy_appinfo` is never used [ 172s] --> ./src/pkgmgr/server/util.rs:115:16 [ 172s] | [ 172s] 115 | pub fn pkgmgrinfo_appinfo_destroy_appinfo( [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: function `aul_app_is_running_for_uid` is never used [ 172s] --> ./src/pkgmgr/server/util.rs:122:16 [ 172s] | [ 172s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: function `aul_app_get_pid_for_uid` is never used [ 172s] --> ./src/pkgmgr/server/util.rs:123:16 [ 172s] | [ 172s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: function `aul_terminate_pid_for_uid` is never used [ 172s] --> ./src/pkgmgr/server/util.rs:124:16 [ 172s] | [ 172s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: function `aul_app_get_pkgid_bypid_for_uid` is never used [ 172s] --> ./src/pkgmgr/server/util.rs:125:16 [ 172s] | [ 172s] 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; [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] [ 172s] warning: unused `Result` that must be used [ 172s] --> ./src/main.rs:14:5 [ 172s] | [ 172s] 14 | pkgmgr::server::Server::run(&mut server); [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] | [ 172s] = note: this `Result` may be an `Err` variant, which should be handled [ 172s] = note: `#[warn(unused_must_use)]` on by default [ 172s] help: use `let _ = ...` to ignore the resulting value [ 172s] | [ 172s] 14 | let _ = pkgmgr::server::Server::run(&mut server); [ 172s] | +++++++ [ 172s] [ 172s] warning: unused `Result` that must be used [ 172s] --> ./src/pkgmgr/server/mod.rs:93:9 [ 172s] | [ 172s] 93 | admin_service.run(); [ 172s] | ^^^^^^^^^^^^^^^^^^^ [ 172s] | [ 172s] = note: this `Result` may be an `Err` variant, which should be handled [ 172s] help: use `let _ = ...` to ignore the resulting value [ 172s] | [ 172s] 93 | let _ = admin_service.run(); [ 172s] | +++++++ [ 172s] [ 172s] warning: unused `Result` that must be used [ 172s] --> ./src/pkgmgr/server/mod.rs:95:9 [ 172s] | [ 172s] 95 | cache_service.run(); [ 172s] | ^^^^^^^^^^^^^^^^^^^ [ 172s] | [ 172s] = note: this `Result` may be an `Err` variant, which should be handled [ 172s] help: use `let _ = ...` to ignore the resulting value [ 172s] | [ 172s] 95 | let _ = cache_service.run(); [ 172s] | +++++++ [ 172s] [ 172s] warning: unused `Result` that must be used [ 172s] --> ./src/pkgmgr/server/mod.rs:97:9 [ 172s] | [ 172s] 97 | info_service.run(); [ 172s] | ^^^^^^^^^^^^^^^^^^ [ 172s] | [ 172s] = note: this `Result` may be an `Err` variant, which should be handled [ 172s] help: use `let _ = ...` to ignore the resulting value [ 172s] | [ 172s] 97 | let _ = info_service.run(); [ 172s] | +++++++ [ 172s] [ 172s] warning: unused `Result` that must be used [ 172s] --> ./src/pkgmgr/server/mod.rs:99:9 [ 172s] | [ 172s] 99 | delayed_result_service.run(); [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] | [ 172s] = note: this `Result` may be an `Err` variant, which should be handled [ 172s] help: use `let _ = ...` to ignore the resulting value [ 172s] | [ 172s] 99 | let _ = delayed_result_service.run(); [ 172s] | +++++++ [ 172s] [ 172s] warning: unused `Result` that must be used [ 172s] --> ./src/pkgmgr/server/mod.rs:109:9 [ 172s] | [ 172s] 109 | admin_service.stop(); [ 172s] | ^^^^^^^^^^^^^^^^^^^^ [ 172s] | [ 172s] = note: this `Result` may be an `Err` variant, which should be handled [ 172s] help: use `let _ = ...` to ignore the resulting value [ 172s] | [ 172s] 109 | let _ = admin_service.stop(); [ 172s] | +++++++ [ 172s] [ 172s] warning: unused `Result` that must be used [ 172s] --> ./src/pkgmgr/server/mod.rs:110:9 [ 172s] | [ 172s] 110 | cache_service.stop(); [ 172s] | ^^^^^^^^^^^^^^^^^^^^ [ 172s] | [ 172s] = note: this `Result` may be an `Err` variant, which should be handled [ 172s] help: use `let _ = ...` to ignore the resulting value [ 172s] | [ 172s] 110 | let _ = cache_service.stop(); [ 172s] | +++++++ [ 172s] [ 172s] warning: unused `Result` that must be used [ 172s] --> ./src/pkgmgr/server/mod.rs:111:9 [ 172s] | [ 172s] 111 | info_service.stop(); [ 172s] | ^^^^^^^^^^^^^^^^^^^ [ 172s] | [ 172s] = note: this `Result` may be an `Err` variant, which should be handled [ 172s] help: use `let _ = ...` to ignore the resulting value [ 172s] | [ 172s] 111 | let _ = info_service.stop(); [ 172s] | +++++++ [ 172s] [ 172s] warning: unused `Result` that must be used [ 172s] --> ./src/pkgmgr/server/mod.rs:112:9 [ 172s] | [ 172s] 112 | delayed_result_service.stop(); [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] | [ 172s] = note: this `Result` may be an `Err` variant, which should be handled [ 172s] help: use `let _ = ...` to ignore the resulting value [ 172s] | [ 172s] 112 | let _ = delayed_result_service.stop(); [ 172s] | +++++++ [ 172s] [ 172s] warning: unused return value of `std::mem::size_of` that must be used [ 172s] --> ./src/pkgmgr/server/backend_queue.rs:40:9 [ 172s] | [ 172s] 40 | mem::size_of::(); [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 172s] | [ 172s] help: use `let _ = ...` to ignore the resulting value [ 172s] | [ 172s] 40 | let _ = mem::size_of::(); [ 172s] | +++++++ [ 172s] [ 172s] warning: structure field `rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 172s] --> ./src/pkgmgr/server/info_service.rs:35:9 [ 172s] | [ 172s] 35 | pub rpc_port_stub_PkgMgr_create_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_create_cb` [ 172s] | [ 172s] = note: `#[warn(non_snake_case)]` on by default [ 172s] [ 172s] warning: structure field `rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 172s] --> ./src/pkgmgr/server/info_service.rs:36:9 [ 172s] | [ 172s] 36 | pub rpc_port_stub_PkgMgr_terminate_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_terminate_cb` [ 172s] [ 172s] warning: structure field `rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 172s] --> ./src/pkgmgr/server/info_service.rs:37:9 [ 172s] | [ 172s] 37 | pub rpc_port_stub_PkgMgr_GetSize_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, get_type: c_int, r... [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_cb` [ 172s] [ 172s] warning: structure field `rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 172s] --> ./src/pkgmgr/server/info_service.rs:38:9 [ 172s] | [ 172s] 38 | pub rpc_port_stub_PkgMgr_GetSizeSync_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, get_type: c_in... [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 172s] [ 172s] warning: structure field `rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 172s] --> ./src/pkgmgr/server/info_service.rs:39:9 [ 172s] | [ 172s] 39 | pub rpc_port_stub_PkgMgr_GetResultSizeSync_cb: extern "C" fn(context: *mut c_void, req_key: *const c_char, result: *mut c_int, size_i... [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 172s] [ 172s] warning: structure field `rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 172s] --> ./src/pkgmgr/server/info_service.rs:40:9 [ 172s] | [ 172s] 40 | pub rpc_port_stub_PkgMgr_Check_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, pid: *mut pid_t, use... [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_check_cb` [ 172s] [ 172s] warning: function `impl_rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 172s] --> ./src/pkgmgr/server/info_service.rs:43:19 [ 172s] | [ 172s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_create_cb` [ 172s] [ 172s] warning: function `impl_rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 172s] --> ./src/pkgmgr/server/info_service.rs:48:19 [ 172s] | [ 172s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_terminate_cb` [ 172s] [ 172s] warning: function `impl_rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 172s] --> ./src/pkgmgr/server/info_service.rs:52:19 [ 172s] | [ 172s] 52 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSize_cb( [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_cb` [ 172s] [ 172s] warning: function `impl_rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 172s] --> ./src/pkgmgr/server/info_service.rs:112:19 [ 172s] | [ 172s] 112 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSizeSync_cb( [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 172s] [ 172s] warning: function `impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 172s] --> ./src/pkgmgr/server/info_service.rs:194:19 [ 172s] | [ 172s] 194 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb( [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 172s] [ 172s] warning: function `impl_rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 172s] --> ./src/pkgmgr/server/info_service.rs:221:19 [ 172s] | [ 172s] 221 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_Check_cb( [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_check_cb` [ 172s] [ 172s] warning: method `IsPackageReadonly` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:389:12 [ 172s] | [ 172s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 172s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly` [ 172s] [ 172s] warning: method `GetPackageType` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:420:12 [ 172s] | [ 172s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 172s] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type` [ 172s] [ 172s] warning: variable `xmlReaderTypes_XML_READER_TYPE_ELEMENT` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:473:17 [ 172s] | [ 172s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_element` [ 172s] [ 172s] warning: variable `xmlReaderTypes_XML_READER_TYPE_TEXT` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:478:17 [ 172s] | [ 172s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_text` [ 172s] [ 172s] warning: variable `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:483:17 [ 172s] | [ 172s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_end_element` [ 172s] [ 172s] warning: constant `type_map` should have an upper case name [ 172s] --> ./src/pkgmgr/server/util.rs:623:15 [ 172s] | [ 172s] 623 | const type_map : [[&str; 2]; 3] = [ [ 172s] | ^^^^^^^^ help: convert the identifier to upper case: `TYPE_MAP` [ 172s] | [ 172s] = note: `#[warn(non_upper_case_globals)]` on by default [ 172s] [ 172s] warning: method `GenerateRequestId` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:646:12 [ 172s] | [ 172s] 646 | pub fn GenerateRequestId(pkgid: &str) -> Option { [ 172s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_request_id` [ 172s] [ 172s] warning: method `CreatePkgUpdateInfo` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:657:12 [ 172s] | [ 172s] 657 | pub fn CreatePkgUpdateInfo(pkgid: *const c_char, version: *const c_char, update_type: c_int) -> *mut c_void { [ 172s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info` [ 172s] [ 172s] warning: method `DestroyPkgUpdateInfo` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:680:12 [ 172s] | [ 172s] 680 | pub fn DestroyPkgUpdateInfo(handle: *mut c_void) -> c_int { [ 172s] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroy_pkg_update_info` [ 172s] [ 172s] warning: method `RegisterPkgUpdateInfo` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:686:12 [ 172s] | [ 172s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 172s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `register_pkg_update_info` [ 172s] [ 172s] warning: method `UnregisterPkgUpdateInfo` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:696:12 [ 172s] | [ 172s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_pkg_update_info` [ 172s] [ 172s] warning: method `UnregisterAllPkgUpdateInfo` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:706:12 [ 172s] | [ 172s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_all_pkg_update_info` [ 172s] [ 172s] warning: method `EnableApp` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:728:12 [ 172s] | [ 172s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 172s] | ^^^^^^^^^ help: convert the identifier to snake case: `enable_app` [ 172s] [ 172s] warning: method `DisableApp` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:738:12 [ 172s] | [ 172s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 172s] | ^^^^^^^^^^ help: convert the identifier to snake case: `disable_app` [ 172s] [ 172s] warning: method `EnableGlobalApp` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:747:12 [ 172s] | [ 172s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 172s] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app` [ 172s] [ 172s] warning: method `DisableGlobalApp` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:757:12 [ 172s] | [ 172s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 172s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app` [ 172s] [ 172s] warning: method `EnableAppSplashScreen` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:766:12 [ 172s] | [ 172s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 172s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_app_splash_screen` [ 172s] [ 172s] warning: method `DisableAppSplashScreen` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:775:12 [ 172s] | [ 172s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_app_splash_screen` [ 172s] [ 172s] warning: method `EnableGlobalAppSplashScreen` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:784:12 [ 172s] | [ 172s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app_splash_screen` [ 172s] [ 172s] warning: method `DisableGlobalAppSplashScreen` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:793:12 [ 172s] | [ 172s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 172s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app_splash_screen` [ 172s] [ 172s] warning: method `KillApp` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:813:12 [ 172s] | [ 172s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 172s] | ^^^^^^^ help: convert the identifier to snake case: `kill_app` [ 172s] [ 172s] warning: method `KillAppsInPkg` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:835:12 [ 172s] | [ 172s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 172s] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_apps_in_pkg` [ 172s] [ 172s] warning: method `IsAdminUser` should have a snake case name [ 172s] --> ./src/pkgmgr/server/util.rs:855:8 [ 172s] | [ 172s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 172s] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_admin_user` [ 172s] [ 173s] warning: function `IsPackageReadonly_test_return_None_from_disable1` should have a snake case name [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:13:4 [ 173s] | [ 173s] 13 | fn IsPackageReadonly_test_return_None_from_disable1() { [ 173s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_disable1` [ 173s] [ 173s] warning: getting the inner pointer of a temporary `CString` [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:16:77 [ 173s] | [ 173s] 16 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, false)); [ 173s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 173s] | | [ 173s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 173s] | [ 173s] = 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 [ 173s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 173s] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [ 173s] [ 173s] warning: function `IsPackageReadonly_test_return_None_from_disable2` should have a snake case name [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:20:4 [ 173s] | [ 173s] 20 | fn IsPackageReadonly_test_return_None_from_disable2() { [ 173s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_disable2` [ 173s] [ 173s] warning: getting the inner pointer of a temporary `CString` [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:23:77 [ 173s] | [ 173s] 23 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 173s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 173s] | | [ 173s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 173s] | [ 173s] = 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 [ 173s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 173s] [ 173s] warning: function `IsPackageReadonly_test_return_None_from_readonly` should have a snake case name [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:27:4 [ 173s] | [ 173s] 27 | fn IsPackageReadonly_test_return_None_from_readonly() { [ 173s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_readonly` [ 173s] [ 173s] warning: getting the inner pointer of a temporary `CString` [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:32:77 [ 173s] | [ 173s] 32 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 173s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 173s] | | [ 173s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 173s] | [ 173s] = 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 [ 173s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 173s] [ 173s] warning: function `IsPackageReadonly_test_return_someTrue_from_readonly` should have a snake case name [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:36:4 [ 173s] | [ 173s] 36 | fn IsPackageReadonly_test_return_someTrue_from_readonly() { [ 173s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_some_true_from_readonly` [ 173s] [ 173s] warning: getting the inner pointer of a temporary `CString` [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:46:83 [ 173s] | [ 173s] 46 | assert_eq!(Some(true), Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 173s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 173s] | | [ 173s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 173s] | [ 173s] = 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 [ 173s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 173s] [ 173s] warning: function `IsPackageReadonly_test_return_someFalse_from_readonly` should have a snake case name [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:50:4 [ 173s] | [ 173s] 50 | fn IsPackageReadonly_test_return_someFalse_from_readonly() { [ 173s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_some_false_from_readonly` [ 173s] [ 173s] warning: getting the inner pointer of a temporary `CString` [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:60:84 [ 173s] | [ 173s] 60 | assert_eq!(Some(false), Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 173s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 173s] | | [ 173s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 173s] | [ 173s] = 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 [ 173s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 173s] [ 173s] warning: function `KillApp_test_return_0_from_running` should have a snake case name [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:65:4 [ 173s] | [ 173s] 65 | fn KillApp_test_return_0_from_running() { [ 173s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_0_from_running` [ 173s] [ 173s] warning: getting the inner pointer of a temporary `CString` [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:68:64 [ 173s] | [ 173s] 68 | assert_eq!(0, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 173s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 173s] | | [ 173s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 173s] | [ 173s] = 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 [ 173s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 173s] [ 173s] warning: function `KillApp_test_return_minus_from_getpid` should have a snake case name [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:72:4 [ 173s] | [ 173s] 72 | fn KillApp_test_return_minus_from_getpid() { [ 173s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_minus_from_getpid` [ 173s] [ 173s] warning: getting the inner pointer of a temporary `CString` [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:77:65 [ 173s] | [ 173s] 77 | assert_eq!(-1, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 173s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 173s] | | [ 173s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 173s] | [ 173s] = 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 [ 173s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 173s] [ 173s] warning: function `KillApp_test_return_minus_from_terminate` should have a snake case name [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:81:4 [ 173s] | [ 173s] 81 | fn KillApp_test_return_minus_from_terminate() { [ 173s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_minus_from_terminate` [ 173s] [ 173s] warning: getting the inner pointer of a temporary `CString` [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:88:65 [ 173s] | [ 173s] 88 | assert_eq!(-1, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 173s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 173s] | | [ 173s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 173s] | [ 173s] = 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 [ 173s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 173s] [ 173s] warning: function `KillApp_test_return_0_from_end` should have a snake case name [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:92:4 [ 173s] | [ 173s] 92 | fn KillApp_test_return_0_from_end() { [ 173s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_0_from_end` [ 173s] [ 173s] warning: getting the inner pointer of a temporary `CString` [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:99:64 [ 173s] | [ 173s] 99 | assert_eq!(0, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 173s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 173s] | | [ 173s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 173s] | [ 173s] = 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 [ 173s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 173s] [ 173s] warning: function `GetPackageType_test_return_new_from_all` should have a snake case name [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:104:4 [ 173s] | [ 173s] 104 | fn GetPackageType_test_return_new_from_all() { [ 173s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_new_from_all` [ 173s] [ 173s] warning: getting the inner pointer of a temporary `CString` [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:107:83 [ 173s] | [ 173s] 107 | assert_eq!(String::new(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 173s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 173s] | | [ 173s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 173s] | [ 173s] = 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 [ 173s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 173s] [ 173s] warning: function `GetPackageType_test_return_new_from_type` should have a snake case name [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:111:4 [ 173s] | [ 173s] 111 | fn GetPackageType_test_return_new_from_type() { [ 173s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_new_from_type` [ 173s] [ 173s] warning: getting the inner pointer of a temporary `CString` [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:118:83 [ 173s] | [ 173s] 118 | assert_eq!(String::new(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 173s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 173s] | | [ 173s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 173s] | [ 173s] = 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 [ 173s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 173s] [ 173s] warning: function `GetPackageType_test_return_rpk_from_end` should have a snake case name [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:122:4 [ 173s] | [ 173s] 122 | fn GetPackageType_test_return_rpk_from_end() { [ 173s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_rpk_from_end` [ 173s] [ 173s] warning: getting the inner pointer of a temporary `CString` [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:132:87 [ 173s] | [ 173s] 132 | assert_eq!("rpk".to_string(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 173s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 173s] | | [ 173s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 173s] | [ 173s] = 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 [ 173s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 173s] [ 173s] warning: function `GetPackageType_test_return_newtype_from_end` should have a snake case name [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:136:4 [ 173s] | [ 173s] 136 | fn GetPackageType_test_return_newtype_from_end() { [ 173s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_newtype_from_end` [ 173s] [ 173s] warning: getting the inner pointer of a temporary `CString` [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:146:87 [ 173s] | [ 173s] 146 | assert_eq!("ABC".to_string(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 173s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 173s] | | [ 173s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 173s] | [ 173s] = 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 [ 173s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 173s] [ 173s] warning: function `CreatePkgUpdateInfo_test_return_null1` should have a snake case name [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:151:4 [ 173s] | [ 173s] 151 | fn CreatePkgUpdateInfo_test_return_null1() { [ 173s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null1` [ 173s] [ 173s] warning: getting the inner pointer of a temporary `CString` [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:154:95 [ 173s] | [ 173s] 154 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 173s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 173s] | | [ 173s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 173s] | [ 173s] = 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 [ 173s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 173s] [ 173s] warning: getting the inner pointer of a temporary `CString` [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:154:138 [ 173s] | [ 173s] 154 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 173s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 173s] | | [ 173s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 173s] | [ 173s] = 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 [ 173s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 173s] [ 173s] warning: function `CreatePkgUpdateInfo_test_return_null2` should have a snake case name [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:158:4 [ 173s] | [ 173s] 158 | fn CreatePkgUpdateInfo_test_return_null2() { [ 173s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null2` [ 173s] [ 173s] warning: getting the inner pointer of a temporary `CString` [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:165:95 [ 173s] | [ 173s] 165 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 173s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 173s] | | [ 173s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 173s] | [ 173s] = 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 [ 173s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 173s] [ 173s] warning: getting the inner pointer of a temporary `CString` [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:165:138 [ 173s] | [ 173s] 165 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 173s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 173s] | | [ 173s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 173s] | [ 173s] = 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 [ 173s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 173s] [ 173s] warning: function `CreatePkgUpdateInfo_test_return_null3` should have a snake case name [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:169:4 [ 173s] | [ 173s] 169 | fn CreatePkgUpdateInfo_test_return_null3() { [ 173s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null3` [ 173s] [ 173s] warning: getting the inner pointer of a temporary `CString` [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:178:95 [ 173s] | [ 173s] 178 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 173s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 173s] | | [ 173s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 173s] | [ 173s] = 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 [ 173s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 173s] [ 173s] warning: getting the inner pointer of a temporary `CString` [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:178:138 [ 173s] | [ 173s] 178 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 173s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 173s] | | [ 173s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 173s] | [ 173s] = 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 [ 173s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 173s] [ 173s] warning: function `CreatePkgUpdateInfo_test_return_null4` should have a snake case name [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:182:4 [ 173s] | [ 173s] 182 | fn CreatePkgUpdateInfo_test_return_null4() { [ 173s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null4` [ 173s] [ 173s] warning: getting the inner pointer of a temporary `CString` [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:193:95 [ 173s] | [ 173s] 193 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 173s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 173s] | | [ 173s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 173s] | [ 173s] = 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 [ 173s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 173s] [ 173s] warning: getting the inner pointer of a temporary `CString` [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:193:138 [ 173s] | [ 173s] 193 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 173s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 173s] | | [ 173s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 173s] | [ 173s] = 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 [ 173s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 173s] [ 173s] warning: function `CreatePkgUpdateInfo_test_return_handle` should have a snake case name [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:197:4 [ 173s] | [ 173s] 197 | fn CreatePkgUpdateInfo_test_return_handle() { [ 173s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_handle` [ 173s] [ 173s] warning: getting the inner pointer of a temporary `CString` [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:206:95 [ 173s] | [ 173s] 206 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 173s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 173s] | | [ 173s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 173s] | [ 173s] = 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 [ 173s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 173s] [ 173s] warning: getting the inner pointer of a temporary `CString` [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:206:138 [ 173s] | [ 173s] 206 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 173s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 173s] | | [ 173s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 173s] | [ 173s] = 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 [ 173s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 173s] [ 173s] warning: function `getapplicationinfobyappid_test_return_None_from_appinfo` should have a snake case name [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:211:4 [ 173s] | [ 173s] 211 | fn getapplicationinfobyappid_test_return_None_from_appinfo() { [ 173s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_appinfo` [ 173s] [ 173s] warning: getting the inner pointer of a temporary `CString` [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:214:89 [ 173s] | [ 173s] 214 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 173s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 173s] | | [ 173s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 173s] | [ 173s] = 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 [ 173s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 173s] [ 173s] warning: function `getapplicationinfobyappid_test_return_None_from_global` should have a snake case name [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:218:4 [ 173s] | [ 173s] 218 | fn getapplicationinfobyappid_test_return_None_from_global() { [ 173s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_global` [ 173s] [ 173s] warning: getting the inner pointer of a temporary `CString` [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:225:89 [ 173s] | [ 173s] 225 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 173s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 173s] | | [ 173s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 173s] | [ 173s] = 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 [ 173s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 173s] [ 173s] warning: function `getapplicationinfobyappid_test_return_None_from_pkgid` should have a snake case name [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:229:4 [ 173s] | [ 173s] 229 | fn getapplicationinfobyappid_test_return_None_from_pkgid() { [ 173s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_pkgid` [ 173s] [ 173s] warning: getting the inner pointer of a temporary `CString` [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:238:89 [ 173s] | [ 173s] 238 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 173s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 173s] | | [ 173s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 173s] | [ 173s] = 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 [ 173s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 173s] [ 173s] warning: function `getapplicationinfobyappid_test_return_Some_from_end` should have a snake case name [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:242:4 [ 173s] | [ 173s] 242 | fn getapplicationinfobyappid_test_return_Some_from_end() { [ 173s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `getapplicationinfobyappid_test_return_some_from_end` [ 173s] [ 173s] warning: getting the inner pointer of a temporary `CString` [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:257:127 [ 173s] | [ 173s] 257 | assert_eq!(Some((CString::new("aaa").unwrap(), true)), Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 173s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 173s] | | [ 173s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 173s] | [ 173s] = 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 [ 173s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 173s] [ 173s] warning: function `get_pkgid_bypid_for_uid_test_return_None` should have a snake case name [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:262:4 [ 173s] | [ 173s] 262 | fn get_pkgid_bypid_for_uid_test_return_None() { [ 173s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_pkgid_bypid_for_uid_test_return_none` [ 173s] [ 173s] warning: function `get_pkgid_bypid_for_uid_test_return_Some` should have a snake case name [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:269:4 [ 173s] | [ 173s] 269 | fn get_pkgid_bypid_for_uid_test_return_Some() { [ 173s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `get_pkgid_bypid_for_uid_test_return_some` [ 173s] [ 173s] warning: function `get_pkgid_bypid_for_uid_test_return_None_from_end` should have a snake case name [ 173s] --> ./src/pkgmgr/server/test/util_tests.rs:283:4 [ 173s] | [ 173s] 283 | fn get_pkgid_bypid_for_uid_test_return_None_from_end() { [ 173s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_pkgid_bypid_for_uid_test_return_none_from_end` [ 173s] [ 320s] warning: 735 warnings emitted [ 320s] [ 320s] + exit 0 [ 320s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KJZ0kf [ 320s] + umask 022 [ 320s] + cd /home/abuild/rpmbuild/BUILD [ 320s] + cd pkgmgr-server-1.0.15 [ 320s] + LANG=C [ 320s] + export LANG [ 320s] + unset DISPLAY [ 320s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 320s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 320s] + /bin/make DESTDIR=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm INSTALL_ROOT=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm install [ 320s] /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 [ 320s] /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 [ 320s] /bin/make -f CMakeFiles/Makefile2 all [ 321s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 321s] /bin/make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/depend [ 321s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 321s] 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= [ 321s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 321s] /bin/make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build [ 321s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 321s] make[2]: Nothing to be done for 'tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build'. [ 321s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 321s] [ 50%] Built target tidl_pkgmgr_server [ 321s] /bin/make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/depend [ 321s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 321s] 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= [ 321s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 321s] /bin/make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build [ 321s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 321s] make[2]: Nothing to be done for 'util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build'. [ 321s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 321s] [100%] Built target util_pkgmgr_server [ 321s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 321s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/CMakeFiles 0 [ 321s] /bin/make -f CMakeFiles/Makefile2 preinstall [ 321s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 321s] make[1]: Nothing to be done for 'preinstall'. [ 321s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 321s] Install the project... [ 321s] /usr/bin/cmake -P cmake_install.cmake [ 321s] -- Install configuration: "" [ 321s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/systemd/system/package-manager.service [ 321s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/systemd/system/package-manager.socket [ 321s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/libtidl_pkgmgr_server.so [ 321s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/libutil_pkgmgr_server.so [ 321s] + rm -f /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/share/info/dir [ 321s] + find /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm -regex '.*\.la$' [ 321s] + xargs rm -f -- [ 321s] + find /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm -regex '.*\.a$' [ 321s] + xargs rm -f -- [ 321s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/systemd/system/basic.target.wants [ 321s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/systemd/system/sockets.target.wants [ 321s] + ln -sf ../package-manager.socket /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/systemd/system/sockets.target.wants/package-manager.socket [ 321s] + install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/bin [ 321s] + install -m 0755 ./rust_pkgmgr_server /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/bin/pkgmgr-server [ 321s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/etc/package-manager/server [ 321s] + _target= [ 321s] + _symlinks=0 [ 321s] + _files=() [ 321s] + fdupes -q -n -r /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 321s] + read _file [ 321s] + /usr/lib/rpm/find-debuginfo.sh -j8 --build-id-seed 1.0.15-1 --unique-debug-src-base pkgmgr-server-1.0.15-1.arm -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 321s] 1+0 records in [ 321s] 1+0 records out [ 321s] 1+0 records in [ 321s] 1+0 records out [ 321s] 1+0 records in [ 321s] 1+0 records out [ 321s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/bin/pkgmgr-server [ 321s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/libtidl_pkgmgr_server.so [ 321s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/libutil_pkgmgr_server.so [ 321s] 0+0 records in [ 321s] 0+0 records out [ 321s] 0+0 records in [ 321s] 0+0 records out [ 321s] 0+0 records in [ 321s] 0+0 records out [ 321s] 797 blocks [ 321s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/pkgmgr-server-debuginfo.manifest [ 321s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/pkgmgr-server-debugsource.manifest [ 321s] + /usr/lib/rpm/check-buildroot [ 321s] + /usr/lib/rpm//brp-compress [ 321s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 321s] + /usr/lib/rpm/brp-python-hardlink [ 321s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 321s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/isu.list [ 321s] ~/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm ~/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 321s] ~/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 321s] + /etc/hal/rootstrap/hal-rootstrap-checker.sh 0 /home/abuild/rpmbuild/SOURCES [ 322s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Aj9MPm [ 322s] Processing files: pkgmgr-server-1.0.15-1.armv7l [ 322s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIiAvPgoJPC9y [ 322s] ZXF1ZXN0PgoJPGFzc2lnbj4KCQk8ZmlsZXN5c3RlbSBwYXRoPSIvdXNyL2Jpbi9w [ 322s] a2dtZ3Itc2VydmVyIiBsYWJlbD0iU3lzdGVtIiBleGVjX2xhYmVsPSJub25lIiAv [ 322s] PgoJCTxmaWxlc3lzdGVtIHBhdGg9Ii92YXIvbGliL3BhY2thZ2UtbWFuYWdlciIg [ 322s] bGFiZWw9IlN5c3RlbSIgLz4KCTwvYXNzaWduPgo8L21hbmlmZXN0Pgo= [ 322s] [ 322s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ANH0PQ [ 322s] + umask 022 [ 322s] + cd /home/abuild/rpmbuild/BUILD [ 322s] + cd pkgmgr-server-1.0.15 [ 322s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/share/licenses/pkgmgr-server [ 322s] + export LC_ALL=C [ 322s] + LC_ALL=C [ 322s] + export LICENSEDIR [ 322s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/share/licenses/pkgmgr-server [ 322s] + cp -pr LICENSE /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/share/licenses/pkgmgr-server [ 322s] + exit 0 [ 322s] Provides: libtidl_pkgmgr_server.so libutil_pkgmgr_server.so pkgmgr-server = 1.0.15-1 pkgmgr-server(armv7l-32) = 1.0.15-1 [ 322s] Requires(interp): /bin/sh [ 322s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 322s] Requires(post): /bin/sh [ 322s] Requires: ld-linux.so.3 ld-linux.so.3(GLIBC_2.4) libaul.so.0 libc.so.6 libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libcapi-base-common.so.0 libdlog.so.0 libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.5) libgio-2.0.so.0 libglib-2.0.so.0 libgobject-2.0.so.0 libgum.so.0 libminizip.so.1 libpkgmgr-info.so.0 libpkgmgr_installer.so.0 libpkgmgr_parser.so.0 librpc-port.so.1 libstd-161dbff30b3b0c00.so libsystemd.so.0 libsystemd.so.0(LIBSYSTEMD_209) libtidl_pkgmgr_server.so libtzplatform-config-2.0.so.2 libtzplatform-config-2.0.so.2(TPC) libutil_pkgmgr_server.so libxml2.so.2 libxml2.so.2(LIBXML2_2.4.30) libxml2.so.2(LIBXML2_2.5.0) libxml2.so.2(LIBXML2_2.6.0) rtld(GNU_HASH) [ 322s] Processing files: pkgmgr-server-debugsource-1.0.15-1.armv7l [ 322s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 322s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 322s] [ 322s] Provides: pkgmgr-server-debugsource = 1.0.15-1 pkgmgr-server-debugsource(armv7l-32) = 1.0.15-1 [ 322s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 322s] Processing files: pkgmgr-server-debuginfo-1.0.15-1.armv7l [ 322s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 322s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 322s] [ 322s] Provides: pkgmgr-server-debuginfo = 1.0.15-1 pkgmgr-server-debuginfo(armv7l-32) = 1.0.15-1 [ 322s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 322s] Recommends: pkgmgr-server-debugsource(armv7l-32) = 1.0.15-1 [ 322s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 322s] Wrote: /home/abuild/rpmbuild/SRPMS/pkgmgr-server-1.0.15-1.src.rpm [ 322s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/pkgmgr-server-1.0.15-1.armv7l.rpm [ 322s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/pkgmgr-server-debugsource-1.0.15-1.armv7l.rpm [ 323s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/pkgmgr-server-debuginfo-1.0.15-1.armv7l.rpm [ 323s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.kgCqqR [ 323s] + umask 022 [ 323s] + cd /home/abuild/rpmbuild/BUILD [ 323s] + cd pkgmgr-server-1.0.15 [ 323s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 323s] + exit 0 [ 323s] ... checking for files with abuild user/group [ 323s] ... creating baselibs [ 323s] [ 323s] ip-192-168-56-26 finished "build pkgmgr-server.spec" at Tue Dec 17 14:11:32 UTC 2024. [ 323s]