[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7hl.13 [ 0s] Using BUILD_ARCH=armv7hl:noarch [ 0s] [ 0s] [ 0s] ip-192-168-56-215 started "build pkgmgr-server.spec" at Mon Dec 16 09:40:56 UTC 2024. [ 0s] [ 0s] [ 0s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_standard/pkgmgr-server-1.0.15-1/pkgmgr-server.spec ... [ 0s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache --define jobs 8 --define _smp_mflags -j8 --define _costomized_smp_mflags -j20 --repository /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_standard/armv7hl/RPMS --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241215.110758/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241215.110758/repos/standard/debug/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241216.010411/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241216.010411/repos/standard/debug/ /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_standard/pkgmgr-server-1.0.15-1/pkgmgr-server.spec build ... [ 0s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7hl.13/.srcfiles.cache ... [ 0s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7hl.13/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_standard/armv7hl/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/ [ 3s] /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/ [ 4s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241216.010411/repos/standard/packages/ [ 10s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241216.010411/repos/standard/debug/ [ 14s] expanding package dependencies... [ 17s] copying qemu [ 17s] [ 17s] registering binfmt handlers for cross build [ 18s] calculating packages to download... [ 29s] [1/1] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241216.010411/repos/standard/packages/armv7hl/rust-minizip-sys-0.1.2-1.armv7hl.rpm ... [ 29s] [ 29s] reordering...cycle: gio-branding-upstream -> libgio [ 29s] breaking dependency libgio -> gio-branding-upstream [ 29s] cycle: pkgmgr-info -> pkgmgr-info-parser [ 29s] breaking dependency pkgmgr-info -> pkgmgr-info-parser [ 29s] cycle: libgum -> gumd [ 29s] breaking dependency libgum -> gumd [ 29s] cycle: glibc-devel -> libxcrypt-devel [ 29s] breaking dependency libxcrypt-devel -> glibc-devel [ 29s] cycle: rust -> rust-devel [ 29s] breaking dependency rust-devel -> rust [ 29s] cycle: libsoftokn3 -> nss [ 29s] breaking dependency nss -> libsoftokn3 [ 29s] reordering done [ 30s] deleting coregl [ 31s] deleting dbus-devel [ 31s] deleting ecore-audio [ 31s] deleting ecore-audio-devel [ 31s] deleting ecore-buffer [ 31s] deleting ecore-buffer-devel [ 31s] deleting ecore-con [ 31s] deleting ecore-con-devel [ 31s] deleting ecore-core [ 31s] deleting ecore-core-devel [ 31s] deleting ecore-devel [ 31s] deleting ecore-evas [ 31s] deleting ecore-evas-devel [ 31s] deleting ecore-fb [ 31s] deleting ecore-fb-devel [ 31s] deleting ecore-file [ 31s] deleting ecore-file-devel [ 31s] deleting ecore-imf [ 31s] deleting ecore-imf-devel [ 31s] deleting ecore-imf-evas [ 31s] deleting ecore-imf-evas-devel [ 31s] deleting ecore-input [ 31s] deleting ecore-input-devel [ 31s] deleting ecore-input-evas [ 31s] deleting ecore-input-evas-devel [ 31s] deleting ecore-ipc [ 31s] deleting ecore-ipc-devel [ 31s] deleting ecore-wayland [ 31s] /sbin/ldconfig: relative path `0' used to build cache [ 31s] warning: %postun(ecore-wayland-1.25.1-0.armv7hl) scriptlet failed, exit status 1 [ 31s] deleting ecore-wayland-devel [ 32s] deleting ecore-wl2 [ 32s] deleting ecore-wl2-devel [ 32s] deleting ector [ 32s] deleting ector-devel [ 32s] deleting edje [ 32s] deleting edje-devel [ 32s] deleting edje-tools [ 32s] deleting eet [ 32s] deleting eet-devel [ 32s] deleting eet-tools [ 32s] deleting eeze [ 33s] deleting eeze-devel [ 33s] deleting efl [ 33s] deleting efl-devel [ 33s] deleting efreet [ 33s] deleting efreet-devel [ 33s] deleting eina [ 33s] deleting eina-devel [ 33s] deleting eio [ 33s] deleting eio-devel [ 33s] deleting eldbus [ 34s] deleting eldbus-devel [ 34s] deleting elementary [ 34s] deleting elementary-devel [ 34s] deleting embryo [ 34s] deleting embryo-devel [ 34s] deleting emile [ 34s] deleting emile-devel [ 34s] deleting emotion [ 34s] deleting emotion-devel [ 34s] deleting eo [ 35s] deleting eo-devel [ 35s] deleting ethumb [ 35s] deleting ethumb-devel [ 35s] deleting evas [ 35s] deleting evas-devel [ 35s] deleting fontconfig [ 35s] deleting fontconfig-devel [ 35s] deleting freetype2-devel [ 35s] deleting fribidi [ 36s] deleting fribidi-devel [ 36s] deleting giflib [ 36s] deleting hal-api-common [ 36s] deleting hal-api-tbm [ 37s] /var/tmp/rpm-tmp.AgN1gw: line 2: /usr/bin/hal-compatibility-checker: No such file or directory [ 37s] warning: %postun(hal-api-tbm-0.1.1-1.armv7hl) scriptlet failed, exit status 127 [ 37s] deleting hal-api-tdm [ 37s] /var/tmp/rpm-tmp.nxN9s6: line 2: /usr/bin/hal-compatibility-checker: No such file or directory [ 37s] warning: %postun(hal-api-tdm-0.3.0-1.armv7hl) scriptlet failed, exit status 127 [ 37s] deleting harfbuzz-devel [ 37s] deleting libdrm [ 37s] deleting libfreetype [ 37s] deleting libharfbuzz [ 37s] deleting libhyphen [ 38s] deleting libicu [ 38s] deleting libicu-devel [ 38s] deleting libjpeg [ 38s] deleting libjpeg-devel [ 38s] deleting libogg [ 38s] deleting libogg-devel [ 38s] deleting libpng [ 39s] deleting libpng-devel [ 39s] deleting libsndfile [ 39s] deleting libsndfile-devel [ 39s] deleting libtbm [ 39s] /sbin/ldconfig: relative path `0' used to build cache [ 39s] warning: %postun(libtbm-4.5.5-1.armv7hl) scriptlet failed, exit status 1 [ 39s] deleting libtbm-devel [ 39s] deleting libtdm [ 39s] /sbin/ldconfig: relative path `0' used to build cache [ 39s] warning: %postun(libtdm-3.2.0-0.armv7hl) scriptlet failed, exit status 1 [ 39s] deleting libtdm-client [ 39s] deleting libtdm-client-devel [ 39s] deleting libtdm-devel [ 39s] deleting libtiff [ 40s] deleting libtpl-egl [ 40s] deleting libuuid-devel [ 40s] deleting libvorbis [ 40s] deleting libvorbis-devel [ 40s] deleting libvorbisenc [ 40s] deleting libvorbisfile [ 41s] deleting libwayland-client [ 41s] deleting libwayland-cursor [ 41s] deleting libwayland-egl [ 41s] deleting libwayland-egl-tizen [ 41s] deleting libwayland-egl-tizen-devel [ 41s] deleting libwayland-extension-client [ 42s] deleting libwayland-server [ 42s] deleting libwayland-tbm-client [ 42s] deleting libwayland-tbm-devel [ 42s] deleting libwayland-tbm-server [ 42s] deleting libwebp [ 43s] deleting libxkbcommon [ 43s] deleting libxkbcommon-devel [ 43s] deleting lottie-player [ 43s] deleting lottie-player-devel [ 43s] deleting lua [ 43s] deleting lua-devel [ 43s] deleting opus [ 43s] deleting opus-devel [ 43s] deleting pixman [ 43s] deleting thorvg [ 44s] deleting thorvg-devel [ 44s] deleting tizen-core [ 44s] deleting tizen-core-devel [ 44s] deleting tizen-release [ 44s] deleting tizen-release-profile_common [ 44s] deleting ttrace-devel [ 44s] deleting wayland-devel [ 44s] deleting wayland-extension-client-devel [ 44s] deleting xkb-tizen-data [ 46s] [1/241] cumulate default-ac-domains-0.1-1.1 [ 46s] [2/241] keeping dlog-config-persistent-logs-9.0.1-1 [ 46s] [3/241] keeping libmagic-data-5.45-1.3 [ 46s] [4/241] keeping pcre2-syntax-10.40-1 [ 46s] [5/241] keeping python3-pyparsing-3.1.1-1.1 [ 46s] [6/241] keeping python3-six-1.16.0-1.1 [ 46s] [7/241] cumulate rust-std-static-1.74.0-1 [ 46s] [8/241] keeping setup-0.9-1.1 [ 46s] [9/241] keeping filesystem-3.1-1.1 [ 46s] [10/241] keeping python3-packaging-23.2-1.1 [ 46s] [11/241] keeping glibc-2.39-1.6 [ 46s] [12/241] keeping libatomic-14.2.0-1.6 [ 46s] [13/241] keeping libgcc-14.2.0-1.6 [ 46s] [14/241] keeping bash-3.2.57-1.1 [ 46s] [15/241] keeping capi-base-common-0.4.82-1 [ 46s] [16/241] keeping cpio-2.8-1.1 [ 46s] [17/241] keeping diffutils-3.10-1.1 [ 46s] [18/241] cumulate fdupes-2.2.1-1.5 [ 46s] [19/241] keeping findutils-4.3.8-1.3 [ 46s] [20/241] keeping gdbm-1.8.3-1.6 [ 46s] [21/241] keeping hostname-3.23-1.1 [ 46s] [22/241] keeping iniparser-4.1-1.1 [ 46s] [23/241] keeping libattr-2.5.1-1.3 [ 46s] [24/241] keeping libblkid-2.39.3-1.3 [ 46s] [25/241] keeping libbz2-1.0.8-1.4 [ 46s] [26/241] keeping libcap-2.69-1.5 [ 46s] [27/241] keeping libexpat-2.6.2-1.6 [ 46s] [28/241] keeping libffi-3.4.2-1.6 [ 46s] [29/241] keeping libfreebl3-3.98-1.6 [ 46s] [30/241] keeping libgfortran-14.2.0-1.6 [ 46s] [31/241] keeping libgomp-14.2.0-1.6 [ 46s] [32/241] keeping libitm-14.2.0-1.6 [ 46s] [33/241] cumulate libjson-0.17-0 [ 46s] [34/241] keeping libltdl-2.4.7-1.6 [ 46s] [35/241] keeping liblua-5.1.5-1.3 [ 46s] [36/241] keeping liblzma-5.4.5-1.6 [ 46s] [37/241] keeping libopenssl11-1.1.1w-1.6 [ 46s] [38/241] keeping libopenssl3-3.0.13-1.6 [ 46s] [39/241] keeping libpcre-8.45-1.3 [ 46s] [40/241] keeping libpopt-1.16-1.3 [ 46s] [41/241] keeping libpython3_121_0-3.12.0-1.6 [ 46s] [42/241] keeping libsmack-1.3.1-1.3 [ 46s] [43/241] keeping libsmartcols-2.39.3-1.3 [ 46s] [44/241] keeping libsqlite-3.44.0-1.3 [ 46s] [45/241] keeping libstdc++-14.2.0-1.6 [ 46s] [46/241] keeping libuuid-2.39.3-1.3 [ 46s] [47/241] keeping libxcrypt-4.4.36-1.6 [ 46s] [48/241] keeping libzstd1-1.5.5-1.4 [ 46s] [49/241] keeping m4-1.4.19-1.1 [ 46s] [50/241] keeping net-tools-2.0_20121208git-1.3 [ 46s] [51/241] keeping nspr-4.35-1.3 [ 46s] [52/241] keeping patch-2.7.6-1.3 [ 46s] [53/241] keeping pkg-config-0.29.2-1.5 [ 47s] [54/241] cumulate rust-std-shared-1.74.0-1 [ 47s] [55/241] keeping sed-4.1c-1.3 [ 47s] [56/241] keeping update-alternatives-1.22.2-1.1 [ 47s] [57/241] keeping which-2.17-1.1 [ 47s] [58/241] cumulate xdgmime-0.0.17-1.1 [ 47s] [59/241] keeping zlib-1.3-1.6 [ 47s] [60/241] keeping pcre2-10.40-1 [ 47s] [61/241] keeping pcre2-utf16-10.40-1 [ 47s] [62/241] keeping pcre2-utf32-10.40-1 [ 47s] [63/241] keeping build-compare-2023.06.18-1.1 [ 47s] [64/241] keeping hal-rootstrap-checker-0.1.0-1.1 [ 47s] [65/241] keeping libstdc++-devel-14.2.0-1.6 [ 47s] [66/241] keeping qemu-linux-user-x86_64-cross-5.2.0.2-21.1 [ 47s] [67/241] cumulate vconf-internal-keys-devel-0.0.191-0 [ 47s] [68/241] keeping capi-base-common-devel-0.4.82-1 [ 47s] [69/241] keeping cpp-14.2.0-1.6 [ 47s] [70/241] keeping gcc-c++-14.2.0-1.6 [ 47s] [71/241] keeping libblkid-devel-2.39.3-1.3 [ 47s] [72/241] keeping libffi-devel-3.4.2-1.6 [ 47s] [73/241] cumulate tidl-2.3.0-1 [ 47s] [74/241] cumulate unzip-610c25-1.1 [ 47s] [75/241] cumulate xdgmime-devel-0.0.17-1.1 [ 47s] [76/241] cumulate xz-devel-5.4.5-1.6 [ 47s] [77/241] keeping binutils-libs-2.43-1.6 [ 47s] [78/241] keeping coreutils-6.9-14.1 [ 47s] [79/241] keeping gawk-3.1.5-1.1 [ 47s] [80/241] keeping grep-2.5.2-1.3 [ 47s] [81/241] keeping libacl-2.3.2-1.3 [ 47s] [82/241] keeping libcap-tools-2.69-1.5 [ 47s] [83/241] keeping libcc1-14.2.0-1.6 [ 47s] [84/241] keeping libelf-0.189-1.6 [ 47s] [85/241] keeping libglib-2.80.5-0 [ 47s] [86/241] keeping libmount-2.39.3-1.3 [ 47s] [87/241] keeping libubsan-14.2.0-1.6 [ 47s] [88/241] keeping make-4.4-1.3 [ 47s] [89/241] cumulate minizip-1.3-1.6 [ 47s] [90/241] keeping nss-certs-3.98-1.6 [ 47s] [91/241] keeping smack-1.3.1-1.3 [ 47s] [92/241] cumulate sqlite-3.44.0-1.3 [ 47s] [93/241] keeping bzip2-1.0.8-1.4 [ 47s] [94/241] keeping dlog-9.0.1-1 [ 48s] [95/241] cumulate gettext-runtime-0.21.1-2.6 [ 48s] [96/241] keeping libfdisk-2.39.3-1.3 [ 48s] [97/241] keeping libkmod-31-1.1 [ 48s] [98/241] keeping libmagic-5.45-1.3 [ 48s] [99/241] keeping libxml2-2.12.5-1.5 [ 48s] [100/241] keeping shadow-utils-4.1.4.2-7.1 [ 48s] [101/241] keeping xz-5.4.5-1.6 [ 48s] [102/241] keeping pcre2-devel-10.40-1 [ 48s] [103/241] keeping perl-5.38.0-1.5 [ 48s] [104/241] cumulate cynara-db-migration-0.19.5-1 [ 48s] [105/241] keeping ttrace-1.1.0-1 [ 48s] [106/241] keeping build-mkbaselibs-20120927-1.1 [ 48s] [107/241] keeping linux-glibc-devel-6.6-1.6 [ 48s] [108/241] keeping dlog-logger-9.0.1-1 [ 48s] [109/241] cumulate minizip-devel-1.3-1.6 [ 48s] [110/241] keeping terminfo-base-full-6.4-1.6 [ 48s] [111/241] keeping acl-2.3.2-1.3 [ 48s] [112/241] keeping autoconf-2.71-1.7 [ 48s] [113/241] keeping file-5.45-1.3 [ 48s] [114/241] keeping glibc-locale-2.39-1.6 [ 48s] [115/241] keeping libgmodule-2.80.5-0 [ 48s] [116/241] keeping libgthread-2.80.5-0 [ 48s] [117/241] keeping libmount-devel-2.39.3-1.3 [ 48s] [118/241] keeping tar-1.17-1.1 [ 48s] [119/241] cumulate tizen-platform-config-5.0-1 [ 48s] [120/241] keeping binutils-2.43-1.6 [ 48s] [121/241] keeping gzip-1.3.12-1.3 [ 48s] [122/241] keeping libgobject-2.80.5-0 [ 48s] [123/241] keeping pam-1.1.6-1.5 [ 48s] [124/241] keeping tzdata-2023c-1.1 [ 48s] [125/241] keeping libdw-0.189-1.6 [ 48s] [126/241] keeping security-config-1.0-1 [ 48s] [127/241] cumulate gettext-tools-0.21.1-2.6 [ 48s] [128/241] keeping libarchive-3.7.2-1.5 [ 48s] [129/241] keeping shared-mime-info-1.7-0 [ 48s] [130/241] keeping gcc-14.2.0-1.6 [ 48s] [131/241] keeping qemu-accel-x86_64-armv7hl-0.4-1.1 [ 48s] [132/241] keeping automake-1.16.5-1.6 [ 48s] [133/241] cumulate libtzplatform-config-5.0-1 [ 48s] [134/241] keeping libasm-0.189-1.6 [ 48s] [135/241] cumulate libncurses5-6.4-1.6 [ 48s] [136/241] keeping libncurses6-6.4-1.6 [ 48s] [137/241] keeping build-20120927-1.1 [ 48s] [138/241] keeping libsystemd-244-0 [ 48s] [139/241] keeping libgirepository2-2.80.5-0 [ 48s] [140/241] keeping libdlog-9.0.1-1 [ 48s] [141/241] keeping libncurses-6.4-1.6 [ 48s] [142/241] cumulate libtzplatform-config-devel-5.0-1 [ 48s] [143/241] keeping capi-system-resource-1.0.0-0 [ 48s] [144/241] keeping dbus-libs-1.12.20-3 [ 48s] [145/241] keeping less-643-1.1 [ 48s] [146/241] keeping libdlog-devel-9.0.1-1 [ 48s] [147/241] keeping libreadline-5.2-1.5 [ 48s] [148/241] keeping libtool-2.4.7-1.6 [ 48s] [149/241] cumulate ncurses-devel-6.4-1.6 [ 48s] [150/241] cumulate parcel-0.17.3-0 [ 48s] [151/241] keeping elfutils-0.189-1.6 [ 49s] [152/241] cumulate cmake-3.25.2-1.4 [ 49s] [153/241] cumulate libcynara-commons-0.19.5-1 [ 49s] [154/241] cumulate capi-system-info-0.5.2-1 [ 49s] [155/241] keeping systemd-244-0 [ 49s] [156/241] cumulate readline-devel-5.2-1.5 [ 49s] [157/241] cumulate capi-system-resource-devel-1.0.0-0 [ 49s] [158/241] cumulate libcynara-session-0.19.5-1 [ 49s] [159/241] cumulate parcel-devel-0.17.3-0 [ 49s] [160/241] cumulate pkgmgr-0.20.21-0 [ 49s] [161/241] keeping systemd-devel-244-0 [ 49s] [162/241] cumulate libcynara-creds-commons-0.19.5-1 [ 49s] [163/241] cumulate libxml2-tools-2.12.5-1.5 [ 49s] [164/241] cumulate libcynara-client-0.19.5-1 [ 49s] [165/241] keeping python3-base-3.12.0-1.6 [ 49s] [166/241] keeping util-linux-2.39.3-1.3 [ 49s] [167/241] keeping python3-3.12.0-1.1 [ 49s] [168/241] cumulate pkgmgr-types-devel-0.20.21-0 [ 49s] [169/241] keeping util-linux-su-2.39.3-1.3 [ 49s] [170/241] cumulate libcynara-creds-socket-0.19.5-1 [ 49s] [171/241] cumulate dbus-1.12.20-3 [ 49s] [172/241] keeping python3-setuptools-69.0.2-1.1 [ 49s] [173/241] keeping libxcrypt-devel-4.4.36-1.6 [ 49s] [174/241] cumulate rust-devel-1.74.0-1 [ 49s] [175/241] keeping nss-3.98-1.6 [ 49s] [176/241] keeping libgio-2.80.5-0 [ 49s] [177/241] keeping gio-branding-upstream-2.80.5-0 [ 49s] [178/241] keeping glibc-devel-2.39-1.6 [ 49s] [179/241] cumulate libjson-glib-1.8.0-0 [ 49s] [180/241] keeping libsoftokn3-3.98-1.6 [ 49s] [181/241] cumulate rust-1.74.0-1 [ 49s] [182/241] keeping glib2-tools-2.80.5-0 [ 50s] [183/241] cumulate libgum-1.0.8-0 [ 50s] [184/241] cumulate libsyscommon-5.0.0-0 [ 50s] [185/241] cumulate buxton2-1.8.10-0 [ 50s] [186/241] keeping rpm-4.14.1.1-1.6 [ 50s] [187/241] cumulate rust-cfg-if-1.0.0-1 [ 50s] [188/241] cumulate rust-either-1.8.1-1 [ 50s] [189/241] cumulate rust-normalize-line-endings-0.3.0-1 [ 50s] [190/241] keeping zlib-devel-1.3-1.6 [ 50s] [191/241] cumulate rust-anstyle-0.3.5-1 [ 50s] [192/241] cumulate rust-difflib-0.4.0-1 [ 50s] [193/241] cumulate rust-downcast-0.11.0-1 [ 50s] [194/241] cumulate rust-fragile-2.0.0-1 [ 50s] [195/241] cumulate rust-libc-0.2.139-1 [ 50s] [196/241] cumulate rust-libm-0.2.6-1 [ 51s] [197/241] cumulate rust-minizip-sys-0.1.2-1 [ 51s] [198/241] cumulate rust-predicates-core-1.0.6-1 [ 51s] [199/241] cumulate rust-regex-syntax-0.6.28-1 [ 51s] [200/241] cumulate rust-scopeguard-1.1.0-1 [ 51s] [201/241] cumulate rust-termtree-0.4.1-1 [ 51s] [202/241] cumulate rust-unicode-ident-1.0.6-1 [ 51s] [203/241] cumulate sqlite-devel-3.44.0-1.3 [ 51s] [204/241] cumulate vconf-compat-1.8.10-0 [ 51s] [205/241] cumulate bundle-0.17.3-0 [ 51s] [206/241] cumulate gumd-1.0.8-0 [ 51s] [207/241] keeping rpm-build-4.14.1.1-1.6 [ 51s] [208/241] cumulate bundle-devel-0.17.3-0 [ 52s] [209/241] cumulate rust-glib-sys-0.17.10-1 [ 52s] [210/241] cumulate rust-itertools-0.10.5-1 [ 52s] [211/241] cumulate rust-lock_api-0.4.9-1 [ 52s] [212/241] cumulate rust-num-traits-0.2.15-1 [ 52s] [213/241] cumulate rust-proc-macro2-1.0.51-1 [ 52s] [214/241] cumulate rust-regex-1.7.1-1 [ 52s] [215/241] cumulate rust-predicates-tree-1.0.9-1 [ 52s] [216/241] cumulate libxml2-devel-2.12.5-1.5 [ 52s] [217/241] cumulate libstorage-1.0.0-0 [ 52s] [218/241] cumulate pkgmgr-info-0.28.5-1 [ 52s] [219/241] keeping glib2-devel-2.80.5-0 [ 53s] [220/241] cumulate libgum-devel-1.0.8-0 [ 53s] [221/241] cumulate pkgmgr-info-devel-0.28.5-1 [ 53s] [222/241] cumulate vconf-compat-devel-1.8.10-0 [ 53s] [223/241] cumulate rust-float-cmp-0.9.0-1 [ 53s] [224/241] cumulate rust-quote-1.0.23-1 [ 53s] [225/241] cumulate rust-spin-0.9.5-1 [ 53s] [226/241] cumulate pkgmgr-info-parser-0.28.5-1 [ 53s] [227/241] cumulate aul-0.65.1-1 [ 53s] [228/241] cumulate rust-lazy_static-1.4.0-1 [ 53s] [229/241] cumulate pkgmgr-info-parser-devel-0.28.5-1 [ 53s] [230/241] cumulate rust-syn-1.0.107-1 [ 53s] [231/241] cumulate aul-devel-0.65.1-1 [ 53s] [232/241] cumulate rust-predicates-3.0.4-1 [ 53s] [233/241] cumulate rpc-port-1.19.1-0 [ 54s] [234/241] cumulate rpc-port-devel-1.19.1-0 [ 54s] [235/241] cumulate rust-mockall_derive-0.11.4-1 [ 54s] [236/241] cumulate rust-mockall_double-0.3.0-1 [ 54s] [237/241] cumulate pkgmgr-client-0.20.21-0 [ 54s] [238/241] cumulate pkgmgr-installer-0.20.21-0 [ 54s] [239/241] cumulate pkgmgr-installer-devel-0.20.21-0 [ 54s] [240/241] cumulate pkgmgr-client-devel-0.20.21-0 [ 54s] [241/241] cumulate rust-mockall-0.11.4-1 [ 54s] now installing cumulated packages [ 57s] Preparing... ######################################## [ 57s] Updating / installing... [ 57s] tizen-platform-config-5.0-1 ######################################## [ 62s] ln: creating symbolic link `/opt/etc/skel/media/Shared/media_shared': File exists [ 62s] capi-system-resource-devel-1.0.0-0 ######################################## [ 62s] xz-devel-5.4.5-1.6 ######################################## [ 62s] vconf-internal-keys-devel-0.0.191-0 ######################################## [ 66s] rust-std-static-1.74.0-1 ######################################## [ 66s] default-ac-domains-0.1-1.1 ######################################## [ 66s] rust-std-shared-1.74.0-1 ######################################## [ 67s] libtzplatform-config-5.0-1 ######################################## [ 67s] parcel-0.17.3-0 ######################################## [ 67s] capi-system-info-0.5.2-1 ######################################## [ 67s] pkgmgr-0.20.21-0 ######################################## [ 68s] rust-cfg-if-1.0.0-1 ######################################## [ 68s] minizip-1.3-1.6 ######################################## [ 68s] rust-predicates-core-1.0.6-1 ######################################## [ 68s] rust-unicode-ident-1.0.6-1 ######################################## [ 69s] rust-proc-macro2-1.0.51-1 ######################################## [ 69s] rust-quote-1.0.23-1 ######################################## [ 70s] rust-syn-1.0.107-1 ######################################## [ 70s] xdgmime-0.0.17-1.1 ######################################## [ 70s] xdgmime-devel-0.0.17-1.1 ######################################## [ 70s] pkgmgr-types-devel-0.20.21-0 ######################################## [ 70s] parcel-devel-0.17.3-0 ######################################## [ 70s] libtzplatform-config-devel-5.0-1 ######################################## [ 71s] rust-mockall_derive-0.11.4-1 ######################################## [ 81s] rust-devel-1.74.0-1 ######################################## [ 81s] rust-either-1.8.1-1 ######################################## [ 82s] rust-itertools-0.10.5-1 ######################################## [ 82s] rust-normalize-line-endings-0.3.0-1 ######################################## [ 82s] rust-anstyle-0.3.5-1 ######################################## [ 83s] rust-difflib-0.4.0-1 ######################################## [ 83s] rust-downcast-0.11.0-1 ######################################## [ 83s] rust-fragile-2.0.0-1 ######################################## [ 84s] rust-libc-0.2.139-1 ######################################## [ 84s] rust-libm-0.2.6-1 ######################################## [ 84s] rust-num-traits-0.2.15-1 ######################################## [ 85s] rust-float-cmp-0.9.0-1 ######################################## [ 85s] rust-regex-syntax-0.6.28-1 ######################################## [ 86s] rust-regex-1.7.1-1 ######################################## [ 86s] rust-predicates-3.0.4-1 ######################################## [ 87s] rust-scopeguard-1.1.0-1 ######################################## [ 87s] rust-lock_api-0.4.9-1 ######################################## [ 87s] rust-spin-0.9.5-1 ######################################## [ 88s] rust-lazy_static-1.4.0-1 ######################################## [ 88s] rust-termtree-0.4.1-1 ######################################## [ 88s] rust-predicates-tree-1.0.9-1 ######################################## [ 89s] libjson-glib-1.8.0-0 ######################################## [ 89s] bundle-0.17.3-0 ######################################## [ 89s] bundle-devel-0.17.3-0 ######################################## [ 89s] libxml2-tools-2.12.5-1.5 ######################################## [ 89s] libncurses5-6.4-1.6 ######################################## [ 90s] ncurses-devel-6.4-1.6 ######################################## [ 90s] readline-devel-5.2-1.5 ######################################## [ 90s] libxml2-devel-2.12.5-1.5 ######################################## [ 90s] cynara-db-migration-0.19.5-1 ######################################## [ 91s] libcynara-commons-0.19.5-1 ######################################## [ 91s] libcynara-client-0.19.5-1 ######################################## [ 92s] libcynara-session-0.19.5-1 ######################################## [ 93s] dbus-1.12.20-3 ######################################## [ 93s] libgum-1.0.8-0 ######################################## [ 94s] gumd-1.0.8-0 ######################################## [ 95s] buxton2-1.8.10-0 ######################################## [ 96s] vconf-compat-1.8.10-0 ######################################## [ 96s] vconf-compat-devel-1.8.10-0 ######################################## [ 96s] libcynara-creds-commons-0.19.5-1 ######################################## [ 96s] libcynara-creds-socket-0.19.5-1 ######################################## [ 97s] pkgmgr-info-parser-0.28.5-1 ######################################## [ 97s] pkgmgr-info-0.28.5-1 ######################################## [ 98s] pkgmgr-info-devel-0.28.5-1 ######################################## [ 98s] gettext-runtime-0.21.1-2.6 ######################################## [ 98s] sqlite-3.44.0-1.3 ######################################## [ 98s] libjson-0.17-0 ######################################## [ 98s] sqlite-devel-3.44.0-1.3 ######################################## [ 98s] pkgmgr-info-parser-devel-0.28.5-1 ######################################## [ 98s] libgum-devel-1.0.8-0 ######################################## [ 98s] minizip-devel-1.3-1.6 ######################################## [ 98s] libsyscommon-5.0.0-0 ######################################## [ 99s] libstorage-1.0.0-0 ######################################## [ 99s] aul-0.65.1-1 ######################################## [ 100s] rpc-port-1.19.1-0 ######################################## [ 101s] rpc-port-devel-1.19.1-0 ######################################## [ 101s] aul-devel-0.65.1-1 ######################################## [ 101s] pkgmgr-client-0.20.21-0 ######################################## [ 101s] pkgmgr-installer-0.20.21-0 ######################################## [ 101s] pkgmgr-installer-devel-0.20.21-0 ######################################## [ 101s] pkgmgr-client-devel-0.20.21-0 ######################################## [ 102s] gettext-tools-0.21.1-2.6 ######################################## [ 102s] rust-mockall-0.11.4-1 ######################################## [ 102s] rust-glib-sys-0.17.10-1 ######################################## [ 112s] rust-1.74.0-1 ######################################## [ 112s] rust-mockall_double-0.3.0-1 ######################################## [ 112s] rust-minizip-sys-0.1.2-1 ######################################## [ 114s] cmake-3.25.2-1.4 ######################################## [ 114s] unzip-610c25-1.1 ######################################## [ 115s] tidl-2.3.0-1 ######################################## [ 115s] fdupes-2.2.1-1.5 ######################################## [ 115s] Running capi-system-info %posttrans script [ 115s] I/O warning : failed to load external entity "/etc/config/model-config.xml" [ 115s] iniparser: cannot open /etc/info.ini [ 116s] Running pkgmgr %posttrans script [ 116s] /var/tmp/rpm-tmp.0KednG: line 5: pkg_initdb: command not found [ 116s] /var/tmp/rpm-tmp.0KednG: line 6: install_preload_pkg: command not found [ 116s] /var/tmp/rpm-tmp.0KednG: line 13: pkgcmd: command not found [ 116s] /var/tmp/rpm-tmp.0KednG: line 15: /etc/package-manager/pkgmgr-label-initial-image.sh: No such file or directory [ 116s] Running buxton2 %posttrans script [ 116s] chmod: cannot access `/etc/buxton2/*': No such file or directory [ 116s] /etc/buxton2/*: No such file or directory [ 117s] chmod: cannot access `/var/lib/buxton2/*': No such file or directory [ 117s] /var/lib/buxton2/*: No such file or directory [ 118s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7hl.13/etc/nsswitch.conf... [ 118s] now finalizing build dir... [ 120s] ----------------------------------------------------------------- [ 120s] ----- building pkgmgr-server.spec (user abuild) [ 120s] ----------------------------------------------------------------- [ 120s] ----------------------------------------------------------------- [ 121s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_costomized_smp_mflags -j20' --define '_srcdefattr (-,root,root)' --nosignature --target=armv7hl-tizen-linux --define '_build_create_debug 1' -ba /home/abuild/rpmbuild/SOURCES/pkgmgr-server.spec [ 121s] Building target platforms: armv7hl-tizen-linux [ 121s] Building for target armv7hl-tizen-linux [ 121s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0hJnQc [ 121s] + umask 022 [ 121s] + cd /home/abuild/rpmbuild/BUILD [ 121s] + cd /home/abuild/rpmbuild/BUILD [ 121s] + rm -rf pkgmgr-server-1.0.15 [ 121s] + /bin/tar -xof - [ 121s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/pkgmgr-server-1.0.15.tar.gz [ 121s] + STATUS=0 [ 121s] + '[' 0 -ne 0 ']' [ 121s] + cd pkgmgr-server-1.0.15 [ 121s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 121s] + cp /home/abuild/rpmbuild/SOURCES/pkgmgr-server.manifest . [ 121s] + tidlc -s -l C -e -i ./tidl_pkgmgr_server/PkgMgr.tidl -o tidl_pkgmgr_server [ 121s] + mv tidl_pkgmgr_server.c tidl_pkgmgr_server.h ./tidl_pkgmgr_server/ [ 121s] + exit 0 [ 121s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uP4JlI [ 122s] + umask 022 [ 122s] + cd /home/abuild/rpmbuild/BUILD [ 122s] + cd pkgmgr-server-1.0.15 [ 122s] + ref=/usr/lib/rpm [ 122s] + mints=0 [ 122s] + case $(uname -m) in [ 122s] ++ uname -m [ 122s] + for s in guess sub [ 122s] ++ find -maxdepth 8 -name config.guess [ 122s] + for s in guess sub [ 122s] ++ find -maxdepth 8 -name config.sub [ 122s] + LANG=C [ 122s] + export LANG [ 122s] + unset DISPLAY [ 122s] + 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=hard -mthumb -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g' [ 122s] + export CFLAGS [ 122s] + 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=hard -mthumb -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g' [ 122s] + export CXXFLAGS [ 122s] + 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=hard -mthumb -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -I%_fmoddir' [ 122s] + export FFLAGS [ 122s] + LDFLAGS= [ 122s] + export LDFLAGS [ 122s] + 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=hard -mthumb -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 122s] + 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=hard -mthumb -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 122s] + 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=hard -mthumb -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 122s] + 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=hard -mthumb -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 122s] + 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=hard -mthumb -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 122s] + 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=hard -mthumb -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 122s] ++ echo 1.0.15 [ 122s] ++ awk 'BEGIN {FS="."}{print $1}' [ 122s] + MAJORVER=1 [ 122s] + 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=hard -mthumb -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 122s] + export CFLAGS [ 122s] + 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=hard -mthumb -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 122s] + export CXXFLAGS [ 122s] + 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=hard -mthumb -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 122s] + export FFLAGS [ 122s] + /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 . [ 122s] -- The C compiler identification is GNU 14.2.0 [ 122s] -- The CXX compiler identification is GNU 14.2.0 [ 122s] -- Detecting C compiler ABI info [ 123s] -- Detecting C compiler ABI info - done [ 123s] -- Check for working C compiler: /bin/cc - skipped [ 123s] -- Detecting C compile features [ 123s] -- Detecting C compile features - done [ 123s] -- Detecting CXX compiler ABI info [ 123s] -- Detecting CXX compiler ABI info - done [ 123s] -- Check for working CXX compiler: /bin/c++ - skipped [ 123s] -- Detecting CXX compile features [ 123s] -- Detecting CXX compile features - done [ 123s] -- Found PkgConfig: /bin/pkg-config (found version "0.29.2") [ 123s] -- Checking for module 'rpc-port' [ 123s] -- Found rpc-port, version [ 124s] -- Checking for module 'dlog' [ 125s] -- Found dlog, version 1.0 [ 125s] -- Checking for module 'gio-2.0' [ 126s] -- Found gio-2.0, version 2.80.5 [ 127s] -- Checking for module 'glib-2.0' [ 127s] -- Found glib-2.0, version 2.80.5 [ 128s] -- Checking for module 'capi-base-common' [ 128s] -- Found capi-base-common, version 0.4.82 [ 129s] -- Checking for module 'pkgmgr' [ 129s] -- Found pkgmgr, version 0.20.21 [ 130s] -- Checking for module 'libtzplatform-config' [ 130s] -- Found libtzplatform-config, version 2.0 [ 131s] -- Configuring done [ 131s] -- Generating done [ 131s] CMake Warning: [ 131s] Manually-specified variables were not used by the project: [ 131s] [ 131s] FULLVER [ 131s] INCLUDE_INSTALL_DIR [ 131s] MAJORVER [ 131s] SHARE_INSTALL_PREFIX [ 131s] SYSCONF_INSTALL_DIR [ 131s] [ 131s] [ 131s] -- Build files have been written to: /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 131s] + make -j8 [ 131s] /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 [ 131s] /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 [ 131s] make -f CMakeFiles/Makefile2 all [ 131s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 131s] make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/depend [ 131s] make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/depend [ 131s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 131s] 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= [ 131s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 131s] 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= [ 131s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 131s] make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build [ 131s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 131s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 131s] make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build [ 131s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 131s] [ 25%] Building C object util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o [ 131s] 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=hard -mthumb -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 [ 131s] [ 50%] Building C object tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o [ 131s] 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=hard -mthumb -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 [ 131s] [ 75%] Linking C shared library libutil_pkgmgr_server.so [ 131s] 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 [ 131s] /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=hard -mthumb -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 [ 131s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 132s] [ 75%] Built target util_pkgmgr_server [ 133s] [100%] Linking C shared library libtidl_pkgmgr_server.so [ 133s] 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 [ 133s] /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=hard -mthumb -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 [ 133s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 134s] [100%] Built target tidl_pkgmgr_server [ 134s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 134s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/CMakeFiles 0 [ 134s] + export LD_LIBRARY_PATH=:/usr/lib/rustlib:/usr/lib/rustlib/dylib [ 134s] + LD_LIBRARY_PATH=:/usr/lib/rustlib:/usr/lib/rustlib/dylib [ 134s] ++ find /usr/lib -maxdepth 1 -name 'libstd-*.so' [ 134s] + __rust_std=/usr/lib/libstd-8bd96794529cec08.so [ 134s] + /usr/bin/rustc -C prefer-dynamic --extern std=/usr/lib/libstd-8bd96794529cec08.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 [ 136s] warning: unused import: `boxed` [ 136s] --> ./src/pkgmgr/server/admin_service.rs:4:11 [ 136s] | [ 136s] 4 | use std::{boxed, str}; [ 136s] | ^^^^^ [ 136s] | [ 136s] = note: `#[warn(unused_imports)]` on by default [ 136s] [ 136s] warning: unused import: `std::mem` [ 136s] --> ./src/pkgmgr/server/admin_service.rs:6:5 [ 136s] | [ 136s] 6 | use std::mem; [ 136s] | ^^^^^^^^ [ 136s] [ 136s] warning: unused import: `std::ptr` [ 136s] --> ./src/pkgmgr/server/admin_service.rs:7:5 [ 136s] | [ 136s] 7 | use std::ptr; [ 136s] | ^^^^^^^^ [ 136s] [ 136s] warning: unused import: `malloc` [ 136s] --> ./src/pkgmgr/server/admin_service.rs:8:18 [ 136s] | [ 136s] 8 | use libc::{free, malloc, strlen}; [ 136s] | ^^^^^^ [ 136s] [ 136s] warning: unused import: `super::Server` [ 136s] --> ./src/pkgmgr/server/admin_service.rs:10:5 [ 136s] | [ 136s] 10 | use super::Server; [ 136s] | ^^^^^^^^^^^^^ [ 136s] [ 136s] warning: type `rpc_port_stub_array_string_h` should have an upper camel case name [ 136s] --> ./src/pkgmgr/server/admin_service.rs:23:6 [ 136s] | [ 136s] 23 | type rpc_port_stub_array_string_h = *mut c_void; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RpcPortStubArrayStringH` [ 136s] | [ 136s] = note: `#[warn(non_camel_case_types)]` on by default [ 136s] [ 136s] warning: unused imports: `pid_t`, `uid_t` [ 136s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 136s] | [ 136s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 136s] | ^^^^^ ^^^^^ [ 136s] [ 136s] warning: unused imports: `c_int`, `c_void` [ 136s] --> ./src/pkgmgr/server/backend_context.rs:4:16 [ 136s] | [ 136s] 4 | use std::ffi::{c_int, c_void}; [ 136s] | ^^^^^ ^^^^^^ [ 136s] [ 136s] warning: unused import: `std::path::Path` [ 136s] --> ./src/pkgmgr/server/backend_queue.rs:10:5 [ 136s] | [ 136s] 10 | use std::path::Path; [ 136s] | ^^^^^^^^^^^^^^^ [ 136s] [ 136s] warning: denote infinite loops with `loop { ... }` [ 136s] --> ./src/pkgmgr/server/backend_queue.rs:50:9 [ 136s] | [ 136s] 50 | while true { [ 136s] | ^^^^^^^^^^ help: use `loop` [ 136s] | [ 136s] = note: `#[warn(while_true)]` on by default [ 136s] [ 136s] warning: unnecessary parentheses around `if` condition [ 136s] --> ./src/pkgmgr/server/backend_queue.rs:73:8 [ 136s] | [ 136s] 73 | if (mut_queue.is_queue_empty()) { [ 136s] | ^ ^ [ 136s] | [ 136s] = note: `#[warn(unused_parens)]` on by default [ 136s] help: remove these parentheses [ 136s] | [ 136s] 73 - if (mut_queue.is_queue_empty()) { [ 136s] 73 + if mut_queue.is_queue_empty() { [ 136s] | [ 136s] [ 136s] warning: unnecessary trailing semicolon [ 136s] --> ./src/pkgmgr/server/backend_queue.rs:297:17 [ 136s] | [ 136s] 297 | ; [ 136s] | ^ help: remove this semicolon [ 136s] | [ 136s] = note: `#[warn(redundant_semicolons)]` on by default [ 136s] [ 136s] warning: unused import: `super::Server` [ 136s] --> ./src/pkgmgr/server/cache_service.rs:1:5 [ 136s] | [ 136s] 1 | use super::Server; [ 136s] | ^^^^^^^^^^^^^ [ 136s] [ 136s] warning: unused import: `super::Server` [ 136s] --> ./src/pkgmgr/server/delayed_service.rs:1:5 [ 136s] | [ 136s] 1 | use super::Server; [ 136s] | ^^^^^^^^^^^^^ [ 136s] [ 136s] warning: unused import: `super::backend_context::*` [ 136s] --> ./src/pkgmgr/server/delayed_service.rs:4:5 [ 136s] | [ 136s] 4 | use super::backend_context::*; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 136s] [ 136s] warning: unused import: `super::request_result::*` [ 136s] --> ./src/pkgmgr/server/delayed_service.rs:5:5 [ 136s] | [ 136s] 5 | use super::request_result::*; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 136s] [ 136s] warning: unused import: `super::request_type::*` [ 136s] --> ./src/pkgmgr/server/delayed_service.rs:6:5 [ 136s] | [ 136s] 6 | use super::request_type::*; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 136s] [ 136s] warning: unused import: `super::util::*` [ 136s] --> ./src/pkgmgr/server/delayed_service.rs:7:5 [ 136s] | [ 136s] 7 | use super::util::*; [ 136s] | ^^^^^^^^^^^^^^ [ 136s] [ 136s] warning: unused imports: `pid_t`, `uid_t` [ 136s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 136s] | [ 136s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 136s] | ^^^^^ ^^^^^ [ 136s] [ 136s] warning: unused import: `std::io::Error` [ 136s] --> ./src/pkgmgr/server/info_service.rs:3:5 [ 136s] | [ 136s] 3 | use std::io::Error; [ 136s] | ^^^^^^^^^^^^^^ [ 136s] [ 136s] warning: unused import: `std::mem` [ 136s] --> ./src/pkgmgr/server/info_service.rs:6:5 [ 136s] | [ 136s] 6 | use std::mem; [ 136s] | ^^^^^^^^ [ 136s] [ 136s] warning: unused import: `std::ptr` [ 136s] --> ./src/pkgmgr/server/info_service.rs:7:5 [ 136s] | [ 136s] 7 | use std::ptr; [ 136s] | ^^^^^^^^ [ 136s] [ 136s] warning: unused imports: `free`, `malloc`, `strlen` [ 136s] --> ./src/pkgmgr/server/info_service.rs:8:12 [ 136s] | [ 136s] 8 | use libc::{free, malloc, strlen, mkfifo}; [ 136s] | ^^^^ ^^^^^^ ^^^^^^ [ 136s] [ 136s] warning: unused import: `super::Server` [ 136s] --> ./src/pkgmgr/server/info_service.rs:10:5 [ 136s] | [ 136s] 10 | use super::Server; [ 136s] | ^^^^^^^^^^^^^ [ 136s] [ 136s] warning: unused import: `super::service::Service` [ 136s] --> ./src/pkgmgr/server/info_service.rs:13:5 [ 136s] | [ 136s] 13 | use super::service::Service; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 136s] [ 136s] warning: unnecessary trailing semicolon [ 136s] --> ./src/pkgmgr/server/info_service.rs:49:5 [ 136s] | [ 136s] 49 | ; [ 136s] | ^ help: remove this semicolon [ 136s] [ 136s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 136s] --> ./src/pkgmgr/server/request_result.rs:7:5 [ 136s] | [ 136s] 7 | GETSIZE_SYNC(String, i32, i32), [ 136s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 136s] [ 136s] warning: variant `GET_GENERATE_LICENSE_RESULT` should have an upper camel case name [ 136s] --> ./src/pkgmgr/server/request_result.rs:8:5 [ 136s] | [ 136s] 8 | GET_GENERATE_LICENSE_RESULT(String, i32, CString, CString), [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetGenerateLicenseResult` [ 136s] [ 136s] warning: variant `MOUNT_INSTALL` should have an upper camel case name [ 136s] --> ./src/pkgmgr/server/request_type.rs:3:5 [ 136s] | [ 136s] 3 | MOUNT_INSTALL, [ 136s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MountInstall` [ 136s] [ 136s] warning: variant `ENABLE_PKG` should have an upper camel case name [ 136s] --> ./src/pkgmgr/server/request_type.rs:7:5 [ 136s] | [ 136s] 7 | ENABLE_PKG, [ 136s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnablePkg` [ 136s] [ 136s] warning: variant `DISABLE_PKG` should have an upper camel case name [ 136s] --> ./src/pkgmgr/server/request_type.rs:8:5 [ 136s] | [ 136s] 8 | DISABLE_PKG, [ 136s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisablePkg` [ 136s] [ 136s] warning: variant `REGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 136s] --> ./src/pkgmgr/server/request_type.rs:9:5 [ 136s] | [ 136s] 9 | REGISTER_PKG_UPDATE_INFO, [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterPkgUpdateInfo` [ 136s] [ 136s] warning: variant `UNREGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 136s] --> ./src/pkgmgr/server/request_type.rs:10:5 [ 136s] | [ 136s] 10 | UNREGISTER_PKG_UPDATE_INFO, [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterPkgUpdateInfo` [ 136s] [ 136s] warning: variant `UNREGISTER_ALL_PKG_UPDATE_INFO` should have an upper camel case name [ 136s] --> ./src/pkgmgr/server/request_type.rs:11:5 [ 136s] | [ 136s] 11 | UNREGISTER_ALL_PKG_UPDATE_INFO, [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterAllPkgUpdateInfo` [ 136s] [ 136s] warning: variant `ENABLE_APP` should have an upper camel case name [ 136s] --> ./src/pkgmgr/server/request_type.rs:12:5 [ 136s] | [ 136s] 12 | ENABLE_APP, [ 136s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableApp` [ 136s] [ 136s] warning: variant `DISABLE_APP` should have an upper camel case name [ 136s] --> ./src/pkgmgr/server/request_type.rs:13:5 [ 136s] | [ 136s] 13 | DISABLE_APP, [ 136s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableApp` [ 136s] [ 136s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 136s] --> ./src/pkgmgr/server/request_type.rs:15:5 [ 136s] | [ 136s] 15 | GETSIZE_SYNC, [ 136s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 136s] [ 136s] warning: variant `ENABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 136s] --> ./src/pkgmgr/server/request_type.rs:18:5 [ 136s] | [ 136s] 18 | ENABLE_GLOBAL_APP_FOR_UID, [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableGlobalAppForUid` [ 136s] [ 136s] warning: variant `DISABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 136s] --> ./src/pkgmgr/server/request_type.rs:19:5 [ 136s] | [ 136s] 19 | DISABLE_GLOBAL_APP_FOR_UID, [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableGlobalAppForUid` [ 136s] [ 136s] warning: variant `GENERATE_LICENSE_REQUEST` should have an upper camel case name [ 136s] --> ./src/pkgmgr/server/request_type.rs:22:5 [ 136s] | [ 136s] 22 | GENERATE_LICENSE_REQUEST, [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GenerateLicenseRequest` [ 136s] [ 136s] warning: variant `REGISTER_LICENSE` should have an upper camel case name [ 136s] --> ./src/pkgmgr/server/request_type.rs:23:5 [ 136s] | [ 136s] 23 | REGISTER_LICENSE, [ 136s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterLicense` [ 136s] [ 136s] warning: variant `DECRYPT_PACKAGE` should have an upper camel case name [ 136s] --> ./src/pkgmgr/server/request_type.rs:24:5 [ 136s] | [ 136s] 24 | DECRYPT_PACKAGE, [ 136s] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DecryptPackage` [ 136s] [ 136s] warning: variant `ENABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 136s] --> ./src/pkgmgr/server/request_type.rs:25:5 [ 136s] | [ 136s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableAppSplashScreen` [ 136s] [ 136s] warning: variant `DISABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 136s] --> ./src/pkgmgr/server/request_type.rs:26:5 [ 136s] | [ 136s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableAppSplashScreen` [ 136s] [ 136s] warning: variant `SET_APP_LABEL` should have an upper camel case name [ 136s] --> ./src/pkgmgr/server/request_type.rs:27:5 [ 136s] | [ 136s] 27 | SET_APP_LABEL, [ 136s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppLabel` [ 136s] [ 136s] warning: variant `SET_APP_ICON` should have an upper camel case name [ 136s] --> ./src/pkgmgr/server/request_type.rs:28:5 [ 136s] | [ 136s] 28 | SET_APP_ICON, [ 136s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppIcon` [ 136s] [ 136s] warning: variant `MIGRATE_EXTERNAL_IMAGE` should have an upper camel case name [ 136s] --> ./src/pkgmgr/server/request_type.rs:29:5 [ 136s] | [ 136s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MigrateExternalImage` [ 136s] [ 136s] warning: variant `RESOURCE_SHARE_COPY` should have an upper camel case name [ 136s] --> ./src/pkgmgr/server/request_type.rs:30:5 [ 136s] | [ 136s] 30 | RESOURCE_SHARE_COPY, [ 136s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCopy` [ 136s] [ 136s] warning: variant `RESOURCE_SHARE_CREATE_DIR` should have an upper camel case name [ 136s] --> ./src/pkgmgr/server/request_type.rs:31:5 [ 136s] | [ 136s] 31 | RESOURCE_SHARE_CREATE_DIR, [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCreateDir` [ 136s] [ 136s] warning: variant `RESOURCE_SHARE_REMOVE` should have an upper camel case name [ 136s] --> ./src/pkgmgr/server/request_type.rs:32:5 [ 136s] | [ 136s] 32 | RESOURCE_SHARE_REMOVE, [ 136s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareRemove` [ 136s] [ 136s] warning: variant `RESOURCE_SHARE_UNINSTALL` should have an upper camel case name [ 136s] --> ./src/pkgmgr/server/request_type.rs:33:5 [ 136s] | [ 136s] 33 | RESOURCE_SHARE_UNINSTALL, [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareUninstall` [ 136s] [ 136s] warning: variant `REMOVE_FILE` should have an upper camel case name [ 136s] --> ./src/pkgmgr/server/request_type.rs:34:5 [ 136s] | [ 136s] 34 | REMOVE_FILE, [ 136s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RemoveFile` [ 136s] [ 136s] warning: unused import: `CStr` [ 136s] --> ./src/pkgmgr/server/signal.rs:1:39 [ 136s] | [ 136s] 1 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 136s] | ^^^^ [ 136s] [ 136s] warning: unused import: `pid_t` [ 136s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 136s] | [ 136s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 136s] | ^^^^^ [ 136s] [ 136s] warning: unused imports: `CStr`, `CString`, `c_char`, `c_void` [ 136s] --> ./src/pkgmgr/server/signal.rs:39:20 [ 136s] | [ 136s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 136s] | ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^ [ 136s] [ 136s] warning: unused import: `pid_t` [ 136s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 136s] | [ 136s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 136s] | ^^^^^ [ 136s] [ 136s] warning: unused import: `std::cell::RefCell` [ 136s] --> ./src/pkgmgr/server/util.rs:1:5 [ 136s] | [ 136s] 1 | use std::cell::RefCell; [ 136s] | ^^^^^^^^^^^^^^^^^^ [ 136s] [ 136s] warning: unused import: `std::rc::Rc` [ 136s] --> ./src/pkgmgr/server/util.rs:8:5 [ 136s] | [ 136s] 8 | use std::rc::Rc; [ 136s] | ^^^^^^^^^^^ [ 136s] [ 136s] warning: type `xmlChar` should have an upper camel case name [ 136s] --> ./src/pkgmgr/server/util.rs:34:6 [ 136s] | [ 136s] 34 | type xmlChar = c_uchar; [ 136s] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlChar` [ 136s] [ 136s] warning: type `xmlTextReaderPtr` should have an upper camel case name [ 136s] --> ./src/pkgmgr/server/util.rs:35:6 [ 136s] | [ 136s] 35 | type xmlTextReaderPtr = *mut c_void; [ 136s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlTextReaderPtr` [ 136s] [ 136s] warning: unused imports: `CStr`, `CString` [ 136s] --> ./src/pkgmgr/server/util.rs:39:43 [ 136s] | [ 136s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 136s] | ^^^^ ^^^^^^^ [ 136s] [ 136s] warning: unused import: `pid_t` [ 136s] --> ./src/pkgmgr/server/util.rs:40:37 [ 136s] | [ 136s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 136s] | ^^^^^ [ 136s] [ 136s] warning: unnecessary parentheses around `if` condition [ 136s] --> ./src/pkgmgr/server/util.rs:474:24 [ 136s] | [ 136s] 474 | if (cur == depth + 1) { [ 136s] | ^ ^ [ 136s] | [ 136s] help: remove these parentheses [ 136s] | [ 136s] 474 - if (cur == depth + 1) { [ 136s] 474 + if cur == depth + 1 { [ 136s] | [ 136s] [ 136s] warning: unnecessary parentheses around `if` condition [ 136s] --> ./src/pkgmgr/server/util.rs:571:12 [ 136s] | [ 136s] 571 | if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 136s] | ^ ^ [ 136s] | [ 136s] help: remove these parentheses [ 136s] | [ 136s] 571 - if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 136s] 571 + if unzOpenCurrentFile(uf) != UNZ_OK as c_int { [ 136s] | [ 136s] [ 136s] warning: unused import: `super::super::super::server::signal::*` [ 136s] --> ./src/pkgmgr/server/test/signal_tests.rs:1:5 [ 136s] | [ 136s] 1 | use super::super::super::server::signal::*; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 136s] | [ 136s] help: consider adding a `#[cfg(test)]` to the containing module [ 136s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 136s] | [ 136s] 3 | pub mod signal_tests; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^ [ 136s] [ 136s] warning: unused import: `std::ffi::CString` [ 136s] --> ./src/pkgmgr/server/test/signal_tests.rs:2:5 [ 136s] | [ 136s] 2 | use std::ffi::CString; [ 136s] | ^^^^^^^^^^^^^^^^^ [ 136s] | [ 136s] help: consider adding a `#[cfg(test)]` to the containing module [ 136s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 136s] | [ 136s] 3 | pub mod signal_tests; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^ [ 136s] [ 136s] warning: unused import: `std::ffi::CStr` [ 136s] --> ./src/pkgmgr/server/test/signal_tests.rs:3:5 [ 136s] | [ 136s] 3 | use std::ffi::CStr; [ 136s] | ^^^^^^^^^^^^^^ [ 136s] | [ 136s] help: consider adding a `#[cfg(test)]` to the containing module [ 136s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 136s] | [ 136s] 3 | pub mod signal_tests; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^ [ 136s] [ 136s] warning: unused import: `std::ffi::c_char` [ 136s] --> ./src/pkgmgr/server/test/signal_tests.rs:4:5 [ 136s] | [ 136s] 4 | use std::ffi::c_char; [ 136s] | ^^^^^^^^^^^^^^^^ [ 136s] | [ 136s] help: consider adding a `#[cfg(test)]` to the containing module [ 136s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 136s] | [ 136s] 3 | pub mod signal_tests; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^ [ 136s] [ 136s] warning: unused import: `std::mem` [ 136s] --> ./src/pkgmgr/server/test/signal_tests.rs:5:5 [ 136s] | [ 136s] 5 | use std::mem; [ 136s] | ^^^^^^^^ [ 136s] | [ 136s] help: consider adding a `#[cfg(test)]` to the containing module [ 136s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 136s] | [ 136s] 3 | pub mod signal_tests; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^ [ 136s] [ 136s] warning: unused import: `mockall::predicate::*` [ 136s] --> ./src/pkgmgr/server/test/signal_tests.rs:6:5 [ 136s] | [ 136s] 6 | use mockall::predicate::*; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^ [ 136s] | [ 136s] help: consider adding a `#[cfg(test)]` to the containing module [ 136s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 136s] | [ 136s] 3 | pub mod signal_tests; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^ [ 136s] [ 136s] warning: unused import: `mockall::*` [ 136s] --> ./src/pkgmgr/server/test/signal_tests.rs:7:5 [ 136s] | [ 136s] 7 | use mockall::*; [ 136s] | ^^^^^^^^^^ [ 136s] | [ 136s] help: consider adding a `#[cfg(test)]` to the containing module [ 136s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 136s] | [ 136s] 3 | pub mod signal_tests; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^ [ 136s] [ 136s] warning: unused imports: `pid_t`, `uid_t` [ 136s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 136s] | [ 136s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 136s] | ^^^^^ ^^^^^ [ 136s] | [ 136s] help: consider adding a `#[cfg(test)]` to the containing module [ 136s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 136s] | [ 136s] 3 | pub mod signal_tests; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^ [ 136s] [ 136s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 136s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:1:5 [ 136s] | [ 136s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 136s] | [ 136s] help: consider adding a `#[cfg(test)]` to the containing module [ 136s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 136s] | [ 136s] 4 | pub mod admin_service_tests; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 136s] [ 136s] warning: unused import: `super::super::super::server::admin_service::AdminService` [ 136s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:2:5 [ 136s] | [ 136s] 2 | use super::super::super::server::admin_service::AdminService; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 136s] | [ 136s] help: consider adding a `#[cfg(test)]` to the containing module [ 136s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 136s] | [ 136s] 4 | pub mod admin_service_tests; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 136s] [ 136s] warning: unused import: `super::super::super::server::service::Service` [ 136s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:3:5 [ 136s] | [ 136s] 3 | use super::super::super::server::service::Service; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 136s] | [ 136s] help: consider adding a `#[cfg(test)]` to the containing module [ 136s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 136s] | [ 136s] 4 | pub mod admin_service_tests; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 136s] [ 136s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 136s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:1:5 [ 136s] | [ 136s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 136s] | [ 136s] help: consider adding a `#[cfg(test)]` to the containing module [ 136s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 136s] | [ 136s] 5 | pub mod cache_service_tests; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 136s] [ 136s] warning: unused import: `super::super::super::server::cache_service::CacheService` [ 136s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:2:5 [ 136s] | [ 136s] 2 | use super::super::super::server::cache_service::CacheService; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 136s] | [ 136s] help: consider adding a `#[cfg(test)]` to the containing module [ 136s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 136s] | [ 136s] 5 | pub mod cache_service_tests; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 136s] [ 136s] warning: unused import: `super::super::super::server::service::Service` [ 136s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:3:5 [ 136s] | [ 136s] 3 | use super::super::super::server::service::Service; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 136s] | [ 136s] help: consider adding a `#[cfg(test)]` to the containing module [ 136s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 136s] | [ 136s] 5 | pub mod cache_service_tests; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 136s] [ 136s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 136s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:1:5 [ 136s] | [ 136s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 136s] | [ 136s] help: consider adding a `#[cfg(test)]` to the containing module [ 136s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 136s] | [ 136s] 6 | pub mod delayed_service_tests; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 136s] [ 136s] warning: unused import: `super::super::super::server::delayed_service::DelayedService` [ 136s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:2:5 [ 136s] | [ 136s] 2 | use super::super::super::server::delayed_service::DelayedService; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 136s] | [ 136s] help: consider adding a `#[cfg(test)]` to the containing module [ 136s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 136s] | [ 136s] 6 | pub mod delayed_service_tests; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 136s] [ 136s] warning: unused import: `super::super::super::server::service::Service` [ 136s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:3:5 [ 136s] | [ 136s] 3 | use super::super::super::server::service::Service; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 136s] | [ 136s] help: consider adding a `#[cfg(test)]` to the containing module [ 136s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 136s] | [ 136s] 6 | pub mod delayed_service_tests; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 136s] [ 136s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 136s] --> ./src/pkgmgr/server/test/info_service_tests.rs:1:5 [ 136s] | [ 136s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 136s] | [ 136s] help: consider adding a `#[cfg(test)]` to the containing module [ 136s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 136s] | [ 136s] 7 | pub mod info_service_tests; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 136s] [ 136s] warning: unused import: `super::super::super::server::info_service::InfoService` [ 136s] --> ./src/pkgmgr/server/test/info_service_tests.rs:2:5 [ 136s] | [ 136s] 2 | use super::super::super::server::info_service::InfoService; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 136s] | [ 136s] help: consider adding a `#[cfg(test)]` to the containing module [ 136s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 136s] | [ 136s] 7 | pub mod info_service_tests; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 136s] [ 136s] warning: unused import: `super::super::super::server::service::Service` [ 136s] --> ./src/pkgmgr/server/test/info_service_tests.rs:3:5 [ 136s] | [ 136s] 3 | use super::super::super::server::service::Service; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 136s] | [ 136s] help: consider adding a `#[cfg(test)]` to the containing module [ 136s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 136s] | [ 136s] 7 | pub mod info_service_tests; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 136s] [ 136s] warning: unused import: `std::cell::RefCell` [ 136s] --> ./src/pkgmgr/server/mod.rs:22:5 [ 136s] | [ 136s] 22 | use std::cell::RefCell; [ 136s] | ^^^^^^^^^^^^^^^^^^ [ 136s] [ 136s] warning: unused import: `std::rc::Rc` [ 136s] --> ./src/pkgmgr/server/mod.rs:26:5 [ 136s] | [ 136s] 26 | use std::rc::Rc; [ 136s] | ^^^^^^^^^^^ [ 136s] [ 136s] warning: unused import: `std::process::Command` [ 136s] --> ./src/main.rs:9:5 [ 136s] | [ 136s] 9 | use std::process::Command; [ 136s] | ^^^^^^^^^^^^^^^^^^^^^ [ 136s] [ 136s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 136s] --> ./src/pkgmgr/server/admin_service.rs:5:26 [ 136s] | [ 136s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 136s] | ^^^^^ [ 136s] | [ 136s] = note: `#[warn(deprecated)]` on by default [ 136s] [ 136s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 136s] --> ./src/pkgmgr/server/admin_service.rs:5:33 [ 136s] | [ 136s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 136s] | ^^^^^ [ 136s] [ 136s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 136s] --> ./src/pkgmgr/server/admin_service.rs:20:20 [ 136s] | [ 136s] 20 | const GLOBAL_USER: uid_t = 201; [ 136s] | ^^^^^ [ 136s] [ 136s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 136s] --> ./src/pkgmgr/server/admin_service.rs:322:25 [ 136s] | [ 136s] 322 | let mut caller_uid: uid_t = 0; [ 136s] | ^^^^^ [ 136s] [ 136s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 136s] --> ./src/pkgmgr/server/admin_service.rs:443:25 [ 136s] | [ 136s] 443 | let mut caller_uid: uid_t = 0; [ 136s] | ^^^^^ [ 136s] [ 136s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 136s] --> ./src/pkgmgr/server/admin_service.rs:548:25 [ 136s] | [ 136s] 548 | let mut caller_uid: uid_t = 0; [ 136s] | ^^^^^ [ 136s] [ 136s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 136s] --> ./src/pkgmgr/server/admin_service.rs:595:25 [ 136s] | [ 136s] 595 | let mut caller_uid: uid_t = 0; [ 136s] | ^^^^^ [ 136s] [ 136s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 136s] --> ./src/pkgmgr/server/admin_service.rs:718:25 [ 136s] | [ 136s] 718 | let mut caller_uid: uid_t = 0; [ 136s] | ^^^^^ [ 136s] [ 136s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 136s] --> ./src/pkgmgr/server/admin_service.rs:801:25 [ 136s] | [ 136s] 801 | let mut caller_uid: uid_t = 0; [ 136s] | ^^^^^ [ 136s] [ 136s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 136s] --> ./src/pkgmgr/server/admin_service.rs:853:25 [ 136s] | [ 136s] 853 | let mut caller_uid: uid_t = 0; [ 136s] | ^^^^^ [ 136s] [ 136s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 136s] --> ./src/pkgmgr/server/admin_service.rs:937:25 [ 136s] | [ 136s] 937 | let mut caller_uid: uid_t = 0; [ 136s] | ^^^^^ [ 136s] [ 136s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 136s] --> ./src/pkgmgr/server/admin_service.rs:990:25 [ 136s] | [ 136s] 990 | let mut caller_uid: uid_t = 0; [ 136s] | ^^^^^ [ 136s] [ 136s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 136s] --> ./src/pkgmgr/server/admin_service.rs:1015:76 [ 136s] | [ 136s] 1015 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, true) { [ 136s] | ^^^^^ [ 136s] [ 136s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 136s] --> ./src/pkgmgr/server/admin_service.rs:1072:25 [ 136s] | [ 136s] 1072 | let mut caller_uid: uid_t = 0; [ 136s] | ^^^^^ [ 136s] [ 136s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 136s] --> ./src/pkgmgr/server/admin_service.rs:1097:76 [ 136s] | [ 136s] 1097 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, false) { [ 136s] | ^^^^^ [ 136s] [ 136s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 136s] --> ./src/pkgmgr/server/admin_service.rs:1151:25 [ 136s] | [ 136s] 1151 | let mut caller_pid: pid_t = 0; [ 136s] | ^^^^^ [ 136s] [ 136s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 136s] --> ./src/pkgmgr/server/admin_service.rs:1152:25 [ 136s] | [ 136s] 1152 | let mut caller_uid: uid_t = 0; [ 136s] | ^^^^^ [ 136s] [ 136s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 136s] --> ./src/pkgmgr/server/admin_service.rs:1166:62 [ 136s] | [ 136s] 1166 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 136s] | ^^^^^ [ 136s] [ 136s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 136s] --> ./src/pkgmgr/server/admin_service.rs:1196:66 [ 136s] | [ 136s] 1196 | let ret = Util::RegisterPkgUpdateInfo(handle, uid as uid_t); [ 136s] | ^^^^^ [ 136s] [ 136s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 136s] --> ./src/pkgmgr/server/admin_service.rs:1215:25 [ 136s] | [ 136s] 1215 | let mut caller_pid: pid_t = 0; [ 136s] | ^^^^^ [ 136s] [ 136s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 136s] --> ./src/pkgmgr/server/admin_service.rs:1216:25 [ 136s] | [ 136s] 1216 | let mut caller_uid: uid_t = 0; [ 136s] | ^^^^^ [ 136s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1230:62 [ 137s] | [ 137s] 1230 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1254:109 [ 137s] | [ 137s] 1254 | RequestResult::DELAYED(generated_req_key, Util::UnregisterPkgUpdateInfo(pkg_id.as_ptr(), uid as uid_t)) [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1270:25 [ 137s] | [ 137s] 1270 | let mut caller_pid: pid_t = 0; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1271:25 [ 137s] | [ 137s] 1271 | let mut caller_uid: uid_t = 0; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1303:95 [ 137s] | [ 137s] 1303 | RequestResult::DELAYED(generated_req_key, Util::UnregisterAllPkgUpdateInfo(uid as uid_t, caller_uid)) [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1312:45 [ 137s] | [ 137s] 1312 | fn handle_enable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1359:60 [ 137s] | [ 137s] 1359 | fn handle_enable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1371:40 [ 137s] | [ 137s] 1371 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1373:40 [ 137s] | [ 137s] 1373 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1380:36 [ 137s] | [ 137s] 1380 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1382:36 [ 137s] | [ 137s] 1382 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1392:36 [ 137s] | [ 137s] 1392 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1394:36 [ 137s] | [ 137s] 1394 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1400:28 [ 137s] | [ 137s] 1400 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1403:46 [ 137s] | [ 137s] 1403 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1404:59 [ 137s] | [ 137s] 1404 | Util::EnableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1405:32 [ 137s] | [ 137s] 1405 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1409:28 [ 137s] | [ 137s] 1409 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1415:46 [ 137s] | [ 137s] 1415 | fn handle_disable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1463:61 [ 137s] | [ 137s] 1463 | fn handle_disable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1475:40 [ 137s] | [ 137s] 1475 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1477:40 [ 137s] | [ 137s] 1477 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1484:36 [ 137s] | [ 137s] 1484 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1486:36 [ 137s] | [ 137s] 1486 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1496:36 [ 137s] | [ 137s] 1496 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1498:36 [ 137s] | [ 137s] 1498 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1504:28 [ 137s] | [ 137s] 1504 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1507:46 [ 137s] | [ 137s] 1507 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1508:60 [ 137s] | [ 137s] 1508 | Util::DisableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1509:32 [ 137s] | [ 137s] 1509 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1513:28 [ 137s] | [ 137s] 1513 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1535:25 [ 137s] | [ 137s] 1535 | let mut caller_uid: uid_t = 0; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1562:70 [ 137s] | [ 137s] 1562 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1588:25 [ 137s] | [ 137s] 1588 | let mut caller_uid: uid_t = 0; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1615:71 [ 137s] | [ 137s] 1615 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1673:74 [ 137s] | [ 137s] 1673 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1735:75 [ 137s] | [ 137s] 1735 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1765:25 [ 137s] | [ 137s] 1765 | let mut caller_uid: uid_t = 0; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1792:85 [ 137s] | [ 137s] 1792 | RequestResult::VAL(handle_enable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1818:25 [ 137s] | [ 137s] 1818 | let mut caller_uid: uid_t = 0; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1845:86 [ 137s] | [ 137s] 1845 | RequestResult::VAL(handle_disable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1863:40 [ 137s] | [ 137s] 1863 | Util::KillAppsInPkg(pkg_id, uid as uid_t) [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1873:25 [ 137s] | [ 137s] 1873 | let mut caller_pid: pid_t = 0; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1874:25 [ 137s] | [ 137s] 1874 | let mut caller_uid: uid_t = 0; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1985:25 [ 137s] | [ 137s] 1985 | let mut caller_pid: pid_t = 0; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:1986:25 [ 137s] | [ 137s] 1986 | let mut caller_uid: uid_t = 0; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:2035:25 [ 137s] | [ 137s] 2035 | let mut caller_pid: pid_t = 0; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:2036:25 [ 137s] | [ 137s] 2036 | let mut caller_uid: uid_t = 0; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:2083:54 [ 137s] | [ 137s] 2083 | Util::EnableGlobalAppSplashScreen(app_id, uid as uid_t) [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:2093:55 [ 137s] | [ 137s] 2093 | Util::DisableGlobalAppSplashScreen(app_id, uid as uid_t) [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:2105:25 [ 137s] | [ 137s] 2105 | let mut caller_pid: pid_t = 0; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:2106:25 [ 137s] | [ 137s] 2106 | let mut caller_uid: uid_t = 0; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:2137:102 [ 137s] | [ 137s] 2137 | RequestResult::DELAYED(generated_req_key, Util::update_app_label(app_id.as_ptr(), uid as uid_t , label.as_ptr())) [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:2155:25 [ 137s] | [ 137s] 2155 | let mut caller_pid: pid_t = 0; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:2156:25 [ 137s] | [ 137s] 2156 | let mut caller_uid: uid_t = 0; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:2187:101 [ 137s] | [ 137s] 2187 | RequestResult::DELAYED(generated_req_key, Util::update_app_icon(app_id.as_ptr(), uid as uid_t , icon_path.as_ptr())) [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:2312:25 [ 137s] | [ 137s] 2312 | let mut caller_uid: uid_t = 0; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:2313:25 [ 137s] | [ 137s] 2313 | let mut caller_pid: pid_t = 0; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:2383:25 [ 137s] | [ 137s] 2383 | let mut caller_uid: uid_t = 0; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:2384:25 [ 137s] | [ 137s] 2384 | let mut caller_pid: pid_t = 0; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:2453:25 [ 137s] | [ 137s] 2453 | let mut caller_uid: uid_t = 0; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:2454:25 [ 137s] | [ 137s] 2454 | let mut caller_pid: pid_t = 0; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:2532:25 [ 137s] | [ 137s] 2532 | let mut caller_uid: uid_t = 0; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:2622:41 [ 137s] | [ 137s] 2622 | if unsafe { check_valid_path(uid as uid_t, pkg_id, file_path) } != 0 { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:2681:19 [ 137s] | [ 137s] 2681 | pid: *mut pid_t, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/admin_service.rs:2682:19 [ 137s] | [ 137s] 2682 | uid: *mut uid_t [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 137s] | [ 137s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/backend_context.rs:3:33 [ 137s] | [ 137s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/cache_service.rs:12:26 [ 137s] | [ 137s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/cache_service.rs:12:33 [ 137s] | [ 137s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/cache_service.rs:23:14 [ 137s] | [ 137s] 23 | uid: uid_t, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/cache_service.rs:48:17 [ 137s] | [ 137s] 48 | target_uid: uid_t, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/cache_service.rs:53:25 [ 137s] | [ 137s] 53 | let mut caller_uid: uid_t = 0; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/cache_service.rs:106:19 [ 137s] | [ 137s] 106 | pid: *mut pid_t, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/cache_service.rs:107:19 [ 137s] | [ 137s] 107 | uid: *mut uid_t [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 137s] | [ 137s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/delayed_service.rs:13:33 [ 137s] | [ 137s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/info_service.rs:2:26 [ 137s] | [ 137s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/info_service.rs:2:33 [ 137s] | [ 137s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/info_service.rs:37:90 [ 137s] | [ 137s] 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... [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/info_service.rs:38:94 [ 137s] | [ 137s] 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... [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/info_service.rs:40:88 [ 137s] | [ 137s] 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... [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/info_service.rs:40:128 [ 137s] | [ 137s] 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... [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/info_service.rs:54:17 [ 137s] | [ 137s] 54 | target_uid: uid_t, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/info_service.rs:60:25 [ 137s] | [ 137s] 60 | let mut caller_pid: pid_t = 0; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/info_service.rs:61:25 [ 137s] | [ 137s] 61 | let mut caller_uid: uid_t = 0; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/info_service.rs:114:17 [ 137s] | [ 137s] 114 | target_uid: uid_t, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/info_service.rs:120:25 [ 137s] | [ 137s] 120 | let mut caller_pid: pid_t = 0; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/info_service.rs:121:25 [ 137s] | [ 137s] 121 | let mut caller_uid: uid_t = 0; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/info_service.rs:223:17 [ 137s] | [ 137s] 223 | target_uid: uid_t, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/info_service.rs:225:15 [ 137s] | [ 137s] 225 | pid: *mut pid_t, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/info_service.rs:228:43 [ 137s] | [ 137s] 228 | Util::check_app(pkg_id, target_uid as uid_t, pid) [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/info_service.rs:242:19 [ 137s] | [ 137s] 242 | pid: *mut pid_t, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/info_service.rs:243:19 [ 137s] | [ 137s] 243 | uid: *mut uid_t [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/signal.rs:2:26 [ 137s] | [ 137s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 137s] | [ 137s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/signal.rs:99:20 [ 137s] | [ 137s] 99 | const GLOBAL_USER: uid_t = 201; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/signal.rs:101:33 [ 137s] | [ 137s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/signal.rs:101:47 [ 137s] | [ 137s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/signal.rs:102:26 [ 137s] | [ 137s] 102 | let mut uid_vec: Vec = vec![]; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/signal.rs:110:28 [ 137s] | [ 137s] 110 | let mut uids: *mut uid_t = std::ptr::null_mut(); [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/signal.rs:124:14 [ 137s] | [ 137s] 124 | uid: uid_t, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/signal.rs:53:44 [ 137s] | [ 137s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/signal.rs:62:14 [ 137s] | [ 137s] 62 | uid: uid_t, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/signal.rs:86:14 [ 137s] | [ 137s] 86 | uid: uid_t, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/signal.rs:40:30 [ 137s] | [ 137s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 137s] | [ 137s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/signal.rs:44:45 [ 137s] | [ 137s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:4:26 [ 137s] | [ 137s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:4:33 [ 137s] | [ 137s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:22:21 [ 137s] | [ 137s] 22 | const REGULAR_USER: uid_t = 5000; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:23:20 [ 137s] | [ 137s] 23 | const GLOBAL_USER: uid_t = 201; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:25:18 [ 137s] | [ 137s] 25 | const APPFW_UID: uid_t = 301; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:307:36 [ 137s] | [ 137s] 307 | let uid : uid_t = user_data as uid_t; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:307:15 [ 137s] | [ 137s] 307 | let uid : uid_t = user_data as uid_t; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:326:81 [ 137s] | [ 137s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:326:93 [ 137s] | [ 137s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:326:25 [ 137s] | [ 137s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:326:37 [ 137s] | [ 137s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:389:57 [ 137s] | [ 137s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:420:55 [ 137s] | [ 137s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:686:62 [ 137s] | [ 137s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:696:63 [ 137s] | [ 137s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:706:44 [ 137s] | [ 137s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:706:63 [ 137s] | [ 137s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:728:49 [ 137s] | [ 137s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:738:50 [ 137s] | [ 137s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:747:55 [ 137s] | [ 137s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:757:56 [ 137s] | [ 137s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:766:61 [ 137s] | [ 137s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:775:62 [ 137s] | [ 137s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:784:67 [ 137s] | [ 137s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:793:68 [ 137s] | [ 137s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:802:54 [ 137s] | [ 137s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:802:64 [ 137s] | [ 137s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:813:47 [ 137s] | [ 137s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:835:53 [ 137s] | [ 137s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:855:25 [ 137s] | [ 137s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:983:69 [ 137s] | [ 137s] 983 | pub fn get_application_info_by_appid(appid: *const c_char, uid: uid_t) -> Option<(CString, bool)> { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:1012:41 [ 137s] | [ 137s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:1012:53 [ 137s] | [ 137s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:1029:71 [ 137s] | [ 137s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:1029:90 [ 137s] | [ 137s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:1076:56 [ 137s] | [ 137s] 1076 | pub fn update_app_label(appid: *const c_char, uid: uid_t, label: *const c_char) -> c_int { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:1080:55 [ 137s] | [ 137s] 1080 | pub fn update_app_icon(appid: *const c_char, uid: uid_t, icon_path: *const c_char) -> c_int { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:1108:49 [ 137s] | [ 137s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:1108:66 [ 137s] | [ 137s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:156:14 [ 137s] | [ 137s] 156 | uid: uid_t, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:166:14 [ 137s] | [ 137s] 166 | uid: uid_t, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:180:14 [ 137s] | [ 137s] 180 | uid: uid_t [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:185:14 [ 137s] | [ 137s] 185 | uid: uid_t [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:189:14 [ 137s] | [ 137s] 189 | uid: uid_t [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:194:14 [ 137s] | [ 137s] 194 | uid: uid_t, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:200:14 [ 137s] | [ 137s] 200 | uid: uid_t, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:206:14 [ 137s] | [ 137s] 206 | uid: uid_t, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:212:14 [ 137s] | [ 137s] 212 | uid: uid_t, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:218:14 [ 137s] | [ 137s] 218 | uid: uid_t, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:224:14 [ 137s] | [ 137s] 224 | uid: uid_t, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:237:32 [ 137s] | [ 137s] 237 | fn gum_user_get_sync(uid : uid_t, offline : c_int) -> *mut c_void; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:266:21 [ 137s] | [ 137s] 266 | caller_uid: uid_t [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:274:14 [ 137s] | [ 137s] 274 | uid: uid_t, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:40:30 [ 137s] | [ 137s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:40:37 [ 137s] | [ 137s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:46:18 [ 137s] | [ 137s] 46 | uid: uid_t, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:52:18 [ 137s] | [ 137s] 52 | uid: uid_t, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:67:18 [ 137s] | [ 137s] 67 | uid: uid_t, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:101:18 [ 137s] | [ 137s] 101 | uid: uid_t, [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:122:70 [ 137s] | [ 137s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:123:66 [ 137s] | [ 137s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:124:59 [ 137s] | [ 137s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/util.rs:125:97 [ 137s] | [ 137s] 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; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 137s] | [ 137s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 137s] | ^^^^^ [ 137s] [ 137s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 137s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 137s] | [ 137s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 137s] | ^^^^^ [ 137s] [ 140s] warning: unreachable expression [ 140s] --> ./src/pkgmgr/server/backend_queue.rs:64:5 [ 140s] | [ 140s] 61 | return G_SOURCE_CONTINUE; [ 140s] | ------------------------ any code following this expression is unreachable [ 140s] ... [ 140s] 64 | 1 [ 140s] | ^ unreachable expression [ 140s] | [ 140s] = note: `#[warn(unreachable_code)]` on by default [ 140s] [ 143s] warning: unused variable: `context` [ 143s] --> ./src/pkgmgr/server/admin_service.rs:297:5 [ 143s] | [ 143s] 297 | context: *mut c_void, [ 143s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 143s] | [ 143s] = note: `#[warn(unused_variables)]` on by default [ 143s] [ 143s] warning: unused variable: `context` [ 143s] --> ./src/pkgmgr/server/admin_service.rs:306:5 [ 143s] | [ 143s] 306 | context: *mut c_void, [ 143s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 143s] [ 143s] warning: unused variable: `user_data` [ 143s] --> ./src/pkgmgr/server/admin_service.rs:307:5 [ 143s] | [ 143s] 307 | user_data: *mut c_void, [ 143s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 143s] [ 143s] warning: unused variable: `ret` [ 143s] --> ./src/pkgmgr/server/admin_service.rs:323:9 [ 143s] | [ 143s] 323 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 143s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 143s] [ 143s] warning: unused variable: `req_id` [ 143s] --> ./src/pkgmgr/server/admin_service.rs:318:5 [ 143s] | [ 143s] 318 | req_id: *const c_char, [ 143s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 143s] [ 143s] warning: variable does not need to be mutable [ 143s] --> ./src/pkgmgr/server/admin_service.rs:415:9 [ 143s] | [ 143s] 415 | let mut backend_context = BackendContext::new( [ 143s] | ----^^^^^^^^^^^^^^^ [ 143s] | | [ 143s] | help: remove this `mut` [ 143s] | [ 143s] = note: `#[warn(unused_mut)]` on by default [ 143s] [ 143s] warning: unused variable: `ret` [ 143s] --> ./src/pkgmgr/server/admin_service.rs:444:9 [ 143s] | [ 143s] 444 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 143s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 143s] [ 143s] warning: unused variable: `req_id` [ 143s] --> ./src/pkgmgr/server/admin_service.rs:434:5 [ 143s] | [ 143s] 434 | req_id: *const c_char, [ 143s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 143s] [ 144s] warning: variable does not need to be mutable [ 144s] --> ./src/pkgmgr/server/admin_service.rs:510:9 [ 144s] | [ 144s] 510 | let mut backend_context = BackendContext::new( [ 144s] | ----^^^^^^^^^^^^^^^ [ 144s] | | [ 144s] | help: remove this `mut` [ 144s] [ 144s] warning: unused variable: `ret` [ 144s] --> ./src/pkgmgr/server/admin_service.rs:549:9 [ 144s] | [ 144s] 549 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 144s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 144s] [ 144s] warning: variable does not need to be mutable [ 144s] --> ./src/pkgmgr/server/admin_service.rs:571:9 [ 144s] | [ 144s] 571 | let mut backend_context = BackendContext::new( [ 144s] | ----^^^^^^^^^^^^^^^ [ 144s] | | [ 144s] | help: remove this `mut` [ 144s] [ 144s] warning: unused variable: `ret` [ 144s] --> ./src/pkgmgr/server/admin_service.rs:596:9 [ 144s] | [ 144s] 596 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 144s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 144s] [ 144s] warning: unused variable: `req_id` [ 144s] --> ./src/pkgmgr/server/admin_service.rs:591:5 [ 144s] | [ 144s] 591 | req_id: *const c_char, [ 144s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 144s] [ 144s] warning: variable does not need to be mutable [ 144s] --> ./src/pkgmgr/server/admin_service.rs:688:9 [ 144s] | [ 144s] 688 | let mut backend_context = BackendContext::new( [ 144s] | ----^^^^^^^^^^^^^^^ [ 144s] | | [ 144s] | help: remove this `mut` [ 144s] [ 144s] warning: unused variable: `ret` [ 144s] --> ./src/pkgmgr/server/admin_service.rs:719:9 [ 144s] | [ 144s] 719 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 144s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 144s] [ 144s] warning: unused variable: `req_id` [ 144s] --> ./src/pkgmgr/server/admin_service.rs:706:5 [ 144s] | [ 144s] 706 | req_id: *const c_char, [ 144s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 144s] [ 144s] warning: variable does not need to be mutable [ 144s] --> ./src/pkgmgr/server/admin_service.rs:763:9 [ 144s] | [ 144s] 763 | let mut backend_context = BackendContext::new( [ 144s] | ----^^^^^^^^^^^^^^^ [ 144s] | | [ 144s] | help: remove this `mut` [ 144s] [ 144s] warning: unused variable: `ret` [ 144s] --> ./src/pkgmgr/server/admin_service.rs:802:9 [ 144s] | [ 144s] 802 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 144s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 144s] [ 144s] warning: variable does not need to be mutable [ 144s] --> ./src/pkgmgr/server/admin_service.rs:824:9 [ 144s] | [ 144s] 824 | let mut backend_context = BackendContext::new( [ 144s] | ----^^^^^^^^^^^^^^^ [ 144s] | | [ 144s] | help: remove this `mut` [ 144s] [ 144s] warning: unused variable: `ret` [ 144s] --> ./src/pkgmgr/server/admin_service.rs:854:9 [ 144s] | [ 144s] 854 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 144s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 144s] [ 144s] warning: variable does not need to be mutable [ 144s] --> ./src/pkgmgr/server/admin_service.rs:898:9 [ 144s] | [ 144s] 898 | let mut backend_context = BackendContext::new( [ 144s] | ----^^^^^^^^^^^^^^^ [ 144s] | | [ 144s] | help: remove this `mut` [ 144s] [ 144s] warning: unused variable: `ret` [ 144s] --> ./src/pkgmgr/server/admin_service.rs:938:9 [ 144s] | [ 144s] 938 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 144s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 144s] [ 144s] warning: variable does not need to be mutable [ 144s] --> ./src/pkgmgr/server/admin_service.rs:961:9 [ 144s] | [ 144s] 961 | let mut backend_context = BackendContext::new( [ 144s] | ----^^^^^^^^^^^^^^^ [ 144s] | | [ 144s] | help: remove this `mut` [ 144s] [ 144s] warning: unused variable: `ret` [ 144s] --> ./src/pkgmgr/server/admin_service.rs:991:9 [ 144s] | [ 144s] 991 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 144s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 144s] [ 144s] warning: variable does not need to be mutable [ 144s] --> ./src/pkgmgr/server/admin_service.rs:1038:17 [ 144s] | [ 144s] 1038 | let mut backend_context = BackendContext::new( [ 144s] | ----^^^^^^^^^^^^^^^ [ 144s] | | [ 144s] | help: remove this `mut` [ 144s] [ 144s] warning: unused variable: `ret` [ 144s] --> ./src/pkgmgr/server/admin_service.rs:1073:9 [ 144s] | [ 144s] 1073 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 144s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 144s] [ 144s] warning: variable does not need to be mutable [ 144s] --> ./src/pkgmgr/server/admin_service.rs:1123:17 [ 144s] | [ 144s] 1123 | let mut backend_context = BackendContext::new( [ 144s] | ----^^^^^^^^^^^^^^^ [ 144s] | | [ 144s] | help: remove this `mut` [ 144s] [ 144s] warning: unused variable: `pkg_id` [ 144s] --> ./src/pkgmgr/server/admin_service.rs:1186:9 [ 144s] | [ 144s] 1186 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) }); [ 144s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 144s] [ 144s] warning: variable does not need to be mutable [ 144s] --> ./src/pkgmgr/server/admin_service.rs:1180:9 [ 144s] | [ 144s] 1180 | let mut handle : *mut c_void = Util::CreatePkgUpdateInfo(pkg_id, version, update_type); [ 144s] | ----^^^^^^ [ 144s] | | [ 144s] | help: remove this `mut` [ 144s] [ 144s] warning: variable does not need to be mutable [ 144s] --> ./src/pkgmgr/server/admin_service.rs:1190:9 [ 144s] | [ 144s] 1190 | let mut backend_context = BackendContext::new( [ 144s] | ----^^^^^^^^^^^^^^^ [ 144s] | | [ 144s] | help: remove this `mut` [ 144s] [ 144s] warning: variable does not need to be mutable [ 144s] --> ./src/pkgmgr/server/admin_service.rs:1248:9 [ 144s] | [ 144s] 1248 | let mut backend_context = BackendContext::new( [ 144s] | ----^^^^^^^^^^^^^^^ [ 144s] | | [ 144s] | help: remove this `mut` [ 144s] [ 144s] warning: variable does not need to be mutable [ 144s] --> ./src/pkgmgr/server/admin_service.rs:1297:9 [ 144s] | [ 144s] 1297 | let mut backend_context = BackendContext::new( [ 144s] | ----^^^^^^^^^^^^^^^ [ 144s] | | [ 144s] | help: remove this `mut` [ 144s] [ 144s] warning: unused variable: `is_global` [ 144s] --> ./src/pkgmgr/server/admin_service.rs:1321:17 [ 144s] | [ 144s] 1321 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 144s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 144s] [ 144s] warning: unused variable: `is_global` [ 144s] --> ./src/pkgmgr/server/admin_service.rs:1368:17 [ 144s] | [ 144s] 1368 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 144s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 144s] [ 144s] warning: unused variable: `is_global` [ 144s] --> ./src/pkgmgr/server/admin_service.rs:1424:17 [ 144s] | [ 144s] 1424 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 144s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 144s] [ 144s] warning: unused variable: `is_global` [ 144s] --> ./src/pkgmgr/server/admin_service.rs:1472:17 [ 144s] | [ 144s] 1472 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 144s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 144s] [ 144s] warning: unused variable: `caller_uid` [ 144s] --> ./src/pkgmgr/server/admin_service.rs:1535:13 [ 144s] | [ 144s] 1535 | let mut caller_uid: uid_t = 0; [ 144s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 144s] [ 144s] warning: unused variable: `context` [ 144s] --> ./src/pkgmgr/server/admin_service.rs:1521:5 [ 144s] | [ 144s] 1521 | context: *mut c_void, [ 144s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 144s] [ 144s] warning: variable does not need to be mutable [ 144s] --> ./src/pkgmgr/server/admin_service.rs:1535:9 [ 144s] | [ 144s] 1535 | let mut caller_uid: uid_t = 0; [ 144s] | ----^^^^^^^^^^ [ 144s] | | [ 144s] | help: remove this `mut` [ 144s] [ 144s] warning: variable does not need to be mutable [ 144s] --> ./src/pkgmgr/server/admin_service.rs:1558:13 [ 144s] | [ 144s] 1558 | let mut backend_context = BackendContext::new( [ 144s] | ----^^^^^^^^^^^^^^^ [ 144s] | | [ 144s] | help: remove this `mut` [ 144s] [ 144s] warning: unused variable: `caller_uid` [ 144s] --> ./src/pkgmgr/server/admin_service.rs:1588:13 [ 144s] | [ 144s] 1588 | let mut caller_uid: uid_t = 0; [ 144s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 144s] [ 144s] warning: unused variable: `context` [ 144s] --> ./src/pkgmgr/server/admin_service.rs:1574:5 [ 144s] | [ 144s] 1574 | context: *mut c_void, [ 144s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 144s] [ 144s] warning: variable does not need to be mutable [ 144s] --> ./src/pkgmgr/server/admin_service.rs:1588:9 [ 144s] | [ 144s] 1588 | let mut caller_uid: uid_t = 0; [ 144s] | ----^^^^^^^^^^ [ 144s] | | [ 144s] | help: remove this `mut` [ 144s] [ 144s] warning: variable does not need to be mutable [ 144s] --> ./src/pkgmgr/server/admin_service.rs:1611:13 [ 144s] | [ 144s] 1611 | let mut backend_context = BackendContext::new( [ 144s] | ----^^^^^^^^^^^^^^^ [ 144s] | | [ 144s] | help: remove this `mut` [ 144s] [ 144s] warning: unused variable: `context` [ 144s] --> ./src/pkgmgr/server/admin_service.rs:1627:5 [ 144s] | [ 144s] 1627 | context: *mut c_void, [ 144s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 144s] [ 144s] warning: variable does not need to be mutable [ 144s] --> ./src/pkgmgr/server/admin_service.rs:1669:17 [ 144s] | [ 144s] 1669 | let mut backend_context = BackendContext::new( [ 144s] | ----^^^^^^^^^^^^^^^ [ 144s] | | [ 144s] | help: remove this `mut` [ 144s] [ 144s] warning: unused variable: `context` [ 144s] --> ./src/pkgmgr/server/admin_service.rs:1689:5 [ 144s] | [ 144s] 1689 | context: *mut c_void, [ 144s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 144s] [ 144s] warning: variable does not need to be mutable [ 144s] --> ./src/pkgmgr/server/admin_service.rs:1731:17 [ 144s] | [ 144s] 1731 | let mut backend_context = BackendContext::new( [ 144s] | ----^^^^^^^^^^^^^^^ [ 144s] | | [ 144s] | help: remove this `mut` [ 144s] [ 144s] warning: unused variable: `caller_uid` [ 144s] --> ./src/pkgmgr/server/admin_service.rs:1765:13 [ 144s] | [ 144s] 1765 | let mut caller_uid: uid_t = 0; [ 144s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 144s] [ 144s] warning: unused variable: `context` [ 144s] --> ./src/pkgmgr/server/admin_service.rs:1751:5 [ 144s] | [ 144s] 1751 | context: *mut c_void, [ 144s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 144s] [ 145s] warning: variable does not need to be mutable [ 145s] --> ./src/pkgmgr/server/admin_service.rs:1765:9 [ 145s] | [ 145s] 1765 | let mut caller_uid: uid_t = 0; [ 145s] | ----^^^^^^^^^^ [ 145s] | | [ 145s] | help: remove this `mut` [ 145s] [ 145s] warning: variable does not need to be mutable [ 145s] --> ./src/pkgmgr/server/admin_service.rs:1788:13 [ 145s] | [ 145s] 1788 | let mut backend_context = BackendContext::new( [ 145s] | ----^^^^^^^^^^^^^^^ [ 145s] | | [ 145s] | help: remove this `mut` [ 145s] [ 145s] warning: unused variable: `caller_uid` [ 145s] --> ./src/pkgmgr/server/admin_service.rs:1818:13 [ 145s] | [ 145s] 1818 | let mut caller_uid: uid_t = 0; [ 145s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 145s] [ 145s] warning: unused variable: `context` [ 145s] --> ./src/pkgmgr/server/admin_service.rs:1804:5 [ 145s] | [ 145s] 1804 | context: *mut c_void, [ 145s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 145s] [ 145s] warning: variable does not need to be mutable [ 145s] --> ./src/pkgmgr/server/admin_service.rs:1818:9 [ 145s] | [ 145s] 1818 | let mut caller_uid: uid_t = 0; [ 145s] | ----^^^^^^^^^^ [ 145s] | | [ 145s] | help: remove this `mut` [ 145s] [ 145s] warning: variable does not need to be mutable [ 145s] --> ./src/pkgmgr/server/admin_service.rs:1841:13 [ 145s] | [ 145s] 1841 | let mut backend_context = BackendContext::new( [ 145s] | ----^^^^^^^^^^^^^^^ [ 145s] | | [ 145s] | help: remove this `mut` [ 145s] [ 145s] warning: unused variable: `context` [ 145s] --> ./src/pkgmgr/server/admin_service.rs:1857:5 [ 145s] | [ 145s] 1857 | context: *mut c_void, [ 145s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 145s] [ 145s] warning: unused variable: `pid` [ 145s] --> ./src/pkgmgr/server/admin_service.rs:1860:5 [ 145s] | [ 145s] 1860 | pid: *mut c_int, [ 145s] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [ 145s] [ 145s] warning: unused variable: `user_data` [ 145s] --> ./src/pkgmgr/server/admin_service.rs:1861:5 [ 145s] | [ 145s] 1861 | user_data: *mut c_void, [ 145s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 145s] [ 145s] warning: variable does not need to be mutable [ 145s] --> ./src/pkgmgr/server/admin_service.rs:1900:9 [ 145s] | [ 145s] 1900 | let mut backend_context = BackendContext::new( [ 145s] | ----^^^^^^^^^^^^^^^ [ 145s] | | [ 145s] | help: remove this `mut` [ 145s] [ 145s] warning: unused variable: `context` [ 145s] --> ./src/pkgmgr/server/admin_service.rs:1932:5 [ 145s] | [ 145s] 1932 | context: *mut c_void, [ 145s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 145s] [ 145s] warning: variable does not need to be mutable [ 145s] --> ./src/pkgmgr/server/admin_service.rs:2012:9 [ 145s] | [ 145s] 2012 | let mut backend_context = BackendContext::new( [ 145s] | ----^^^^^^^^^^^^^^^ [ 145s] | | [ 145s] | help: remove this `mut` [ 145s] [ 145s] warning: variable does not need to be mutable [ 145s] --> ./src/pkgmgr/server/admin_service.rs:2063:9 [ 145s] | [ 145s] 2063 | let mut backend_context = BackendContext::new( [ 145s] | ----^^^^^^^^^^^^^^^ [ 145s] | | [ 145s] | help: remove this `mut` [ 145s] [ 145s] warning: unused variable: `context` [ 145s] --> ./src/pkgmgr/server/admin_service.rs:2078:5 [ 145s] | [ 145s] 2078 | context: *mut c_void, [ 145s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 145s] [ 145s] warning: unused variable: `user_data` [ 145s] --> ./src/pkgmgr/server/admin_service.rs:2081:5 [ 145s] | [ 145s] 2081 | user_data: *mut c_void, [ 145s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 145s] [ 145s] warning: unused variable: `context` [ 145s] --> ./src/pkgmgr/server/admin_service.rs:2088:5 [ 145s] | [ 145s] 2088 | context: *mut c_void, [ 145s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 145s] [ 145s] warning: unused variable: `user_data` [ 145s] --> ./src/pkgmgr/server/admin_service.rs:2091:5 [ 145s] | [ 145s] 2091 | user_data: *mut c_void, [ 145s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 145s] [ 145s] warning: variable does not need to be mutable [ 145s] --> ./src/pkgmgr/server/admin_service.rs:2133:9 [ 145s] | [ 145s] 2133 | let mut backend_context = BackendContext::new( [ 145s] | ----^^^^^^^^^^^^^^^ [ 145s] | | [ 145s] | help: remove this `mut` [ 145s] [ 145s] warning: variable does not need to be mutable [ 145s] --> ./src/pkgmgr/server/admin_service.rs:2183:9 [ 145s] | [ 145s] 2183 | let mut backend_context = BackendContext::new( [ 145s] | ----^^^^^^^^^^^^^^^ [ 145s] | | [ 145s] | help: remove this `mut` [ 145s] [ 145s] warning: unused variable: `context` [ 145s] --> ./src/pkgmgr/server/admin_service.rs:2198:5 [ 145s] | [ 145s] 2198 | context: *mut c_void, [ 145s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 145s] [ 145s] warning: unused variable: `uid` [ 145s] --> ./src/pkgmgr/server/admin_service.rs:2199:5 [ 145s] | [ 145s] 2199 | uid: c_int, [ 145s] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [ 145s] [ 145s] warning: unused variable: `pkg_id` [ 145s] --> ./src/pkgmgr/server/admin_service.rs:2200:5 [ 145s] | [ 145s] 2200 | pkg_id: *const c_char, [ 145s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 145s] [ 145s] warning: unused variable: `user_data` [ 145s] --> ./src/pkgmgr/server/admin_service.rs:2201:5 [ 145s] | [ 145s] 2201 | user_data: *mut c_void, [ 145s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 145s] [ 145s] warning: variable does not need to be mutable [ 145s] --> ./src/pkgmgr/server/admin_service.rs:2364:9 [ 145s] | [ 145s] 2364 | let mut backend_context = BackendContext::new( [ 145s] | ----^^^^^^^^^^^^^^^ [ 145s] | | [ 145s] | help: remove this `mut` [ 145s] [ 145s] warning: variable does not need to be mutable [ 145s] --> ./src/pkgmgr/server/admin_service.rs:2434:9 [ 145s] | [ 145s] 2434 | let mut backend_context = BackendContext::new( [ 145s] | ----^^^^^^^^^^^^^^^ [ 145s] | | [ 145s] | help: remove this `mut` [ 145s] [ 145s] warning: variable does not need to be mutable [ 145s] --> ./src/pkgmgr/server/admin_service.rs:2504:9 [ 145s] | [ 145s] 2504 | let mut backend_context = BackendContext::new( [ 145s] | ----^^^^^^^^^^^^^^^ [ 145s] | | [ 145s] | help: remove this `mut` [ 145s] [ 145s] warning: unused variable: `ret` [ 145s] --> ./src/pkgmgr/server/admin_service.rs:2533:9 [ 145s] | [ 145s] 2533 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 145s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 145s] [ 145s] warning: variable does not need to be mutable [ 145s] --> ./src/pkgmgr/server/admin_service.rs:2552:9 [ 145s] | [ 145s] 2552 | let mut backend_context = BackendContext::new( [ 145s] | ----^^^^^^^^^^^^^^^ [ 145s] | | [ 145s] | help: remove this `mut` [ 145s] [ 145s] warning: unused variable: `context` [ 145s] --> ./src/pkgmgr/server/admin_service.rs:2567:5 [ 145s] | [ 145s] 2567 | context: *mut c_void, [ 145s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 145s] [ 145s] warning: variable does not need to be mutable [ 145s] --> ./src/pkgmgr/server/admin_service.rs:2597:9 [ 145s] | [ 145s] 2597 | let mut backend_context = BackendContext::new( [ 145s] | ----^^^^^^^^^^^^^^^ [ 145s] | | [ 145s] | help: remove this `mut` [ 145s] [ 145s] warning: unused variable: `context` [ 145s] --> ./src/pkgmgr/server/admin_service.rs:2612:5 [ 145s] | [ 145s] 2612 | context: *mut c_void, [ 145s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 145s] [ 145s] warning: variable does not need to be mutable [ 145s] --> ./src/pkgmgr/server/admin_service.rs:2656:9 [ 145s] | [ 145s] 2656 | let mut backend_context = BackendContext::new( [ 145s] | ----^^^^^^^^^^^^^^^ [ 145s] | | [ 145s] | help: remove this `mut` [ 145s] [ 145s] warning: unused variable: `status` [ 145s] --> ./src/pkgmgr/server/backend_queue.rs:38:17 [ 145s] | [ 145s] 38 | let mut status: c_int; [ 145s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [ 145s] [ 145s] warning: unused variable: `io` [ 145s] --> ./src/pkgmgr/server/backend_queue.rs:30:33 [ 145s] | [ 145s] 30 | extern "C" fn signal_handler_cb(io: *mut glib_sys::GIOChannel, [ 145s] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [ 145s] [ 145s] warning: unused variable: `cond` [ 145s] --> ./src/pkgmgr/server/backend_queue.rs:31:9 [ 145s] | [ 145s] 31 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 145s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 145s] [ 145s] warning: variable does not need to be mutable [ 145s] --> ./src/pkgmgr/server/backend_queue.rs:71:9 [ 145s] | [ 145s] 71 | let mut mut_queue = queue.borrow_mut(); [ 145s] | ----^^^^^^^^^ [ 145s] | | [ 145s] | help: remove this `mut` [ 145s] [ 145s] warning: variable does not need to be mutable [ 145s] --> ./src/pkgmgr/server/backend_queue.rs:189:28 [ 145s] | [ 145s] 189 | pub fn push(&mut self, mut context: BackendContext) -> i32 { [ 145s] | ----^^^^^^^ [ 145s] | | [ 145s] | help: remove this `mut` [ 145s] [ 146s] warning: unused variable: `req_key` [ 146s] --> ./src/pkgmgr/server/backend_queue.rs:296:41 [ 146s] | [ 146s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 146s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_key` [ 146s] [ 146s] warning: unused variable: `ret` [ 146s] --> ./src/pkgmgr/server/backend_queue.rs:296:50 [ 146s] | [ 146s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 146s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 146s] [ 146s] warning: unused variable: `s` [ 146s] --> ./src/pkgmgr/server/backend_queue.rs:296:55 [ 146s] | [ 146s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 146s] | ^ help: if this is intentional, prefix it with an underscore: `_s` [ 146s] [ 146s] warning: variable does not need to be mutable [ 146s] --> ./src/pkgmgr/server/backend_queue.rs:278:25 [ 146s] | [ 146s] 278 | let mut backend: &mut Backend = backend.unwrap(); [ 146s] | ----^^^^^^^ [ 146s] | | [ 146s] | help: remove this `mut` [ 146s] [ 146s] warning: unused variable: `context` [ 146s] --> ./src/pkgmgr/server/cache_service.rs:31:5 [ 146s] | [ 146s] 31 | context: *mut c_void, [ 146s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 146s] [ 146s] warning: unused variable: `context` [ 146s] --> ./src/pkgmgr/server/cache_service.rs:40:5 [ 146s] | [ 146s] 40 | context: *mut c_void, [ 146s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 146s] [ 146s] warning: unused variable: `user_data` [ 146s] --> ./src/pkgmgr/server/cache_service.rs:41:5 [ 146s] | [ 146s] 41 | user_data: *mut c_void, [ 146s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 146s] [ 146s] warning: unused variable: `ret` [ 146s] --> ./src/pkgmgr/server/cache_service.rs:54:9 [ 146s] | [ 146s] 54 | let ret = unsafe { rpc_port_stub_PkgMgrForClearCache_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 146s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 146s] [ 146s] warning: value assigned to `pkg_type` is never read [ 146s] --> ./src/pkgmgr/server/cache_service.rs:63:13 [ 146s] | [ 146s] 63 | let mut pkg_type: String = String::new(); [ 146s] | ^^^^^^^^ [ 146s] | [ 146s] = help: maybe it is overwritten before being read? [ 146s] = note: `#[warn(unused_assignments)]` on by default [ 146s] [ 146s] warning: variable does not need to be mutable [ 146s] --> ./src/pkgmgr/server/cache_service.rs:83:9 [ 146s] | [ 146s] 83 | let mut backend_context = BackendContext::new( [ 146s] | ----^^^^^^^^^^^^^^^ [ 146s] | | [ 146s] | help: remove this `mut` [ 146s] [ 146s] warning: unused variable: `context` [ 146s] --> ./src/pkgmgr/server/delayed_service.rs:32:5 [ 146s] | [ 146s] 32 | context: *mut c_void, [ 146s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 146s] [ 146s] warning: unused variable: `context` [ 146s] --> ./src/pkgmgr/server/delayed_service.rs:41:5 [ 146s] | [ 146s] 41 | context: *mut c_void, [ 146s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 146s] [ 146s] warning: unused variable: `user_data` [ 146s] --> ./src/pkgmgr/server/delayed_service.rs:42:5 [ 146s] | [ 146s] 42 | user_data: *mut c_void, [ 146s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 146s] [ 146s] warning: unused variable: `context` [ 146s] --> ./src/pkgmgr/server/delayed_service.rs:48:5 [ 146s] | [ 146s] 48 | context: *mut c_void, [ 146s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 146s] [ 146s] warning: unused variable: `context` [ 146s] --> ./src/pkgmgr/server/info_service.rs:43:55 [ 146s] | [ 146s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 146s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 146s] [ 146s] warning: unused variable: `context` [ 146s] --> ./src/pkgmgr/server/info_service.rs:48:58 [ 146s] | [ 146s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 146s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 146s] [ 146s] warning: unused variable: `user_data` [ 146s] --> ./src/pkgmgr/server/info_service.rs:48:80 [ 146s] | [ 146s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 146s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 146s] [ 146s] warning: variable does not need to be mutable [ 146s] --> ./src/pkgmgr/server/info_service.rs:98:9 [ 146s] | [ 146s] 98 | let mut backend_context = BackendContext::new( [ 146s] | ----^^^^^^^^^^^^^^^ [ 146s] | | [ 146s] | help: remove this `mut` [ 146s] [ 146s] warning: variable does not need to be mutable [ 146s] --> ./src/pkgmgr/server/info_service.rs:160:9 [ 146s] | [ 146s] 160 | let mut backend_context = BackendContext::new( [ 146s] | ----^^^^^^^^^^^^^^^ [ 146s] | | [ 146s] | help: remove this `mut` [ 146s] [ 146s] warning: unused variable: `context` [ 146s] --> ./src/pkgmgr/server/info_service.rs:195:5 [ 146s] | [ 146s] 195 | context: *mut c_void, [ 146s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 146s] [ 146s] warning: unused variable: `context` [ 146s] --> ./src/pkgmgr/server/info_service.rs:222:5 [ 146s] | [ 146s] 222 | context: *mut c_void, [ 146s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 146s] [ 146s] warning: unused variable: `user_data` [ 146s] --> ./src/pkgmgr/server/info_service.rs:226:5 [ 146s] | [ 146s] 226 | user_data: *mut c_void [ 146s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 146s] [ 146s] warning: variable does not need to be mutable [ 146s] --> ./src/pkgmgr/server/signal.rs:144:13 [ 146s] | [ 146s] 144 | let mut c_req_type: c_int; [ 146s] | ----^^^^^^^^^^ [ 146s] | | [ 146s] | help: remove this `mut` [ 146s] [ 146s] warning: value assigned to `size_result` is never read [ 146s] --> ./src/pkgmgr/server/util.rs:351:17 [ 146s] | [ 146s] 351 | let mut size_result: i64 = -1; [ 146s] | ^^^^^^^^^^^ [ 146s] | [ 146s] = help: maybe it is overwritten before being read? [ 146s] [ 146s] warning: unused variable: `cond` [ 146s] --> ./src/pkgmgr/server/util.rs:341:9 [ 146s] | [ 146s] 341 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 146s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 146s] [ 146s] warning: value assigned to `ret` is never read [ 146s] --> ./src/pkgmgr/server/util.rs:425:21 [ 146s] | [ 146s] 425 | let mut ret: c_int = 0; [ 146s] | ^^^ [ 146s] | [ 146s] = help: maybe it is overwritten before being read? [ 146s] [ 146s] warning: unreachable pattern [ 146s] --> ./src/pkgmgr/server/util.rs:478:17 [ 146s] | [ 146s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 146s] | -------------------------------------- matches any value [ 146s] ... [ 146s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 146s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 146s] | [ 146s] = note: `#[warn(unreachable_patterns)]` on by default [ 146s] [ 146s] warning: unreachable pattern [ 146s] --> ./src/pkgmgr/server/util.rs:483:17 [ 146s] | [ 146s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 146s] | -------------------------------------- matches any value [ 146s] ... [ 146s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 146s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 146s] [ 146s] warning: unreachable pattern [ 146s] --> ./src/pkgmgr/server/util.rs:488:17 [ 146s] | [ 146s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 146s] | -------------------------------------- matches any value [ 146s] ... [ 146s] 488 | _ => { [ 146s] | ^ unreachable pattern [ 146s] [ 146s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 146s] --> ./src/pkgmgr/server/util.rs:473:17 [ 146s] | [ 146s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 146s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 146s] [ 146s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_TEXT` [ 146s] --> ./src/pkgmgr/server/util.rs:478:17 [ 146s] | [ 146s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 146s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_TEXT` [ 146s] [ 146s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 146s] --> ./src/pkgmgr/server/util.rs:483:17 [ 146s] | [ 146s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 146s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 146s] [ 147s] warning: variable does not need to be mutable [ 147s] --> ./src/pkgmgr/server/util.rs:519:13 [ 147s] | [ 147s] 519 | let mut attr = xmlTextReaderGetAttribute(reader, RES_TYPE_ATTRIBUTE_KEY.as_ptr()); [ 147s] | ----^^^^ [ 147s] | | [ 147s] | help: remove this `mut` [ 147s] [ 147s] warning: variable does not need to be mutable [ 147s] --> ./src/pkgmgr/server/util.rs:588:13 [ 147s] | [ 147s] 588 | let mut reader = [ 147s] | ----^^^^^^ [ 147s] | | [ 147s] | help: remove this `mut` [ 147s] [ 147s] warning: unused variable: `gid` [ 147s] --> ./src/pkgmgr/server/util.rs:891:52 [ 147s] | [ 147s] 891 | fn set_environment(mut envs: Vec<&mut String>, gid: libc::gid_t) -> bool { [ 147s] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [ 147s] [ 148s] warning: variable does not need to be mutable [ 148s] --> ./src/pkgmgr/server/mod.rs:89:13 [ 148s] | [ 148s] 89 | let mut backend_queue = BackendQueue::new(self.mainloop); [ 148s] | ----^^^^^^^^^^^^^ [ 148s] | | [ 148s] | help: remove this `mut` [ 148s] [ 148s] warning: unnecessary `unsafe` block [ 148s] --> ./src/pkgmgr/server/admin_service.rs:995:32 [ 148s] | [ 148s] 993 | unsafe { [ 148s] | ------ because it's nested under this `unsafe` block [ 148s] 994 | match CString::new(generated_req_key.clone()) { [ 148s] 995 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 148s] | ^^^^^^ unnecessary `unsafe` block [ 148s] | [ 148s] = note: `#[warn(unused_unsafe)]` on by default [ 148s] [ 148s] warning: unnecessary `unsafe` block [ 148s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 148s] | [ 148s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 148s] | ^^^^^^ unnecessary `unsafe` block [ 148s] | [ 148s] ::: ./src/pkgmgr/server/admin_service.rs:993:5 [ 148s] | [ 148s] 993 | unsafe { [ 148s] | ------ because it's nested under this `unsafe` block [ 148s] ... [ 148s] 997 | error!("Fail to generate req key, err({:?})", e); [ 148s] | ------------------------------------------------ in this macro invocation [ 148s] | [ 148s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 148s] [ 148s] warning: unnecessary `unsafe` block [ 148s] --> ./src/pkgmgr/server/admin_service.rs:1023:46 [ 148s] | [ 148s] 993 | unsafe { [ 148s] | ------ because it's nested under this `unsafe` block [ 148s] ... [ 148s] 1023 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 148s] | ^^^^^^ unnecessary `unsafe` block [ 148s] [ 148s] warning: unnecessary `unsafe` block [ 148s] --> ./src/pkgmgr/server/admin_service.rs:1077:32 [ 148s] | [ 148s] 1075 | unsafe { [ 148s] | ------ because it's nested under this `unsafe` block [ 148s] 1076 | match CString::new(generated_req_key.clone()) { [ 148s] 1077 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 148s] | ^^^^^^ unnecessary `unsafe` block [ 148s] [ 148s] warning: unnecessary `unsafe` block [ 148s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 148s] | [ 148s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 148s] | ^^^^^^ unnecessary `unsafe` block [ 148s] | [ 148s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 148s] | [ 148s] 1075 | unsafe { [ 148s] | ------ because it's nested under this `unsafe` block [ 148s] ... [ 148s] 1079 | error!("Fail to generate req key, err({:?})", e); [ 148s] | ------------------------------------------------ in this macro invocation [ 148s] | [ 148s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 148s] [ 148s] warning: unnecessary `unsafe` block [ 148s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 148s] | [ 148s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 148s] | ^^^^^^ unnecessary `unsafe` block [ 148s] | [ 148s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 148s] | [ 148s] 1075 | unsafe { [ 148s] | ------ because it's nested under this `unsafe` block [ 148s] ... [ 148s] 1106 | debug!("push disable pkg {pkg_id}"); [ 148s] | ----------------------------------- in this macro invocation [ 148s] | [ 148s] = 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) [ 148s] [ 148s] warning: unnecessary `unsafe` block [ 148s] --> ./src/pkgmgr/server/admin_service.rs:1108:46 [ 148s] | [ 148s] 1075 | unsafe { [ 148s] | ------ because it's nested under this `unsafe` block [ 148s] ... [ 148s] 1108 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 148s] | ^^^^^^ unnecessary `unsafe` block [ 148s] [ 148s] warning: unnecessary `unsafe` block [ 148s] --> ./src/pkgmgr/server/admin_service.rs:1537:5 [ 148s] | [ 148s] 1537 | unsafe { [ 148s] | ^^^^^^ unnecessary `unsafe` block [ 148s] [ 148s] warning: unnecessary `unsafe` block [ 148s] --> ./src/pkgmgr/server/admin_service.rs:1590:5 [ 148s] | [ 148s] 1590 | unsafe { [ 148s] | ^^^^^^ unnecessary `unsafe` block [ 148s] [ 148s] warning: unnecessary `unsafe` block [ 148s] --> ./src/pkgmgr/server/admin_service.rs:1643:32 [ 148s] | [ 148s] 1641 | unsafe { [ 148s] | ------ because it's nested under this `unsafe` block [ 148s] 1642 | match CString::new(generated_req_key.clone()) { [ 148s] 1643 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 148s] | ^^^^^^ unnecessary `unsafe` block [ 148s] [ 148s] warning: unnecessary `unsafe` block [ 148s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 148s] | [ 148s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 148s] | ^^^^^^ unnecessary `unsafe` block [ 148s] | [ 148s] ::: ./src/pkgmgr/server/admin_service.rs:1641:5 [ 148s] | [ 148s] 1641 | unsafe { [ 148s] | ------ because it's nested under this `unsafe` block [ 148s] ... [ 148s] 1645 | error!("Fail to generate req key, err({:?})", e); [ 148s] | ------------------------------------------------ in this macro invocation [ 148s] | [ 148s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 148s] [ 148s] warning: unnecessary `unsafe` block [ 148s] --> ./src/pkgmgr/server/admin_service.rs:1657:42 [ 148s] | [ 148s] 1641 | unsafe { [ 148s] | ------ because it's nested under this `unsafe` block [ 148s] ... [ 148s] 1657 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 148s] | ^^^^^^ unnecessary `unsafe` block [ 148s] [ 148s] warning: unnecessary `unsafe` block [ 148s] --> ./src/pkgmgr/server/admin_service.rs:1705:32 [ 148s] | [ 148s] 1703 | unsafe { [ 148s] | ------ because it's nested under this `unsafe` block [ 148s] 1704 | match CString::new(generated_req_key.clone()) { [ 148s] 1705 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 148s] | ^^^^^^ unnecessary `unsafe` block [ 148s] [ 148s] warning: unnecessary `unsafe` block [ 148s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 148s] | [ 148s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 148s] | ^^^^^^ unnecessary `unsafe` block [ 148s] | [ 148s] ::: ./src/pkgmgr/server/admin_service.rs:1703:5 [ 148s] | [ 148s] 1703 | unsafe { [ 148s] | ------ because it's nested under this `unsafe` block [ 148s] ... [ 148s] 1707 | error!("Fail to generate req key, err({:?})", e); [ 148s] | ------------------------------------------------ in this macro invocation [ 148s] | [ 148s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 148s] [ 148s] warning: unnecessary `unsafe` block [ 148s] --> ./src/pkgmgr/server/admin_service.rs:1719:42 [ 148s] | [ 148s] 1703 | unsafe { [ 148s] | ------ because it's nested under this `unsafe` block [ 148s] ... [ 148s] 1719 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 148s] | ^^^^^^ unnecessary `unsafe` block [ 148s] [ 148s] warning: unnecessary `unsafe` block [ 148s] --> ./src/pkgmgr/server/admin_service.rs:1767:5 [ 148s] | [ 148s] 1767 | unsafe { [ 148s] | ^^^^^^ unnecessary `unsafe` block [ 148s] [ 148s] warning: unnecessary `unsafe` block [ 148s] --> ./src/pkgmgr/server/admin_service.rs:1820:5 [ 148s] | [ 148s] 1820 | unsafe { [ 148s] | ^^^^^^ unnecessary `unsafe` block [ 148s] [ 148s] warning: unnecessary `unsafe` block [ 148s] --> ./src/pkgmgr/server/admin_service.rs:2296:17 [ 148s] | [ 148s] 2294 | unsafe { [ 148s] | ------ because it's nested under this `unsafe` block [ 148s] 2295 | if !(*value.offset(i as isize)).is_null() { [ 148s] 2296 | unsafe { free(*value.offset(i as isize) as *mut _) }; [ 148s] | ^^^^^^ unnecessary `unsafe` block [ 148s] [ 149s] warning: unnecessary `unsafe` block [ 149s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 149s] | [ 149s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 149s] | ^^^^^^ unnecessary `unsafe` block [ 149s] | [ 149s] ::: ./src/pkgmgr/server/admin_service.rs:2793:9 [ 149s] | [ 149s] 2793 | unsafe { [ 149s] | ------ because it's nested under this `unsafe` block [ 149s] 2794 | let ret = rpc_port_stub_PkgMgrAdmin_register(&mut self.callbacks, self as *mut _ as *mut c_void); [ 149s] 2795 | debug!("admin service start : {ret}"); [ 149s] | ------------------------------------- in this macro invocation [ 149s] | [ 149s] = 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) [ 149s] [ 149s] warning: unnecessary `unsafe` block [ 149s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 149s] | [ 149s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 149s] | ^^^^^^ unnecessary `unsafe` block [ 149s] | [ 149s] ::: ./src/pkgmgr/server/admin_service.rs:2801:9 [ 149s] | [ 149s] 2801 | unsafe { [ 149s] | ------ because it's nested under this `unsafe` block [ 149s] 2802 | let ret = rpc_port_stub_PkgMgrAdmin_unregister(); [ 149s] 2803 | debug!("ret : {ret}"); [ 149s] | --------------------- in this macro invocation [ 149s] | [ 149s] = 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) [ 149s] [ 149s] warning: unnecessary `unsafe` block [ 149s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 149s] | [ 149s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 149s] | ^^^^^^ unnecessary `unsafe` block [ 149s] | [ 149s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 149s] | [ 149s] 204 | unsafe { [ 149s] | ------ because it's nested under this `unsafe` block [ 149s] ... [ 149s] 210 | error!("sigprocmask failed"); [ 149s] | ---------------------------- in this macro invocation [ 149s] | [ 149s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 149s] [ 149s] warning: unnecessary `unsafe` block [ 149s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 149s] | [ 149s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 149s] | ^^^^^^ unnecessary `unsafe` block [ 149s] | [ 149s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 149s] | [ 149s] 204 | unsafe { [ 149s] | ------ because it's nested under this `unsafe` block [ 149s] ... [ 149s] 216 | error!("signalfd failed"); [ 149s] | ------------------------- in this macro invocation [ 149s] | [ 149s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 149s] [ 149s] warning: unnecessary `unsafe` block [ 149s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 149s] | [ 149s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 149s] | ^^^^^^ unnecessary `unsafe` block [ 149s] | [ 149s] ::: ./src/pkgmgr/server/cache_service.rs:134:9 [ 149s] | [ 149s] 134 | unsafe { [ 149s] | ------ because it's nested under this `unsafe` block [ 149s] ... [ 149s] 139 | debug!("cache service start : {ret}"); [ 149s] | ------------------------------------- in this macro invocation [ 149s] | [ 149s] = 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) [ 149s] [ 149s] warning: unnecessary `unsafe` block [ 149s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 149s] | [ 149s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 149s] | ^^^^^^ unnecessary `unsafe` block [ 149s] | [ 149s] ::: ./src/pkgmgr/server/cache_service.rs:145:9 [ 149s] | [ 149s] 145 | unsafe { [ 149s] | ------ because it's nested under this `unsafe` block [ 149s] 146 | let ret = rpc_port_stub_PkgMgrForClearCache_unregister(); [ 149s] 147 | debug!("ret : {ret}"); [ 149s] | --------------------- in this macro invocation [ 149s] | [ 149s] = 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) [ 149s] [ 149s] warning: unnecessary `unsafe` block [ 149s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 149s] | [ 149s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 149s] | ^^^^^^ unnecessary `unsafe` block [ 149s] | [ 149s] ::: ./src/pkgmgr/server/delayed_service.rs:107:9 [ 149s] | [ 149s] 107 | unsafe { [ 149s] | ------ because it's nested under this `unsafe` block [ 149s] ... [ 149s] 112 | debug!("delayed result service start : {ret}"); [ 149s] | ---------------------------------------------- in this macro invocation [ 149s] | [ 149s] = 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) [ 149s] [ 149s] warning: unnecessary `unsafe` block [ 149s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 149s] | [ 149s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 149s] | ^^^^^^ unnecessary `unsafe` block [ 149s] | [ 149s] ::: ./src/pkgmgr/server/delayed_service.rs:118:9 [ 149s] | [ 149s] 118 | unsafe { [ 149s] | ------ because it's nested under this `unsafe` block [ 149s] 119 | let ret = rpc_port_stub_DelayedResult_unregister(); [ 149s] 120 | debug!("ret : {ret}"); [ 149s] | --------------------- in this macro invocation [ 149s] | [ 149s] = 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) [ 149s] [ 149s] warning: unnecessary `unsafe` block [ 149s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 149s] | [ 149s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 149s] | ^^^^^^ unnecessary `unsafe` block [ 149s] | [ 149s] ::: ./src/pkgmgr/server/info_service.rs:165:13 [ 149s] | [ 149s] 165 | unsafe { [ 149s] | ------ because it's nested under this `unsafe` block [ 149s] 166 | if mkfifo(fifo_path.as_ptr() as *const c_char, 0o600) < 0 { [ 149s] 167 | error!("Failed to mkfifo"); [ 149s] | -------------------------- in this macro invocation [ 149s] | [ 149s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 149s] [ 149s] warning: unnecessary `unsafe` block [ 149s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 149s] | [ 149s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 149s] | ^^^^^^ unnecessary `unsafe` block [ 149s] | [ 149s] ::: ./src/pkgmgr/server/info_service.rs:268:9 [ 149s] | [ 149s] 268 | unsafe { [ 149s] | ------ because it's nested under this `unsafe` block [ 149s] ... [ 149s] 273 | debug!("info service start : {ret}"); [ 149s] | ------------------------------------ in this macro invocation [ 149s] | [ 149s] = 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) [ 149s] [ 149s] warning: unnecessary `unsafe` block [ 149s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 149s] | [ 149s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 149s] | ^^^^^^ unnecessary `unsafe` block [ 149s] | [ 149s] ::: ./src/pkgmgr/server/info_service.rs:279:9 [ 149s] | [ 149s] 279 | unsafe { [ 149s] | ------ because it's nested under this `unsafe` block [ 149s] 280 | let ret = rpc_port_stub_PkgMgr_unregister(); [ 149s] 281 | debug!("ret : {ret}"); [ 149s] | --------------------- in this macro invocation [ 149s] | [ 149s] = 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) [ 149s] [ 149s] warning: unnecessary `unsafe` block [ 149s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 149s] | [ 149s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 149s] | ^^^^^^ unnecessary `unsafe` block [ 149s] | [ 149s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 149s] | [ 149s] 131 | unsafe { [ 149s] | ------ because it's nested under this `unsafe` block [ 149s] ... [ 149s] 134 | error!("Failure in creating the pkgmgr_installer object"); [ 149s] | --------------------------------------------------------- in this macro invocation [ 149s] | [ 149s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 149s] [ 149s] warning: unnecessary `unsafe` block [ 149s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 149s] | [ 149s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 149s] | ^^^^^^ unnecessary `unsafe` block [ 149s] | [ 149s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 149s] | [ 149s] 131 | unsafe { [ 149s] | ------ because it's nested under this `unsafe` block [ 149s] ... [ 149s] 139 | error!("pkgmgr_installer_set_uid fail"); [ 149s] | --------------------------------------- in this macro invocation [ 149s] | [ 149s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 149s] [ 149s] warning: unnecessary `unsafe` block [ 149s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 149s] | [ 149s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 149s] | ^^^^^^ unnecessary `unsafe` block [ 149s] | [ 149s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 149s] | [ 149s] 131 | unsafe { [ 149s] | ------ because it's nested under this `unsafe` block [ 149s] ... [ 149s] 154 | warn!("Unsupported req_type[{}]", req_type as c_int); [ 149s] | ---------------------------------------------------- in this macro invocation [ 149s] | [ 149s] = 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) [ 149s] [ 149s] warning: unnecessary `unsafe` block [ 149s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 149s] | [ 149s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 149s] | ^^^^^^ unnecessary `unsafe` block [ 149s] | [ 149s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 149s] | [ 149s] 131 | unsafe { [ 149s] | ------ because it's nested under this `unsafe` block [ 149s] ... [ 149s] 161 | error!("pkgmgr_installer_set_request_type fail"); [ 149s] | ------------------------------------------------ in this macro invocation [ 149s] | [ 149s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 149s] [ 149s] warning: unnecessary `unsafe` block [ 149s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 149s] | [ 149s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 149s] | ^^^^^^ unnecessary `unsafe` block [ 149s] | [ 149s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 149s] | [ 149s] 131 | unsafe { [ 149s] | ------ because it's nested under this `unsafe` block [ 149s] ... [ 149s] 168 | error!("pkgmgr_installer_set_session_id fail : {:?}", c_req_id); [ 149s] | --------------------------------------------------------------- in this macro invocation [ 149s] | [ 149s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 149s] [ 149s] warning: unnecessary `unsafe` block [ 149s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 149s] | [ 149s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 149s] | ^^^^^^ unnecessary `unsafe` block [ 149s] | [ 149s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 149s] | [ 149s] 309 | unsafe { [ 149s] | ------ because it's nested under this `unsafe` block [ 149s] 310 | if pkgmgrinfo_appinfo_get_appid(pkgmgrinfo_appinfo_h, &mut app_id) != 0 { [ 149s] 311 | error!("Failed get appid"); [ 149s] | -------------------------- in this macro invocation [ 149s] | [ 149s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 149s] [ 149s] warning: unnecessary `unsafe` block [ 149s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 149s] | [ 149s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 149s] | ^^^^^^ unnecessary `unsafe` block [ 149s] | [ 149s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 149s] | [ 149s] 309 | unsafe { [ 149s] | ------ because it's nested under this `unsafe` block [ 149s] ... [ 149s] 314 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 149s] | --------------------------------------------------------- in this macro invocation [ 149s] | [ 149s] = 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) [ 149s] [ 149s] warning: unnecessary `unsafe` block [ 149s] --> ./src/pkgmgr/server/util.rs:326:46 [ 149s] | [ 149s] 325 | unsafe { [ 149s] | ------ because it's nested under this `unsafe` block [ 149s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 149s] | ^^^^^^ unnecessary `unsafe` block [ 149s] [ 149s] warning: unnecessary `unsafe` block [ 149s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 149s] | [ 149s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 149s] | ^^^^^^ unnecessary `unsafe` block [ 149s] | [ 149s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 149s] | [ 149s] 325 | unsafe { [ 149s] | ------ because it's nested under this `unsafe` block [ 149s] ... [ 149s] 329 | error!("Failed get appid"); [ 149s] | -------------------------- in this macro invocation [ 149s] | [ 149s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 149s] [ 149s] warning: unnecessary `unsafe` block [ 149s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 149s] | [ 149s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 149s] | ^^^^^^ unnecessary `unsafe` block [ 149s] | [ 149s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 149s] | [ 149s] 325 | unsafe { [ 149s] | ------ because it's nested under this `unsafe` block [ 149s] ... [ 149s] 333 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 149s] | --------------------------------------------------------- in this macro invocation [ 149s] | [ 149s] = 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) [ 149s] [ 149s] warning: unnecessary `unsafe` block [ 149s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 149s] | [ 149s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 149s] | ^^^^^^ unnecessary `unsafe` block [ 149s] | [ 149s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 149s] | [ 149s] 342 | unsafe { [ 149s] | ------ because it's nested under this `unsafe` block [ 149s] ... [ 149s] 355 | error!("getsize fd read failed: {:?}", Util::c_char_to_cstr((*err).message)); [ 149s] | ---------------------------------------------------------------------------- in this macro invocation [ 149s] | [ 149s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 149s] [ 149s] warning: unnecessary `unsafe` block [ 149s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 149s] | [ 149s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 149s] | ^^^^^^ unnecessary `unsafe` block [ 149s] | [ 149s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 149s] | [ 149s] 342 | unsafe { [ 149s] | ------ because it's nested under this `unsafe` block [ 149s] ... [ 149s] 361 | error!("empty result"); [ 149s] | ---------------------- in this macro invocation [ 149s] | [ 149s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 149s] [ 149s] warning: unnecessary `unsafe` block [ 149s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 149s] | [ 149s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 149s] | ^^^^^^ unnecessary `unsafe` block [ 149s] | [ 149s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 149s] | [ 149s] 390 | unsafe { [ 149s] | ------ because it's nested under this `unsafe` block [ 149s] ... [ 149s] 399 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 149s] | --------------------------------------------------------- in this macro invocation [ 149s] | [ 149s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 149s] [ 149s] warning: unnecessary `unsafe` block [ 149s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 149s] | [ 149s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 149s] | ^^^^^^ unnecessary `unsafe` block [ 149s] | [ 149s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 149s] | [ 149s] 390 | unsafe { [ 149s] | ------ because it's nested under this `unsafe` block [ 149s] ... [ 149s] 406 | error!("Fail to get is readonly"); [ 149s] | --------------------------------- in this macro invocation [ 149s] | [ 149s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 149s] [ 149s] warning: unnecessary `unsafe` block [ 149s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 149s] | [ 149s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 149s] | ^^^^^^ unnecessary `unsafe` block [ 149s] | [ 149s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 149s] | [ 149s] 422 | unsafe { [ 149s] | ------ because it's nested under this `unsafe` block [ 149s] ... [ 149s] 429 | error!("Not found package"); [ 149s] | --------------------------- in this macro invocation [ 149s] | [ 149s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 149s] [ 149s] warning: unnecessary `unsafe` block [ 149s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 149s] | [ 149s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 149s] | ^^^^^^ unnecessary `unsafe` block [ 149s] | [ 149s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 149s] | [ 149s] 422 | unsafe { [ 149s] | ------ because it's nested under this `unsafe` block [ 149s] ... [ 149s] 445 | debug!("pkgtype - {ret_string}"); [ 149s] | -------------------------------- in this macro invocation [ 149s] | [ 149s] = 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) [ 149s] [ 150s] warning: unnecessary `unsafe` block [ 150s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 150s] | [ 150s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 150s] | ^^^^^^ unnecessary `unsafe` block [ 150s] | [ 150s] ::: ./src/pkgmgr/server/util.rs:803:9 [ 150s] | [ 150s] 803 | unsafe { [ 150s] | ------ because it's nested under this `unsafe` block [ 150s] 804 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 150s] 805 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 150s] | ------------------------------------------------------ in this macro invocation [ 150s] | [ 150s] = 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) [ 150s] [ 150s] warning: unnecessary `unsafe` block [ 150s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 150s] | [ 150s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 150s] | ^^^^^^ unnecessary `unsafe` block [ 150s] | [ 150s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 150s] | [ 150s] 814 | unsafe { [ 150s] | ------ because it's nested under this `unsafe` block [ 150s] 815 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 150s] 816 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 150s] | ------------------------------------------------------ in this macro invocation [ 150s] | [ 150s] = 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) [ 150s] [ 150s] warning: unnecessary `unsafe` block [ 150s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 150s] | [ 150s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 150s] | ^^^^^^ unnecessary `unsafe` block [ 150s] | [ 150s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 150s] | [ 150s] 814 | unsafe { [ 150s] | ------ because it's nested under this `unsafe` block [ 150s] ... [ 150s] 822 | error!("Failed to get pid of app{:?}", CStr::from_ptr(appid)); [ 150s] | ------------------------------------------------------------- in this macro invocation [ 150s] | [ 150s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 150s] [ 150s] warning: unnecessary `unsafe` block [ 150s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 150s] | [ 150s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 150s] | ^^^^^^ unnecessary `unsafe` block [ 150s] | [ 150s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 150s] | [ 150s] 814 | unsafe { [ 150s] | ------ because it's nested under this `unsafe` block [ 150s] ... [ 150s] 828 | error!("Failed to terminate app{:?}", CStr::from_ptr(appid)); [ 150s] | ------------------------------------------------------------ in this macro invocation [ 150s] | [ 150s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 150s] [ 150s] warning: unnecessary `unsafe` block [ 150s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 150s] | [ 150s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 150s] | ^^^^^^ unnecessary `unsafe` block [ 150s] | [ 150s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 150s] | [ 150s] 836 | unsafe { [ 150s] | ------ because it's nested under this `unsafe` block [ 150s] ... [ 150s] 840 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 150s] | --------------------------------------------------------- in this macro invocation [ 150s] | [ 150s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 150s] [ 150s] warning: unnecessary `unsafe` block [ 150s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 150s] | [ 150s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 150s] | ^^^^^^ unnecessary `unsafe` block [ 150s] | [ 150s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 150s] | [ 150s] 836 | unsafe { [ 150s] | ------ because it's nested under this `unsafe` block [ 150s] ... [ 150s] 848 | error!("Failed to get list for {:?}", CStr::from_ptr(pkgid)); [ 150s] | ------------------------------------------------------------ in this macro invocation [ 150s] | [ 150s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 150s] [ 150s] warning: unnecessary `unsafe` block [ 150s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 150s] | [ 150s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 150s] | ^^^^^^ unnecessary `unsafe` block [ 150s] | [ 150s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 150s] | [ 150s] 859 | unsafe { [ 150s] | ------ because it's nested under this `unsafe` block [ 150s] ... [ 150s] 863 | warn!("cannot get user information from gumd, retry"); [ 150s] | ----------------------------------------------------- in this macro invocation [ 150s] | [ 150s] = 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) [ 150s] [ 150s] warning: unnecessary `unsafe` block [ 150s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 150s] | [ 150s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 150s] | ^^^^^^ unnecessary `unsafe` block [ 150s] | [ 150s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 150s] | [ 150s] 859 | unsafe { [ 150s] | ------ because it's nested under this `unsafe` block [ 150s] ... [ 150s] 871 | error!("cannot get user information from gumd, failed"); [ 150s] | ------------------------------------------------------- in this macro invocation [ 150s] | [ 150s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 150s] [ 150s] warning: unnecessary `unsafe` block [ 150s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 150s] | [ 150s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 150s] | ^^^^^^ unnecessary `unsafe` block [ 150s] | [ 150s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 150s] | [ 150s] 859 | unsafe { [ 150s] | ------ because it's nested under this `unsafe` block [ 150s] ... [ 150s] 877 | error!("cannot get user type"); [ 150s] | ------------------------------ in this macro invocation [ 150s] | [ 150s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 150s] [ 150s] warning: unnecessary `unsafe` block [ 150s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 150s] | [ 150s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 150s] | ^^^^^^ unnecessary `unsafe` block [ 150s] | [ 150s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 150s] | [ 150s] 892 | unsafe { [ 150s] | ------ because it's nested under this `unsafe` block [ 150s] ... [ 150s] 895 | error!("Failed to get the number of supplementary group IDs"); [ 150s] | ------------------------------------------------------------- in this macro invocation [ 150s] | [ 150s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 150s] [ 150s] warning: unnecessary `unsafe` block [ 150s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 150s] | [ 150s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 150s] | ^^^^^^ unnecessary `unsafe` block [ 150s] | [ 150s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 150s] | [ 150s] 892 | unsafe { [ 150s] | ------ because it's nested under this `unsafe` block [ 150s] ... [ 150s] 901 | error!("Failed to get list of supplementary group IDs"); [ 150s] | ------------------------------------------------------- in this macro invocation [ 150s] | [ 150s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 150s] [ 150s] warning: unnecessary `unsafe` block [ 150s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 150s] | [ 150s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 150s] | ^^^^^^ unnecessary `unsafe` block [ 150s] | [ 150s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 150s] | [ 150s] 892 | unsafe { [ 150s] | ------ because it's nested under this `unsafe` block [ 150s] ... [ 150s] 908 | error!("setgroups failed: {}", *__errno_location()); [ 150s] | --------------------------------------------------- in this macro invocation [ 150s] | [ 150s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 150s] [ 150s] warning: unnecessary `unsafe` block [ 150s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 150s] | [ 150s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 150s] | ^^^^^^ unnecessary `unsafe` block [ 150s] | [ 150s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 150s] | [ 150s] 928 | unsafe { [ 150s] | ------ because it's nested under this `unsafe` block [ 150s] ... [ 150s] 942 | error!("getpwuid_r fail"); [ 150s] | ------------------------- in this macro invocation [ 150s] | [ 150s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 150s] [ 150s] warning: unnecessary `unsafe` block [ 150s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 150s] | [ 150s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 150s] | ^^^^^^ unnecessary `unsafe` block [ 150s] | [ 150s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 150s] | [ 150s] 928 | unsafe { [ 150s] | ------ because it's nested under this `unsafe` block [ 150s] ... [ 150s] 949 | error!("Fail to get str, err({:?})", e); [ 150s] | --------------------------------------- in this macro invocation [ 150s] | [ 150s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 150s] [ 150s] warning: unnecessary `unsafe` block [ 150s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 150s] | [ 150s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 150s] | ^^^^^^ unnecessary `unsafe` block [ 150s] | [ 150s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 150s] | [ 150s] 928 | unsafe { [ 150s] | ------ because it's nested under this `unsafe` block [ 150s] ... [ 150s] 957 | error!("Fail to get str, err({:?})", e); [ 150s] | --------------------------------------- in this macro invocation [ 150s] | [ 150s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 150s] [ 150s] warning: unnecessary `unsafe` block [ 150s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 150s] | [ 150s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 150s] | ^^^^^^ unnecessary `unsafe` block [ 150s] | [ 150s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 150s] | [ 150s] 928 | unsafe { [ 150s] | ------ because it's nested under this `unsafe` block [ 150s] ... [ 150s] 966 | error!("Failed to set env for the user : {}", APPFW_UID); [ 150s] | -------------------------------------------------------- in this macro invocation [ 150s] | [ 150s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 150s] [ 150s] warning: unnecessary `unsafe` block [ 150s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 150s] | [ 150s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 150s] | ^^^^^^ unnecessary `unsafe` block [ 150s] | [ 150s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 150s] | [ 150s] 984 | unsafe { [ 150s] | ------ because it's nested under this `unsafe` block [ 150s] ... [ 150s] 987 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 150s] | ----------------------------------------------------------------------------------- in this macro invocation [ 150s] | [ 150s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 150s] [ 150s] warning: unnecessary `unsafe` block [ 150s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 150s] | [ 150s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 150s] | ^^^^^^ unnecessary `unsafe` block [ 150s] | [ 150s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 150s] | [ 150s] 984 | unsafe { [ 150s] | ------ because it's nested under this `unsafe` block [ 150s] ... [ 150s] 993 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 150s] | ---------------------------------------------------------------------------- in this macro invocation [ 150s] | [ 150s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 150s] [ 150s] warning: unnecessary `unsafe` block [ 150s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 150s] | [ 150s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 150s] | ^^^^^^ unnecessary `unsafe` block [ 150s] | [ 150s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 150s] | [ 150s] 984 | unsafe { [ 150s] | ------ because it's nested under this `unsafe` block [ 150s] ... [ 150s] 1000 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 150s] | ---------------------------------------------------------------------------- in this macro invocation [ 150s] | [ 150s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 150s] [ 150s] warning: unnecessary `unsafe` block [ 150s] --> ./src/pkgmgr/server/util.rs:1005:40 [ 150s] | [ 150s] 984 | unsafe { [ 150s] | ------ because it's nested under this `unsafe` block [ 150s] ... [ 150s] 1005 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) } ); [ 150s] | ^^^^^^ unnecessary `unsafe` block [ 150s] [ 150s] warning: unnecessary `unsafe` block [ 150s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 150s] | [ 150s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 150s] | ^^^^^^ unnecessary `unsafe` block [ 150s] | [ 150s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 150s] | [ 150s] 1081 | unsafe { [ 150s] | ------ because it's nested under this `unsafe` block [ 150s] ... [ 150s] 1084 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 150s] | ----------------------------------------------------------------------------------- in this macro invocation [ 150s] | [ 150s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 150s] [ 150s] warning: unnecessary `unsafe` block [ 150s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 150s] | [ 150s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 150s] | ^^^^^^ unnecessary `unsafe` block [ 150s] | [ 150s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 150s] | [ 150s] 1081 | unsafe { [ 150s] | ------ because it's nested under this `unsafe` block [ 150s] ... [ 150s] 1090 | error!("Failed get root path for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 150s] | --------------------------------------------------------------------------- in this macro invocation [ 150s] | [ 150s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 150s] [ 150s] warning: unnecessary `unsafe` block [ 150s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 150s] | [ 150s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 150s] | ^^^^^^ unnecessary `unsafe` block [ 150s] | [ 150s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 150s] | [ 150s] 1081 | unsafe { [ 150s] | ------ because it's nested under this `unsafe` block [ 150s] ... [ 150s] 1098 | error!("Invalid path[{:?}]", Self::c_char_to_cstr(icon_path)); [ 150s] | ------------------------------------------------------------- in this macro invocation [ 150s] | [ 150s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 150s] [ 150s] warning: unnecessary `unsafe` block [ 150s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 150s] | [ 150s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 150s] | ^^^^^^ unnecessary `unsafe` block [ 150s] | [ 150s] ::: ./src/pkgmgr/server/util.rs:1109:9 [ 150s] | [ 150s] 1109 | unsafe { [ 150s] | ------ because it's nested under this `unsafe` block [ 150s] ... [ 150s] 1119 | error!("Fail to get list for {:?}", CStr::from_ptr(pkgid)); [ 150s] | ---------------------------------------------------------- in this macro invocation [ 150s] | [ 150s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 150s] [ 150s] warning: unnecessary `unsafe` block [ 150s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 150s] | [ 150s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 150s] | ^^^^^^ unnecessary `unsafe` block [ 150s] | [ 150s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 150s] | [ 150s] 1129 | unsafe { [ 150s] | ------ because it's nested under this `unsafe` block [ 150s] ... [ 150s] 1132 | error!("failed to open the fifo({}), errno({})", fifo_path, *__errno_location()); [ 150s] | -------------------------------------------------------------------------------- in this macro invocation [ 150s] | [ 150s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 150s] [ 150s] warning: unnecessary `unsafe` block [ 150s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 150s] | [ 150s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 150s] | ^^^^^^ unnecessary `unsafe` block [ 150s] | [ 150s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 150s] | [ 150s] 1129 | unsafe { [ 150s] | ------ because it's nested under this `unsafe` block [ 150s] ... [ 150s] 1155 | error!("failed to add io watch"); [ 150s] | -------------------------------- in this macro invocation [ 150s] | [ 150s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 150s] [ 150s] warning: constant `SD_LISTEN_FDS_START` is never used [ 150s] --> ./src/pkgmgr/server/mod.rs:28:7 [ 150s] | [ 150s] 28 | const SD_LISTEN_FDS_START: i32 = 3; [ 150s] | ^^^^^^^^^^^^^^^^^^^ [ 150s] | [ 150s] = note: `#[warn(dead_code)]` on by default [ 150s] [ 150s] warning: multiple variants are never constructed [ 150s] --> ./src/pkgmgr/server/mod.rs:43:5 [ 150s] | [ 150s] 42 | enum AUL_RETURN_VALUE { [ 150s] | ---------------- variants in this enum [ 150s] 43 | AUL_R_ENOMEM = -16, //< Out of memory (Since 5.5) [ 150s] | ^^^^^^^^^^^^ [ 150s] 44 | AUL_R_ENOENT = -15, //< App directory entry error [ 150s] | ^^^^^^^^^^^^ [ 150s] 45 | AUL_R_EREJECTED = -14, //< App disable for mode [ 150s] | ^^^^^^^^^^^^^^^ [ 150s] 46 | AUL_R_ENOAPP = -13, //< Failed to find app ID or pkg ID [ 150s] | ^^^^^^^^^^^^ [ 150s] 47 | AUL_R_EHIDDENFORGUEST = -11, //< App hidden for guest mode [ 150s] | ^^^^^^^^^^^^^^^^^^^^^ [ 150s] 48 | AUL_R_ENOLAUNCHPAD = -10, //< no launchpad [ 150s] | ^^^^^^^^^^^^^^^^^^ [ 150s] 49 | AUL_R_ETERMINATING = -9, //< application terminating [ 150s] | ^^^^^^^^^^^^^^^^^^ [ 150s] 50 | AUL_R_EILLACC = -8, //< Illegal Access [ 150s] | ^^^^^^^^^^^^^ [ 150s] 51 | AUL_R_LOCAL = -7, //< Launch by himself [ 150s] | ^^^^^^^^^^^ [ 150s] 52 | AUL_R_ETIMEOUT = -6, //< Timeout [ 150s] | ^^^^^^^^^^^^^^ [ 150s] 53 | AUL_R_ECANCELED = -5, //< Operation canceled [ 150s] | ^^^^^^^^^^^^^^^ [ 150s] 54 | AUL_R_EINVAL = -4, //< Invalid argument [ 150s] | ^^^^^^^^^^^^ [ 150s] 55 | AUL_R_ECOMM = -3, //< Comunication Error [ 150s] | ^^^^^^^^^^^ [ 150s] 56 | AUL_R_ENOINIT = -2, //< AUL handler NOT initialized [ 150s] | ^^^^^^^^^^^^^ [ 150s] 57 | AUL_R_ERROR = -1, //< General error [ 150s] | ^^^^^^^^^^^ [ 150s] [ 150s] warning: field `timer` is never read [ 150s] --> ./src/pkgmgr/server/mod.rs:63:5 [ 150s] | [ 150s] 61 | pub struct Server { [ 150s] | ------ field in this struct [ 150s] 62 | mainloop: *mut GMainLoop, [ 150s] 63 | timer: c_uint [ 150s] | ^^^^^ [ 150s] [ 150s] warning: variants `IO_ERROR`, `OUT_OF_MEMORY`, `INVALID_PARAMETER`, and `PERMISSION_DENIED` are never constructed [ 150s] --> ./src/pkgmgr/server/admin_service.rs:29:5 [ 150s] | [ 150s] 27 | enum RPC_PORT_ERROR { [ 150s] | -------------- variants in this enum [ 150s] 28 | NONE = 0, //< Successful [ 150s] 29 | IO_ERROR = -5, //< Internal I/O error [ 150s] | ^^^^^^^^ [ 150s] 30 | OUT_OF_MEMORY = -12, //< Out of memory [ 150s] | ^^^^^^^^^^^^^ [ 150s] 31 | INVALID_PARAMETER = -22, //< Invalid parameter [ 150s] | ^^^^^^^^^^^^^^^^^ [ 150s] 32 | PERMISSION_DENIED = -13, //< Permission denied [ 150s] | ^^^^^^^^^^^^^^^^^ [ 150s] [ 150s] warning: method `generate_request_id` is never used [ 150s] --> ./src/pkgmgr/server/admin_service.rs:2786:8 [ 150s] | [ 150s] 2713 | impl AdminService { [ 150s] | ----------------- method in this implementation [ 150s] ... [ 150s] 2786 | fn generate_request_id(&self) -> String { [ 150s] | ^^^^^^^^^^^^^^^^^^^ [ 150s] [ 150s] warning: field `request_type` is never read [ 150s] --> ./src/pkgmgr/server/backend_context.rs:7:5 [ 150s] | [ 150s] 6 | pub struct BackendContext { [ 150s] | -------------- field in this struct [ 150s] 7 | request_type: RequestType, [ 150s] | ^^^^^^^^^^^^ [ 150s] [ 150s] warning: type alias `GIOChannel` is never used [ 150s] --> ./src/pkgmgr/server/backend_queue.rs:14:6 [ 150s] | [ 150s] 14 | type GIOChannel = *mut c_void; [ 150s] | ^^^^^^^^^^ [ 150s] [ 150s] warning: type alias `GIOCondition` is never used [ 150s] --> ./src/pkgmgr/server/backend_queue.rs:15:6 [ 150s] | [ 150s] 15 | type GIOCondition = c_int; [ 150s] | ^^^^^^^^^^^^ [ 150s] [ 150s] warning: variants `EIO`, `ENOPKG`, `EPRIV`, `ETIMEOUT`, `EINVAL`, and `ECOMM` are never constructed [ 150s] --> ./src/pkgmgr/server/info_service.rs:22:5 [ 150s] | [ 150s] 20 | enum PKGMGR_RETURN_VALUE { [ 150s] | ------------------- variants in this enum [ 150s] 21 | ESYSTEM = -9, // Severe system error [ 150s] 22 | EIO = -8, // IO error [ 150s] | ^^^ [ 150s] 23 | ENOMEM = -7, // Out of memory [ 150s] 24 | ENOPKG = -6, // No such package [ 150s] | ^^^^^^ [ 150s] 25 | EPRIV = -5, // Privilege denied [ 150s] | ^^^^^ [ 150s] 26 | ETIMEOUT = -4, // Timeout [ 150s] | ^^^^^^^^ [ 150s] 27 | EINVAL = -3, // Invalid argument [ 150s] | ^^^^^^ [ 150s] 28 | ECOMM = -2, // Comunication Error [ 150s] | ^^^^^ [ 150s] [ 150s] warning: variants `EPRIV` and `ETIMEOUT` are never constructed [ 150s] --> ./src/pkgmgr/server/pkgmgr_return_value.rs:8:5 [ 150s] | [ 150s] 3 | pub enum PKGMGR_RETURN_VALUE { [ 150s] | ------------------- variants in this enum [ 150s] ... [ 150s] 8 | EPRIV = -5, // Privilege denied [ 150s] | ^^^^^ [ 150s] 9 | ETIMEOUT = -4, // Timeout [ 150s] | ^^^^^^^^ [ 150s] [ 150s] warning: variants `KILL`, `CHECK`, `ENABLE_APP_SPLASH_SCREEN`, `DISABLE_APP_SPLASH_SCREEN`, and `MIGRATE_EXTERNAL_IMAGE` are never constructed [ 150s] --> ./src/pkgmgr/server/request_type.rs:20:5 [ 150s] | [ 150s] 1 | pub enum RequestType { [ 150s] | ----------- variants in this enum [ 150s] ... [ 150s] 20 | KILL, [ 150s] | ^^^^ [ 150s] 21 | CHECK, [ 150s] | ^^^^^ [ 150s] ... [ 150s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 150s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 150s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 150s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 150s] ... [ 150s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 150s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 150s] [ 150s] warning: multiple variants are never constructed [ 150s] --> ./src/pkgmgr/server/signal.rs:10:2 [ 150s] | [ 150s] 9 | enum PKGMGR_REQ { [ 150s] | ---------- variants in this enum [ 150s] 10 | PERM = -1, [ 150s] | ^^^^ [ 150s] 11 | INVALID = 0, [ 150s] | ^^^^^^^ [ 150s] 12 | INSTALL = 1, [ 150s] | ^^^^^^^ [ 150s] 13 | UNINSTALL = 2, [ 150s] | ^^^^^^^^^ [ 150s] 14 | CLEAR = 3, [ 150s] | ^^^^^ [ 150s] 15 | MOVE = 4, [ 150s] | ^^^^ [ 150s] 16 | RECOVER = 5, [ 150s] | ^^^^^^^ [ 150s] 17 | REINSTALL = 6, [ 150s] | ^^^^^^^^^ [ 150s] 18 | GETSIZE = 7, [ 150s] | ^^^^^^^ [ 150s] 19 | UPGRADE = 8, [ 150s] | ^^^^^^^ [ 150s] 20 | SMACK = 9, [ 150s] | ^^^^^ [ 150s] 21 | MANIFEST_DIRECT_INSTALL = 10, [ 150s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 150s] ... [ 150s] 26 | MOUNT_INSTALL = 15, [ 150s] | ^^^^^^^^^^^^^ [ 150s] 27 | DISABLE_PKG = 16, [ 150s] | ^^^^^^^^^^^ [ 150s] 28 | ENABLE_PKG = 17, [ 150s] | ^^^^^^^^^^ [ 150s] 29 | MIGRATE_EXTIMG = 18, [ 150s] | ^^^^^^^^^^^^^^ [ 150s] 30 | RECOVER_DB = 19, [ 150s] | ^^^^^^^^^^ [ 150s] 31 | RES_COPY = 20, [ 150s] | ^^^^^^^^ [ 150s] 32 | RES_CREATE_DIR = 21, [ 150s] | ^^^^^^^^^^^^^^ [ 150s] 33 | RES_REMOVE = 22, [ 150s] | ^^^^^^^^^^ [ 150s] 34 | RES_UNINSTALL = 23 [ 150s] | ^^^^^^^^^^^^^ [ 150s] [ 150s] warning: constant `TZ_SYS_GLOBALAPP_USER` is never used [ 150s] --> ./src/pkgmgr/server/signal.rs:97:7 [ 150s] | [ 150s] 97 | const TZ_SYS_GLOBALAPP_USER: c_int = 22; [ 150s] | ^^^^^^^^^^^^^^^^^^^^^ [ 150s] [ 150s] warning: function `tzplatform_getuid` is never used [ 150s] --> ./src/pkgmgr/server/signal.rs:53:12 [ 150s] | [ 150s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 150s] | ^^^^^^^^^^^^^^^^^ [ 150s] [ 150s] warning: constant `XML_READER_TYPE_ELEMENT` is never used [ 150s] --> ./src/pkgmgr/server/util.rs:29:7 [ 150s] | [ 150s] 29 | const XML_READER_TYPE_ELEMENT: i32 = 1; [ 150s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 150s] [ 150s] warning: constant `XML_READER_TYPE_TEXT` is never used [ 150s] --> ./src/pkgmgr/server/util.rs:30:7 [ 150s] | [ 150s] 30 | const XML_READER_TYPE_TEXT: i32 = 3; [ 150s] | ^^^^^^^^^^^^^^^^^^^^ [ 150s] [ 150s] warning: constant `XML_READER_TYPE_END_ELEMENT` is never used [ 150s] --> ./src/pkgmgr/server/util.rs:31:7 [ 150s] | [ 150s] 31 | const XML_READER_TYPE_END_ELEMENT: i32 = 15; [ 150s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 150s] [ 150s] warning: type alias `GIOChannel` is never used [ 150s] --> ./src/pkgmgr/server/util.rs:33:6 [ 150s] | [ 150s] 33 | type GIOChannel = *mut c_void; [ 150s] | ^^^^^^^^^^ [ 150s] [ 150s] warning: variants `PMINFO_UI_APP`, `PMINFO_SVC_APP`, `PMINFO_WIDGET_APP`, `PMINFO_WATCH_APP`, and `PMINFO_COMPONENT_BASED_APP` are never constructed [ 150s] --> ./src/pkgmgr/server/util.rs:136:5 [ 150s] | [ 150s] 134 | enum PKGMGRINFO_APP_COMPONENT { [ 150s] | ------------------------ variants in this enum [ 150s] 135 | PMINFO_ALL_APP = 0, //< All Application [ 150s] 136 | PMINFO_UI_APP, //< UI Application [ 150s] | ^^^^^^^^^^^^^ [ 150s] 137 | PMINFO_SVC_APP, //< Service Application [ 150s] | ^^^^^^^^^^^^^^ [ 150s] 138 | PMINFO_WIDGET_APP, //< Widget Application [ 150s] | ^^^^^^^^^^^^^^^^^ [ 150s] 139 | PMINFO_WATCH_APP, //< Watch Application [ 150s] | ^^^^^^^^^^^^^^^^ [ 150s] 140 | PMINFO_COMPONENT_BASED_APP, //< Component-based Application (Since 5.5) [ 150s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 150s] [ 150s] warning: associated functions `EnableAppSplashScreen` and `DisableAppSplashScreen` are never used [ 150s] --> ./src/pkgmgr/server/util.rs:766:12 [ 150s] | [ 150s] 384 | impl Util { [ 150s] | --------- associated functions in this implementation [ 150s] ... [ 150s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 150s] | ^^^^^^^^^^^^^^^^^^^^^ [ 150s] ... [ 150s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 150s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 150s] [ 150s] warning: function `pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db` is never used [ 150s] --> ./src/pkgmgr/server/util.rs:204:8 [ 150s] | [ 150s] 204 | fn pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db( [ 150s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 150s] [ 150s] warning: unused `Result` that must be used [ 150s] --> ./src/main.rs:14:5 [ 150s] | [ 150s] 14 | pkgmgr::server::Server::run(&mut server); [ 150s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 150s] | [ 150s] = note: this `Result` may be an `Err` variant, which should be handled [ 150s] = note: `#[warn(unused_must_use)]` on by default [ 150s] help: use `let _ = ...` to ignore the resulting value [ 150s] | [ 150s] 14 | let _ = pkgmgr::server::Server::run(&mut server); [ 150s] | +++++++ [ 150s] [ 150s] warning: unused `Result` that must be used [ 150s] --> ./src/pkgmgr/server/mod.rs:93:9 [ 150s] | [ 150s] 93 | admin_service.run(); [ 150s] | ^^^^^^^^^^^^^^^^^^^ [ 150s] | [ 150s] = note: this `Result` may be an `Err` variant, which should be handled [ 150s] help: use `let _ = ...` to ignore the resulting value [ 150s] | [ 150s] 93 | let _ = admin_service.run(); [ 150s] | +++++++ [ 150s] [ 150s] warning: unused `Result` that must be used [ 150s] --> ./src/pkgmgr/server/mod.rs:95:9 [ 150s] | [ 150s] 95 | cache_service.run(); [ 150s] | ^^^^^^^^^^^^^^^^^^^ [ 150s] | [ 150s] = note: this `Result` may be an `Err` variant, which should be handled [ 150s] help: use `let _ = ...` to ignore the resulting value [ 150s] | [ 150s] 95 | let _ = cache_service.run(); [ 150s] | +++++++ [ 150s] [ 150s] warning: unused `Result` that must be used [ 150s] --> ./src/pkgmgr/server/mod.rs:97:9 [ 150s] | [ 150s] 97 | info_service.run(); [ 150s] | ^^^^^^^^^^^^^^^^^^ [ 150s] | [ 150s] = note: this `Result` may be an `Err` variant, which should be handled [ 150s] help: use `let _ = ...` to ignore the resulting value [ 150s] | [ 150s] 97 | let _ = info_service.run(); [ 150s] | +++++++ [ 150s] [ 150s] warning: unused `Result` that must be used [ 150s] --> ./src/pkgmgr/server/mod.rs:99:9 [ 150s] | [ 150s] 99 | delayed_result_service.run(); [ 150s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 150s] | [ 150s] = note: this `Result` may be an `Err` variant, which should be handled [ 150s] help: use `let _ = ...` to ignore the resulting value [ 150s] | [ 150s] 99 | let _ = delayed_result_service.run(); [ 150s] | +++++++ [ 150s] [ 150s] warning: unused `Result` that must be used [ 150s] --> ./src/pkgmgr/server/mod.rs:109:9 [ 150s] | [ 150s] 109 | admin_service.stop(); [ 150s] | ^^^^^^^^^^^^^^^^^^^^ [ 150s] | [ 150s] = note: this `Result` may be an `Err` variant, which should be handled [ 150s] help: use `let _ = ...` to ignore the resulting value [ 150s] | [ 150s] 109 | let _ = admin_service.stop(); [ 150s] | +++++++ [ 150s] [ 150s] warning: unused `Result` that must be used [ 150s] --> ./src/pkgmgr/server/mod.rs:110:9 [ 150s] | [ 150s] 110 | cache_service.stop(); [ 150s] | ^^^^^^^^^^^^^^^^^^^^ [ 150s] | [ 150s] = note: this `Result` may be an `Err` variant, which should be handled [ 150s] help: use `let _ = ...` to ignore the resulting value [ 150s] | [ 150s] 110 | let _ = cache_service.stop(); [ 150s] | +++++++ [ 150s] [ 150s] warning: unused `Result` that must be used [ 150s] --> ./src/pkgmgr/server/mod.rs:111:9 [ 150s] | [ 150s] 111 | info_service.stop(); [ 150s] | ^^^^^^^^^^^^^^^^^^^ [ 150s] | [ 150s] = note: this `Result` may be an `Err` variant, which should be handled [ 150s] help: use `let _ = ...` to ignore the resulting value [ 150s] | [ 150s] 111 | let _ = info_service.stop(); [ 150s] | +++++++ [ 150s] [ 150s] warning: unused `Result` that must be used [ 150s] --> ./src/pkgmgr/server/mod.rs:112:9 [ 150s] | [ 150s] 112 | delayed_result_service.stop(); [ 150s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 150s] | [ 150s] = note: this `Result` may be an `Err` variant, which should be handled [ 150s] help: use `let _ = ...` to ignore the resulting value [ 150s] | [ 150s] 112 | let _ = delayed_result_service.stop(); [ 150s] | +++++++ [ 150s] [ 151s] warning: unused return value of `std::mem::size_of` that must be used [ 151s] --> ./src/pkgmgr/server/backend_queue.rs:40:9 [ 151s] | [ 151s] 40 | mem::size_of::(); [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 151s] | [ 151s] help: use `let _ = ...` to ignore the resulting value [ 151s] | [ 151s] 40 | let _ = mem::size_of::(); [ 151s] | +++++++ [ 151s] [ 151s] warning: structure field `rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 151s] --> ./src/pkgmgr/server/info_service.rs:35:9 [ 151s] | [ 151s] 35 | pub rpc_port_stub_PkgMgr_create_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_create_cb` [ 151s] | [ 151s] = note: `#[warn(non_snake_case)]` on by default [ 151s] [ 151s] warning: structure field `rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 151s] --> ./src/pkgmgr/server/info_service.rs:36:9 [ 151s] | [ 151s] 36 | pub rpc_port_stub_PkgMgr_terminate_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_terminate_cb` [ 151s] [ 151s] warning: structure field `rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 151s] --> ./src/pkgmgr/server/info_service.rs:37:9 [ 151s] | [ 151s] 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... [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_cb` [ 151s] [ 151s] warning: structure field `rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 151s] --> ./src/pkgmgr/server/info_service.rs:38:9 [ 151s] | [ 151s] 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... [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 151s] [ 151s] warning: structure field `rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 151s] --> ./src/pkgmgr/server/info_service.rs:39:9 [ 151s] | [ 151s] 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... [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 151s] [ 151s] warning: structure field `rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 151s] --> ./src/pkgmgr/server/info_service.rs:40:9 [ 151s] | [ 151s] 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... [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_check_cb` [ 151s] [ 151s] warning: function `impl_rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 151s] --> ./src/pkgmgr/server/info_service.rs:43:19 [ 151s] | [ 151s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_create_cb` [ 151s] [ 151s] warning: function `impl_rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 151s] --> ./src/pkgmgr/server/info_service.rs:48:19 [ 151s] | [ 151s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_terminate_cb` [ 151s] [ 151s] warning: function `impl_rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 151s] --> ./src/pkgmgr/server/info_service.rs:52:19 [ 151s] | [ 151s] 52 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSize_cb( [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_cb` [ 151s] [ 151s] warning: function `impl_rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 151s] --> ./src/pkgmgr/server/info_service.rs:112:19 [ 151s] | [ 151s] 112 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSizeSync_cb( [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 151s] [ 151s] warning: function `impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 151s] --> ./src/pkgmgr/server/info_service.rs:194:19 [ 151s] | [ 151s] 194 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb( [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 151s] [ 151s] warning: function `impl_rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 151s] --> ./src/pkgmgr/server/info_service.rs:221:19 [ 151s] | [ 151s] 221 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_Check_cb( [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_check_cb` [ 151s] [ 151s] warning: method `IsPackageReadonly` should have a snake case name [ 151s] --> ./src/pkgmgr/server/util.rs:389:12 [ 151s] | [ 151s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 151s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly` [ 151s] [ 151s] warning: method `GetPackageType` should have a snake case name [ 151s] --> ./src/pkgmgr/server/util.rs:420:12 [ 151s] | [ 151s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 151s] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type` [ 151s] [ 151s] warning: variable `xmlReaderTypes_XML_READER_TYPE_ELEMENT` should have a snake case name [ 151s] --> ./src/pkgmgr/server/util.rs:473:17 [ 151s] | [ 151s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_element` [ 151s] [ 151s] warning: variable `xmlReaderTypes_XML_READER_TYPE_TEXT` should have a snake case name [ 151s] --> ./src/pkgmgr/server/util.rs:478:17 [ 151s] | [ 151s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_text` [ 151s] [ 151s] warning: variable `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` should have a snake case name [ 151s] --> ./src/pkgmgr/server/util.rs:483:17 [ 151s] | [ 151s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_end_element` [ 151s] [ 151s] warning: constant `type_map` should have an upper case name [ 151s] --> ./src/pkgmgr/server/util.rs:623:15 [ 151s] | [ 151s] 623 | const type_map : [[&str; 2]; 3] = [ [ 151s] | ^^^^^^^^ help: convert the identifier to upper case: `TYPE_MAP` [ 151s] | [ 151s] = note: `#[warn(non_upper_case_globals)]` on by default [ 151s] [ 151s] warning: method `GenerateRequestId` should have a snake case name [ 151s] --> ./src/pkgmgr/server/util.rs:646:12 [ 151s] | [ 151s] 646 | pub fn GenerateRequestId(pkgid: &str) -> Option { [ 151s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_request_id` [ 151s] [ 151s] warning: method `CreatePkgUpdateInfo` should have a snake case name [ 151s] --> ./src/pkgmgr/server/util.rs:657:12 [ 151s] | [ 151s] 657 | pub fn CreatePkgUpdateInfo(pkgid: *const c_char, version: *const c_char, update_type: c_int) -> *mut c_void { [ 151s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info` [ 151s] [ 151s] warning: method `DestroyPkgUpdateInfo` should have a snake case name [ 151s] --> ./src/pkgmgr/server/util.rs:680:12 [ 151s] | [ 151s] 680 | pub fn DestroyPkgUpdateInfo(handle: *mut c_void) -> c_int { [ 151s] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroy_pkg_update_info` [ 151s] [ 151s] warning: method `RegisterPkgUpdateInfo` should have a snake case name [ 151s] --> ./src/pkgmgr/server/util.rs:686:12 [ 151s] | [ 151s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 151s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `register_pkg_update_info` [ 151s] [ 151s] warning: method `UnregisterPkgUpdateInfo` should have a snake case name [ 151s] --> ./src/pkgmgr/server/util.rs:696:12 [ 151s] | [ 151s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_pkg_update_info` [ 151s] [ 151s] warning: method `UnregisterAllPkgUpdateInfo` should have a snake case name [ 151s] --> ./src/pkgmgr/server/util.rs:706:12 [ 151s] | [ 151s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_all_pkg_update_info` [ 151s] [ 151s] warning: method `EnableApp` should have a snake case name [ 151s] --> ./src/pkgmgr/server/util.rs:728:12 [ 151s] | [ 151s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 151s] | ^^^^^^^^^ help: convert the identifier to snake case: `enable_app` [ 151s] [ 151s] warning: method `DisableApp` should have a snake case name [ 151s] --> ./src/pkgmgr/server/util.rs:738:12 [ 151s] | [ 151s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 151s] | ^^^^^^^^^^ help: convert the identifier to snake case: `disable_app` [ 151s] [ 151s] warning: method `EnableGlobalApp` should have a snake case name [ 151s] --> ./src/pkgmgr/server/util.rs:747:12 [ 151s] | [ 151s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 151s] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app` [ 151s] [ 151s] warning: method `DisableGlobalApp` should have a snake case name [ 151s] --> ./src/pkgmgr/server/util.rs:757:12 [ 151s] | [ 151s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 151s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app` [ 151s] [ 151s] warning: method `EnableAppSplashScreen` should have a snake case name [ 151s] --> ./src/pkgmgr/server/util.rs:766:12 [ 151s] | [ 151s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 151s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_app_splash_screen` [ 151s] [ 151s] warning: method `DisableAppSplashScreen` should have a snake case name [ 151s] --> ./src/pkgmgr/server/util.rs:775:12 [ 151s] | [ 151s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_app_splash_screen` [ 151s] [ 151s] warning: method `EnableGlobalAppSplashScreen` should have a snake case name [ 151s] --> ./src/pkgmgr/server/util.rs:784:12 [ 151s] | [ 151s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app_splash_screen` [ 151s] [ 151s] warning: method `DisableGlobalAppSplashScreen` should have a snake case name [ 151s] --> ./src/pkgmgr/server/util.rs:793:12 [ 151s] | [ 151s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 151s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app_splash_screen` [ 151s] [ 151s] warning: method `KillApp` should have a snake case name [ 151s] --> ./src/pkgmgr/server/util.rs:813:12 [ 151s] | [ 151s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 151s] | ^^^^^^^ help: convert the identifier to snake case: `kill_app` [ 151s] [ 151s] warning: method `KillAppsInPkg` should have a snake case name [ 151s] --> ./src/pkgmgr/server/util.rs:835:12 [ 151s] | [ 151s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 151s] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_apps_in_pkg` [ 151s] [ 151s] warning: method `IsAdminUser` should have a snake case name [ 151s] --> ./src/pkgmgr/server/util.rs:855:8 [ 151s] | [ 151s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 151s] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_admin_user` [ 151s] [ 244s] warning: 542 warnings emitted [ 244s] [ 244s] + export LD_LIBRARY_PATH=:/usr/lib/rustlib:/usr/lib/rustlib/dylib:/usr/lib/rustlib:/usr/lib/rustlib/dylib [ 244s] + LD_LIBRARY_PATH=:/usr/lib/rustlib:/usr/lib/rustlib/dylib:/usr/lib/rustlib:/usr/lib/rustlib/dylib [ 244s] ++ find /usr/lib -maxdepth 1 -name 'libstd-*.so' [ 244s] + __rust_std=/usr/lib/libstd-8bd96794529cec08.so [ 244s] + /usr/bin/rustc -C prefer-dynamic --extern std=/usr/lib/libstd-8bd96794529cec08.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 [ 247s] warning: unused import: `boxed` [ 247s] --> ./src/pkgmgr/server/admin_service.rs:4:11 [ 247s] | [ 247s] 4 | use std::{boxed, str}; [ 247s] | ^^^^^ [ 247s] | [ 247s] = note: `#[warn(unused_imports)]` on by default [ 247s] [ 247s] warning: unused import: `std::mem` [ 247s] --> ./src/pkgmgr/server/admin_service.rs:6:5 [ 247s] | [ 247s] 6 | use std::mem; [ 247s] | ^^^^^^^^ [ 247s] [ 247s] warning: unused import: `std::ptr` [ 247s] --> ./src/pkgmgr/server/admin_service.rs:7:5 [ 247s] | [ 247s] 7 | use std::ptr; [ 247s] | ^^^^^^^^ [ 247s] [ 247s] warning: unused import: `malloc` [ 247s] --> ./src/pkgmgr/server/admin_service.rs:8:18 [ 247s] | [ 247s] 8 | use libc::{free, malloc, strlen}; [ 247s] | ^^^^^^ [ 247s] [ 247s] warning: unused import: `super::Server` [ 247s] --> ./src/pkgmgr/server/admin_service.rs:10:5 [ 247s] | [ 247s] 10 | use super::Server; [ 247s] | ^^^^^^^^^^^^^ [ 247s] [ 247s] warning: type `rpc_port_stub_array_string_h` should have an upper camel case name [ 247s] --> ./src/pkgmgr/server/admin_service.rs:23:6 [ 247s] | [ 247s] 23 | type rpc_port_stub_array_string_h = *mut c_void; [ 247s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RpcPortStubArrayStringH` [ 247s] | [ 247s] = note: `#[warn(non_camel_case_types)]` on by default [ 247s] [ 247s] warning: unused imports: `pid_t`, `uid_t` [ 247s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 247s] | [ 247s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 247s] | ^^^^^ ^^^^^ [ 247s] [ 247s] warning: unused imports: `c_int`, `c_void` [ 247s] --> ./src/pkgmgr/server/backend_context.rs:4:16 [ 247s] | [ 247s] 4 | use std::ffi::{c_int, c_void}; [ 247s] | ^^^^^ ^^^^^^ [ 247s] [ 247s] warning: unused import: `std::path::Path` [ 247s] --> ./src/pkgmgr/server/backend_queue.rs:10:5 [ 247s] | [ 247s] 10 | use std::path::Path; [ 247s] | ^^^^^^^^^^^^^^^ [ 247s] [ 247s] warning: denote infinite loops with `loop { ... }` [ 247s] --> ./src/pkgmgr/server/backend_queue.rs:50:9 [ 247s] | [ 247s] 50 | while true { [ 247s] | ^^^^^^^^^^ help: use `loop` [ 247s] | [ 247s] = note: `#[warn(while_true)]` on by default [ 247s] [ 247s] warning: unnecessary parentheses around `if` condition [ 247s] --> ./src/pkgmgr/server/backend_queue.rs:73:8 [ 247s] | [ 247s] 73 | if (mut_queue.is_queue_empty()) { [ 247s] | ^ ^ [ 247s] | [ 247s] = note: `#[warn(unused_parens)]` on by default [ 247s] help: remove these parentheses [ 247s] | [ 247s] 73 - if (mut_queue.is_queue_empty()) { [ 247s] 73 + if mut_queue.is_queue_empty() { [ 247s] | [ 247s] [ 247s] warning: unnecessary trailing semicolon [ 247s] --> ./src/pkgmgr/server/backend_queue.rs:297:17 [ 247s] | [ 247s] 297 | ; [ 247s] | ^ help: remove this semicolon [ 247s] | [ 247s] = note: `#[warn(redundant_semicolons)]` on by default [ 247s] [ 247s] warning: unused import: `super::Server` [ 247s] --> ./src/pkgmgr/server/cache_service.rs:1:5 [ 247s] | [ 247s] 1 | use super::Server; [ 247s] | ^^^^^^^^^^^^^ [ 247s] [ 247s] warning: unused import: `super::Server` [ 247s] --> ./src/pkgmgr/server/delayed_service.rs:1:5 [ 247s] | [ 247s] 1 | use super::Server; [ 247s] | ^^^^^^^^^^^^^ [ 247s] [ 247s] warning: unused import: `super::backend_context::*` [ 247s] --> ./src/pkgmgr/server/delayed_service.rs:4:5 [ 247s] | [ 247s] 4 | use super::backend_context::*; [ 247s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 247s] [ 247s] warning: unused import: `super::request_result::*` [ 247s] --> ./src/pkgmgr/server/delayed_service.rs:5:5 [ 247s] | [ 247s] 5 | use super::request_result::*; [ 247s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 247s] [ 247s] warning: unused import: `super::request_type::*` [ 247s] --> ./src/pkgmgr/server/delayed_service.rs:6:5 [ 247s] | [ 247s] 6 | use super::request_type::*; [ 247s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 247s] [ 247s] warning: unused import: `super::util::*` [ 247s] --> ./src/pkgmgr/server/delayed_service.rs:7:5 [ 247s] | [ 247s] 7 | use super::util::*; [ 247s] | ^^^^^^^^^^^^^^ [ 247s] [ 247s] warning: unused imports: `pid_t`, `uid_t` [ 247s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 247s] | [ 247s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 247s] | ^^^^^ ^^^^^ [ 247s] [ 247s] warning: unused import: `std::io::Error` [ 247s] --> ./src/pkgmgr/server/info_service.rs:3:5 [ 247s] | [ 247s] 3 | use std::io::Error; [ 247s] | ^^^^^^^^^^^^^^ [ 247s] [ 247s] warning: unused import: `std::mem` [ 247s] --> ./src/pkgmgr/server/info_service.rs:6:5 [ 247s] | [ 247s] 6 | use std::mem; [ 247s] | ^^^^^^^^ [ 247s] [ 247s] warning: unused import: `std::ptr` [ 247s] --> ./src/pkgmgr/server/info_service.rs:7:5 [ 247s] | [ 247s] 7 | use std::ptr; [ 247s] | ^^^^^^^^ [ 247s] [ 247s] warning: unused imports: `free`, `malloc`, `strlen` [ 247s] --> ./src/pkgmgr/server/info_service.rs:8:12 [ 247s] | [ 247s] 8 | use libc::{free, malloc, strlen, mkfifo}; [ 247s] | ^^^^ ^^^^^^ ^^^^^^ [ 247s] [ 247s] warning: unused import: `super::Server` [ 247s] --> ./src/pkgmgr/server/info_service.rs:10:5 [ 247s] | [ 247s] 10 | use super::Server; [ 247s] | ^^^^^^^^^^^^^ [ 247s] [ 247s] warning: unused import: `super::service::Service` [ 247s] --> ./src/pkgmgr/server/info_service.rs:13:5 [ 247s] | [ 247s] 13 | use super::service::Service; [ 247s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 247s] [ 247s] warning: unnecessary trailing semicolon [ 247s] --> ./src/pkgmgr/server/info_service.rs:49:5 [ 247s] | [ 247s] 49 | ; [ 247s] | ^ help: remove this semicolon [ 247s] [ 247s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 247s] --> ./src/pkgmgr/server/request_result.rs:7:5 [ 247s] | [ 247s] 7 | GETSIZE_SYNC(String, i32, i32), [ 247s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 247s] [ 247s] warning: variant `GET_GENERATE_LICENSE_RESULT` should have an upper camel case name [ 247s] --> ./src/pkgmgr/server/request_result.rs:8:5 [ 247s] | [ 247s] 8 | GET_GENERATE_LICENSE_RESULT(String, i32, CString, CString), [ 247s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetGenerateLicenseResult` [ 247s] [ 247s] warning: variant `MOUNT_INSTALL` should have an upper camel case name [ 247s] --> ./src/pkgmgr/server/request_type.rs:3:5 [ 247s] | [ 247s] 3 | MOUNT_INSTALL, [ 247s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MountInstall` [ 247s] [ 247s] warning: variant `ENABLE_PKG` should have an upper camel case name [ 247s] --> ./src/pkgmgr/server/request_type.rs:7:5 [ 247s] | [ 247s] 7 | ENABLE_PKG, [ 247s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnablePkg` [ 247s] [ 247s] warning: variant `DISABLE_PKG` should have an upper camel case name [ 247s] --> ./src/pkgmgr/server/request_type.rs:8:5 [ 247s] | [ 247s] 8 | DISABLE_PKG, [ 247s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisablePkg` [ 247s] [ 247s] warning: variant `REGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 247s] --> ./src/pkgmgr/server/request_type.rs:9:5 [ 247s] | [ 247s] 9 | REGISTER_PKG_UPDATE_INFO, [ 247s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterPkgUpdateInfo` [ 247s] [ 247s] warning: variant `UNREGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 247s] --> ./src/pkgmgr/server/request_type.rs:10:5 [ 247s] | [ 247s] 10 | UNREGISTER_PKG_UPDATE_INFO, [ 247s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterPkgUpdateInfo` [ 247s] [ 247s] warning: variant `UNREGISTER_ALL_PKG_UPDATE_INFO` should have an upper camel case name [ 247s] --> ./src/pkgmgr/server/request_type.rs:11:5 [ 247s] | [ 247s] 11 | UNREGISTER_ALL_PKG_UPDATE_INFO, [ 247s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterAllPkgUpdateInfo` [ 247s] [ 247s] warning: variant `ENABLE_APP` should have an upper camel case name [ 247s] --> ./src/pkgmgr/server/request_type.rs:12:5 [ 247s] | [ 247s] 12 | ENABLE_APP, [ 247s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableApp` [ 247s] [ 247s] warning: variant `DISABLE_APP` should have an upper camel case name [ 247s] --> ./src/pkgmgr/server/request_type.rs:13:5 [ 247s] | [ 247s] 13 | DISABLE_APP, [ 247s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableApp` [ 247s] [ 247s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 247s] --> ./src/pkgmgr/server/request_type.rs:15:5 [ 247s] | [ 247s] 15 | GETSIZE_SYNC, [ 247s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 247s] [ 247s] warning: variant `ENABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 247s] --> ./src/pkgmgr/server/request_type.rs:18:5 [ 247s] | [ 247s] 18 | ENABLE_GLOBAL_APP_FOR_UID, [ 247s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableGlobalAppForUid` [ 247s] [ 247s] warning: variant `DISABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 247s] --> ./src/pkgmgr/server/request_type.rs:19:5 [ 247s] | [ 247s] 19 | DISABLE_GLOBAL_APP_FOR_UID, [ 247s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableGlobalAppForUid` [ 247s] [ 247s] warning: variant `GENERATE_LICENSE_REQUEST` should have an upper camel case name [ 247s] --> ./src/pkgmgr/server/request_type.rs:22:5 [ 247s] | [ 247s] 22 | GENERATE_LICENSE_REQUEST, [ 247s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GenerateLicenseRequest` [ 247s] [ 247s] warning: variant `REGISTER_LICENSE` should have an upper camel case name [ 247s] --> ./src/pkgmgr/server/request_type.rs:23:5 [ 247s] | [ 247s] 23 | REGISTER_LICENSE, [ 247s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterLicense` [ 247s] [ 247s] warning: variant `DECRYPT_PACKAGE` should have an upper camel case name [ 247s] --> ./src/pkgmgr/server/request_type.rs:24:5 [ 247s] | [ 247s] 24 | DECRYPT_PACKAGE, [ 247s] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DecryptPackage` [ 247s] [ 247s] warning: variant `ENABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 247s] --> ./src/pkgmgr/server/request_type.rs:25:5 [ 247s] | [ 247s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 247s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableAppSplashScreen` [ 247s] [ 247s] warning: variant `DISABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 247s] --> ./src/pkgmgr/server/request_type.rs:26:5 [ 247s] | [ 247s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 247s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableAppSplashScreen` [ 247s] [ 247s] warning: variant `SET_APP_LABEL` should have an upper camel case name [ 247s] --> ./src/pkgmgr/server/request_type.rs:27:5 [ 247s] | [ 247s] 27 | SET_APP_LABEL, [ 247s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppLabel` [ 247s] [ 247s] warning: variant `SET_APP_ICON` should have an upper camel case name [ 247s] --> ./src/pkgmgr/server/request_type.rs:28:5 [ 247s] | [ 247s] 28 | SET_APP_ICON, [ 247s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppIcon` [ 247s] [ 247s] warning: variant `MIGRATE_EXTERNAL_IMAGE` should have an upper camel case name [ 247s] --> ./src/pkgmgr/server/request_type.rs:29:5 [ 247s] | [ 247s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 247s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MigrateExternalImage` [ 247s] [ 247s] warning: variant `RESOURCE_SHARE_COPY` should have an upper camel case name [ 247s] --> ./src/pkgmgr/server/request_type.rs:30:5 [ 247s] | [ 247s] 30 | RESOURCE_SHARE_COPY, [ 247s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCopy` [ 247s] [ 247s] warning: variant `RESOURCE_SHARE_CREATE_DIR` should have an upper camel case name [ 247s] --> ./src/pkgmgr/server/request_type.rs:31:5 [ 247s] | [ 247s] 31 | RESOURCE_SHARE_CREATE_DIR, [ 247s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCreateDir` [ 247s] [ 247s] warning: variant `RESOURCE_SHARE_REMOVE` should have an upper camel case name [ 247s] --> ./src/pkgmgr/server/request_type.rs:32:5 [ 247s] | [ 247s] 32 | RESOURCE_SHARE_REMOVE, [ 247s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareRemove` [ 247s] [ 247s] warning: variant `RESOURCE_SHARE_UNINSTALL` should have an upper camel case name [ 247s] --> ./src/pkgmgr/server/request_type.rs:33:5 [ 247s] | [ 247s] 33 | RESOURCE_SHARE_UNINSTALL, [ 247s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareUninstall` [ 247s] [ 247s] warning: variant `REMOVE_FILE` should have an upper camel case name [ 247s] --> ./src/pkgmgr/server/request_type.rs:34:5 [ 247s] | [ 247s] 34 | REMOVE_FILE, [ 247s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RemoveFile` [ 247s] [ 247s] warning: unused import: `CStr` [ 247s] --> ./src/pkgmgr/server/signal.rs:1:39 [ 247s] | [ 247s] 1 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 247s] | ^^^^ [ 247s] [ 247s] warning: unused import: `pid_t` [ 247s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 247s] | [ 247s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 247s] | ^^^^^ [ 247s] [ 247s] warning: unused imports: `CStr`, `CString`, `c_char`, `c_void` [ 247s] --> ./src/pkgmgr/server/signal.rs:39:20 [ 247s] | [ 247s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 247s] | ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^ [ 247s] [ 247s] warning: unused import: `pid_t` [ 247s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 247s] | [ 247s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 247s] | ^^^^^ [ 247s] [ 247s] warning: unused import: `std::cell::RefCell` [ 247s] --> ./src/pkgmgr/server/util.rs:1:5 [ 247s] | [ 247s] 1 | use std::cell::RefCell; [ 247s] | ^^^^^^^^^^^^^^^^^^ [ 247s] [ 247s] warning: unused import: `std::rc::Rc` [ 247s] --> ./src/pkgmgr/server/util.rs:8:5 [ 247s] | [ 247s] 8 | use std::rc::Rc; [ 247s] | ^^^^^^^^^^^ [ 247s] [ 247s] warning: type `xmlChar` should have an upper camel case name [ 247s] --> ./src/pkgmgr/server/util.rs:34:6 [ 247s] | [ 247s] 34 | type xmlChar = c_uchar; [ 247s] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlChar` [ 247s] [ 247s] warning: type `xmlTextReaderPtr` should have an upper camel case name [ 247s] --> ./src/pkgmgr/server/util.rs:35:6 [ 247s] | [ 247s] 35 | type xmlTextReaderPtr = *mut c_void; [ 247s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlTextReaderPtr` [ 247s] [ 247s] warning: unused imports: `CStr`, `CString` [ 247s] --> ./src/pkgmgr/server/util.rs:39:43 [ 247s] | [ 247s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 247s] | ^^^^ ^^^^^^^ [ 247s] [ 247s] warning: unused import: `pid_t` [ 247s] --> ./src/pkgmgr/server/util.rs:40:37 [ 247s] | [ 247s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 247s] | ^^^^^ [ 247s] [ 247s] warning: unnecessary parentheses around `if` condition [ 247s] --> ./src/pkgmgr/server/util.rs:474:24 [ 247s] | [ 247s] 474 | if (cur == depth + 1) { [ 247s] | ^ ^ [ 247s] | [ 247s] help: remove these parentheses [ 247s] | [ 247s] 474 - if (cur == depth + 1) { [ 247s] 474 + if cur == depth + 1 { [ 247s] | [ 247s] [ 247s] warning: unnecessary parentheses around `if` condition [ 247s] --> ./src/pkgmgr/server/util.rs:571:12 [ 247s] | [ 247s] 571 | if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 247s] | ^ ^ [ 247s] | [ 247s] help: remove these parentheses [ 247s] | [ 247s] 571 - if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 247s] 571 + if unzOpenCurrentFile(uf) != UNZ_OK as c_int { [ 247s] | [ 247s] [ 247s] warning: unused import: `std::ffi::CStr` [ 247s] --> ./src/pkgmgr/server/test/util_tests.rs:4:5 [ 247s] | [ 247s] 4 | use std::ffi::CStr; [ 247s] | ^^^^^^^^^^^^^^ [ 247s] [ 247s] warning: unused import: `std::mem` [ 247s] --> ./src/pkgmgr/server/test/util_tests.rs:6:5 [ 247s] | [ 247s] 6 | use std::mem; [ 247s] | ^^^^^^^^ [ 247s] [ 247s] warning: unused import: `mockall::predicate::*` [ 247s] --> ./src/pkgmgr/server/test/util_tests.rs:8:5 [ 247s] | [ 247s] 8 | use mockall::predicate::*; [ 247s] | ^^^^^^^^^^^^^^^^^^^^^ [ 247s] [ 247s] warning: unused import: `mockall::*` [ 247s] --> ./src/pkgmgr/server/test/util_tests.rs:9:5 [ 247s] | [ 247s] 9 | use mockall::*; [ 247s] | ^^^^^^^^^^ [ 247s] [ 247s] warning: unused import: `std::ffi::CString` [ 247s] --> ./src/pkgmgr/server/test/signal_tests.rs:2:5 [ 247s] | [ 247s] 2 | use std::ffi::CString; [ 247s] | ^^^^^^^^^^^^^^^^^ [ 247s] [ 247s] warning: unused import: `std::ffi::CStr` [ 247s] --> ./src/pkgmgr/server/test/signal_tests.rs:3:5 [ 247s] | [ 247s] 3 | use std::ffi::CStr; [ 247s] | ^^^^^^^^^^^^^^ [ 247s] [ 247s] warning: unused import: `std::ffi::c_char` [ 247s] --> ./src/pkgmgr/server/test/signal_tests.rs:4:5 [ 247s] | [ 247s] 4 | use std::ffi::c_char; [ 247s] | ^^^^^^^^^^^^^^^^ [ 247s] [ 247s] warning: unused import: `std::mem` [ 247s] --> ./src/pkgmgr/server/test/signal_tests.rs:5:5 [ 247s] | [ 247s] 5 | use std::mem; [ 247s] | ^^^^^^^^ [ 247s] [ 247s] warning: unused import: `mockall::predicate::*` [ 247s] --> ./src/pkgmgr/server/test/signal_tests.rs:6:5 [ 247s] | [ 247s] 6 | use mockall::predicate::*; [ 247s] | ^^^^^^^^^^^^^^^^^^^^^ [ 247s] [ 247s] warning: unused import: `mockall::*` [ 247s] --> ./src/pkgmgr/server/test/signal_tests.rs:7:5 [ 247s] | [ 247s] 7 | use mockall::*; [ 247s] | ^^^^^^^^^^ [ 247s] [ 247s] warning: unused import: `pid_t` [ 247s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 247s] | [ 247s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 247s] | ^^^^^ [ 247s] [ 247s] warning: unused import: `std::cell::RefCell` [ 247s] --> ./src/pkgmgr/server/mod.rs:22:5 [ 247s] | [ 247s] 22 | use std::cell::RefCell; [ 247s] | ^^^^^^^^^^^^^^^^^^ [ 247s] [ 247s] warning: unused import: `std::rc::Rc` [ 247s] --> ./src/pkgmgr/server/mod.rs:26:5 [ 247s] | [ 247s] 26 | use std::rc::Rc; [ 247s] | ^^^^^^^^^^^ [ 247s] [ 247s] warning: unused import: `std::process::Command` [ 247s] --> ./src/main.rs:9:5 [ 247s] | [ 247s] 9 | use std::process::Command; [ 247s] | ^^^^^^^^^^^^^^^^^^^^^ [ 247s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:5:26 [ 248s] | [ 248s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 248s] | ^^^^^ [ 248s] | [ 248s] = note: `#[warn(deprecated)]` on by default [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:5:33 [ 248s] | [ 248s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:20:20 [ 248s] | [ 248s] 20 | const GLOBAL_USER: uid_t = 201; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:322:25 [ 248s] | [ 248s] 322 | let mut caller_uid: uid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:443:25 [ 248s] | [ 248s] 443 | let mut caller_uid: uid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:548:25 [ 248s] | [ 248s] 548 | let mut caller_uid: uid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:595:25 [ 248s] | [ 248s] 595 | let mut caller_uid: uid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:718:25 [ 248s] | [ 248s] 718 | let mut caller_uid: uid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:801:25 [ 248s] | [ 248s] 801 | let mut caller_uid: uid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:853:25 [ 248s] | [ 248s] 853 | let mut caller_uid: uid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:937:25 [ 248s] | [ 248s] 937 | let mut caller_uid: uid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:990:25 [ 248s] | [ 248s] 990 | let mut caller_uid: uid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1015:76 [ 248s] | [ 248s] 1015 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, true) { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1072:25 [ 248s] | [ 248s] 1072 | let mut caller_uid: uid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1097:76 [ 248s] | [ 248s] 1097 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, false) { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1151:25 [ 248s] | [ 248s] 1151 | let mut caller_pid: pid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1152:25 [ 248s] | [ 248s] 1152 | let mut caller_uid: uid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1166:62 [ 248s] | [ 248s] 1166 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1196:66 [ 248s] | [ 248s] 1196 | let ret = Util::RegisterPkgUpdateInfo(handle, uid as uid_t); [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1215:25 [ 248s] | [ 248s] 1215 | let mut caller_pid: pid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1216:25 [ 248s] | [ 248s] 1216 | let mut caller_uid: uid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1230:62 [ 248s] | [ 248s] 1230 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1254:109 [ 248s] | [ 248s] 1254 | RequestResult::DELAYED(generated_req_key, Util::UnregisterPkgUpdateInfo(pkg_id.as_ptr(), uid as uid_t)) [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1270:25 [ 248s] | [ 248s] 1270 | let mut caller_pid: pid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1271:25 [ 248s] | [ 248s] 1271 | let mut caller_uid: uid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1303:95 [ 248s] | [ 248s] 1303 | RequestResult::DELAYED(generated_req_key, Util::UnregisterAllPkgUpdateInfo(uid as uid_t, caller_uid)) [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1312:45 [ 248s] | [ 248s] 1312 | fn handle_enable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1359:60 [ 248s] | [ 248s] 1359 | fn handle_enable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1371:40 [ 248s] | [ 248s] 1371 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1373:40 [ 248s] | [ 248s] 1373 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1380:36 [ 248s] | [ 248s] 1380 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1382:36 [ 248s] | [ 248s] 1382 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1392:36 [ 248s] | [ 248s] 1392 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1394:36 [ 248s] | [ 248s] 1394 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1400:28 [ 248s] | [ 248s] 1400 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1403:46 [ 248s] | [ 248s] 1403 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1404:59 [ 248s] | [ 248s] 1404 | Util::EnableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1405:32 [ 248s] | [ 248s] 1405 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1409:28 [ 248s] | [ 248s] 1409 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1415:46 [ 248s] | [ 248s] 1415 | fn handle_disable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1463:61 [ 248s] | [ 248s] 1463 | fn handle_disable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1475:40 [ 248s] | [ 248s] 1475 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1477:40 [ 248s] | [ 248s] 1477 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1484:36 [ 248s] | [ 248s] 1484 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1486:36 [ 248s] | [ 248s] 1486 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1496:36 [ 248s] | [ 248s] 1496 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1498:36 [ 248s] | [ 248s] 1498 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1504:28 [ 248s] | [ 248s] 1504 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1507:46 [ 248s] | [ 248s] 1507 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1508:60 [ 248s] | [ 248s] 1508 | Util::DisableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1509:32 [ 248s] | [ 248s] 1509 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1513:28 [ 248s] | [ 248s] 1513 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1535:25 [ 248s] | [ 248s] 1535 | let mut caller_uid: uid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1562:70 [ 248s] | [ 248s] 1562 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1588:25 [ 248s] | [ 248s] 1588 | let mut caller_uid: uid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1615:71 [ 248s] | [ 248s] 1615 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1673:74 [ 248s] | [ 248s] 1673 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1735:75 [ 248s] | [ 248s] 1735 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1765:25 [ 248s] | [ 248s] 1765 | let mut caller_uid: uid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1792:85 [ 248s] | [ 248s] 1792 | RequestResult::VAL(handle_enable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1818:25 [ 248s] | [ 248s] 1818 | let mut caller_uid: uid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1845:86 [ 248s] | [ 248s] 1845 | RequestResult::VAL(handle_disable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1863:40 [ 248s] | [ 248s] 1863 | Util::KillAppsInPkg(pkg_id, uid as uid_t) [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1873:25 [ 248s] | [ 248s] 1873 | let mut caller_pid: pid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1874:25 [ 248s] | [ 248s] 1874 | let mut caller_uid: uid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1985:25 [ 248s] | [ 248s] 1985 | let mut caller_pid: pid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:1986:25 [ 248s] | [ 248s] 1986 | let mut caller_uid: uid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:2035:25 [ 248s] | [ 248s] 2035 | let mut caller_pid: pid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:2036:25 [ 248s] | [ 248s] 2036 | let mut caller_uid: uid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:2083:54 [ 248s] | [ 248s] 2083 | Util::EnableGlobalAppSplashScreen(app_id, uid as uid_t) [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:2093:55 [ 248s] | [ 248s] 2093 | Util::DisableGlobalAppSplashScreen(app_id, uid as uid_t) [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:2105:25 [ 248s] | [ 248s] 2105 | let mut caller_pid: pid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:2106:25 [ 248s] | [ 248s] 2106 | let mut caller_uid: uid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:2137:102 [ 248s] | [ 248s] 2137 | RequestResult::DELAYED(generated_req_key, Util::update_app_label(app_id.as_ptr(), uid as uid_t , label.as_ptr())) [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:2155:25 [ 248s] | [ 248s] 2155 | let mut caller_pid: pid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:2156:25 [ 248s] | [ 248s] 2156 | let mut caller_uid: uid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:2187:101 [ 248s] | [ 248s] 2187 | RequestResult::DELAYED(generated_req_key, Util::update_app_icon(app_id.as_ptr(), uid as uid_t , icon_path.as_ptr())) [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:2312:25 [ 248s] | [ 248s] 2312 | let mut caller_uid: uid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:2313:25 [ 248s] | [ 248s] 2313 | let mut caller_pid: pid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:2383:25 [ 248s] | [ 248s] 2383 | let mut caller_uid: uid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:2384:25 [ 248s] | [ 248s] 2384 | let mut caller_pid: pid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:2453:25 [ 248s] | [ 248s] 2453 | let mut caller_uid: uid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:2454:25 [ 248s] | [ 248s] 2454 | let mut caller_pid: pid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:2532:25 [ 248s] | [ 248s] 2532 | let mut caller_uid: uid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:2622:41 [ 248s] | [ 248s] 2622 | if unsafe { check_valid_path(uid as uid_t, pkg_id, file_path) } != 0 { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:2681:19 [ 248s] | [ 248s] 2681 | pid: *mut pid_t, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/admin_service.rs:2682:19 [ 248s] | [ 248s] 2682 | uid: *mut uid_t [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 248s] | [ 248s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/backend_context.rs:3:33 [ 248s] | [ 248s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/cache_service.rs:12:26 [ 248s] | [ 248s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/cache_service.rs:12:33 [ 248s] | [ 248s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/cache_service.rs:23:14 [ 248s] | [ 248s] 23 | uid: uid_t, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/cache_service.rs:48:17 [ 248s] | [ 248s] 48 | target_uid: uid_t, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/cache_service.rs:53:25 [ 248s] | [ 248s] 53 | let mut caller_uid: uid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/cache_service.rs:106:19 [ 248s] | [ 248s] 106 | pid: *mut pid_t, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/cache_service.rs:107:19 [ 248s] | [ 248s] 107 | uid: *mut uid_t [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 248s] | [ 248s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/delayed_service.rs:13:33 [ 248s] | [ 248s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/info_service.rs:2:26 [ 248s] | [ 248s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/info_service.rs:2:33 [ 248s] | [ 248s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/info_service.rs:37:90 [ 248s] | [ 248s] 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... [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/info_service.rs:38:94 [ 248s] | [ 248s] 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... [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/info_service.rs:40:88 [ 248s] | [ 248s] 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... [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/info_service.rs:40:128 [ 248s] | [ 248s] 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... [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/info_service.rs:54:17 [ 248s] | [ 248s] 54 | target_uid: uid_t, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/info_service.rs:60:25 [ 248s] | [ 248s] 60 | let mut caller_pid: pid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/info_service.rs:61:25 [ 248s] | [ 248s] 61 | let mut caller_uid: uid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/info_service.rs:114:17 [ 248s] | [ 248s] 114 | target_uid: uid_t, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/info_service.rs:120:25 [ 248s] | [ 248s] 120 | let mut caller_pid: pid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/info_service.rs:121:25 [ 248s] | [ 248s] 121 | let mut caller_uid: uid_t = 0; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/info_service.rs:223:17 [ 248s] | [ 248s] 223 | target_uid: uid_t, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/info_service.rs:225:15 [ 248s] | [ 248s] 225 | pid: *mut pid_t, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/info_service.rs:228:43 [ 248s] | [ 248s] 228 | Util::check_app(pkg_id, target_uid as uid_t, pid) [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/info_service.rs:242:19 [ 248s] | [ 248s] 242 | pid: *mut pid_t, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/info_service.rs:243:19 [ 248s] | [ 248s] 243 | uid: *mut uid_t [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/signal.rs:2:26 [ 248s] | [ 248s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 248s] | [ 248s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/signal.rs:99:20 [ 248s] | [ 248s] 99 | const GLOBAL_USER: uid_t = 201; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/signal.rs:101:33 [ 248s] | [ 248s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/signal.rs:101:47 [ 248s] | [ 248s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/signal.rs:102:26 [ 248s] | [ 248s] 102 | let mut uid_vec: Vec = vec![]; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/signal.rs:110:28 [ 248s] | [ 248s] 110 | let mut uids: *mut uid_t = std::ptr::null_mut(); [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/signal.rs:124:14 [ 248s] | [ 248s] 124 | uid: uid_t, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/signal.rs:53:44 [ 248s] | [ 248s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/signal.rs:62:14 [ 248s] | [ 248s] 62 | uid: uid_t, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/signal.rs:86:14 [ 248s] | [ 248s] 86 | uid: uid_t, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/signal.rs:40:30 [ 248s] | [ 248s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 248s] | [ 248s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/signal.rs:44:45 [ 248s] | [ 248s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:4:26 [ 248s] | [ 248s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:4:33 [ 248s] | [ 248s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:22:21 [ 248s] | [ 248s] 22 | const REGULAR_USER: uid_t = 5000; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:23:20 [ 248s] | [ 248s] 23 | const GLOBAL_USER: uid_t = 201; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:25:18 [ 248s] | [ 248s] 25 | const APPFW_UID: uid_t = 301; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:307:36 [ 248s] | [ 248s] 307 | let uid : uid_t = user_data as uid_t; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:307:15 [ 248s] | [ 248s] 307 | let uid : uid_t = user_data as uid_t; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:326:81 [ 248s] | [ 248s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:326:93 [ 248s] | [ 248s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:326:25 [ 248s] | [ 248s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:326:37 [ 248s] | [ 248s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:389:57 [ 248s] | [ 248s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:420:55 [ 248s] | [ 248s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:686:62 [ 248s] | [ 248s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:696:63 [ 248s] | [ 248s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:706:44 [ 248s] | [ 248s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:706:63 [ 248s] | [ 248s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:728:49 [ 248s] | [ 248s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:738:50 [ 248s] | [ 248s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:747:55 [ 248s] | [ 248s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:757:56 [ 248s] | [ 248s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:766:61 [ 248s] | [ 248s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:775:62 [ 248s] | [ 248s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:784:67 [ 248s] | [ 248s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:793:68 [ 248s] | [ 248s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:802:54 [ 248s] | [ 248s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:802:64 [ 248s] | [ 248s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:813:47 [ 248s] | [ 248s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:835:53 [ 248s] | [ 248s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:855:25 [ 248s] | [ 248s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:983:69 [ 248s] | [ 248s] 983 | pub fn get_application_info_by_appid(appid: *const c_char, uid: uid_t) -> Option<(CString, bool)> { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:1012:41 [ 248s] | [ 248s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:1012:53 [ 248s] | [ 248s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:1029:71 [ 248s] | [ 248s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:1029:90 [ 248s] | [ 248s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:1076:56 [ 248s] | [ 248s] 1076 | pub fn update_app_label(appid: *const c_char, uid: uid_t, label: *const c_char) -> c_int { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:1080:55 [ 248s] | [ 248s] 1080 | pub fn update_app_icon(appid: *const c_char, uid: uid_t, icon_path: *const c_char) -> c_int { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:1108:49 [ 248s] | [ 248s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:1108:66 [ 248s] | [ 248s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:156:14 [ 248s] | [ 248s] 156 | uid: uid_t, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:166:14 [ 248s] | [ 248s] 166 | uid: uid_t, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:180:14 [ 248s] | [ 248s] 180 | uid: uid_t [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:185:14 [ 248s] | [ 248s] 185 | uid: uid_t [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:189:14 [ 248s] | [ 248s] 189 | uid: uid_t [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:194:14 [ 248s] | [ 248s] 194 | uid: uid_t, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:200:14 [ 248s] | [ 248s] 200 | uid: uid_t, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:206:14 [ 248s] | [ 248s] 206 | uid: uid_t, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:212:14 [ 248s] | [ 248s] 212 | uid: uid_t, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:218:14 [ 248s] | [ 248s] 218 | uid: uid_t, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:224:14 [ 248s] | [ 248s] 224 | uid: uid_t, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:237:32 [ 248s] | [ 248s] 237 | fn gum_user_get_sync(uid : uid_t, offline : c_int) -> *mut c_void; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:266:21 [ 248s] | [ 248s] 266 | caller_uid: uid_t [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:274:14 [ 248s] | [ 248s] 274 | uid: uid_t, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:40:30 [ 248s] | [ 248s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:40:37 [ 248s] | [ 248s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:46:18 [ 248s] | [ 248s] 46 | uid: uid_t, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:52:18 [ 248s] | [ 248s] 52 | uid: uid_t, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:67:18 [ 248s] | [ 248s] 67 | uid: uid_t, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:101:18 [ 248s] | [ 248s] 101 | uid: uid_t, [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:122:70 [ 248s] | [ 248s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:123:66 [ 248s] | [ 248s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:124:59 [ 248s] | [ 248s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/util.rs:125:97 [ 248s] | [ 248s] 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; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 248s] | [ 248s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 248s] | [ 248s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/test/signal_tests.rs:12:26 [ 248s] | [ 248s] 12 | let mut uid_vec: Vec = vec![]; [ 248s] | ^^^^^ [ 248s] [ 248s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 248s] --> ./src/pkgmgr/server/test/signal_tests.rs:19:26 [ 248s] | [ 248s] 19 | let mut uid_vec: Vec = vec![]; [ 248s] | ^^^^^ [ 248s] [ 251s] warning: unreachable expression [ 251s] --> ./src/pkgmgr/server/backend_queue.rs:64:5 [ 251s] | [ 251s] 61 | return G_SOURCE_CONTINUE; [ 251s] | ------------------------ any code following this expression is unreachable [ 251s] ... [ 251s] 64 | 1 [ 251s] | ^ unreachable expression [ 251s] | [ 251s] = note: `#[warn(unreachable_code)]` on by default [ 251s] [ 260s] warning: unused import: `super::super::super::server::service::Service` [ 260s] --> ./src/pkgmgr/server/test/info_service_tests.rs:3:5 [ 260s] | [ 260s] 3 | use super::super::super::server::service::Service; [ 260s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 260s] [ 260s] warning: unused variable: `context` [ 260s] --> ./src/pkgmgr/server/admin_service.rs:297:5 [ 260s] | [ 260s] 297 | context: *mut c_void, [ 260s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 260s] | [ 260s] = note: `#[warn(unused_variables)]` on by default [ 260s] [ 261s] warning: unused variable: `context` [ 261s] --> ./src/pkgmgr/server/admin_service.rs:306:5 [ 261s] | [ 261s] 306 | context: *mut c_void, [ 261s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 261s] [ 261s] warning: unused variable: `user_data` [ 261s] --> ./src/pkgmgr/server/admin_service.rs:307:5 [ 261s] | [ 261s] 307 | user_data: *mut c_void, [ 261s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 261s] [ 261s] warning: unused variable: `ret` [ 261s] --> ./src/pkgmgr/server/admin_service.rs:323:9 [ 261s] | [ 261s] 323 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 261s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 261s] [ 261s] warning: unused variable: `req_id` [ 261s] --> ./src/pkgmgr/server/admin_service.rs:318:5 [ 261s] | [ 261s] 318 | req_id: *const c_char, [ 261s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 261s] [ 261s] warning: variable does not need to be mutable [ 261s] --> ./src/pkgmgr/server/admin_service.rs:415:9 [ 261s] | [ 261s] 415 | let mut backend_context = BackendContext::new( [ 261s] | ----^^^^^^^^^^^^^^^ [ 261s] | | [ 261s] | help: remove this `mut` [ 261s] | [ 261s] = note: `#[warn(unused_mut)]` on by default [ 261s] [ 261s] warning: unused variable: `ret` [ 261s] --> ./src/pkgmgr/server/admin_service.rs:444:9 [ 261s] | [ 261s] 444 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 261s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 261s] [ 261s] warning: unused variable: `req_id` [ 261s] --> ./src/pkgmgr/server/admin_service.rs:434:5 [ 261s] | [ 261s] 434 | req_id: *const c_char, [ 261s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 261s] [ 261s] warning: variable does not need to be mutable [ 261s] --> ./src/pkgmgr/server/admin_service.rs:510:9 [ 261s] | [ 261s] 510 | let mut backend_context = BackendContext::new( [ 261s] | ----^^^^^^^^^^^^^^^ [ 261s] | | [ 261s] | help: remove this `mut` [ 261s] [ 261s] warning: unused variable: `ret` [ 261s] --> ./src/pkgmgr/server/admin_service.rs:549:9 [ 261s] | [ 261s] 549 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 261s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 261s] [ 261s] warning: variable does not need to be mutable [ 261s] --> ./src/pkgmgr/server/admin_service.rs:571:9 [ 261s] | [ 261s] 571 | let mut backend_context = BackendContext::new( [ 261s] | ----^^^^^^^^^^^^^^^ [ 261s] | | [ 261s] | help: remove this `mut` [ 261s] [ 261s] warning: unused variable: `ret` [ 261s] --> ./src/pkgmgr/server/admin_service.rs:596:9 [ 261s] | [ 261s] 596 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 261s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 261s] [ 261s] warning: unused variable: `req_id` [ 261s] --> ./src/pkgmgr/server/admin_service.rs:591:5 [ 261s] | [ 261s] 591 | req_id: *const c_char, [ 261s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 261s] [ 261s] warning: variable does not need to be mutable [ 261s] --> ./src/pkgmgr/server/admin_service.rs:688:9 [ 261s] | [ 261s] 688 | let mut backend_context = BackendContext::new( [ 261s] | ----^^^^^^^^^^^^^^^ [ 261s] | | [ 261s] | help: remove this `mut` [ 261s] [ 261s] warning: unused variable: `ret` [ 261s] --> ./src/pkgmgr/server/admin_service.rs:719:9 [ 261s] | [ 261s] 719 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 261s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 261s] [ 261s] warning: unused variable: `req_id` [ 261s] --> ./src/pkgmgr/server/admin_service.rs:706:5 [ 261s] | [ 261s] 706 | req_id: *const c_char, [ 261s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 261s] [ 261s] warning: variable does not need to be mutable [ 261s] --> ./src/pkgmgr/server/admin_service.rs:763:9 [ 261s] | [ 261s] 763 | let mut backend_context = BackendContext::new( [ 261s] | ----^^^^^^^^^^^^^^^ [ 261s] | | [ 261s] | help: remove this `mut` [ 261s] [ 261s] warning: unused variable: `ret` [ 261s] --> ./src/pkgmgr/server/admin_service.rs:802:9 [ 261s] | [ 261s] 802 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 261s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 261s] [ 261s] warning: variable does not need to be mutable [ 261s] --> ./src/pkgmgr/server/admin_service.rs:824:9 [ 261s] | [ 261s] 824 | let mut backend_context = BackendContext::new( [ 261s] | ----^^^^^^^^^^^^^^^ [ 261s] | | [ 261s] | help: remove this `mut` [ 261s] [ 261s] warning: unused variable: `ret` [ 261s] --> ./src/pkgmgr/server/admin_service.rs:854:9 [ 261s] | [ 261s] 854 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 261s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 261s] [ 261s] warning: variable does not need to be mutable [ 261s] --> ./src/pkgmgr/server/admin_service.rs:898:9 [ 261s] | [ 261s] 898 | let mut backend_context = BackendContext::new( [ 261s] | ----^^^^^^^^^^^^^^^ [ 261s] | | [ 261s] | help: remove this `mut` [ 261s] [ 261s] warning: unused variable: `ret` [ 261s] --> ./src/pkgmgr/server/admin_service.rs:938:9 [ 261s] | [ 261s] 938 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 261s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 261s] [ 261s] warning: variable does not need to be mutable [ 261s] --> ./src/pkgmgr/server/admin_service.rs:961:9 [ 261s] | [ 261s] 961 | let mut backend_context = BackendContext::new( [ 261s] | ----^^^^^^^^^^^^^^^ [ 261s] | | [ 261s] | help: remove this `mut` [ 261s] [ 261s] warning: unused variable: `ret` [ 261s] --> ./src/pkgmgr/server/admin_service.rs:991:9 [ 261s] | [ 261s] 991 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 261s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 261s] [ 261s] warning: variable does not need to be mutable [ 261s] --> ./src/pkgmgr/server/admin_service.rs:1038:17 [ 261s] | [ 261s] 1038 | let mut backend_context = BackendContext::new( [ 261s] | ----^^^^^^^^^^^^^^^ [ 261s] | | [ 261s] | help: remove this `mut` [ 261s] [ 261s] warning: unused variable: `ret` [ 261s] --> ./src/pkgmgr/server/admin_service.rs:1073:9 [ 261s] | [ 261s] 1073 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 261s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 261s] [ 261s] warning: variable does not need to be mutable [ 261s] --> ./src/pkgmgr/server/admin_service.rs:1123:17 [ 261s] | [ 261s] 1123 | let mut backend_context = BackendContext::new( [ 261s] | ----^^^^^^^^^^^^^^^ [ 261s] | | [ 261s] | help: remove this `mut` [ 261s] [ 261s] warning: unused variable: `pkg_id` [ 261s] --> ./src/pkgmgr/server/admin_service.rs:1186:9 [ 261s] | [ 261s] 1186 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) }); [ 261s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 261s] [ 261s] warning: variable does not need to be mutable [ 261s] --> ./src/pkgmgr/server/admin_service.rs:1180:9 [ 261s] | [ 261s] 1180 | let mut handle : *mut c_void = Util::CreatePkgUpdateInfo(pkg_id, version, update_type); [ 261s] | ----^^^^^^ [ 261s] | | [ 261s] | help: remove this `mut` [ 261s] [ 261s] warning: variable does not need to be mutable [ 261s] --> ./src/pkgmgr/server/admin_service.rs:1190:9 [ 261s] | [ 261s] 1190 | let mut backend_context = BackendContext::new( [ 261s] | ----^^^^^^^^^^^^^^^ [ 261s] | | [ 261s] | help: remove this `mut` [ 261s] [ 261s] warning: variable does not need to be mutable [ 261s] --> ./src/pkgmgr/server/admin_service.rs:1248:9 [ 261s] | [ 261s] 1248 | let mut backend_context = BackendContext::new( [ 261s] | ----^^^^^^^^^^^^^^^ [ 261s] | | [ 261s] | help: remove this `mut` [ 261s] [ 261s] warning: variable does not need to be mutable [ 261s] --> ./src/pkgmgr/server/admin_service.rs:1297:9 [ 261s] | [ 261s] 1297 | let mut backend_context = BackendContext::new( [ 261s] | ----^^^^^^^^^^^^^^^ [ 261s] | | [ 261s] | help: remove this `mut` [ 261s] [ 261s] warning: unused variable: `is_global` [ 261s] --> ./src/pkgmgr/server/admin_service.rs:1321:17 [ 261s] | [ 261s] 1321 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 261s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 261s] [ 261s] warning: unused variable: `is_global` [ 261s] --> ./src/pkgmgr/server/admin_service.rs:1368:17 [ 261s] | [ 261s] 1368 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 261s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 261s] [ 261s] warning: unused variable: `is_global` [ 261s] --> ./src/pkgmgr/server/admin_service.rs:1424:17 [ 261s] | [ 261s] 1424 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 261s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 261s] [ 261s] warning: unused variable: `is_global` [ 261s] --> ./src/pkgmgr/server/admin_service.rs:1472:17 [ 261s] | [ 261s] 1472 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 261s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 261s] [ 261s] warning: unused variable: `caller_uid` [ 261s] --> ./src/pkgmgr/server/admin_service.rs:1535:13 [ 261s] | [ 261s] 1535 | let mut caller_uid: uid_t = 0; [ 261s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 261s] [ 261s] warning: unused variable: `context` [ 261s] --> ./src/pkgmgr/server/admin_service.rs:1521:5 [ 261s] | [ 261s] 1521 | context: *mut c_void, [ 261s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 261s] [ 262s] warning: variable does not need to be mutable [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1535:9 [ 262s] | [ 262s] 1535 | let mut caller_uid: uid_t = 0; [ 262s] | ----^^^^^^^^^^ [ 262s] | | [ 262s] | help: remove this `mut` [ 262s] [ 262s] warning: variable does not need to be mutable [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1558:13 [ 262s] | [ 262s] 1558 | let mut backend_context = BackendContext::new( [ 262s] | ----^^^^^^^^^^^^^^^ [ 262s] | | [ 262s] | help: remove this `mut` [ 262s] [ 262s] warning: unused variable: `caller_uid` [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1588:13 [ 262s] | [ 262s] 1588 | let mut caller_uid: uid_t = 0; [ 262s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 262s] [ 262s] warning: unused variable: `context` [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1574:5 [ 262s] | [ 262s] 1574 | context: *mut c_void, [ 262s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 262s] [ 262s] warning: variable does not need to be mutable [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1588:9 [ 262s] | [ 262s] 1588 | let mut caller_uid: uid_t = 0; [ 262s] | ----^^^^^^^^^^ [ 262s] | | [ 262s] | help: remove this `mut` [ 262s] [ 262s] warning: variable does not need to be mutable [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1611:13 [ 262s] | [ 262s] 1611 | let mut backend_context = BackendContext::new( [ 262s] | ----^^^^^^^^^^^^^^^ [ 262s] | | [ 262s] | help: remove this `mut` [ 262s] [ 262s] warning: unused variable: `context` [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1627:5 [ 262s] | [ 262s] 1627 | context: *mut c_void, [ 262s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 262s] [ 262s] warning: variable does not need to be mutable [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1669:17 [ 262s] | [ 262s] 1669 | let mut backend_context = BackendContext::new( [ 262s] | ----^^^^^^^^^^^^^^^ [ 262s] | | [ 262s] | help: remove this `mut` [ 262s] [ 262s] warning: unused variable: `context` [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1689:5 [ 262s] | [ 262s] 1689 | context: *mut c_void, [ 262s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 262s] [ 262s] warning: variable does not need to be mutable [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1731:17 [ 262s] | [ 262s] 1731 | let mut backend_context = BackendContext::new( [ 262s] | ----^^^^^^^^^^^^^^^ [ 262s] | | [ 262s] | help: remove this `mut` [ 262s] [ 262s] warning: unused variable: `caller_uid` [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1765:13 [ 262s] | [ 262s] 1765 | let mut caller_uid: uid_t = 0; [ 262s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 262s] [ 262s] warning: unused variable: `context` [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1751:5 [ 262s] | [ 262s] 1751 | context: *mut c_void, [ 262s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 262s] [ 262s] warning: variable does not need to be mutable [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1765:9 [ 262s] | [ 262s] 1765 | let mut caller_uid: uid_t = 0; [ 262s] | ----^^^^^^^^^^ [ 262s] | | [ 262s] | help: remove this `mut` [ 262s] [ 262s] warning: variable does not need to be mutable [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1788:13 [ 262s] | [ 262s] 1788 | let mut backend_context = BackendContext::new( [ 262s] | ----^^^^^^^^^^^^^^^ [ 262s] | | [ 262s] | help: remove this `mut` [ 262s] [ 262s] warning: unused variable: `caller_uid` [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1818:13 [ 262s] | [ 262s] 1818 | let mut caller_uid: uid_t = 0; [ 262s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 262s] [ 262s] warning: unused variable: `context` [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1804:5 [ 262s] | [ 262s] 1804 | context: *mut c_void, [ 262s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 262s] [ 262s] warning: variable does not need to be mutable [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1818:9 [ 262s] | [ 262s] 1818 | let mut caller_uid: uid_t = 0; [ 262s] | ----^^^^^^^^^^ [ 262s] | | [ 262s] | help: remove this `mut` [ 262s] [ 262s] warning: variable does not need to be mutable [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1841:13 [ 262s] | [ 262s] 1841 | let mut backend_context = BackendContext::new( [ 262s] | ----^^^^^^^^^^^^^^^ [ 262s] | | [ 262s] | help: remove this `mut` [ 262s] [ 262s] warning: unused variable: `context` [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1857:5 [ 262s] | [ 262s] 1857 | context: *mut c_void, [ 262s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 262s] [ 262s] warning: unused variable: `pid` [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1860:5 [ 262s] | [ 262s] 1860 | pid: *mut c_int, [ 262s] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [ 262s] [ 262s] warning: unused variable: `user_data` [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1861:5 [ 262s] | [ 262s] 1861 | user_data: *mut c_void, [ 262s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 262s] [ 262s] warning: variable does not need to be mutable [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1900:9 [ 262s] | [ 262s] 1900 | let mut backend_context = BackendContext::new( [ 262s] | ----^^^^^^^^^^^^^^^ [ 262s] | | [ 262s] | help: remove this `mut` [ 262s] [ 262s] warning: unused variable: `context` [ 262s] --> ./src/pkgmgr/server/admin_service.rs:1932:5 [ 262s] | [ 262s] 1932 | context: *mut c_void, [ 262s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 262s] [ 262s] warning: variable does not need to be mutable [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2012:9 [ 262s] | [ 262s] 2012 | let mut backend_context = BackendContext::new( [ 262s] | ----^^^^^^^^^^^^^^^ [ 262s] | | [ 262s] | help: remove this `mut` [ 262s] [ 262s] warning: variable does not need to be mutable [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2063:9 [ 262s] | [ 262s] 2063 | let mut backend_context = BackendContext::new( [ 262s] | ----^^^^^^^^^^^^^^^ [ 262s] | | [ 262s] | help: remove this `mut` [ 262s] [ 262s] warning: unused variable: `context` [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2078:5 [ 262s] | [ 262s] 2078 | context: *mut c_void, [ 262s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 262s] [ 262s] warning: unused variable: `user_data` [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2081:5 [ 262s] | [ 262s] 2081 | user_data: *mut c_void, [ 262s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 262s] [ 262s] warning: unused variable: `context` [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2088:5 [ 262s] | [ 262s] 2088 | context: *mut c_void, [ 262s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 262s] [ 262s] warning: unused variable: `user_data` [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2091:5 [ 262s] | [ 262s] 2091 | user_data: *mut c_void, [ 262s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 262s] [ 262s] warning: variable does not need to be mutable [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2133:9 [ 262s] | [ 262s] 2133 | let mut backend_context = BackendContext::new( [ 262s] | ----^^^^^^^^^^^^^^^ [ 262s] | | [ 262s] | help: remove this `mut` [ 262s] [ 262s] warning: variable does not need to be mutable [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2183:9 [ 262s] | [ 262s] 2183 | let mut backend_context = BackendContext::new( [ 262s] | ----^^^^^^^^^^^^^^^ [ 262s] | | [ 262s] | help: remove this `mut` [ 262s] [ 262s] warning: unused variable: `context` [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2198:5 [ 262s] | [ 262s] 2198 | context: *mut c_void, [ 262s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 262s] [ 262s] warning: unused variable: `uid` [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2199:5 [ 262s] | [ 262s] 2199 | uid: c_int, [ 262s] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [ 262s] [ 262s] warning: unused variable: `pkg_id` [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2200:5 [ 262s] | [ 262s] 2200 | pkg_id: *const c_char, [ 262s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 262s] [ 262s] warning: unused variable: `user_data` [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2201:5 [ 262s] | [ 262s] 2201 | user_data: *mut c_void, [ 262s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 262s] [ 262s] warning: variable does not need to be mutable [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2364:9 [ 262s] | [ 262s] 2364 | let mut backend_context = BackendContext::new( [ 262s] | ----^^^^^^^^^^^^^^^ [ 262s] | | [ 262s] | help: remove this `mut` [ 262s] [ 262s] warning: variable does not need to be mutable [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2434:9 [ 262s] | [ 262s] 2434 | let mut backend_context = BackendContext::new( [ 262s] | ----^^^^^^^^^^^^^^^ [ 262s] | | [ 262s] | help: remove this `mut` [ 262s] [ 262s] warning: variable does not need to be mutable [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2504:9 [ 262s] | [ 262s] 2504 | let mut backend_context = BackendContext::new( [ 262s] | ----^^^^^^^^^^^^^^^ [ 262s] | | [ 262s] | help: remove this `mut` [ 262s] [ 262s] warning: unused variable: `ret` [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2533:9 [ 262s] | [ 262s] 2533 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 262s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 262s] [ 262s] warning: variable does not need to be mutable [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2552:9 [ 262s] | [ 262s] 2552 | let mut backend_context = BackendContext::new( [ 262s] | ----^^^^^^^^^^^^^^^ [ 262s] | | [ 262s] | help: remove this `mut` [ 262s] [ 262s] warning: unused variable: `context` [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2567:5 [ 262s] | [ 262s] 2567 | context: *mut c_void, [ 262s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 262s] [ 262s] warning: variable does not need to be mutable [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2597:9 [ 262s] | [ 262s] 2597 | let mut backend_context = BackendContext::new( [ 262s] | ----^^^^^^^^^^^^^^^ [ 262s] | | [ 262s] | help: remove this `mut` [ 262s] [ 262s] warning: unused variable: `context` [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2612:5 [ 262s] | [ 262s] 2612 | context: *mut c_void, [ 262s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 262s] [ 262s] warning: variable does not need to be mutable [ 262s] --> ./src/pkgmgr/server/admin_service.rs:2656:9 [ 262s] | [ 262s] 2656 | let mut backend_context = BackendContext::new( [ 262s] | ----^^^^^^^^^^^^^^^ [ 262s] | | [ 262s] | help: remove this `mut` [ 262s] [ 262s] warning: unused variable: `status` [ 262s] --> ./src/pkgmgr/server/backend_queue.rs:38:17 [ 262s] | [ 262s] 38 | let mut status: c_int; [ 262s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [ 262s] [ 262s] warning: unused variable: `io` [ 262s] --> ./src/pkgmgr/server/backend_queue.rs:30:33 [ 262s] | [ 262s] 30 | extern "C" fn signal_handler_cb(io: *mut glib_sys::GIOChannel, [ 262s] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [ 262s] [ 262s] warning: unused variable: `cond` [ 262s] --> ./src/pkgmgr/server/backend_queue.rs:31:9 [ 262s] | [ 262s] 31 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 262s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 262s] [ 262s] warning: variable does not need to be mutable [ 262s] --> ./src/pkgmgr/server/backend_queue.rs:71:9 [ 262s] | [ 262s] 71 | let mut mut_queue = queue.borrow_mut(); [ 262s] | ----^^^^^^^^^ [ 262s] | | [ 262s] | help: remove this `mut` [ 262s] [ 262s] warning: variable does not need to be mutable [ 262s] --> ./src/pkgmgr/server/backend_queue.rs:189:28 [ 262s] | [ 262s] 189 | pub fn push(&mut self, mut context: BackendContext) -> i32 { [ 262s] | ----^^^^^^^ [ 262s] | | [ 262s] | help: remove this `mut` [ 262s] [ 263s] warning: unused variable: `req_key` [ 263s] --> ./src/pkgmgr/server/backend_queue.rs:296:41 [ 263s] | [ 263s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 263s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_key` [ 263s] [ 263s] warning: unused variable: `ret` [ 263s] --> ./src/pkgmgr/server/backend_queue.rs:296:50 [ 263s] | [ 263s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 263s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 263s] [ 263s] warning: unused variable: `s` [ 263s] --> ./src/pkgmgr/server/backend_queue.rs:296:55 [ 263s] | [ 263s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 263s] | ^ help: if this is intentional, prefix it with an underscore: `_s` [ 263s] [ 263s] warning: variable does not need to be mutable [ 263s] --> ./src/pkgmgr/server/backend_queue.rs:278:25 [ 263s] | [ 263s] 278 | let mut backend: &mut Backend = backend.unwrap(); [ 263s] | ----^^^^^^^ [ 263s] | | [ 263s] | help: remove this `mut` [ 263s] [ 263s] warning: unused variable: `context` [ 263s] --> ./src/pkgmgr/server/cache_service.rs:31:5 [ 263s] | [ 263s] 31 | context: *mut c_void, [ 263s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 263s] [ 263s] warning: unused variable: `context` [ 263s] --> ./src/pkgmgr/server/cache_service.rs:40:5 [ 263s] | [ 263s] 40 | context: *mut c_void, [ 263s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 263s] [ 263s] warning: unused variable: `user_data` [ 263s] --> ./src/pkgmgr/server/cache_service.rs:41:5 [ 263s] | [ 263s] 41 | user_data: *mut c_void, [ 263s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 263s] [ 263s] warning: unused variable: `ret` [ 263s] --> ./src/pkgmgr/server/cache_service.rs:54:9 [ 263s] | [ 263s] 54 | let ret = unsafe { rpc_port_stub_PkgMgrForClearCache_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 263s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 263s] [ 263s] warning: value assigned to `pkg_type` is never read [ 263s] --> ./src/pkgmgr/server/cache_service.rs:63:13 [ 263s] | [ 263s] 63 | let mut pkg_type: String = String::new(); [ 263s] | ^^^^^^^^ [ 263s] | [ 263s] = help: maybe it is overwritten before being read? [ 263s] = note: `#[warn(unused_assignments)]` on by default [ 263s] [ 263s] warning: variable does not need to be mutable [ 263s] --> ./src/pkgmgr/server/cache_service.rs:83:9 [ 263s] | [ 263s] 83 | let mut backend_context = BackendContext::new( [ 263s] | ----^^^^^^^^^^^^^^^ [ 263s] | | [ 263s] | help: remove this `mut` [ 263s] [ 263s] warning: unused variable: `context` [ 263s] --> ./src/pkgmgr/server/delayed_service.rs:32:5 [ 263s] | [ 263s] 32 | context: *mut c_void, [ 263s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 263s] [ 263s] warning: unused variable: `context` [ 263s] --> ./src/pkgmgr/server/delayed_service.rs:41:5 [ 263s] | [ 263s] 41 | context: *mut c_void, [ 263s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 263s] [ 263s] warning: unused variable: `user_data` [ 263s] --> ./src/pkgmgr/server/delayed_service.rs:42:5 [ 263s] | [ 263s] 42 | user_data: *mut c_void, [ 263s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 263s] [ 263s] warning: unused variable: `context` [ 263s] --> ./src/pkgmgr/server/delayed_service.rs:48:5 [ 263s] | [ 263s] 48 | context: *mut c_void, [ 263s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 263s] [ 263s] warning: unused variable: `context` [ 263s] --> ./src/pkgmgr/server/info_service.rs:43:55 [ 263s] | [ 263s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 263s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 263s] [ 263s] warning: unused variable: `context` [ 263s] --> ./src/pkgmgr/server/info_service.rs:48:58 [ 263s] | [ 263s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 263s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 263s] [ 263s] warning: unused variable: `user_data` [ 263s] --> ./src/pkgmgr/server/info_service.rs:48:80 [ 263s] | [ 263s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 263s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 263s] [ 263s] warning: variable does not need to be mutable [ 263s] --> ./src/pkgmgr/server/info_service.rs:98:9 [ 263s] | [ 263s] 98 | let mut backend_context = BackendContext::new( [ 263s] | ----^^^^^^^^^^^^^^^ [ 263s] | | [ 263s] | help: remove this `mut` [ 263s] [ 263s] warning: variable does not need to be mutable [ 263s] --> ./src/pkgmgr/server/info_service.rs:160:9 [ 263s] | [ 263s] 160 | let mut backend_context = BackendContext::new( [ 263s] | ----^^^^^^^^^^^^^^^ [ 263s] | | [ 263s] | help: remove this `mut` [ 263s] [ 263s] warning: unused variable: `context` [ 263s] --> ./src/pkgmgr/server/info_service.rs:195:5 [ 263s] | [ 263s] 195 | context: *mut c_void, [ 263s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 263s] [ 263s] warning: unused variable: `context` [ 263s] --> ./src/pkgmgr/server/info_service.rs:222:5 [ 263s] | [ 263s] 222 | context: *mut c_void, [ 263s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 263s] [ 263s] warning: unused variable: `user_data` [ 263s] --> ./src/pkgmgr/server/info_service.rs:226:5 [ 263s] | [ 263s] 226 | user_data: *mut c_void [ 263s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 263s] [ 264s] warning: variable does not need to be mutable [ 264s] --> ./src/pkgmgr/server/signal.rs:144:13 [ 264s] | [ 264s] 144 | let mut c_req_type: c_int; [ 264s] | ----^^^^^^^^^^ [ 264s] | | [ 264s] | help: remove this `mut` [ 264s] [ 273s] warning: value assigned to `size_result` is never read [ 273s] --> ./src/pkgmgr/server/util.rs:351:17 [ 273s] | [ 273s] 351 | let mut size_result: i64 = -1; [ 273s] | ^^^^^^^^^^^ [ 273s] | [ 273s] = help: maybe it is overwritten before being read? [ 273s] [ 273s] warning: unused variable: `cond` [ 273s] --> ./src/pkgmgr/server/util.rs:341:9 [ 273s] | [ 273s] 341 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 273s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 273s] [ 273s] warning: value assigned to `ret` is never read [ 273s] --> ./src/pkgmgr/server/util.rs:425:21 [ 273s] | [ 273s] 425 | let mut ret: c_int = 0; [ 273s] | ^^^ [ 273s] | [ 273s] = help: maybe it is overwritten before being read? [ 273s] [ 273s] warning: unreachable pattern [ 273s] --> ./src/pkgmgr/server/util.rs:478:17 [ 273s] | [ 273s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 273s] | -------------------------------------- matches any value [ 273s] ... [ 273s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 273s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 273s] | [ 273s] = note: `#[warn(unreachable_patterns)]` on by default [ 273s] [ 273s] warning: unreachable pattern [ 273s] --> ./src/pkgmgr/server/util.rs:483:17 [ 273s] | [ 273s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 273s] | -------------------------------------- matches any value [ 273s] ... [ 273s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 273s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 273s] [ 273s] warning: unreachable pattern [ 273s] --> ./src/pkgmgr/server/util.rs:488:17 [ 273s] | [ 273s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 273s] | -------------------------------------- matches any value [ 273s] ... [ 273s] 488 | _ => { [ 273s] | ^ unreachable pattern [ 273s] [ 273s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 273s] --> ./src/pkgmgr/server/util.rs:473:17 [ 273s] | [ 273s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 273s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 273s] [ 273s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_TEXT` [ 273s] --> ./src/pkgmgr/server/util.rs:478:17 [ 273s] | [ 273s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 273s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_TEXT` [ 273s] [ 273s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 273s] --> ./src/pkgmgr/server/util.rs:483:17 [ 273s] | [ 273s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 273s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 273s] [ 273s] warning: variable does not need to be mutable [ 273s] --> ./src/pkgmgr/server/util.rs:519:13 [ 273s] | [ 273s] 519 | let mut attr = xmlTextReaderGetAttribute(reader, RES_TYPE_ATTRIBUTE_KEY.as_ptr()); [ 273s] | ----^^^^ [ 273s] | | [ 273s] | help: remove this `mut` [ 273s] [ 273s] warning: variable does not need to be mutable [ 273s] --> ./src/pkgmgr/server/util.rs:588:13 [ 273s] | [ 273s] 588 | let mut reader = [ 273s] | ----^^^^^^ [ 273s] | | [ 273s] | help: remove this `mut` [ 273s] [ 273s] warning: unused variable: `gid` [ 273s] --> ./src/pkgmgr/server/util.rs:891:52 [ 273s] | [ 273s] 891 | fn set_environment(mut envs: Vec<&mut String>, gid: libc::gid_t) -> bool { [ 273s] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [ 273s] [ 273s] warning: unused variable: `x` [ 273s] --> ./src/pkgmgr/server/test/util_tests.rs:15:38 [ 273s] | [ 273s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 273s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 273s] [ 273s] warning: unused variable: `y` [ 273s] --> ./src/pkgmgr/server/test/util_tests.rs:15:40 [ 273s] | [ 273s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 273s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 273s] [ 273s] warning: unused variable: `z` [ 273s] --> ./src/pkgmgr/server/test/util_tests.rs:15:42 [ 273s] | [ 273s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 273s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 273s] [ 273s] warning: unused variable: `x` [ 273s] --> ./src/pkgmgr/server/test/util_tests.rs:22:38 [ 273s] | [ 273s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 273s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 273s] [ 273s] warning: unused variable: `y` [ 273s] --> ./src/pkgmgr/server/test/util_tests.rs:22:40 [ 273s] | [ 273s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 273s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 273s] [ 273s] warning: unused variable: `z` [ 273s] --> ./src/pkgmgr/server/test/util_tests.rs:22:42 [ 273s] | [ 273s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 273s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 273s] [ 273s] warning: unused variable: `x` [ 273s] --> ./src/pkgmgr/server/test/util_tests.rs:29:38 [ 273s] | [ 273s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 273s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 273s] [ 273s] warning: unused variable: `y` [ 273s] --> ./src/pkgmgr/server/test/util_tests.rs:29:40 [ 273s] | [ 273s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 273s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 273s] [ 273s] warning: unused variable: `z` [ 273s] --> ./src/pkgmgr/server/test/util_tests.rs:29:42 [ 273s] | [ 273s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 273s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 273s] [ 273s] warning: unused variable: `x` [ 273s] --> ./src/pkgmgr/server/test/util_tests.rs:31:39 [ 273s] | [ 273s] 31 | ctx2.expect().times(1).returning(|x,y| 1); [ 273s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 273s] [ 273s] warning: unused variable: `y` [ 273s] --> ./src/pkgmgr/server/test/util_tests.rs:31:41 [ 273s] | [ 273s] 31 | ctx2.expect().times(1).returning(|x,y| 1); [ 273s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 273s] [ 273s] warning: unused variable: `x` [ 273s] --> ./src/pkgmgr/server/test/util_tests.rs:38:38 [ 273s] | [ 273s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 273s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 273s] [ 273s] warning: unused variable: `y` [ 273s] --> ./src/pkgmgr/server/test/util_tests.rs:38:40 [ 273s] | [ 273s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 273s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 273s] [ 273s] warning: unused variable: `z` [ 273s] --> ./src/pkgmgr/server/test/util_tests.rs:38:42 [ 273s] | [ 273s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 273s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 273s] [ 273s] warning: unused variable: `x` [ 273s] --> ./src/pkgmgr/server/test/util_tests.rs:40:39 [ 273s] | [ 273s] 40 | ctx2.expect().times(1).returning(|x,y: *mut bool| { [ 273s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 273s] [ 273s] warning: unused variable: `x` [ 273s] --> ./src/pkgmgr/server/test/util_tests.rs:45:40 [ 273s] | [ 273s] 45 | ctx_d.expect().times(1).returning(|x| 0); [ 273s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 273s] [ 273s] warning: unused variable: `x` [ 273s] --> ./src/pkgmgr/server/test/util_tests.rs:52:38 [ 273s] | [ 273s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 273s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 273s] [ 273s] warning: unused variable: `y` [ 273s] --> ./src/pkgmgr/server/test/util_tests.rs:52:40 [ 273s] | [ 273s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 273s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 273s] [ 273s] warning: unused variable: `z` [ 273s] --> ./src/pkgmgr/server/test/util_tests.rs:52:42 [ 273s] | [ 273s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 273s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 273s] [ 273s] warning: unused variable: `x` [ 273s] --> ./src/pkgmgr/server/test/util_tests.rs:54:39 [ 273s] | [ 273s] 54 | ctx2.expect().times(1).returning(|x,y: *mut bool| { [ 273s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 273s] [ 273s] warning: unused variable: `x` [ 273s] --> ./src/pkgmgr/server/test/util_tests.rs:59:40 [ 273s] | [ 273s] 59 | ctx_d.expect().times(1).returning(|x| 0); [ 273s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 273s] [ 273s] warning: unused variable: `x` [ 273s] --> ./src/pkgmgr/server/test/util_tests.rs:67:38 [ 273s] | [ 273s] 67 | ctx.expect().times(1).returning(|x,y| 0); [ 273s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 273s] [ 273s] warning: unused variable: `y` [ 273s] --> ./src/pkgmgr/server/test/util_tests.rs:67:40 [ 273s] | [ 273s] 67 | ctx.expect().times(1).returning(|x,y| 0); [ 273s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 273s] [ 273s] warning: unused variable: `x` [ 273s] --> ./src/pkgmgr/server/test/util_tests.rs:74:38 [ 273s] | [ 273s] 74 | ctx.expect().times(1).returning(|x,y| 1); [ 273s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 273s] [ 273s] warning: unused variable: `y` [ 273s] --> ./src/pkgmgr/server/test/util_tests.rs:74:40 [ 273s] | [ 273s] 74 | ctx.expect().times(1).returning(|x,y| 1); [ 273s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 273s] [ 273s] warning: unused variable: `x` [ 273s] --> ./src/pkgmgr/server/test/util_tests.rs:76:39 [ 273s] | [ 273s] 76 | ctx2.expect().times(1).returning(|x,y| -1); [ 273s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 273s] [ 273s] warning: unused variable: `y` [ 273s] --> ./src/pkgmgr/server/test/util_tests.rs:76:41 [ 273s] | [ 273s] 76 | ctx2.expect().times(1).returning(|x,y| -1); [ 273s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 273s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:83:38 [ 274s] | [ 274s] 83 | ctx.expect().times(1).returning(|x,y| 1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `y` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:83:40 [ 274s] | [ 274s] 83 | ctx.expect().times(1).returning(|x,y| 1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:85:39 [ 274s] | [ 274s] 85 | ctx2.expect().times(1).returning(|x,y| 1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `y` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:85:41 [ 274s] | [ 274s] 85 | ctx2.expect().times(1).returning(|x,y| 1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:87:39 [ 274s] | [ 274s] 87 | ctx3.expect().times(1).returning(|x,y| 1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `y` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:87:41 [ 274s] | [ 274s] 87 | ctx3.expect().times(1).returning(|x,y| 1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:94:38 [ 274s] | [ 274s] 94 | ctx.expect().times(1).returning(|x,y| 1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `y` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:94:40 [ 274s] | [ 274s] 94 | ctx.expect().times(1).returning(|x,y| 1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:96:39 [ 274s] | [ 274s] 96 | ctx2.expect().times(1).returning(|x,y| 1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `y` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:96:41 [ 274s] | [ 274s] 96 | ctx2.expect().times(1).returning(|x,y| 1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:98:39 [ 274s] | [ 274s] 98 | ctx3.expect().times(1).returning(|x,y| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `y` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:98:41 [ 274s] | [ 274s] 98 | ctx3.expect().times(1).returning(|x,y| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:106:38 [ 274s] | [ 274s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `y` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:106:40 [ 274s] | [ 274s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 274s] [ 274s] warning: unused variable: `z` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:106:42 [ 274s] | [ 274s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:113:38 [ 274s] | [ 274s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `y` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:113:40 [ 274s] | [ 274s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 274s] [ 274s] warning: unused variable: `z` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:113:42 [ 274s] | [ 274s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:115:39 [ 274s] | [ 274s] 115 | ctx2.expect().times(1).returning(|x,y| 1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `y` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:115:41 [ 274s] | [ 274s] 115 | ctx2.expect().times(1).returning(|x,y| 1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:117:39 [ 274s] | [ 274s] 117 | ctx3.expect().times(1).returning(|x| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:124:38 [ 274s] | [ 274s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `y` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:124:40 [ 274s] | [ 274s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 274s] [ 274s] warning: unused variable: `z` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:124:42 [ 274s] | [ 274s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:126:39 [ 274s] | [ 274s] 126 | ctx2.expect().times(1).returning(|x,y| { [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:131:39 [ 274s] | [ 274s] 131 | ctx3.expect().times(1).returning(|x| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:138:38 [ 274s] | [ 274s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `y` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:138:40 [ 274s] | [ 274s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 274s] [ 274s] warning: unused variable: `z` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:138:42 [ 274s] | [ 274s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:140:39 [ 274s] | [ 274s] 140 | ctx2.expect().times(1).returning(|x,y| { [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:145:39 [ 274s] | [ 274s] 145 | ctx3.expect().times(1).returning(|x| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:153:38 [ 274s] | [ 274s] 153 | ctx.expect().times(1).returning(|x| 1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:160:38 [ 274s] | [ 274s] 160 | ctx.expect().times(1).returning(|x| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:162:39 [ 274s] | [ 274s] 162 | ctx2.expect().times(1).returning(|x,y| 1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `y` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:162:41 [ 274s] | [ 274s] 162 | ctx2.expect().times(1).returning(|x,y| 1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:164:40 [ 274s] | [ 274s] 164 | ctx_d.expect().times(1).returning(|x| -1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:171:38 [ 274s] | [ 274s] 171 | ctx.expect().times(1).returning(|x| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:173:39 [ 274s] | [ 274s] 173 | ctx2.expect().times(1).returning(|x,y| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `y` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:173:41 [ 274s] | [ 274s] 173 | ctx2.expect().times(1).returning(|x,y| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:175:39 [ 274s] | [ 274s] 175 | ctx3.expect().times(1).returning(|x,y| 1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `y` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:175:41 [ 274s] | [ 274s] 175 | ctx3.expect().times(1).returning(|x,y| 1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:177:40 [ 274s] | [ 274s] 177 | ctx_d.expect().times(1).returning(|x| -1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:184:38 [ 274s] | [ 274s] 184 | ctx.expect().times(1).returning(|x| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:186:39 [ 274s] | [ 274s] 186 | ctx2.expect().times(1).returning(|x,y| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `y` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:186:41 [ 274s] | [ 274s] 186 | ctx2.expect().times(1).returning(|x,y| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:188:39 [ 274s] | [ 274s] 188 | ctx3.expect().times(1).returning(|x,y| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `y` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:188:41 [ 274s] | [ 274s] 188 | ctx3.expect().times(1).returning(|x,y| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:190:39 [ 274s] | [ 274s] 190 | ctx4.expect().times(1).returning(|x,y| 1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `y` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:190:41 [ 274s] | [ 274s] 190 | ctx4.expect().times(1).returning(|x,y| 1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:192:40 [ 274s] | [ 274s] 192 | ctx_d.expect().times(1).returning(|x| -1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:199:38 [ 274s] | [ 274s] 199 | ctx.expect().times(1).returning(|x| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:201:39 [ 274s] | [ 274s] 201 | ctx2.expect().times(1).returning(|x,y| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `y` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:201:41 [ 274s] | [ 274s] 201 | ctx2.expect().times(1).returning(|x,y| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:203:39 [ 274s] | [ 274s] 203 | ctx3.expect().times(1).returning(|x,y| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `y` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:203:41 [ 274s] | [ 274s] 203 | ctx3.expect().times(1).returning(|x,y| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:205:39 [ 274s] | [ 274s] 205 | ctx4.expect().times(1).returning(|x,y| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `y` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:205:41 [ 274s] | [ 274s] 205 | ctx4.expect().times(1).returning(|x,y| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:213:38 [ 274s] | [ 274s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `y` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:213:40 [ 274s] | [ 274s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 274s] [ 274s] warning: unused variable: `z` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:213:42 [ 274s] | [ 274s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:220:38 [ 274s] | [ 274s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `y` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:220:40 [ 274s] | [ 274s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 274s] [ 274s] warning: unused variable: `z` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:220:42 [ 274s] | [ 274s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:222:39 [ 274s] | [ 274s] 222 | ctx2.expect().times(1).returning(|x,y| 1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `y` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:222:41 [ 274s] | [ 274s] 222 | ctx2.expect().times(1).returning(|x,y| 1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:224:40 [ 274s] | [ 274s] 224 | ctx_d.expect().times(1).returning(|x| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:231:38 [ 274s] | [ 274s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `y` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:231:40 [ 274s] | [ 274s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 274s] [ 274s] warning: unused variable: `z` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:231:42 [ 274s] | [ 274s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:233:39 [ 274s] | [ 274s] 233 | ctx2.expect().times(1).returning(|x,y| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `y` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:233:41 [ 274s] | [ 274s] 233 | ctx2.expect().times(1).returning(|x,y| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:235:39 [ 274s] | [ 274s] 235 | ctx3.expect().times(1).returning(|x,y| 1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `y` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:235:41 [ 274s] | [ 274s] 235 | ctx3.expect().times(1).returning(|x,y| 1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:237:40 [ 274s] | [ 274s] 237 | ctx_d.expect().times(1).returning(|x| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:244:38 [ 274s] | [ 274s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `y` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:244:40 [ 274s] | [ 274s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 274s] [ 274s] warning: unused variable: `z` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:244:42 [ 274s] | [ 274s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:246:39 [ 274s] | [ 274s] 246 | ctx2.expect().times(1).returning(|x,y| { [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:251:39 [ 274s] | [ 274s] 251 | ctx3.expect().times(1).returning(|x, y| { [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:256:40 [ 274s] | [ 274s] 256 | ctx_d.expect().times(1).returning(|x| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:264:38 [ 274s] | [ 274s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `y` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:264:40 [ 274s] | [ 274s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 274s] [ 274s] warning: unused variable: `z` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:264:42 [ 274s] | [ 274s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 274s] [ 274s] warning: unused variable: `e` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:264:44 [ 274s] | [ 274s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:271:38 [ 274s] | [ 274s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `z` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:271:42 [ 274s] | [ 274s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 274s] [ 274s] warning: unused variable: `e` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:271:44 [ 274s] | [ 274s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:285:38 [ 274s] | [ 274s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: unused variable: `z` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:285:42 [ 274s] | [ 274s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 274s] [ 274s] warning: unused variable: `e` [ 274s] --> ./src/pkgmgr/server/test/util_tests.rs:285:44 [ 274s] | [ 274s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 274s] [ 274s] warning: unused variable: `x` [ 274s] --> ./src/pkgmgr/server/test/signal_tests.rs:21:38 [ 274s] | [ 274s] 21 | ctx.expect().times(1).returning(|x| 0); [ 274s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 274s] [ 274s] warning: variable does not need to be mutable [ 274s] --> ./src/pkgmgr/server/test/signal_tests.rs:19:9 [ 274s] | [ 274s] 19 | let mut uid_vec: Vec = vec![]; [ 274s] | ----^^^^^^^ [ 274s] | | [ 274s] | help: remove this `mut` [ 274s] [ 274s] warning: variable does not need to be mutable [ 274s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:7:9 [ 274s] | [ 274s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 274s] | ----^^^^^^^^^^^^^ [ 274s] | | [ 274s] | help: remove this `mut` [ 274s] [ 274s] warning: variable does not need to be mutable [ 274s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:14:9 [ 274s] | [ 274s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 274s] | ----^^^^^^^^^^^^^ [ 274s] | | [ 274s] | help: remove this `mut` [ 274s] [ 274s] warning: variable does not need to be mutable [ 274s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:7:9 [ 274s] | [ 274s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 274s] | ----^^^^^^^^^^^^^ [ 274s] | | [ 274s] | help: remove this `mut` [ 274s] [ 274s] warning: variable does not need to be mutable [ 274s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:14:9 [ 274s] | [ 274s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 274s] | ----^^^^^^^^^^^^^ [ 274s] | | [ 274s] | help: remove this `mut` [ 274s] [ 274s] warning: variable does not need to be mutable [ 274s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:7:9 [ 274s] | [ 274s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 274s] | ----^^^^^^^^^^^^^ [ 274s] | | [ 274s] | help: remove this `mut` [ 274s] [ 274s] warning: variable does not need to be mutable [ 274s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:14:9 [ 274s] | [ 274s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 274s] | ----^^^^^^^^^^^^^ [ 274s] | | [ 274s] | help: remove this `mut` [ 274s] [ 274s] warning: variable does not need to be mutable [ 274s] --> ./src/pkgmgr/server/test/info_service_tests.rs:7:9 [ 274s] | [ 274s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 274s] | ----^^^^^^^^^^^^^ [ 274s] | | [ 274s] | help: remove this `mut` [ 274s] [ 274s] warning: variable does not need to be mutable [ 274s] --> ./src/pkgmgr/server/test/info_service_tests.rs:14:9 [ 274s] | [ 274s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 274s] | ----^^^^^^^^^^^^^ [ 274s] | | [ 274s] | help: remove this `mut` [ 274s] [ 274s] warning: variable does not need to be mutable [ 274s] --> ./src/pkgmgr/server/mod.rs:89:13 [ 274s] | [ 274s] 89 | let mut backend_queue = BackendQueue::new(self.mainloop); [ 274s] | ----^^^^^^^^^^^^^ [ 274s] | | [ 274s] | help: remove this `mut` [ 274s] [ 274s] warning: unnecessary `unsafe` block [ 274s] --> ./src/pkgmgr/server/admin_service.rs:995:32 [ 274s] | [ 274s] 993 | unsafe { [ 274s] | ------ because it's nested under this `unsafe` block [ 274s] 994 | match CString::new(generated_req_key.clone()) { [ 274s] 995 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 274s] | ^^^^^^ unnecessary `unsafe` block [ 274s] | [ 274s] = note: `#[warn(unused_unsafe)]` on by default [ 274s] [ 274s] warning: unnecessary `unsafe` block [ 274s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 274s] | [ 274s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 274s] | ^^^^^^ unnecessary `unsafe` block [ 274s] | [ 274s] ::: ./src/pkgmgr/server/admin_service.rs:993:5 [ 274s] | [ 274s] 993 | unsafe { [ 274s] | ------ because it's nested under this `unsafe` block [ 274s] ... [ 274s] 997 | error!("Fail to generate req key, err({:?})", e); [ 274s] | ------------------------------------------------ in this macro invocation [ 274s] | [ 274s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 274s] [ 274s] warning: unnecessary `unsafe` block [ 274s] --> ./src/pkgmgr/server/admin_service.rs:1023:46 [ 274s] | [ 274s] 993 | unsafe { [ 274s] | ------ because it's nested under this `unsafe` block [ 274s] ... [ 274s] 1023 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 274s] | ^^^^^^ unnecessary `unsafe` block [ 274s] [ 274s] warning: unnecessary `unsafe` block [ 274s] --> ./src/pkgmgr/server/admin_service.rs:1077:32 [ 274s] | [ 274s] 1075 | unsafe { [ 274s] | ------ because it's nested under this `unsafe` block [ 274s] 1076 | match CString::new(generated_req_key.clone()) { [ 274s] 1077 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 274s] | ^^^^^^ unnecessary `unsafe` block [ 274s] [ 274s] warning: unnecessary `unsafe` block [ 274s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 274s] | [ 274s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 274s] | ^^^^^^ unnecessary `unsafe` block [ 274s] | [ 274s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 274s] | [ 274s] 1075 | unsafe { [ 274s] | ------ because it's nested under this `unsafe` block [ 274s] ... [ 274s] 1079 | error!("Fail to generate req key, err({:?})", e); [ 274s] | ------------------------------------------------ in this macro invocation [ 274s] | [ 274s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 274s] [ 274s] warning: unnecessary `unsafe` block [ 274s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 274s] | [ 274s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 274s] | ^^^^^^ unnecessary `unsafe` block [ 274s] | [ 274s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 274s] | [ 274s] 1075 | unsafe { [ 274s] | ------ because it's nested under this `unsafe` block [ 274s] ... [ 274s] 1106 | debug!("push disable pkg {pkg_id}"); [ 274s] | ----------------------------------- in this macro invocation [ 274s] | [ 274s] = 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) [ 274s] [ 274s] warning: unnecessary `unsafe` block [ 274s] --> ./src/pkgmgr/server/admin_service.rs:1108:46 [ 274s] | [ 274s] 1075 | unsafe { [ 274s] | ------ because it's nested under this `unsafe` block [ 274s] ... [ 274s] 1108 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 274s] | ^^^^^^ unnecessary `unsafe` block [ 274s] [ 275s] warning: unnecessary `unsafe` block [ 275s] --> ./src/pkgmgr/server/admin_service.rs:1537:5 [ 275s] | [ 275s] 1537 | unsafe { [ 275s] | ^^^^^^ unnecessary `unsafe` block [ 275s] [ 275s] warning: unnecessary `unsafe` block [ 275s] --> ./src/pkgmgr/server/admin_service.rs:1590:5 [ 275s] | [ 275s] 1590 | unsafe { [ 275s] | ^^^^^^ unnecessary `unsafe` block [ 275s] [ 275s] warning: unnecessary `unsafe` block [ 275s] --> ./src/pkgmgr/server/admin_service.rs:1643:32 [ 275s] | [ 275s] 1641 | unsafe { [ 275s] | ------ because it's nested under this `unsafe` block [ 275s] 1642 | match CString::new(generated_req_key.clone()) { [ 275s] 1643 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 275s] | ^^^^^^ unnecessary `unsafe` block [ 275s] [ 275s] warning: unnecessary `unsafe` block [ 275s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 275s] | [ 275s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 275s] | ^^^^^^ unnecessary `unsafe` block [ 275s] | [ 275s] ::: ./src/pkgmgr/server/admin_service.rs:1641:5 [ 275s] | [ 275s] 1641 | unsafe { [ 275s] | ------ because it's nested under this `unsafe` block [ 275s] ... [ 275s] 1645 | error!("Fail to generate req key, err({:?})", e); [ 275s] | ------------------------------------------------ in this macro invocation [ 275s] | [ 275s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 275s] [ 275s] warning: unnecessary `unsafe` block [ 275s] --> ./src/pkgmgr/server/admin_service.rs:1657:42 [ 275s] | [ 275s] 1641 | unsafe { [ 275s] | ------ because it's nested under this `unsafe` block [ 275s] ... [ 275s] 1657 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 275s] | ^^^^^^ unnecessary `unsafe` block [ 275s] [ 275s] warning: unnecessary `unsafe` block [ 275s] --> ./src/pkgmgr/server/admin_service.rs:1705:32 [ 275s] | [ 275s] 1703 | unsafe { [ 275s] | ------ because it's nested under this `unsafe` block [ 275s] 1704 | match CString::new(generated_req_key.clone()) { [ 275s] 1705 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 275s] | ^^^^^^ unnecessary `unsafe` block [ 275s] [ 275s] warning: unnecessary `unsafe` block [ 275s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 275s] | [ 275s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 275s] | ^^^^^^ unnecessary `unsafe` block [ 275s] | [ 275s] ::: ./src/pkgmgr/server/admin_service.rs:1703:5 [ 275s] | [ 275s] 1703 | unsafe { [ 275s] | ------ because it's nested under this `unsafe` block [ 275s] ... [ 275s] 1707 | error!("Fail to generate req key, err({:?})", e); [ 275s] | ------------------------------------------------ in this macro invocation [ 275s] | [ 275s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 275s] [ 275s] warning: unnecessary `unsafe` block [ 275s] --> ./src/pkgmgr/server/admin_service.rs:1719:42 [ 275s] | [ 275s] 1703 | unsafe { [ 275s] | ------ because it's nested under this `unsafe` block [ 275s] ... [ 275s] 1719 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 275s] | ^^^^^^ unnecessary `unsafe` block [ 275s] [ 275s] warning: unnecessary `unsafe` block [ 275s] --> ./src/pkgmgr/server/admin_service.rs:1767:5 [ 275s] | [ 275s] 1767 | unsafe { [ 275s] | ^^^^^^ unnecessary `unsafe` block [ 275s] [ 275s] warning: unnecessary `unsafe` block [ 275s] --> ./src/pkgmgr/server/admin_service.rs:1820:5 [ 275s] | [ 275s] 1820 | unsafe { [ 275s] | ^^^^^^ unnecessary `unsafe` block [ 275s] [ 275s] warning: unnecessary `unsafe` block [ 275s] --> ./src/pkgmgr/server/admin_service.rs:2296:17 [ 275s] | [ 275s] 2294 | unsafe { [ 275s] | ------ because it's nested under this `unsafe` block [ 275s] 2295 | if !(*value.offset(i as isize)).is_null() { [ 275s] 2296 | unsafe { free(*value.offset(i as isize) as *mut _) }; [ 275s] | ^^^^^^ unnecessary `unsafe` block [ 275s] [ 275s] warning: unnecessary `unsafe` block [ 275s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 275s] | [ 275s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 275s] | ^^^^^^ unnecessary `unsafe` block [ 275s] | [ 275s] ::: ./src/pkgmgr/server/admin_service.rs:2793:9 [ 275s] | [ 275s] 2793 | unsafe { [ 275s] | ------ because it's nested under this `unsafe` block [ 275s] 2794 | let ret = rpc_port_stub_PkgMgrAdmin_register(&mut self.callbacks, self as *mut _ as *mut c_void); [ 275s] 2795 | debug!("admin service start : {ret}"); [ 275s] | ------------------------------------- in this macro invocation [ 275s] | [ 275s] = 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) [ 275s] [ 275s] warning: unnecessary `unsafe` block [ 275s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 275s] | [ 275s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 275s] | ^^^^^^ unnecessary `unsafe` block [ 275s] | [ 275s] ::: ./src/pkgmgr/server/admin_service.rs:2801:9 [ 275s] | [ 275s] 2801 | unsafe { [ 275s] | ------ because it's nested under this `unsafe` block [ 275s] 2802 | let ret = rpc_port_stub_PkgMgrAdmin_unregister(); [ 275s] 2803 | debug!("ret : {ret}"); [ 275s] | --------------------- in this macro invocation [ 275s] | [ 275s] = 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) [ 275s] [ 275s] warning: unnecessary `unsafe` block [ 275s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 275s] | [ 275s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 275s] | ^^^^^^ unnecessary `unsafe` block [ 275s] | [ 275s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 275s] | [ 275s] 204 | unsafe { [ 275s] | ------ because it's nested under this `unsafe` block [ 275s] ... [ 275s] 210 | error!("sigprocmask failed"); [ 275s] | ---------------------------- in this macro invocation [ 275s] | [ 275s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 275s] [ 275s] warning: unnecessary `unsafe` block [ 275s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 275s] | [ 275s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 275s] | ^^^^^^ unnecessary `unsafe` block [ 275s] | [ 275s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 275s] | [ 275s] 204 | unsafe { [ 275s] | ------ because it's nested under this `unsafe` block [ 275s] ... [ 275s] 216 | error!("signalfd failed"); [ 275s] | ------------------------- in this macro invocation [ 275s] | [ 275s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 275s] [ 275s] warning: unnecessary `unsafe` block [ 275s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 275s] | [ 275s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 275s] | ^^^^^^ unnecessary `unsafe` block [ 275s] | [ 275s] ::: ./src/pkgmgr/server/cache_service.rs:134:9 [ 275s] | [ 275s] 134 | unsafe { [ 275s] | ------ because it's nested under this `unsafe` block [ 275s] ... [ 275s] 139 | debug!("cache service start : {ret}"); [ 275s] | ------------------------------------- in this macro invocation [ 275s] | [ 275s] = 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) [ 275s] [ 275s] warning: unnecessary `unsafe` block [ 275s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 275s] | [ 275s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 275s] | ^^^^^^ unnecessary `unsafe` block [ 275s] | [ 275s] ::: ./src/pkgmgr/server/cache_service.rs:145:9 [ 275s] | [ 275s] 145 | unsafe { [ 275s] | ------ because it's nested under this `unsafe` block [ 275s] 146 | let ret = rpc_port_stub_PkgMgrForClearCache_unregister(); [ 275s] 147 | debug!("ret : {ret}"); [ 275s] | --------------------- in this macro invocation [ 275s] | [ 275s] = 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) [ 275s] [ 275s] warning: unnecessary `unsafe` block [ 275s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 275s] | [ 275s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 275s] | ^^^^^^ unnecessary `unsafe` block [ 275s] | [ 275s] ::: ./src/pkgmgr/server/delayed_service.rs:107:9 [ 275s] | [ 275s] 107 | unsafe { [ 275s] | ------ because it's nested under this `unsafe` block [ 275s] ... [ 275s] 112 | debug!("delayed result service start : {ret}"); [ 275s] | ---------------------------------------------- in this macro invocation [ 275s] | [ 275s] = 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) [ 275s] [ 275s] warning: unnecessary `unsafe` block [ 275s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 275s] | [ 275s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 275s] | ^^^^^^ unnecessary `unsafe` block [ 275s] | [ 275s] ::: ./src/pkgmgr/server/delayed_service.rs:118:9 [ 275s] | [ 275s] 118 | unsafe { [ 275s] | ------ because it's nested under this `unsafe` block [ 275s] 119 | let ret = rpc_port_stub_DelayedResult_unregister(); [ 275s] 120 | debug!("ret : {ret}"); [ 275s] | --------------------- in this macro invocation [ 275s] | [ 275s] = 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) [ 275s] [ 275s] warning: unnecessary `unsafe` block [ 275s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 275s] | [ 275s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 275s] | ^^^^^^ unnecessary `unsafe` block [ 275s] | [ 275s] ::: ./src/pkgmgr/server/info_service.rs:165:13 [ 275s] | [ 275s] 165 | unsafe { [ 275s] | ------ because it's nested under this `unsafe` block [ 275s] 166 | if mkfifo(fifo_path.as_ptr() as *const c_char, 0o600) < 0 { [ 275s] 167 | error!("Failed to mkfifo"); [ 275s] | -------------------------- in this macro invocation [ 275s] | [ 275s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 275s] [ 275s] warning: unnecessary `unsafe` block [ 275s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 275s] | [ 275s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 275s] | ^^^^^^ unnecessary `unsafe` block [ 275s] | [ 275s] ::: ./src/pkgmgr/server/info_service.rs:268:9 [ 275s] | [ 275s] 268 | unsafe { [ 275s] | ------ because it's nested under this `unsafe` block [ 275s] ... [ 275s] 273 | debug!("info service start : {ret}"); [ 275s] | ------------------------------------ in this macro invocation [ 275s] | [ 275s] = 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) [ 275s] [ 275s] warning: unnecessary `unsafe` block [ 275s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 275s] | [ 275s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 275s] | ^^^^^^ unnecessary `unsafe` block [ 275s] | [ 275s] ::: ./src/pkgmgr/server/info_service.rs:279:9 [ 275s] | [ 275s] 279 | unsafe { [ 275s] | ------ because it's nested under this `unsafe` block [ 275s] 280 | let ret = rpc_port_stub_PkgMgr_unregister(); [ 275s] 281 | debug!("ret : {ret}"); [ 275s] | --------------------- in this macro invocation [ 275s] | [ 275s] = 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) [ 275s] [ 275s] warning: unnecessary `unsafe` block [ 275s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 275s] | [ 275s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 275s] | ^^^^^^ unnecessary `unsafe` block [ 275s] | [ 275s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 275s] | [ 275s] 131 | unsafe { [ 275s] | ------ because it's nested under this `unsafe` block [ 275s] ... [ 275s] 134 | error!("Failure in creating the pkgmgr_installer object"); [ 275s] | --------------------------------------------------------- in this macro invocation [ 275s] | [ 275s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 275s] [ 275s] warning: unnecessary `unsafe` block [ 275s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 275s] | [ 275s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 275s] | ^^^^^^ unnecessary `unsafe` block [ 275s] | [ 275s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 275s] | [ 275s] 131 | unsafe { [ 275s] | ------ because it's nested under this `unsafe` block [ 275s] ... [ 275s] 139 | error!("pkgmgr_installer_set_uid fail"); [ 275s] | --------------------------------------- in this macro invocation [ 275s] | [ 275s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 275s] [ 275s] warning: unnecessary `unsafe` block [ 275s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 275s] | [ 275s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 275s] | ^^^^^^ unnecessary `unsafe` block [ 275s] | [ 275s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 275s] | [ 275s] 131 | unsafe { [ 275s] | ------ because it's nested under this `unsafe` block [ 275s] ... [ 275s] 154 | warn!("Unsupported req_type[{}]", req_type as c_int); [ 275s] | ---------------------------------------------------- in this macro invocation [ 275s] | [ 275s] = 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) [ 275s] [ 275s] warning: unnecessary `unsafe` block [ 275s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 275s] | [ 275s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 275s] | ^^^^^^ unnecessary `unsafe` block [ 275s] | [ 275s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 275s] | [ 275s] 131 | unsafe { [ 275s] | ------ because it's nested under this `unsafe` block [ 275s] ... [ 275s] 161 | error!("pkgmgr_installer_set_request_type fail"); [ 275s] | ------------------------------------------------ in this macro invocation [ 275s] | [ 275s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 275s] [ 275s] warning: unnecessary `unsafe` block [ 275s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 275s] | [ 275s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 275s] | ^^^^^^ unnecessary `unsafe` block [ 275s] | [ 275s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 275s] | [ 275s] 131 | unsafe { [ 275s] | ------ because it's nested under this `unsafe` block [ 275s] ... [ 275s] 168 | error!("pkgmgr_installer_set_session_id fail : {:?}", c_req_id); [ 275s] | --------------------------------------------------------------- in this macro invocation [ 275s] | [ 275s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 275s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 277s] | [ 277s] 309 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] 310 | if pkgmgrinfo_appinfo_get_appid(pkgmgrinfo_appinfo_h, &mut app_id) != 0 { [ 277s] 311 | error!("Failed get appid"); [ 277s] | -------------------------- in this macro invocation [ 277s] | [ 277s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 277s] | [ 277s] 309 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] ... [ 277s] 314 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 277s] | --------------------------------------------------------- in this macro invocation [ 277s] | [ 277s] = 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) [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/server/util.rs:326:46 [ 277s] | [ 277s] 325 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 277s] | [ 277s] 325 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] ... [ 277s] 329 | error!("Failed get appid"); [ 277s] | -------------------------- in this macro invocation [ 277s] | [ 277s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 277s] | [ 277s] 325 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] ... [ 277s] 333 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 277s] | --------------------------------------------------------- in this macro invocation [ 277s] | [ 277s] = 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) [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 277s] | [ 277s] 342 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] ... [ 277s] 355 | error!("getsize fd read failed: {:?}", Util::c_char_to_cstr((*err).message)); [ 277s] | ---------------------------------------------------------------------------- in this macro invocation [ 277s] | [ 277s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 277s] | [ 277s] 342 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] ... [ 277s] 361 | error!("empty result"); [ 277s] | ---------------------- in this macro invocation [ 277s] | [ 277s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 277s] | [ 277s] 390 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] ... [ 277s] 399 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 277s] | --------------------------------------------------------- in this macro invocation [ 277s] | [ 277s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 277s] | [ 277s] 390 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] ... [ 277s] 406 | error!("Fail to get is readonly"); [ 277s] | --------------------------------- in this macro invocation [ 277s] | [ 277s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 277s] | [ 277s] 422 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] ... [ 277s] 429 | error!("Not found package"); [ 277s] | --------------------------- in this macro invocation [ 277s] | [ 277s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 277s] | [ 277s] 422 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] ... [ 277s] 445 | debug!("pkgtype - {ret_string}"); [ 277s] | -------------------------------- in this macro invocation [ 277s] | [ 277s] = 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) [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:803:9 [ 277s] | [ 277s] 803 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] 804 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 277s] 805 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 277s] | ------------------------------------------------------ in this macro invocation [ 277s] | [ 277s] = 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) [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 277s] | [ 277s] 814 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] 815 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 277s] 816 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 277s] | ------------------------------------------------------ in this macro invocation [ 277s] | [ 277s] = 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) [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 277s] | [ 277s] 814 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] ... [ 277s] 822 | error!("Failed to get pid of app{:?}", CStr::from_ptr(appid)); [ 277s] | ------------------------------------------------------------- in this macro invocation [ 277s] | [ 277s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 277s] | [ 277s] 814 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] ... [ 277s] 828 | error!("Failed to terminate app{:?}", CStr::from_ptr(appid)); [ 277s] | ------------------------------------------------------------ in this macro invocation [ 277s] | [ 277s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 277s] | [ 277s] 836 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] ... [ 277s] 840 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 277s] | --------------------------------------------------------- in this macro invocation [ 277s] | [ 277s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 277s] | [ 277s] 836 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] ... [ 277s] 848 | error!("Failed to get list for {:?}", CStr::from_ptr(pkgid)); [ 277s] | ------------------------------------------------------------ in this macro invocation [ 277s] | [ 277s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 277s] | [ 277s] 859 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] ... [ 277s] 863 | warn!("cannot get user information from gumd, retry"); [ 277s] | ----------------------------------------------------- in this macro invocation [ 277s] | [ 277s] = 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) [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 277s] | [ 277s] 859 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] ... [ 277s] 871 | error!("cannot get user information from gumd, failed"); [ 277s] | ------------------------------------------------------- in this macro invocation [ 277s] | [ 277s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 277s] | [ 277s] 859 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] ... [ 277s] 877 | error!("cannot get user type"); [ 277s] | ------------------------------ in this macro invocation [ 277s] | [ 277s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 277s] | [ 277s] 892 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] ... [ 277s] 895 | error!("Failed to get the number of supplementary group IDs"); [ 277s] | ------------------------------------------------------------- in this macro invocation [ 277s] | [ 277s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 277s] | [ 277s] 892 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] ... [ 277s] 901 | error!("Failed to get list of supplementary group IDs"); [ 277s] | ------------------------------------------------------- in this macro invocation [ 277s] | [ 277s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 277s] | [ 277s] 892 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] ... [ 277s] 908 | error!("setgroups failed: {}", *__errno_location()); [ 277s] | --------------------------------------------------- in this macro invocation [ 277s] | [ 277s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 277s] | [ 277s] 928 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] ... [ 277s] 942 | error!("getpwuid_r fail"); [ 277s] | ------------------------- in this macro invocation [ 277s] | [ 277s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 277s] | [ 277s] 928 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] ... [ 277s] 949 | error!("Fail to get str, err({:?})", e); [ 277s] | --------------------------------------- in this macro invocation [ 277s] | [ 277s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 277s] | [ 277s] 928 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] ... [ 277s] 957 | error!("Fail to get str, err({:?})", e); [ 277s] | --------------------------------------- in this macro invocation [ 277s] | [ 277s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 277s] | [ 277s] 928 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] ... [ 277s] 966 | error!("Failed to set env for the user : {}", APPFW_UID); [ 277s] | -------------------------------------------------------- in this macro invocation [ 277s] | [ 277s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 277s] | [ 277s] 984 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] ... [ 277s] 987 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 277s] | ----------------------------------------------------------------------------------- in this macro invocation [ 277s] | [ 277s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 277s] | [ 277s] 984 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] ... [ 277s] 993 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 277s] | ---------------------------------------------------------------------------- in this macro invocation [ 277s] | [ 277s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 277s] | [ 277s] 984 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] ... [ 277s] 1000 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 277s] | ---------------------------------------------------------------------------- in this macro invocation [ 277s] | [ 277s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/server/util.rs:1005:40 [ 277s] | [ 277s] 984 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] ... [ 277s] 1005 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) } ); [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 277s] | [ 277s] 1081 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] ... [ 277s] 1084 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 277s] | ----------------------------------------------------------------------------------- in this macro invocation [ 277s] | [ 277s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 277s] | [ 277s] 1081 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] ... [ 277s] 1090 | error!("Failed get root path for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 277s] | --------------------------------------------------------------------------- in this macro invocation [ 277s] | [ 277s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 277s] | [ 277s] 1081 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] ... [ 277s] 1098 | error!("Invalid path[{:?}]", Self::c_char_to_cstr(icon_path)); [ 277s] | ------------------------------------------------------------- in this macro invocation [ 277s] | [ 277s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:1109:9 [ 277s] | [ 277s] 1109 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] ... [ 277s] 1119 | error!("Fail to get list for {:?}", CStr::from_ptr(pkgid)); [ 277s] | ---------------------------------------------------------- in this macro invocation [ 277s] | [ 277s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 277s] | [ 277s] 1129 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] ... [ 277s] 1132 | error!("failed to open the fifo({}), errno({})", fifo_path, *__errno_location()); [ 277s] | -------------------------------------------------------------------------------- in this macro invocation [ 277s] | [ 277s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 277s] [ 277s] warning: unnecessary `unsafe` block [ 277s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 277s] | [ 277s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 277s] | ^^^^^^ unnecessary `unsafe` block [ 277s] | [ 277s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 277s] | [ 277s] 1129 | unsafe { [ 277s] | ------ because it's nested under this `unsafe` block [ 277s] ... [ 277s] 1155 | error!("failed to add io watch"); [ 277s] | -------------------------------- in this macro invocation [ 277s] | [ 277s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 277s] [ 278s] warning: constant `SD_LISTEN_FDS_START` is never used [ 278s] --> ./src/pkgmgr/server/mod.rs:28:7 [ 278s] | [ 278s] 28 | const SD_LISTEN_FDS_START: i32 = 3; [ 278s] | ^^^^^^^^^^^^^^^^^^^ [ 278s] | [ 278s] = note: `#[warn(dead_code)]` on by default [ 278s] [ 278s] warning: multiple variants are never constructed [ 278s] --> ./src/pkgmgr/server/mod.rs:43:5 [ 278s] | [ 278s] 42 | enum AUL_RETURN_VALUE { [ 278s] | ---------------- variants in this enum [ 278s] 43 | AUL_R_ENOMEM = -16, //< Out of memory (Since 5.5) [ 278s] | ^^^^^^^^^^^^ [ 278s] 44 | AUL_R_ENOENT = -15, //< App directory entry error [ 278s] | ^^^^^^^^^^^^ [ 278s] 45 | AUL_R_EREJECTED = -14, //< App disable for mode [ 278s] | ^^^^^^^^^^^^^^^ [ 278s] 46 | AUL_R_ENOAPP = -13, //< Failed to find app ID or pkg ID [ 278s] | ^^^^^^^^^^^^ [ 278s] 47 | AUL_R_EHIDDENFORGUEST = -11, //< App hidden for guest mode [ 278s] | ^^^^^^^^^^^^^^^^^^^^^ [ 278s] 48 | AUL_R_ENOLAUNCHPAD = -10, //< no launchpad [ 278s] | ^^^^^^^^^^^^^^^^^^ [ 278s] 49 | AUL_R_ETERMINATING = -9, //< application terminating [ 278s] | ^^^^^^^^^^^^^^^^^^ [ 278s] 50 | AUL_R_EILLACC = -8, //< Illegal Access [ 278s] | ^^^^^^^^^^^^^ [ 278s] 51 | AUL_R_LOCAL = -7, //< Launch by himself [ 278s] | ^^^^^^^^^^^ [ 278s] 52 | AUL_R_ETIMEOUT = -6, //< Timeout [ 278s] | ^^^^^^^^^^^^^^ [ 278s] 53 | AUL_R_ECANCELED = -5, //< Operation canceled [ 278s] | ^^^^^^^^^^^^^^^ [ 278s] 54 | AUL_R_EINVAL = -4, //< Invalid argument [ 278s] | ^^^^^^^^^^^^ [ 278s] 55 | AUL_R_ECOMM = -3, //< Comunication Error [ 278s] | ^^^^^^^^^^^ [ 278s] 56 | AUL_R_ENOINIT = -2, //< AUL handler NOT initialized [ 278s] | ^^^^^^^^^^^^^ [ 278s] 57 | AUL_R_ERROR = -1, //< General error [ 278s] | ^^^^^^^^^^^ [ 278s] [ 278s] warning: field `timer` is never read [ 278s] --> ./src/pkgmgr/server/mod.rs:63:5 [ 278s] | [ 278s] 61 | pub struct Server { [ 278s] | ------ field in this struct [ 278s] 62 | mainloop: *mut GMainLoop, [ 278s] 63 | timer: c_uint [ 278s] | ^^^^^ [ 278s] [ 278s] warning: variants `IO_ERROR`, `OUT_OF_MEMORY`, `INVALID_PARAMETER`, and `PERMISSION_DENIED` are never constructed [ 278s] --> ./src/pkgmgr/server/admin_service.rs:29:5 [ 278s] | [ 278s] 27 | enum RPC_PORT_ERROR { [ 278s] | -------------- variants in this enum [ 278s] 28 | NONE = 0, //< Successful [ 278s] 29 | IO_ERROR = -5, //< Internal I/O error [ 278s] | ^^^^^^^^ [ 278s] 30 | OUT_OF_MEMORY = -12, //< Out of memory [ 278s] | ^^^^^^^^^^^^^ [ 278s] 31 | INVALID_PARAMETER = -22, //< Invalid parameter [ 278s] | ^^^^^^^^^^^^^^^^^ [ 278s] 32 | PERMISSION_DENIED = -13, //< Permission denied [ 278s] | ^^^^^^^^^^^^^^^^^ [ 278s] [ 278s] warning: method `generate_request_id` is never used [ 278s] --> ./src/pkgmgr/server/admin_service.rs:2786:8 [ 278s] | [ 278s] 2713 | impl AdminService { [ 278s] | ----------------- method in this implementation [ 278s] ... [ 278s] 2786 | fn generate_request_id(&self) -> String { [ 278s] | ^^^^^^^^^^^^^^^^^^^ [ 278s] [ 278s] warning: field `request_type` is never read [ 278s] --> ./src/pkgmgr/server/backend_context.rs:7:5 [ 278s] | [ 278s] 6 | pub struct BackendContext { [ 278s] | -------------- field in this struct [ 278s] 7 | request_type: RequestType, [ 278s] | ^^^^^^^^^^^^ [ 278s] [ 278s] warning: type alias `GIOChannel` is never used [ 278s] --> ./src/pkgmgr/server/backend_queue.rs:14:6 [ 278s] | [ 278s] 14 | type GIOChannel = *mut c_void; [ 278s] | ^^^^^^^^^^ [ 278s] [ 278s] warning: type alias `GIOCondition` is never used [ 278s] --> ./src/pkgmgr/server/backend_queue.rs:15:6 [ 278s] | [ 278s] 15 | type GIOCondition = c_int; [ 278s] | ^^^^^^^^^^^^ [ 278s] [ 278s] warning: variants `EIO`, `ENOPKG`, `EPRIV`, `ETIMEOUT`, `EINVAL`, and `ECOMM` are never constructed [ 278s] --> ./src/pkgmgr/server/info_service.rs:22:5 [ 278s] | [ 278s] 20 | enum PKGMGR_RETURN_VALUE { [ 278s] | ------------------- variants in this enum [ 278s] 21 | ESYSTEM = -9, // Severe system error [ 278s] 22 | EIO = -8, // IO error [ 278s] | ^^^ [ 278s] 23 | ENOMEM = -7, // Out of memory [ 278s] 24 | ENOPKG = -6, // No such package [ 278s] | ^^^^^^ [ 278s] 25 | EPRIV = -5, // Privilege denied [ 278s] | ^^^^^ [ 278s] 26 | ETIMEOUT = -4, // Timeout [ 278s] | ^^^^^^^^ [ 278s] 27 | EINVAL = -3, // Invalid argument [ 278s] | ^^^^^^ [ 278s] 28 | ECOMM = -2, // Comunication Error [ 278s] | ^^^^^ [ 278s] [ 278s] warning: variants `EPRIV` and `ETIMEOUT` are never constructed [ 278s] --> ./src/pkgmgr/server/pkgmgr_return_value.rs:8:5 [ 278s] | [ 278s] 3 | pub enum PKGMGR_RETURN_VALUE { [ 278s] | ------------------- variants in this enum [ 278s] ... [ 278s] 8 | EPRIV = -5, // Privilege denied [ 278s] | ^^^^^ [ 278s] 9 | ETIMEOUT = -4, // Timeout [ 278s] | ^^^^^^^^ [ 278s] [ 278s] warning: variants `KILL`, `CHECK`, `ENABLE_APP_SPLASH_SCREEN`, `DISABLE_APP_SPLASH_SCREEN`, and `MIGRATE_EXTERNAL_IMAGE` are never constructed [ 278s] --> ./src/pkgmgr/server/request_type.rs:20:5 [ 278s] | [ 278s] 1 | pub enum RequestType { [ 278s] | ----------- variants in this enum [ 278s] ... [ 278s] 20 | KILL, [ 278s] | ^^^^ [ 278s] 21 | CHECK, [ 278s] | ^^^^^ [ 278s] ... [ 278s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 278s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 278s] ... [ 278s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 278s] [ 278s] warning: multiple variants are never constructed [ 278s] --> ./src/pkgmgr/server/signal.rs:10:2 [ 278s] | [ 278s] 9 | enum PKGMGR_REQ { [ 278s] | ---------- variants in this enum [ 278s] 10 | PERM = -1, [ 278s] | ^^^^ [ 278s] 11 | INVALID = 0, [ 278s] | ^^^^^^^ [ 278s] 12 | INSTALL = 1, [ 278s] | ^^^^^^^ [ 278s] 13 | UNINSTALL = 2, [ 278s] | ^^^^^^^^^ [ 278s] 14 | CLEAR = 3, [ 278s] | ^^^^^ [ 278s] 15 | MOVE = 4, [ 278s] | ^^^^ [ 278s] 16 | RECOVER = 5, [ 278s] | ^^^^^^^ [ 278s] 17 | REINSTALL = 6, [ 278s] | ^^^^^^^^^ [ 278s] 18 | GETSIZE = 7, [ 278s] | ^^^^^^^ [ 278s] 19 | UPGRADE = 8, [ 278s] | ^^^^^^^ [ 278s] 20 | SMACK = 9, [ 278s] | ^^^^^ [ 278s] 21 | MANIFEST_DIRECT_INSTALL = 10, [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 278s] ... [ 278s] 26 | MOUNT_INSTALL = 15, [ 278s] | ^^^^^^^^^^^^^ [ 278s] 27 | DISABLE_PKG = 16, [ 278s] | ^^^^^^^^^^^ [ 278s] 28 | ENABLE_PKG = 17, [ 278s] | ^^^^^^^^^^ [ 278s] 29 | MIGRATE_EXTIMG = 18, [ 278s] | ^^^^^^^^^^^^^^ [ 278s] 30 | RECOVER_DB = 19, [ 278s] | ^^^^^^^^^^ [ 278s] 31 | RES_COPY = 20, [ 278s] | ^^^^^^^^ [ 278s] 32 | RES_CREATE_DIR = 21, [ 278s] | ^^^^^^^^^^^^^^ [ 278s] 33 | RES_REMOVE = 22, [ 278s] | ^^^^^^^^^^ [ 278s] 34 | RES_UNINSTALL = 23 [ 278s] | ^^^^^^^^^^^^^ [ 278s] [ 278s] warning: constant `TZ_SYS_GLOBALAPP_USER` is never used [ 278s] --> ./src/pkgmgr/server/signal.rs:97:7 [ 278s] | [ 278s] 97 | const TZ_SYS_GLOBALAPP_USER: c_int = 22; [ 278s] | ^^^^^^^^^^^^^^^^^^^^^ [ 278s] [ 278s] warning: function `tzplatform_getuid` is never used [ 278s] --> ./src/pkgmgr/server/signal.rs:53:12 [ 278s] | [ 278s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 278s] | ^^^^^^^^^^^^^^^^^ [ 278s] [ 278s] warning: function `sd_get_uids` is never used [ 278s] --> ./src/pkgmgr/server/signal.rs:44:16 [ 278s] | [ 278s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 278s] | ^^^^^^^^^^^ [ 278s] [ 278s] warning: constant `XML_READER_TYPE_ELEMENT` is never used [ 278s] --> ./src/pkgmgr/server/util.rs:29:7 [ 278s] | [ 278s] 29 | const XML_READER_TYPE_ELEMENT: i32 = 1; [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 278s] [ 278s] warning: constant `XML_READER_TYPE_TEXT` is never used [ 278s] --> ./src/pkgmgr/server/util.rs:30:7 [ 278s] | [ 278s] 30 | const XML_READER_TYPE_TEXT: i32 = 3; [ 278s] | ^^^^^^^^^^^^^^^^^^^^ [ 278s] [ 278s] warning: constant `XML_READER_TYPE_END_ELEMENT` is never used [ 278s] --> ./src/pkgmgr/server/util.rs:31:7 [ 278s] | [ 278s] 31 | const XML_READER_TYPE_END_ELEMENT: i32 = 15; [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 278s] [ 278s] warning: type alias `GIOChannel` is never used [ 278s] --> ./src/pkgmgr/server/util.rs:33:6 [ 278s] | [ 278s] 33 | type GIOChannel = *mut c_void; [ 278s] | ^^^^^^^^^^ [ 278s] [ 278s] warning: variants `PMINFO_UI_APP`, `PMINFO_SVC_APP`, `PMINFO_WIDGET_APP`, `PMINFO_WATCH_APP`, and `PMINFO_COMPONENT_BASED_APP` are never constructed [ 278s] --> ./src/pkgmgr/server/util.rs:136:5 [ 278s] | [ 278s] 134 | enum PKGMGRINFO_APP_COMPONENT { [ 278s] | ------------------------ variants in this enum [ 278s] 135 | PMINFO_ALL_APP = 0, //< All Application [ 278s] 136 | PMINFO_UI_APP, //< UI Application [ 278s] | ^^^^^^^^^^^^^ [ 278s] 137 | PMINFO_SVC_APP, //< Service Application [ 278s] | ^^^^^^^^^^^^^^ [ 278s] 138 | PMINFO_WIDGET_APP, //< Widget Application [ 278s] | ^^^^^^^^^^^^^^^^^ [ 278s] 139 | PMINFO_WATCH_APP, //< Watch Application [ 278s] | ^^^^^^^^^^^^^^^^ [ 278s] 140 | PMINFO_COMPONENT_BASED_APP, //< Component-based Application (Since 5.5) [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 278s] [ 278s] warning: associated functions `EnableAppSplashScreen` and `DisableAppSplashScreen` are never used [ 278s] --> ./src/pkgmgr/server/util.rs:766:12 [ 278s] | [ 278s] 384 | impl Util { [ 278s] | --------- associated functions in this implementation [ 278s] ... [ 278s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^ [ 278s] ... [ 278s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 278s] [ 278s] warning: function `pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db` is never used [ 278s] --> ./src/pkgmgr/server/util.rs:204:8 [ 278s] | [ 278s] 204 | fn pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db( [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 278s] [ 278s] warning: function `pkgmgrinfo_pkginfo_get_usr_pkginfo` is never used [ 278s] --> ./src/pkgmgr/server/util.rs:44:16 [ 278s] | [ 278s] 44 | pub fn pkgmgrinfo_pkginfo_get_usr_pkginfo( [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 278s] [ 278s] warning: function `pkgmgrinfo_pkginfo_get_usr_disabled_pkginfo` is never used [ 278s] --> ./src/pkgmgr/server/util.rs:50:16 [ 278s] | [ 278s] 50 | pub fn pkgmgrinfo_pkginfo_get_usr_disabled_pkginfo( [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 278s] [ 278s] warning: function `pkgmgrinfo_pkginfo_is_readonly` is never used [ 278s] --> ./src/pkgmgr/server/util.rs:56:16 [ 278s] | [ 278s] 56 | pub fn pkgmgrinfo_pkginfo_is_readonly( [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 278s] [ 278s] warning: function `pkgmgrinfo_pkginfo_destroy_pkginfo` is never used [ 278s] --> ./src/pkgmgr/server/util.rs:61:16 [ 278s] | [ 278s] 61 | pub fn pkgmgrinfo_pkginfo_destroy_pkginfo( [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 278s] [ 278s] warning: function `pkgmgrinfo_pkginfo_get_usr_all_pkginfo` is never used [ 278s] --> ./src/pkgmgr/server/util.rs:65:16 [ 278s] | [ 278s] 65 | pub fn pkgmgrinfo_pkginfo_get_usr_all_pkginfo( [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 278s] [ 278s] warning: function `pkgmgrinfo_pkginfo_get_type` is never used [ 278s] --> ./src/pkgmgr/server/util.rs:71:16 [ 278s] | [ 278s] 71 | pub fn pkgmgrinfo_pkginfo_get_type( [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 278s] [ 278s] warning: function `pkgmgrinfo_updateinfo_create` is never used [ 278s] --> ./src/pkgmgr/server/util.rs:76:16 [ 278s] | [ 278s] 76 | pub fn pkgmgrinfo_updateinfo_create( [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 278s] [ 278s] warning: function `pkgmgrinfo_updateinfo_set_pkgid` is never used [ 278s] --> ./src/pkgmgr/server/util.rs:80:16 [ 278s] | [ 278s] 80 | pub fn pkgmgrinfo_updateinfo_set_pkgid( [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 278s] [ 278s] warning: function `pkgmgrinfo_updateinfo_set_version` is never used [ 278s] --> ./src/pkgmgr/server/util.rs:85:16 [ 278s] | [ 278s] 85 | pub fn pkgmgrinfo_updateinfo_set_version( [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 278s] [ 278s] warning: function `pkgmgrinfo_updateinfo_set_type` is never used [ 278s] --> ./src/pkgmgr/server/util.rs:90:16 [ 278s] | [ 278s] 90 | pub fn pkgmgrinfo_updateinfo_set_type( [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 278s] [ 278s] warning: function `pkgmgrinfo_updateinfo_destroy` is never used [ 278s] --> ./src/pkgmgr/server/util.rs:95:16 [ 278s] | [ 278s] 95 | pub fn pkgmgrinfo_updateinfo_destroy( [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 278s] [ 278s] warning: function `pkgmgrinfo_appinfo_get_usr_all_appinfo` is never used [ 278s] --> ./src/pkgmgr/server/util.rs:99:16 [ 278s] | [ 278s] 99 | pub fn pkgmgrinfo_appinfo_get_usr_all_appinfo( [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 278s] [ 278s] warning: function `pkgmgrinfo_appinfo_is_global` is never used [ 278s] --> ./src/pkgmgr/server/util.rs:105:16 [ 278s] | [ 278s] 105 | pub fn pkgmgrinfo_appinfo_is_global( [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 278s] [ 278s] warning: function `pkgmgrinfo_appinfo_get_pkgid` is never used [ 278s] --> ./src/pkgmgr/server/util.rs:110:16 [ 278s] | [ 278s] 110 | pub fn pkgmgrinfo_appinfo_get_pkgid( [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 278s] [ 278s] warning: function `pkgmgrinfo_appinfo_destroy_appinfo` is never used [ 278s] --> ./src/pkgmgr/server/util.rs:115:16 [ 278s] | [ 278s] 115 | pub fn pkgmgrinfo_appinfo_destroy_appinfo( [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 278s] [ 278s] warning: function `aul_app_is_running_for_uid` is never used [ 278s] --> ./src/pkgmgr/server/util.rs:122:16 [ 278s] | [ 278s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 278s] [ 278s] warning: function `aul_app_get_pid_for_uid` is never used [ 278s] --> ./src/pkgmgr/server/util.rs:123:16 [ 278s] | [ 278s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 278s] [ 278s] warning: function `aul_terminate_pid_for_uid` is never used [ 278s] --> ./src/pkgmgr/server/util.rs:124:16 [ 278s] | [ 278s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 278s] [ 278s] warning: function `aul_app_get_pkgid_bypid_for_uid` is never used [ 278s] --> ./src/pkgmgr/server/util.rs:125:16 [ 278s] | [ 278s] 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; [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 278s] [ 278s] warning: unused `Result` that must be used [ 278s] --> ./src/main.rs:14:5 [ 278s] | [ 278s] 14 | pkgmgr::server::Server::run(&mut server); [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 278s] | [ 278s] = note: this `Result` may be an `Err` variant, which should be handled [ 278s] = note: `#[warn(unused_must_use)]` on by default [ 278s] help: use `let _ = ...` to ignore the resulting value [ 278s] | [ 278s] 14 | let _ = pkgmgr::server::Server::run(&mut server); [ 278s] | +++++++ [ 278s] [ 278s] warning: unused `Result` that must be used [ 278s] --> ./src/pkgmgr/server/mod.rs:93:9 [ 278s] | [ 278s] 93 | admin_service.run(); [ 278s] | ^^^^^^^^^^^^^^^^^^^ [ 278s] | [ 278s] = note: this `Result` may be an `Err` variant, which should be handled [ 278s] help: use `let _ = ...` to ignore the resulting value [ 278s] | [ 278s] 93 | let _ = admin_service.run(); [ 278s] | +++++++ [ 278s] [ 278s] warning: unused `Result` that must be used [ 278s] --> ./src/pkgmgr/server/mod.rs:95:9 [ 278s] | [ 278s] 95 | cache_service.run(); [ 278s] | ^^^^^^^^^^^^^^^^^^^ [ 278s] | [ 278s] = note: this `Result` may be an `Err` variant, which should be handled [ 278s] help: use `let _ = ...` to ignore the resulting value [ 278s] | [ 278s] 95 | let _ = cache_service.run(); [ 278s] | +++++++ [ 278s] [ 278s] warning: unused `Result` that must be used [ 278s] --> ./src/pkgmgr/server/mod.rs:97:9 [ 278s] | [ 278s] 97 | info_service.run(); [ 278s] | ^^^^^^^^^^^^^^^^^^ [ 278s] | [ 278s] = note: this `Result` may be an `Err` variant, which should be handled [ 278s] help: use `let _ = ...` to ignore the resulting value [ 278s] | [ 278s] 97 | let _ = info_service.run(); [ 278s] | +++++++ [ 278s] [ 278s] warning: unused `Result` that must be used [ 278s] --> ./src/pkgmgr/server/mod.rs:99:9 [ 278s] | [ 278s] 99 | delayed_result_service.run(); [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 278s] | [ 278s] = note: this `Result` may be an `Err` variant, which should be handled [ 278s] help: use `let _ = ...` to ignore the resulting value [ 278s] | [ 278s] 99 | let _ = delayed_result_service.run(); [ 278s] | +++++++ [ 278s] [ 278s] warning: unused `Result` that must be used [ 278s] --> ./src/pkgmgr/server/mod.rs:109:9 [ 278s] | [ 278s] 109 | admin_service.stop(); [ 278s] | ^^^^^^^^^^^^^^^^^^^^ [ 278s] | [ 278s] = note: this `Result` may be an `Err` variant, which should be handled [ 278s] help: use `let _ = ...` to ignore the resulting value [ 278s] | [ 278s] 109 | let _ = admin_service.stop(); [ 278s] | +++++++ [ 278s] [ 278s] warning: unused `Result` that must be used [ 278s] --> ./src/pkgmgr/server/mod.rs:110:9 [ 278s] | [ 278s] 110 | cache_service.stop(); [ 278s] | ^^^^^^^^^^^^^^^^^^^^ [ 278s] | [ 278s] = note: this `Result` may be an `Err` variant, which should be handled [ 278s] help: use `let _ = ...` to ignore the resulting value [ 278s] | [ 278s] 110 | let _ = cache_service.stop(); [ 278s] | +++++++ [ 278s] [ 278s] warning: unused `Result` that must be used [ 278s] --> ./src/pkgmgr/server/mod.rs:111:9 [ 278s] | [ 278s] 111 | info_service.stop(); [ 278s] | ^^^^^^^^^^^^^^^^^^^ [ 278s] | [ 278s] = note: this `Result` may be an `Err` variant, which should be handled [ 278s] help: use `let _ = ...` to ignore the resulting value [ 278s] | [ 278s] 111 | let _ = info_service.stop(); [ 278s] | +++++++ [ 278s] [ 278s] warning: unused `Result` that must be used [ 278s] --> ./src/pkgmgr/server/mod.rs:112:9 [ 278s] | [ 278s] 112 | delayed_result_service.stop(); [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 278s] | [ 278s] = note: this `Result` may be an `Err` variant, which should be handled [ 278s] help: use `let _ = ...` to ignore the resulting value [ 278s] | [ 278s] 112 | let _ = delayed_result_service.stop(); [ 278s] | +++++++ [ 278s] [ 278s] warning: unused return value of `std::mem::size_of` that must be used [ 278s] --> ./src/pkgmgr/server/backend_queue.rs:40:9 [ 278s] | [ 278s] 40 | mem::size_of::(); [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 278s] | [ 278s] help: use `let _ = ...` to ignore the resulting value [ 278s] | [ 278s] 40 | let _ = mem::size_of::(); [ 278s] | +++++++ [ 278s] [ 278s] warning: structure field `rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 278s] --> ./src/pkgmgr/server/info_service.rs:35:9 [ 278s] | [ 278s] 35 | pub rpc_port_stub_PkgMgr_create_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_create_cb` [ 278s] | [ 278s] = note: `#[warn(non_snake_case)]` on by default [ 278s] [ 278s] warning: structure field `rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 278s] --> ./src/pkgmgr/server/info_service.rs:36:9 [ 278s] | [ 278s] 36 | pub rpc_port_stub_PkgMgr_terminate_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_terminate_cb` [ 278s] [ 278s] warning: structure field `rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 278s] --> ./src/pkgmgr/server/info_service.rs:37:9 [ 278s] | [ 278s] 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... [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_cb` [ 278s] [ 278s] warning: structure field `rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 278s] --> ./src/pkgmgr/server/info_service.rs:38:9 [ 278s] | [ 278s] 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... [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 278s] [ 278s] warning: structure field `rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 278s] --> ./src/pkgmgr/server/info_service.rs:39:9 [ 278s] | [ 278s] 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... [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 278s] [ 278s] warning: structure field `rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 278s] --> ./src/pkgmgr/server/info_service.rs:40:9 [ 278s] | [ 278s] 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... [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_check_cb` [ 278s] [ 278s] warning: function `impl_rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 278s] --> ./src/pkgmgr/server/info_service.rs:43:19 [ 278s] | [ 278s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_create_cb` [ 278s] [ 278s] warning: function `impl_rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 278s] --> ./src/pkgmgr/server/info_service.rs:48:19 [ 278s] | [ 278s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_terminate_cb` [ 278s] [ 278s] warning: function `impl_rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 278s] --> ./src/pkgmgr/server/info_service.rs:52:19 [ 278s] | [ 278s] 52 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSize_cb( [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_cb` [ 278s] [ 278s] warning: function `impl_rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 278s] --> ./src/pkgmgr/server/info_service.rs:112:19 [ 278s] | [ 278s] 112 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSizeSync_cb( [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 278s] [ 278s] warning: function `impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 278s] --> ./src/pkgmgr/server/info_service.rs:194:19 [ 278s] | [ 278s] 194 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb( [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 278s] [ 278s] warning: function `impl_rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 278s] --> ./src/pkgmgr/server/info_service.rs:221:19 [ 278s] | [ 278s] 221 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_Check_cb( [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_check_cb` [ 278s] [ 278s] warning: method `IsPackageReadonly` should have a snake case name [ 278s] --> ./src/pkgmgr/server/util.rs:389:12 [ 278s] | [ 278s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 278s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly` [ 278s] [ 278s] warning: method `GetPackageType` should have a snake case name [ 278s] --> ./src/pkgmgr/server/util.rs:420:12 [ 278s] | [ 278s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 278s] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type` [ 278s] [ 278s] warning: variable `xmlReaderTypes_XML_READER_TYPE_ELEMENT` should have a snake case name [ 278s] --> ./src/pkgmgr/server/util.rs:473:17 [ 278s] | [ 278s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_element` [ 278s] [ 278s] warning: variable `xmlReaderTypes_XML_READER_TYPE_TEXT` should have a snake case name [ 278s] --> ./src/pkgmgr/server/util.rs:478:17 [ 278s] | [ 278s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_text` [ 278s] [ 278s] warning: variable `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` should have a snake case name [ 278s] --> ./src/pkgmgr/server/util.rs:483:17 [ 278s] | [ 278s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_end_element` [ 278s] [ 278s] warning: constant `type_map` should have an upper case name [ 278s] --> ./src/pkgmgr/server/util.rs:623:15 [ 278s] | [ 278s] 623 | const type_map : [[&str; 2]; 3] = [ [ 278s] | ^^^^^^^^ help: convert the identifier to upper case: `TYPE_MAP` [ 278s] | [ 278s] = note: `#[warn(non_upper_case_globals)]` on by default [ 278s] [ 278s] warning: method `GenerateRequestId` should have a snake case name [ 278s] --> ./src/pkgmgr/server/util.rs:646:12 [ 278s] | [ 278s] 646 | pub fn GenerateRequestId(pkgid: &str) -> Option { [ 278s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_request_id` [ 278s] [ 278s] warning: method `CreatePkgUpdateInfo` should have a snake case name [ 278s] --> ./src/pkgmgr/server/util.rs:657:12 [ 278s] | [ 278s] 657 | pub fn CreatePkgUpdateInfo(pkgid: *const c_char, version: *const c_char, update_type: c_int) -> *mut c_void { [ 278s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info` [ 278s] [ 278s] warning: method `DestroyPkgUpdateInfo` should have a snake case name [ 278s] --> ./src/pkgmgr/server/util.rs:680:12 [ 278s] | [ 278s] 680 | pub fn DestroyPkgUpdateInfo(handle: *mut c_void) -> c_int { [ 278s] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroy_pkg_update_info` [ 278s] [ 278s] warning: method `RegisterPkgUpdateInfo` should have a snake case name [ 278s] --> ./src/pkgmgr/server/util.rs:686:12 [ 278s] | [ 278s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `register_pkg_update_info` [ 278s] [ 278s] warning: method `UnregisterPkgUpdateInfo` should have a snake case name [ 278s] --> ./src/pkgmgr/server/util.rs:696:12 [ 278s] | [ 278s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_pkg_update_info` [ 278s] [ 278s] warning: method `UnregisterAllPkgUpdateInfo` should have a snake case name [ 278s] --> ./src/pkgmgr/server/util.rs:706:12 [ 278s] | [ 278s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_all_pkg_update_info` [ 278s] [ 278s] warning: method `EnableApp` should have a snake case name [ 278s] --> ./src/pkgmgr/server/util.rs:728:12 [ 278s] | [ 278s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 278s] | ^^^^^^^^^ help: convert the identifier to snake case: `enable_app` [ 278s] [ 278s] warning: method `DisableApp` should have a snake case name [ 278s] --> ./src/pkgmgr/server/util.rs:738:12 [ 278s] | [ 278s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 278s] | ^^^^^^^^^^ help: convert the identifier to snake case: `disable_app` [ 278s] [ 278s] warning: method `EnableGlobalApp` should have a snake case name [ 278s] --> ./src/pkgmgr/server/util.rs:747:12 [ 278s] | [ 278s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 278s] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app` [ 278s] [ 278s] warning: method `DisableGlobalApp` should have a snake case name [ 278s] --> ./src/pkgmgr/server/util.rs:757:12 [ 278s] | [ 278s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 278s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app` [ 278s] [ 278s] warning: method `EnableAppSplashScreen` should have a snake case name [ 278s] --> ./src/pkgmgr/server/util.rs:766:12 [ 278s] | [ 278s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_app_splash_screen` [ 278s] [ 278s] warning: method `DisableAppSplashScreen` should have a snake case name [ 278s] --> ./src/pkgmgr/server/util.rs:775:12 [ 278s] | [ 278s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_app_splash_screen` [ 278s] [ 278s] warning: method `EnableGlobalAppSplashScreen` should have a snake case name [ 278s] --> ./src/pkgmgr/server/util.rs:784:12 [ 278s] | [ 278s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app_splash_screen` [ 278s] [ 278s] warning: method `DisableGlobalAppSplashScreen` should have a snake case name [ 278s] --> ./src/pkgmgr/server/util.rs:793:12 [ 278s] | [ 278s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app_splash_screen` [ 278s] [ 278s] warning: method `KillApp` should have a snake case name [ 278s] --> ./src/pkgmgr/server/util.rs:813:12 [ 278s] | [ 278s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 278s] | ^^^^^^^ help: convert the identifier to snake case: `kill_app` [ 278s] [ 278s] warning: method `KillAppsInPkg` should have a snake case name [ 278s] --> ./src/pkgmgr/server/util.rs:835:12 [ 278s] | [ 278s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 278s] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_apps_in_pkg` [ 278s] [ 278s] warning: method `IsAdminUser` should have a snake case name [ 278s] --> ./src/pkgmgr/server/util.rs:855:8 [ 278s] | [ 278s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 278s] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_admin_user` [ 278s] [ 278s] warning: function `IsPackageReadonly_test_return_None_from_disable1` should have a snake case name [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:13:4 [ 278s] | [ 278s] 13 | fn IsPackageReadonly_test_return_None_from_disable1() { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_disable1` [ 278s] [ 278s] warning: getting the inner pointer of a temporary `CString` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:16:77 [ 278s] | [ 278s] 16 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, false)); [ 278s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 278s] | | [ 278s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 278s] | [ 278s] = 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 [ 278s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 278s] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [ 278s] [ 278s] warning: function `IsPackageReadonly_test_return_None_from_disable2` should have a snake case name [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:20:4 [ 278s] | [ 278s] 20 | fn IsPackageReadonly_test_return_None_from_disable2() { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_disable2` [ 278s] [ 278s] warning: getting the inner pointer of a temporary `CString` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:23:77 [ 278s] | [ 278s] 23 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 278s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 278s] | | [ 278s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 278s] | [ 278s] = 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 [ 278s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 278s] [ 278s] warning: function `IsPackageReadonly_test_return_None_from_readonly` should have a snake case name [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:27:4 [ 278s] | [ 278s] 27 | fn IsPackageReadonly_test_return_None_from_readonly() { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_readonly` [ 278s] [ 278s] warning: getting the inner pointer of a temporary `CString` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:32:77 [ 278s] | [ 278s] 32 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 278s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 278s] | | [ 278s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 278s] | [ 278s] = 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 [ 278s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 278s] [ 278s] warning: function `IsPackageReadonly_test_return_someTrue_from_readonly` should have a snake case name [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:36:4 [ 278s] | [ 278s] 36 | fn IsPackageReadonly_test_return_someTrue_from_readonly() { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_some_true_from_readonly` [ 278s] [ 278s] warning: getting the inner pointer of a temporary `CString` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:46:83 [ 278s] | [ 278s] 46 | assert_eq!(Some(true), Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 278s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 278s] | | [ 278s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 278s] | [ 278s] = 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 [ 278s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 278s] [ 278s] warning: function `IsPackageReadonly_test_return_someFalse_from_readonly` should have a snake case name [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:50:4 [ 278s] | [ 278s] 50 | fn IsPackageReadonly_test_return_someFalse_from_readonly() { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_some_false_from_readonly` [ 278s] [ 278s] warning: getting the inner pointer of a temporary `CString` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:60:84 [ 278s] | [ 278s] 60 | assert_eq!(Some(false), Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 278s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 278s] | | [ 278s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 278s] | [ 278s] = 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 [ 278s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 278s] [ 278s] warning: function `KillApp_test_return_0_from_running` should have a snake case name [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:65:4 [ 278s] | [ 278s] 65 | fn KillApp_test_return_0_from_running() { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_0_from_running` [ 278s] [ 278s] warning: getting the inner pointer of a temporary `CString` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:68:64 [ 278s] | [ 278s] 68 | assert_eq!(0, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 278s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 278s] | | [ 278s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 278s] | [ 278s] = 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 [ 278s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 278s] [ 278s] warning: function `KillApp_test_return_minus_from_getpid` should have a snake case name [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:72:4 [ 278s] | [ 278s] 72 | fn KillApp_test_return_minus_from_getpid() { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_minus_from_getpid` [ 278s] [ 278s] warning: getting the inner pointer of a temporary `CString` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:77:65 [ 278s] | [ 278s] 77 | assert_eq!(-1, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 278s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 278s] | | [ 278s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 278s] | [ 278s] = 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 [ 278s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 278s] [ 278s] warning: function `KillApp_test_return_minus_from_terminate` should have a snake case name [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:81:4 [ 278s] | [ 278s] 81 | fn KillApp_test_return_minus_from_terminate() { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_minus_from_terminate` [ 278s] [ 278s] warning: getting the inner pointer of a temporary `CString` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:88:65 [ 278s] | [ 278s] 88 | assert_eq!(-1, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 278s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 278s] | | [ 278s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 278s] | [ 278s] = 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 [ 278s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 278s] [ 278s] warning: function `KillApp_test_return_0_from_end` should have a snake case name [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:92:4 [ 278s] | [ 278s] 92 | fn KillApp_test_return_0_from_end() { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_0_from_end` [ 278s] [ 278s] warning: getting the inner pointer of a temporary `CString` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:99:64 [ 278s] | [ 278s] 99 | assert_eq!(0, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 278s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 278s] | | [ 278s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 278s] | [ 278s] = 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 [ 278s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 278s] [ 278s] warning: function `GetPackageType_test_return_new_from_all` should have a snake case name [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:104:4 [ 278s] | [ 278s] 104 | fn GetPackageType_test_return_new_from_all() { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_new_from_all` [ 278s] [ 278s] warning: getting the inner pointer of a temporary `CString` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:107:83 [ 278s] | [ 278s] 107 | assert_eq!(String::new(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 278s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 278s] | | [ 278s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 278s] | [ 278s] = 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 [ 278s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 278s] [ 278s] warning: function `GetPackageType_test_return_new_from_type` should have a snake case name [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:111:4 [ 278s] | [ 278s] 111 | fn GetPackageType_test_return_new_from_type() { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_new_from_type` [ 278s] [ 278s] warning: getting the inner pointer of a temporary `CString` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:118:83 [ 278s] | [ 278s] 118 | assert_eq!(String::new(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 278s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 278s] | | [ 278s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 278s] | [ 278s] = 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 [ 278s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 278s] [ 278s] warning: function `GetPackageType_test_return_rpk_from_end` should have a snake case name [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:122:4 [ 278s] | [ 278s] 122 | fn GetPackageType_test_return_rpk_from_end() { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_rpk_from_end` [ 278s] [ 278s] warning: getting the inner pointer of a temporary `CString` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:132:87 [ 278s] | [ 278s] 132 | assert_eq!("rpk".to_string(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 278s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 278s] | | [ 278s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 278s] | [ 278s] = 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 [ 278s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 278s] [ 278s] warning: function `GetPackageType_test_return_newtype_from_end` should have a snake case name [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:136:4 [ 278s] | [ 278s] 136 | fn GetPackageType_test_return_newtype_from_end() { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_newtype_from_end` [ 278s] [ 278s] warning: getting the inner pointer of a temporary `CString` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:146:87 [ 278s] | [ 278s] 146 | assert_eq!("ABC".to_string(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 278s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 278s] | | [ 278s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 278s] | [ 278s] = 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 [ 278s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 278s] [ 278s] warning: function `CreatePkgUpdateInfo_test_return_null1` should have a snake case name [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:151:4 [ 278s] | [ 278s] 151 | fn CreatePkgUpdateInfo_test_return_null1() { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null1` [ 278s] [ 278s] warning: getting the inner pointer of a temporary `CString` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:154:95 [ 278s] | [ 278s] 154 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 278s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 278s] | | [ 278s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 278s] | [ 278s] = 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 [ 278s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 278s] [ 278s] warning: getting the inner pointer of a temporary `CString` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:154:138 [ 278s] | [ 278s] 154 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 278s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 278s] | | [ 278s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 278s] | [ 278s] = 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 [ 278s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 278s] [ 278s] warning: function `CreatePkgUpdateInfo_test_return_null2` should have a snake case name [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:158:4 [ 278s] | [ 278s] 158 | fn CreatePkgUpdateInfo_test_return_null2() { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null2` [ 278s] [ 278s] warning: getting the inner pointer of a temporary `CString` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:165:95 [ 278s] | [ 278s] 165 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 278s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 278s] | | [ 278s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 278s] | [ 278s] = 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 [ 278s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 278s] [ 278s] warning: getting the inner pointer of a temporary `CString` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:165:138 [ 278s] | [ 278s] 165 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 278s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 278s] | | [ 278s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 278s] | [ 278s] = 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 [ 278s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 278s] [ 278s] warning: function `CreatePkgUpdateInfo_test_return_null3` should have a snake case name [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:169:4 [ 278s] | [ 278s] 169 | fn CreatePkgUpdateInfo_test_return_null3() { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null3` [ 278s] [ 278s] warning: getting the inner pointer of a temporary `CString` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:178:95 [ 278s] | [ 278s] 178 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 278s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 278s] | | [ 278s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 278s] | [ 278s] = 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 [ 278s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 278s] [ 278s] warning: getting the inner pointer of a temporary `CString` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:178:138 [ 278s] | [ 278s] 178 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 278s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 278s] | | [ 278s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 278s] | [ 278s] = 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 [ 278s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 278s] [ 278s] warning: function `CreatePkgUpdateInfo_test_return_null4` should have a snake case name [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:182:4 [ 278s] | [ 278s] 182 | fn CreatePkgUpdateInfo_test_return_null4() { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null4` [ 278s] [ 278s] warning: getting the inner pointer of a temporary `CString` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:193:95 [ 278s] | [ 278s] 193 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 278s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 278s] | | [ 278s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 278s] | [ 278s] = 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 [ 278s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 278s] [ 278s] warning: getting the inner pointer of a temporary `CString` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:193:138 [ 278s] | [ 278s] 193 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 278s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 278s] | | [ 278s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 278s] | [ 278s] = 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 [ 278s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 278s] [ 278s] warning: function `CreatePkgUpdateInfo_test_return_handle` should have a snake case name [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:197:4 [ 278s] | [ 278s] 197 | fn CreatePkgUpdateInfo_test_return_handle() { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_handle` [ 278s] [ 278s] warning: getting the inner pointer of a temporary `CString` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:206:95 [ 278s] | [ 278s] 206 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 278s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 278s] | | [ 278s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 278s] | [ 278s] = 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 [ 278s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 278s] [ 278s] warning: getting the inner pointer of a temporary `CString` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:206:138 [ 278s] | [ 278s] 206 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 278s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 278s] | | [ 278s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 278s] | [ 278s] = 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 [ 278s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 278s] [ 278s] warning: function `getapplicationinfobyappid_test_return_None_from_appinfo` should have a snake case name [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:211:4 [ 278s] | [ 278s] 211 | fn getapplicationinfobyappid_test_return_None_from_appinfo() { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_appinfo` [ 278s] [ 278s] warning: getting the inner pointer of a temporary `CString` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:214:89 [ 278s] | [ 278s] 214 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 278s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 278s] | | [ 278s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 278s] | [ 278s] = 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 [ 278s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 278s] [ 278s] warning: function `getapplicationinfobyappid_test_return_None_from_global` should have a snake case name [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:218:4 [ 278s] | [ 278s] 218 | fn getapplicationinfobyappid_test_return_None_from_global() { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_global` [ 278s] [ 278s] warning: getting the inner pointer of a temporary `CString` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:225:89 [ 278s] | [ 278s] 225 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 278s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 278s] | | [ 278s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 278s] | [ 278s] = 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 [ 278s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 278s] [ 278s] warning: function `getapplicationinfobyappid_test_return_None_from_pkgid` should have a snake case name [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:229:4 [ 278s] | [ 278s] 229 | fn getapplicationinfobyappid_test_return_None_from_pkgid() { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_pkgid` [ 278s] [ 278s] warning: getting the inner pointer of a temporary `CString` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:238:89 [ 278s] | [ 278s] 238 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 278s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 278s] | | [ 278s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 278s] | [ 278s] = 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 [ 278s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 278s] [ 278s] warning: function `getapplicationinfobyappid_test_return_Some_from_end` should have a snake case name [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:242:4 [ 278s] | [ 278s] 242 | fn getapplicationinfobyappid_test_return_Some_from_end() { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `getapplicationinfobyappid_test_return_some_from_end` [ 278s] [ 278s] warning: getting the inner pointer of a temporary `CString` [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:257:127 [ 278s] | [ 278s] 257 | assert_eq!(Some((CString::new("aaa").unwrap(), true)), Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 278s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 278s] | | [ 278s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 278s] | [ 278s] = 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 [ 278s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 278s] [ 278s] warning: function `get_pkgid_bypid_for_uid_test_return_None` should have a snake case name [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:262:4 [ 278s] | [ 278s] 262 | fn get_pkgid_bypid_for_uid_test_return_None() { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_pkgid_bypid_for_uid_test_return_none` [ 278s] [ 278s] warning: function `get_pkgid_bypid_for_uid_test_return_Some` should have a snake case name [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:269:4 [ 278s] | [ 278s] 269 | fn get_pkgid_bypid_for_uid_test_return_Some() { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `get_pkgid_bypid_for_uid_test_return_some` [ 278s] [ 278s] warning: function `get_pkgid_bypid_for_uid_test_return_None_from_end` should have a snake case name [ 278s] --> ./src/pkgmgr/server/test/util_tests.rs:283:4 [ 278s] | [ 278s] 283 | fn get_pkgid_bypid_for_uid_test_return_None_from_end() { [ 278s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_pkgid_bypid_for_uid_test_return_none_from_end` [ 278s] [ 469s] warning: 735 warnings emitted [ 469s] [ 469s] + exit 0 [ 469s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EPk3Wn [ 469s] + umask 022 [ 469s] + cd /home/abuild/rpmbuild/BUILD [ 469s] + cd pkgmgr-server-1.0.15 [ 469s] + LANG=C [ 469s] + export LANG [ 469s] + unset DISPLAY [ 469s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 469s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 469s] + /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 [ 469s] /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 [ 469s] /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 [ 469s] /bin/make -f CMakeFiles/Makefile2 all [ 469s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 469s] /bin/make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/depend [ 469s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 469s] 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= [ 469s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 469s] /bin/make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build [ 469s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 469s] make[2]: Nothing to be done for 'tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build'. [ 469s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 469s] [ 50%] Built target tidl_pkgmgr_server [ 469s] /bin/make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/depend [ 469s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 469s] 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= [ 469s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 469s] /bin/make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build [ 469s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 469s] make[2]: Nothing to be done for 'util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build'. [ 469s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 469s] [100%] Built target util_pkgmgr_server [ 469s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 469s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/CMakeFiles 0 [ 469s] /bin/make -f CMakeFiles/Makefile2 preinstall [ 469s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 469s] make[1]: Nothing to be done for 'preinstall'. [ 469s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 469s] Install the project... [ 469s] /usr/bin/cmake -P cmake_install.cmake [ 469s] -- Install configuration: "" [ 469s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/systemd/system/package-manager.service [ 469s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/systemd/system/package-manager.socket [ 469s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/libtidl_pkgmgr_server.so [ 469s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/libutil_pkgmgr_server.so [ 469s] + rm -f /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/share/info/dir [ 469s] + find /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm -regex '.*\.la$' [ 469s] + xargs rm -f -- [ 469s] + xargs rm -f -- [ 469s] + find /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm -regex '.*\.a$' [ 469s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/systemd/system/basic.target.wants [ 469s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/systemd/system/sockets.target.wants [ 469s] + 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 [ 469s] + install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/bin [ 469s] + install -m 0755 ./rust_pkgmgr_server /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/bin/pkgmgr-server [ 469s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/etc/package-manager/server [ 469s] + _target= [ 469s] + _symlinks=0 [ 469s] + _files=() [ 469s] + fdupes -q -n -r /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 469s] + read _file [ 469s] + /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 [ 469s] 1+0 records in [ 469s] 1+0 records out [ 469s] 1+0 records in [ 469s] 1+0 records out [ 469s] 1+0 records in [ 469s] 1+0 records out [ 469s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/bin/pkgmgr-server [ 469s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/libtidl_pkgmgr_server.so [ 469s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/libutil_pkgmgr_server.so [ 470s] 0+0 records in [ 470s] 0+0 records out [ 470s] 0+0 records in [ 470s] 0+0 records out [ 470s] 0+0 records in [ 470s] 0+0 records out [ 470s] 797 blocks [ 470s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/pkgmgr-server-debuginfo.manifest [ 470s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/pkgmgr-server-debugsource.manifest [ 470s] + /usr/lib/rpm/check-buildroot [ 470s] + /usr/lib/rpm//brp-compress [ 470s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 470s] + /usr/lib/rpm/brp-python-hardlink [ 470s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 470s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/isu.list [ 470s] ~/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm ~/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 470s] ~/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 470s] + /etc/hal/rootstrap/hal-rootstrap-checker.sh 0 /home/abuild/rpmbuild/SOURCES [ 472s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.14jZU1 [ 472s] + umask 022 [ 472s] + cd /home/abuild/rpmbuild/BUILD [ 472s] + cd pkgmgr-server-1.0.15 [ 472s] + export LD_LIBRARY_PATH=./util_pkgmgr_server/:./tidl_pkgmgr_server/:/usr/lib/rustlib/dylib [ 472s] + LD_LIBRARY_PATH=./util_pkgmgr_server/:./tidl_pkgmgr_server/:/usr/lib/rustlib/dylib [ 472s] + RUST_BACKTRACE=1 [ 472s] + RUST_TEST_THREADS=1 [ 472s] + ./unittests_rust_pkgmgr_server [ 472s] [ 472s] running 35 tests [ 472s] test pkgmgr::server::test::admin_service_tests::run_test ... ok [ 472s] test pkgmgr::server::test::admin_service_tests::stop_test ... ok [ 473s] test pkgmgr::server::test::cache_service_tests::run_test ... ok [ 473s] test pkgmgr::server::test::cache_service_tests::stop_test ... ok [ 474s] test pkgmgr::server::test::delayed_service_tests::run_test ... ok [ 474s] test pkgmgr::server::test::delayed_service_tests::stop_test ... ok [ 474s] test pkgmgr::server::test::info_service_tests::run_test ... ok [ 474s] test pkgmgr::server::test::info_service_tests::stop_test ... ok [ 474s] test pkgmgr::server::test::signal_tests::get_uid_list_test_return_uidvec1 ... ok [ 474s] test pkgmgr::server::test::signal_tests::get_uid_list_test_return_uidvec2 ... ok [ 474s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_handle ... ok [ 474s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null1 ... ok [ 474s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null2 ... ok [ 474s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null3 ... ok [ 474s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null4 ... ok [ 474s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_new_from_all ... ok [ 474s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_new_from_type ... ok [ 474s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_newtype_from_end ... ok [ 474s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_rpk_from_end ... ok [ 474s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_disable1 ... ok [ 474s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_disable2 ... ok [ 474s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_readonly ... ok [ 474s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_someFalse_from_readonly ... ok [ 474s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_someTrue_from_readonly ... ok [ 474s] test pkgmgr::server::test::util_tests::KillApp_test_return_0_from_end ... ok [ 474s] test pkgmgr::server::test::util_tests::KillApp_test_return_0_from_running ... ok [ 474s] test pkgmgr::server::test::util_tests::KillApp_test_return_minus_from_getpid ... ok [ 474s] test pkgmgr::server::test::util_tests::KillApp_test_return_minus_from_terminate ... ok [ 474s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_None ... ok [ 474s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_None_from_end ... ok [ 474s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_Some ... ok [ 474s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_appinfo ... ok [ 474s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_global ... ok [ 474s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_pkgid ... ok [ 474s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_Some_from_end ... ok [ 474s] [ 474s] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.57s [ 474s] [ 474s] + exit 0 [ 474s] Processing files: pkgmgr-server-1.0.15-1.armv7hl [ 474s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIiAvPgoJPC9y [ 474s] ZXF1ZXN0PgoJPGFzc2lnbj4KCQk8ZmlsZXN5c3RlbSBwYXRoPSIvdXNyL2Jpbi9w [ 474s] a2dtZ3Itc2VydmVyIiBsYWJlbD0iU3lzdGVtIiBleGVjX2xhYmVsPSJub25lIiAv [ 474s] PgoJCTxmaWxlc3lzdGVtIHBhdGg9Ii92YXIvbGliL3BhY2thZ2UtbWFuYWdlciIg [ 474s] bGFiZWw9IlN5c3RlbSIgLz4KCTwvYXNzaWduPgo8L21hbmlmZXN0Pgo= [ 474s] [ 474s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.PhdJ0w [ 474s] + umask 022 [ 474s] + cd /home/abuild/rpmbuild/BUILD [ 474s] + cd pkgmgr-server-1.0.15 [ 474s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/share/licenses/pkgmgr-server [ 474s] + export LC_ALL=C [ 474s] + LC_ALL=C [ 474s] + export LICENSEDIR [ 474s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/share/licenses/pkgmgr-server [ 474s] + cp -pr LICENSE /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/share/licenses/pkgmgr-server [ 474s] + exit 0 [ 474s] Provides: libtidl_pkgmgr_server.so libutil_pkgmgr_server.so pkgmgr-server = 1.0.15-1 pkgmgr-server(armv7hl-32) = 1.0.15-1 [ 474s] Requires(interp): /bin/sh [ 474s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 474s] Requires(post): /bin/sh [ 474s] Requires: ld-linux-armhf.so.3 ld-linux-armhf.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-8bd96794529cec08.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) [ 474s] Processing files: pkgmgr-server-debugsource-1.0.15-1.armv7hl [ 474s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 474s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 474s] [ 474s] Provides: pkgmgr-server-debugsource = 1.0.15-1 pkgmgr-server-debugsource(armv7hl-32) = 1.0.15-1 [ 474s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 474s] Processing files: pkgmgr-server-debuginfo-1.0.15-1.armv7hl [ 474s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 474s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 474s] [ 474s] Provides: pkgmgr-server-debuginfo = 1.0.15-1 pkgmgr-server-debuginfo(armv7hl-32) = 1.0.15-1 [ 474s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 474s] Recommends: pkgmgr-server-debugsource(armv7hl-32) = 1.0.15-1 [ 474s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 475s] Wrote: /home/abuild/rpmbuild/SRPMS/pkgmgr-server-1.0.15-1.src.rpm [ 475s] Wrote: /home/abuild/rpmbuild/RPMS/armv7hl/pkgmgr-server-1.0.15-1.armv7hl.rpm [ 475s] Wrote: /home/abuild/rpmbuild/RPMS/armv7hl/pkgmgr-server-debugsource-1.0.15-1.armv7hl.rpm [ 476s] Wrote: /home/abuild/rpmbuild/RPMS/armv7hl/pkgmgr-server-debuginfo-1.0.15-1.armv7hl.rpm [ 476s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.NBIfog [ 476s] + umask 022 [ 476s] + cd /home/abuild/rpmbuild/BUILD [ 476s] + cd pkgmgr-server-1.0.15 [ 476s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 476s] + exit 0 [ 476s] ... checking for files with abuild user/group [ 476s] ... creating baselibs [ 476s] [ 476s] ip-192-168-56-215 finished "build pkgmgr-server.spec" at Mon Dec 16 09:48:52 UTC 2024. [ 476s]