[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.14 [ 0s] Using BUILD_ARCH=armv7l:armv7el:armv6l:armv5tejl:armv5tel:armv5l:armv4tl:armv4l:armv3l:noarch [ 0s] [ 0s] [ 0s] ip-192-168-56-88 started "build pkgmgr-server.spec" at Mon Dec 16 09:35:44 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/armv7l/RPMS --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241215.110758/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241215.110758/repos/standard/debug/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241216.010411/repos/standard/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 ... [ 1s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.14/.srcfiles.cache ... [ 1s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.14/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_standard/armv7l/RPMS [ 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/packages/ [ 6s] /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/ [ 8s] /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/ [ 15s] /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/ [ 18s] expanding package dependencies... [ 21s] copying qemu [ 21s] [ 21s] registering binfmt handlers for cross build [ 22s] calculating packages to download... [ 28s] [1/1] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241216.010411/repos/standard/packages/armv7l/rust-minizip-sys-0.1.2-1.armv7l.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 [ 32s] deleting coregl [ 32s] deleting dbus-devel [ 32s] deleting ecore-audio [ 32s] deleting ecore-audio-devel [ 32s] deleting ecore-buffer [ 33s] deleting ecore-buffer-devel [ 33s] deleting ecore-con [ 33s] deleting ecore-con-devel [ 33s] deleting ecore-core [ 33s] deleting ecore-core-devel [ 33s] deleting ecore-devel [ 33s] deleting ecore-evas [ 33s] deleting ecore-evas-devel [ 33s] deleting ecore-fb [ 33s] deleting ecore-fb-devel [ 33s] deleting ecore-file [ 33s] deleting ecore-file-devel [ 33s] deleting ecore-imf [ 33s] deleting ecore-imf-devel [ 33s] deleting ecore-imf-evas [ 33s] deleting ecore-imf-evas-devel [ 33s] deleting ecore-input [ 33s] deleting ecore-input-devel [ 33s] deleting ecore-input-evas [ 33s] deleting ecore-input-evas-devel [ 33s] deleting ecore-ipc [ 33s] deleting ecore-ipc-devel [ 33s] deleting ecore-wayland [ 33s] /sbin/ldconfig: relative path `0' used to build cache [ 33s] warning: %postun(ecore-wayland-1.25.1-0.armv7l) scriptlet failed, exit status 1 [ 33s] deleting ecore-wayland-devel [ 33s] deleting ecore-wl2 [ 34s] deleting ecore-wl2-devel [ 34s] deleting ector [ 34s] deleting ector-devel [ 34s] deleting edje [ 34s] deleting edje-devel [ 34s] deleting edje-tools [ 34s] deleting eet [ 34s] deleting eet-devel [ 34s] deleting eet-tools [ 34s] deleting eeze [ 35s] deleting eeze-devel [ 35s] deleting efl [ 35s] deleting efl-devel [ 35s] deleting efreet [ 35s] deleting efreet-devel [ 35s] deleting eina [ 35s] deleting eina-devel [ 35s] deleting eio [ 35s] deleting eio-devel [ 35s] deleting eldbus [ 36s] deleting eldbus-devel [ 36s] deleting elementary [ 36s] deleting elementary-devel [ 36s] deleting embryo [ 36s] deleting embryo-devel [ 36s] deleting emile [ 36s] deleting emile-devel [ 36s] deleting emotion [ 37s] deleting emotion-devel [ 37s] deleting eo [ 37s] deleting eo-devel [ 37s] deleting ethumb [ 37s] deleting ethumb-devel [ 37s] deleting evas [ 37s] deleting evas-devel [ 37s] deleting fontconfig [ 38s] deleting fontconfig-devel [ 38s] deleting freetype2-devel [ 38s] deleting fribidi [ 38s] deleting fribidi-devel [ 38s] deleting giflib [ 38s] deleting hal-api-common [ 38s] deleting hal-api-tbm [ 38s] /var/tmp/rpm-tmp.pdXybT: line 2: /usr/bin/hal-compatibility-checker: No such file or directory [ 38s] warning: %postun(hal-api-tbm-0.1.1-1.armv7l) scriptlet failed, exit status 127 [ 38s] deleting hal-api-tdm [ 39s] /var/tmp/rpm-tmp.fjyjUp: line 2: /usr/bin/hal-compatibility-checker: No such file or directory [ 39s] warning: %postun(hal-api-tdm-0.3.0-1.armv7l) scriptlet failed, exit status 127 [ 39s] deleting harfbuzz-devel [ 39s] deleting libdrm [ 39s] deleting libfreetype [ 39s] deleting libharfbuzz [ 39s] deleting libhyphen [ 39s] deleting libicu [ 40s] deleting libicu-devel [ 40s] deleting libjpeg [ 40s] deleting libjpeg-devel [ 40s] deleting libogg [ 40s] deleting libogg-devel [ 40s] deleting libpng [ 40s] deleting libpng-devel [ 40s] deleting libsndfile [ 40s] deleting libsndfile-devel [ 40s] deleting libtbm [ 41s] /sbin/ldconfig: relative path `0' used to build cache [ 41s] warning: %postun(libtbm-4.5.5-1.armv7l) scriptlet failed, exit status 1 [ 41s] deleting libtbm-devel [ 41s] deleting libtdm [ 41s] /sbin/ldconfig: relative path `0' used to build cache [ 41s] warning: %postun(libtdm-3.2.0-0.armv7l) scriptlet failed, exit status 1 [ 41s] deleting libtdm-client [ 41s] deleting libtdm-client-devel [ 41s] deleting libtdm-devel [ 41s] deleting libtiff [ 41s] deleting libtpl-egl [ 41s] deleting libuuid-devel [ 41s] deleting libvorbis [ 41s] deleting libvorbis-devel [ 41s] deleting libvorbisenc [ 42s] deleting libvorbisfile [ 42s] deleting libwayland-client [ 42s] deleting libwayland-cursor [ 42s] deleting libwayland-egl [ 43s] deleting libwayland-egl-tizen [ 43s] deleting libwayland-egl-tizen-devel [ 43s] deleting libwayland-extension-client [ 43s] deleting libwayland-server [ 43s] deleting libwayland-tbm-client [ 43s] deleting libwayland-tbm-devel [ 43s] deleting libwayland-tbm-server [ 44s] deleting libwebp [ 44s] deleting libxkbcommon [ 44s] deleting libxkbcommon-devel [ 44s] deleting lottie-player [ 44s] deleting lottie-player-devel [ 44s] deleting lua [ 44s] deleting lua-devel [ 44s] deleting opus [ 44s] deleting opus-devel [ 44s] deleting pixman [ 45s] deleting thorvg [ 45s] deleting thorvg-devel [ 45s] deleting tizen-core [ 45s] deleting tizen-core-devel [ 45s] deleting tizen-release [ 45s] deleting tizen-release-profile_common [ 45s] deleting ttrace-devel [ 45s] deleting wayland-devel [ 45s] deleting wayland-extension-client-devel [ 45s] 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.4 [ 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.4 [ 46s] [19/241] keeping findutils-4.3.8-1.4 [ 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.4 [ 46s] [24/241] keeping libblkid-2.39.3-1.4 [ 46s] [25/241] keeping libbz2-1.0.8-1.4 [ 46s] [26/241] keeping libcap-2.69-1.4 [ 46s] [27/241] keeping libexpat-2.6.2-1.5 [ 46s] [28/241] keeping libffi-3.4.2-1.5 [ 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.4 [ 46s] [36/241] keeping liblzma-5.4.5-1.6 [ 46s] [37/241] keeping libopenssl11-1.1.1w-1.5 [ 46s] [38/241] keeping libopenssl3-3.0.13-1.6 [ 46s] [39/241] keeping libpcre-8.45-1.4 [ 46s] [40/241] keeping libpopt-1.16-1.3 [ 46s] [41/241] keeping libpython3_121_0-3.12.0-1.5 [ 46s] [42/241] keeping libsmack-1.3.1-1.3 [ 46s] [43/241] keeping libsmartcols-2.39.3-1.4 [ 46s] [44/241] keeping libsqlite-3.44.0-1.4 [ 46s] [45/241] keeping libstdc++-14.2.0-1.6 [ 46s] [46/241] keeping libuuid-2.39.3-1.4 [ 46s] [47/241] keeping libxcrypt-4.4.36-1.6 [ 46s] [48/241] keeping libzstd1-1.5.5-1.5 [ 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.4 [ 46s] [52/241] keeping patch-2.7.6-1.3 [ 46s] [53/241] keeping pkg-config-0.29.2-1.4 [ 46s] [54/241] cumulate rust-std-shared-1.74.0-1 [ 46s] [55/241] keeping sed-4.1c-1.4 [ 46s] [56/241] keeping update-alternatives-1.22.2-1.1 [ 46s] [57/241] keeping which-2.17-1.1 [ 46s] [58/241] cumulate xdgmime-0.0.17-1.1 [ 46s] [59/241] keeping zlib-1.3-1.5 [ 46s] [60/241] keeping pcre2-10.40-1 [ 46s] [61/241] keeping pcre2-utf16-10.40-1 [ 46s] [62/241] keeping pcre2-utf32-10.40-1 [ 46s] [63/241] keeping build-compare-2023.06.18-1.1 [ 46s] [64/241] keeping hal-rootstrap-checker-0.1.0-1.1 [ 46s] [65/241] keeping libstdc++-devel-14.2.0-1.6 [ 46s] [66/241] keeping qemu-linux-user-x86_64-cross-5.2.0.2-21.1 [ 46s] [67/241] cumulate vconf-internal-keys-devel-0.0.191-0 [ 46s] [68/241] keeping capi-base-common-devel-0.4.82-1 [ 46s] [69/241] keeping cpp-14.2.0-1.6 [ 46s] [70/241] keeping gcc-c++-14.2.0-1.6 [ 46s] [71/241] keeping libblkid-devel-2.39.3-1.4 [ 46s] [72/241] keeping libffi-devel-3.4.2-1.5 [ 46s] [73/241] cumulate tidl-2.3.0-1 [ 46s] [74/241] cumulate unzip-610c25-1.1 [ 46s] [75/241] cumulate xdgmime-devel-0.0.17-1.1 [ 46s] [76/241] cumulate xz-devel-5.4.5-1.6 [ 46s] [77/241] keeping binutils-libs-2.43-1.6 [ 46s] [78/241] keeping coreutils-6.9-14.1 [ 46s] [79/241] keeping gawk-3.1.5-1.1 [ 46s] [80/241] keeping grep-2.5.2-1.3 [ 46s] [81/241] keeping libacl-2.3.2-1.4 [ 46s] [82/241] keeping libcap-tools-2.69-1.4 [ 46s] [83/241] keeping libcc1-14.2.0-1.6 [ 46s] [84/241] keeping libelf-0.189-1.6 [ 46s] [85/241] keeping libglib-2.80.5-0 [ 46s] [86/241] keeping libmount-2.39.3-1.4 [ 46s] [87/241] keeping libubsan-14.2.0-1.6 [ 46s] [88/241] keeping make-4.4-1.4 [ 46s] [89/241] cumulate minizip-1.3-1.5 [ 46s] [90/241] keeping nss-certs-3.98-1.6 [ 46s] [91/241] keeping smack-1.3.1-1.3 [ 46s] [92/241] cumulate sqlite-3.44.0-1.4 [ 46s] [93/241] keeping bzip2-1.0.8-1.4 [ 46s] [94/241] keeping dlog-9.0.1-1 [ 46s] [95/241] cumulate gettext-runtime-0.21.1-2.5 [ 46s] [96/241] keeping libfdisk-2.39.3-1.4 [ 46s] [97/241] keeping libkmod-31-1.1 [ 46s] [98/241] keeping libmagic-5.45-1.4 [ 46s] [99/241] keeping libxml2-2.12.5-1.5 [ 46s] [100/241] keeping shadow-utils-4.1.4.2-7.1 [ 46s] [101/241] keeping xz-5.4.5-1.6 [ 46s] [102/241] keeping pcre2-devel-10.40-1 [ 46s] [103/241] keeping perl-5.38.0-1.4 [ 46s] [104/241] cumulate cynara-db-migration-0.19.5-1 [ 46s] [105/241] keeping ttrace-1.1.0-1 [ 46s] [106/241] keeping build-mkbaselibs-20120927-1.1 [ 46s] [107/241] keeping linux-glibc-devel-6.6-1.6 [ 46s] [108/241] keeping dlog-logger-9.0.1-1 [ 46s] [109/241] cumulate minizip-devel-1.3-1.5 [ 46s] [110/241] keeping terminfo-base-full-6.4-1.6 [ 46s] [111/241] keeping acl-2.3.2-1.4 [ 46s] [112/241] keeping autoconf-2.71-1.7 [ 46s] [113/241] keeping file-5.45-1.4 [ 46s] [114/241] keeping glibc-locale-2.39-1.6 [ 46s] [115/241] keeping libgmodule-2.80.5-0 [ 46s] [116/241] keeping libgthread-2.80.5-0 [ 46s] [117/241] keeping libmount-devel-2.39.3-1.4 [ 46s] [118/241] keeping tar-1.17-1.1 [ 46s] [119/241] cumulate tizen-platform-config-5.0-1 [ 46s] [120/241] keeping binutils-2.43-1.6 [ 46s] [121/241] keeping gzip-1.3.12-1.4 [ 46s] [122/241] keeping libgobject-2.80.5-0 [ 46s] [123/241] keeping pam-1.1.6-1.3 [ 46s] [124/241] keeping tzdata-2023c-1.1 [ 46s] [125/241] keeping libdw-0.189-1.6 [ 46s] [126/241] keeping security-config-1.0-1 [ 46s] [127/241] cumulate gettext-tools-0.21.1-2.5 [ 46s] [128/241] keeping libarchive-3.7.2-1.5 [ 46s] [129/241] keeping shared-mime-info-1.7-0 [ 46s] [130/241] keeping gcc-14.2.0-1.6 [ 47s] [131/241] keeping qemu-accel-x86_64-armv7l-0.4-1.1 [ 47s] [132/241] keeping automake-1.16.5-1.6 [ 47s] [133/241] cumulate libtzplatform-config-5.0-1 [ 47s] [134/241] keeping libasm-0.189-1.6 [ 47s] [135/241] cumulate libncurses5-6.4-1.6 [ 47s] [136/241] keeping libncurses6-6.4-1.6 [ 47s] [137/241] keeping build-20120927-1.1 [ 47s] [138/241] keeping libsystemd-244-0 [ 47s] [139/241] keeping libgirepository2-2.80.5-0 [ 47s] [140/241] keeping libdlog-9.0.1-1 [ 47s] [141/241] keeping libncurses-6.4-1.6 [ 47s] [142/241] cumulate libtzplatform-config-devel-5.0-1 [ 47s] [143/241] keeping capi-system-resource-1.0.0-0 [ 47s] [144/241] keeping dbus-libs-1.12.20-3 [ 47s] [145/241] keeping less-643-1.1 [ 47s] [146/241] keeping libdlog-devel-9.0.1-1 [ 47s] [147/241] keeping libreadline-5.2-1.4 [ 47s] [148/241] keeping libtool-2.4.7-1.6 [ 47s] [149/241] cumulate ncurses-devel-6.4-1.6 [ 47s] [150/241] cumulate parcel-0.17.3-0 [ 47s] [151/241] keeping elfutils-0.189-1.6 [ 47s] [152/241] cumulate cmake-3.25.2-1.5 [ 47s] [153/241] cumulate libcynara-commons-0.19.5-1 [ 47s] [154/241] cumulate capi-system-info-0.5.2-1 [ 47s] [155/241] keeping systemd-244-0 [ 47s] [156/241] cumulate readline-devel-5.2-1.4 [ 47s] [157/241] cumulate capi-system-resource-devel-1.0.0-0 [ 47s] [158/241] cumulate libcynara-session-0.19.5-1 [ 47s] [159/241] cumulate parcel-devel-0.17.3-0 [ 47s] [160/241] cumulate pkgmgr-0.20.21-0 [ 47s] [161/241] keeping systemd-devel-244-0 [ 47s] [162/241] cumulate libcynara-creds-commons-0.19.5-1 [ 47s] [163/241] cumulate libxml2-tools-2.12.5-1.5 [ 47s] [164/241] cumulate libcynara-client-0.19.5-1 [ 47s] [165/241] keeping python3-base-3.12.0-1.5 [ 47s] [166/241] keeping util-linux-2.39.3-1.4 [ 47s] [167/241] keeping python3-3.12.0-1.1 [ 47s] [168/241] cumulate pkgmgr-types-devel-0.20.21-0 [ 47s] [169/241] keeping util-linux-su-2.39.3-1.4 [ 47s] [170/241] cumulate libcynara-creds-socket-0.19.5-1 [ 47s] [171/241] cumulate dbus-1.12.20-3 [ 47s] [172/241] keeping python3-setuptools-69.0.2-1.1 [ 47s] [173/241] keeping libxcrypt-devel-4.4.36-1.6 [ 47s] [174/241] cumulate rust-devel-1.74.0-1 [ 47s] [175/241] keeping nss-3.98-1.6 [ 47s] [176/241] keeping libgio-2.80.5-0 [ 47s] [177/241] keeping gio-branding-upstream-2.80.5-0 [ 47s] [178/241] keeping glibc-devel-2.39-1.6 [ 47s] [179/241] cumulate libjson-glib-1.8.0-0 [ 47s] [180/241] keeping libsoftokn3-3.98-1.6 [ 47s] [181/241] cumulate rust-1.74.0-1 [ 47s] [182/241] keeping glib2-tools-2.80.5-0 [ 47s] [183/241] cumulate libgum-1.0.8-0 [ 47s] [184/241] cumulate libsyscommon-5.0.0-0 [ 47s] [185/241] cumulate buxton2-1.8.10-0 [ 47s] [186/241] keeping rpm-4.14.1.1-1.6 [ 47s] [187/241] cumulate rust-cfg-if-1.0.0-1 [ 47s] [188/241] cumulate rust-either-1.8.1-1 [ 47s] [189/241] cumulate rust-normalize-line-endings-0.3.0-1 [ 47s] [190/241] keeping zlib-devel-1.3-1.5 [ 47s] [191/241] cumulate rust-anstyle-0.3.5-1 [ 47s] [192/241] cumulate rust-difflib-0.4.0-1 [ 48s] [193/241] cumulate rust-downcast-0.11.0-1 [ 48s] [194/241] cumulate rust-fragile-2.0.0-1 [ 48s] [195/241] cumulate rust-libc-0.2.139-1 [ 48s] [196/241] cumulate rust-libm-0.2.6-1 [ 48s] [197/241] cumulate rust-minizip-sys-0.1.2-1 [ 48s] [198/241] cumulate rust-predicates-core-1.0.6-1 [ 48s] [199/241] cumulate rust-regex-syntax-0.6.28-1 [ 48s] [200/241] cumulate rust-scopeguard-1.1.0-1 [ 48s] [201/241] cumulate rust-termtree-0.4.1-1 [ 48s] [202/241] cumulate rust-unicode-ident-1.0.6-1 [ 48s] [203/241] cumulate sqlite-devel-3.44.0-1.4 [ 48s] [204/241] cumulate vconf-compat-1.8.10-0 [ 48s] [205/241] cumulate bundle-0.17.3-0 [ 48s] [206/241] cumulate gumd-1.0.8-0 [ 48s] [207/241] keeping rpm-build-4.14.1.1-1.6 [ 48s] [208/241] cumulate bundle-devel-0.17.3-0 [ 48s] [209/241] cumulate rust-glib-sys-0.17.10-1 [ 48s] [210/241] cumulate rust-itertools-0.10.5-1 [ 48s] [211/241] cumulate rust-lock_api-0.4.9-1 [ 48s] [212/241] cumulate rust-num-traits-0.2.15-1 [ 48s] [213/241] cumulate rust-proc-macro2-1.0.51-1 [ 48s] [214/241] cumulate rust-regex-1.7.1-1 [ 48s] [215/241] cumulate rust-predicates-tree-1.0.9-1 [ 48s] [216/241] cumulate libxml2-devel-2.12.5-1.5 [ 48s] [217/241] cumulate libstorage-1.0.0-0 [ 48s] [218/241] cumulate pkgmgr-info-0.28.5-1 [ 48s] [219/241] keeping glib2-devel-2.80.5-0 [ 48s] [220/241] cumulate libgum-devel-1.0.8-0 [ 48s] [221/241] cumulate pkgmgr-info-devel-0.28.5-1 [ 48s] [222/241] cumulate vconf-compat-devel-1.8.10-0 [ 48s] [223/241] cumulate rust-float-cmp-0.9.0-1 [ 48s] [224/241] cumulate rust-quote-1.0.23-1 [ 48s] [225/241] cumulate rust-spin-0.9.5-1 [ 48s] [226/241] cumulate pkgmgr-info-parser-0.28.5-1 [ 48s] [227/241] cumulate aul-0.65.1-1 [ 48s] [228/241] cumulate rust-lazy_static-1.4.0-1 [ 48s] [229/241] cumulate pkgmgr-info-parser-devel-0.28.5-1 [ 48s] [230/241] cumulate rust-syn-1.0.107-1 [ 48s] [231/241] cumulate aul-devel-0.65.1-1 [ 48s] [232/241] cumulate rust-predicates-3.0.4-1 [ 48s] [233/241] cumulate rpc-port-1.19.1-0 [ 48s] [234/241] cumulate rpc-port-devel-1.19.1-0 [ 48s] [235/241] cumulate rust-mockall_derive-0.11.4-1 [ 48s] [236/241] cumulate rust-mockall_double-0.3.0-1 [ 48s] [237/241] cumulate pkgmgr-client-0.20.21-0 [ 48s] [238/241] cumulate pkgmgr-installer-0.20.21-0 [ 49s] [239/241] cumulate pkgmgr-installer-devel-0.20.21-0 [ 49s] [240/241] cumulate pkgmgr-client-devel-0.20.21-0 [ 49s] [241/241] cumulate rust-mockall-0.11.4-1 [ 49s] now installing cumulated packages [ 49s] Preparing... ######################################## [ 49s] Updating / installing... [ 49s] tizen-platform-config-5.0-1 ######################################## [ 51s] ln: creating symbolic link `/opt/etc/skel/media/Shared/media_shared': File exists [ 51s] capi-system-resource-devel-1.0.0-0 ######################################## [ 51s] xz-devel-5.4.5-1.6 ######################################## [ 51s] vconf-internal-keys-devel-0.0.191-0 ######################################## [ 55s] rust-std-static-1.74.0-1 ######################################## [ 55s] default-ac-domains-0.1-1.1 ######################################## [ 56s] rust-std-shared-1.74.0-1 ######################################## [ 56s] libtzplatform-config-5.0-1 ######################################## [ 56s] parcel-0.17.3-0 ######################################## [ 56s] capi-system-info-0.5.2-1 ######################################## [ 56s] pkgmgr-0.20.21-0 ######################################## [ 57s] rust-cfg-if-1.0.0-1 ######################################## [ 57s] minizip-1.3-1.5 ######################################## [ 57s] rust-predicates-core-1.0.6-1 ######################################## [ 57s] rust-unicode-ident-1.0.6-1 ######################################## [ 57s] rust-proc-macro2-1.0.51-1 ######################################## [ 58s] rust-quote-1.0.23-1 ######################################## [ 58s] rust-syn-1.0.107-1 ######################################## [ 59s] xdgmime-0.0.17-1.1 ######################################## [ 59s] xdgmime-devel-0.0.17-1.1 ######################################## [ 59s] pkgmgr-types-devel-0.20.21-0 ######################################## [ 59s] parcel-devel-0.17.3-0 ######################################## [ 59s] libtzplatform-config-devel-5.0-1 ######################################## [ 59s] rust-mockall_derive-0.11.4-1 ######################################## [ 69s] rust-devel-1.74.0-1 ######################################## [ 69s] rust-either-1.8.1-1 ######################################## [ 69s] rust-itertools-0.10.5-1 ######################################## [ 69s] rust-normalize-line-endings-0.3.0-1 ######################################## [ 70s] rust-anstyle-0.3.5-1 ######################################## [ 70s] rust-difflib-0.4.0-1 ######################################## [ 70s] rust-downcast-0.11.0-1 ######################################## [ 70s] rust-fragile-2.0.0-1 ######################################## [ 70s] rust-libc-0.2.139-1 ######################################## [ 71s] rust-libm-0.2.6-1 ######################################## [ 71s] rust-num-traits-0.2.15-1 ######################################## [ 71s] rust-float-cmp-0.9.0-1 ######################################## [ 71s] rust-regex-syntax-0.6.28-1 ######################################## [ 71s] rust-regex-1.7.1-1 ######################################## [ 72s] rust-predicates-3.0.4-1 ######################################## [ 72s] rust-scopeguard-1.1.0-1 ######################################## [ 72s] rust-lock_api-0.4.9-1 ######################################## [ 72s] rust-spin-0.9.5-1 ######################################## [ 72s] rust-lazy_static-1.4.0-1 ######################################## [ 73s] rust-termtree-0.4.1-1 ######################################## [ 73s] rust-predicates-tree-1.0.9-1 ######################################## [ 73s] libjson-glib-1.8.0-0 ######################################## [ 73s] bundle-0.17.3-0 ######################################## [ 73s] bundle-devel-0.17.3-0 ######################################## [ 73s] libxml2-tools-2.12.5-1.5 ######################################## [ 73s] libncurses5-6.4-1.6 ######################################## [ 74s] ncurses-devel-6.4-1.6 ######################################## [ 74s] readline-devel-5.2-1.4 ######################################## [ 74s] libxml2-devel-2.12.5-1.5 ######################################## [ 74s] cynara-db-migration-0.19.5-1 ######################################## [ 74s] libcynara-commons-0.19.5-1 ######################################## [ 74s] libcynara-client-0.19.5-1 ######################################## [ 74s] libcynara-session-0.19.5-1 ######################################## [ 75s] dbus-1.12.20-3 ######################################## [ 75s] libgum-1.0.8-0 ######################################## [ 76s] gumd-1.0.8-0 ######################################## [ 76s] buxton2-1.8.10-0 ######################################## [ 77s] vconf-compat-1.8.10-0 ######################################## [ 77s] vconf-compat-devel-1.8.10-0 ######################################## [ 77s] libcynara-creds-commons-0.19.5-1 ######################################## [ 77s] libcynara-creds-socket-0.19.5-1 ######################################## [ 78s] pkgmgr-info-parser-0.28.5-1 ######################################## [ 78s] pkgmgr-info-0.28.5-1 ######################################## [ 78s] pkgmgr-info-devel-0.28.5-1 ######################################## [ 78s] gettext-runtime-0.21.1-2.5 ######################################## [ 79s] sqlite-3.44.0-1.4 ######################################## [ 79s] libjson-0.17-0 ######################################## [ 79s] sqlite-devel-3.44.0-1.4 ######################################## [ 79s] pkgmgr-info-parser-devel-0.28.5-1 ######################################## [ 79s] libgum-devel-1.0.8-0 ######################################## [ 79s] minizip-devel-1.3-1.5 ######################################## [ 79s] libsyscommon-5.0.0-0 ######################################## [ 79s] libstorage-1.0.0-0 ######################################## [ 80s] aul-0.65.1-1 ######################################## [ 81s] rpc-port-1.19.1-0 ######################################## [ 81s] rpc-port-devel-1.19.1-0 ######################################## [ 81s] aul-devel-0.65.1-1 ######################################## [ 81s] pkgmgr-client-0.20.21-0 ######################################## [ 81s] pkgmgr-installer-0.20.21-0 ######################################## [ 82s] pkgmgr-installer-devel-0.20.21-0 ######################################## [ 82s] pkgmgr-client-devel-0.20.21-0 ######################################## [ 82s] gettext-tools-0.21.1-2.5 ######################################## [ 82s] rust-mockall-0.11.4-1 ######################################## [ 83s] rust-glib-sys-0.17.10-1 ######################################## [ 89s] rust-1.74.0-1 ######################################## [ 89s] rust-mockall_double-0.3.0-1 ######################################## [ 90s] rust-minizip-sys-0.1.2-1 ######################################## [ 92s] cmake-3.25.2-1.5 ######################################## [ 92s] unzip-610c25-1.1 ######################################## [ 92s] tidl-2.3.0-1 ######################################## [ 93s] fdupes-2.2.1-1.4 ######################################## [ 93s] Running capi-system-info %posttrans script [ 93s] I/O warning : failed to load external entity "/etc/config/model-config.xml" [ 93s] iniparser: cannot open /etc/info.ini [ 93s] Running pkgmgr %posttrans script [ 94s] /var/tmp/rpm-tmp.QzZt6m: line 5: pkg_initdb: command not found [ 94s] /var/tmp/rpm-tmp.QzZt6m: line 6: install_preload_pkg: command not found [ 94s] /var/tmp/rpm-tmp.QzZt6m: line 13: pkgcmd: command not found [ 94s] /var/tmp/rpm-tmp.QzZt6m: line 15: /etc/package-manager/pkgmgr-label-initial-image.sh: No such file or directory [ 94s] Running buxton2 %posttrans script [ 94s] chmod: cannot access `/etc/buxton2/*': No such file or directory [ 94s] /etc/buxton2/*: No such file or directory [ 94s] chmod: cannot access `/var/lib/buxton2/*': No such file or directory [ 94s] /var/lib/buxton2/*: No such file or directory [ 96s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.14/etc/nsswitch.conf... [ 96s] now finalizing build dir... [ 99s] ----------------------------------------------------------------- [ 99s] ----- building pkgmgr-server.spec (user abuild) [ 99s] ----------------------------------------------------------------- [ 99s] ----------------------------------------------------------------- [ 99s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_costomized_smp_mflags -j20' --define '_srcdefattr (-,root,root)' --nosignature --target=armv7l-tizen-linux --define '_build_create_debug 1' -ba /home/abuild/rpmbuild/SOURCES/pkgmgr-server.spec [ 99s] Building target platforms: armv7l-tizen-linux [ 99s] Building for target armv7l-tizen-linux [ 99s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sTu54P [ 99s] + umask 022 [ 99s] + cd /home/abuild/rpmbuild/BUILD [ 99s] + cd /home/abuild/rpmbuild/BUILD [ 99s] + rm -rf pkgmgr-server-1.0.15 [ 99s] + /bin/tar -xof - [ 99s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/pkgmgr-server-1.0.15.tar.gz [ 99s] + STATUS=0 [ 99s] + '[' 0 -ne 0 ']' [ 99s] + cd pkgmgr-server-1.0.15 [ 99s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 99s] + cp /home/abuild/rpmbuild/SOURCES/pkgmgr-server.manifest . [ 99s] + tidlc -s -l C -e -i ./tidl_pkgmgr_server/PkgMgr.tidl -o tidl_pkgmgr_server [ 99s] + mv tidl_pkgmgr_server.c tidl_pkgmgr_server.h ./tidl_pkgmgr_server/ [ 99s] + exit 0 [ 99s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.TXfStZ [ 99s] + umask 022 [ 99s] + cd /home/abuild/rpmbuild/BUILD [ 99s] + cd pkgmgr-server-1.0.15 [ 99s] + ref=/usr/lib/rpm [ 99s] + mints=0 [ 99s] + case $(uname -m) in [ 100s] ++ uname -m [ 100s] + for s in guess sub [ 100s] ++ find -maxdepth 8 -name config.guess [ 100s] + for s in guess sub [ 100s] ++ find -maxdepth 8 -name config.sub [ 100s] + LANG=C [ 100s] + export LANG [ 100s] + unset DISPLAY [ 100s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g' [ 100s] + export CFLAGS [ 100s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g' [ 100s] + export CXXFLAGS [ 100s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -I%_fmoddir' [ 100s] + export FFLAGS [ 100s] + LDFLAGS= [ 100s] + export LDFLAGS [ 100s] + export 'CFLAGS=-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 100s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 100s] + export 'CXXFLAGS=-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 100s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 100s] + export 'FFLAGS=-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 100s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 100s] ++ awk 'BEGIN {FS="."}{print $1}' [ 100s] ++ echo 1.0.15 [ 100s] + MAJORVER=1 [ 100s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 100s] + export CFLAGS [ 100s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 100s] + export CXXFLAGS [ 100s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 100s] + export FFLAGS [ 100s] + /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 . [ 100s] -- The C compiler identification is GNU 14.2.0 [ 100s] -- The CXX compiler identification is GNU 14.2.0 [ 100s] -- Detecting C compiler ABI info [ 101s] -- Detecting C compiler ABI info - done [ 101s] -- Check for working C compiler: /bin/cc - skipped [ 101s] -- Detecting C compile features [ 101s] -- Detecting C compile features - done [ 101s] -- Detecting CXX compiler ABI info [ 101s] -- Detecting CXX compiler ABI info - done [ 101s] -- Check for working CXX compiler: /bin/c++ - skipped [ 101s] -- Detecting CXX compile features [ 101s] -- Detecting CXX compile features - done [ 101s] -- Found PkgConfig: /bin/pkg-config (found version "0.29.2") [ 101s] -- Checking for module 'rpc-port' [ 102s] -- Found rpc-port, version [ 103s] -- Checking for module 'dlog' [ 103s] -- Found dlog, version 1.0 [ 104s] -- Checking for module 'gio-2.0' [ 105s] -- Found gio-2.0, version 2.80.5 [ 106s] -- Checking for module 'glib-2.0' [ 107s] -- Found glib-2.0, version 2.80.5 [ 108s] -- Checking for module 'capi-base-common' [ 108s] -- Found capi-base-common, version 0.4.82 [ 109s] -- Checking for module 'pkgmgr' [ 110s] -- Found pkgmgr, version 0.20.21 [ 111s] -- Checking for module 'libtzplatform-config' [ 111s] -- Found libtzplatform-config, version 2.0 [ 112s] -- Configuring done [ 112s] -- Generating done [ 112s] CMake Warning: [ 112s] Manually-specified variables were not used by the project: [ 112s] [ 112s] FULLVER [ 112s] INCLUDE_INSTALL_DIR [ 112s] MAJORVER [ 112s] SHARE_INSTALL_PREFIX [ 112s] SYSCONF_INSTALL_DIR [ 112s] [ 112s] [ 112s] -- Build files have been written to: /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 112s] + make -j8 [ 112s] /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 [ 112s] /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 [ 112s] make -f CMakeFiles/Makefile2 all [ 112s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 112s] make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/depend [ 112s] make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/depend [ 112s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 112s] 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= [ 112s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 112s] 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= [ 112s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 112s] make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build [ 112s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 113s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 113s] make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build [ 113s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 113s] [ 25%] Building C object util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o [ 113s] [ 50%] Building C object tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o [ 113s] cd /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server && /bin/cc -DLIBDIR=\"/usr/lib\" -Dtidl_pkgmgr_server_EXPORTS -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server/SYSTEM -I/usr/include/rpc-port -I/usr/include/dlog -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -fPIC -I/usr/include/rpc-port -I/usr/include/dlog -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MD -MT tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o -MF CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o.d -o CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o -c /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server/tidl_pkgmgr_server.c [ 113s] cd /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server && /bin/cc -DLIBDIR=\"/usr/lib\" -Dutil_pkgmgr_server_EXPORTS -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server/SYSTEM -I/usr/include/rpc-port -I/usr/include/dlog -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -fPIC -I/usr/include/rpc-port -I/usr/include/dlog -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/ -MD -MT util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o -MF CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o.d -o CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o -c /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server/util_pkgmgr_server.c [ 113s] [ 75%] Linking C shared library libutil_pkgmgr_server.so [ 113s] 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 [ 113s] /bin/cc -fPIC -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -shared -Wl,-soname,libutil_pkgmgr_server.so -o libutil_pkgmgr_server.so CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o -lrpc-port -ldlog -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lglib-2.0 -lcapi-base-common -lpkgmgr-client -ltzplatform-config-2.0 -ldl [ 114s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 114s] [ 75%] Built target util_pkgmgr_server [ 118s] [100%] Linking C shared library libtidl_pkgmgr_server.so [ 118s] 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 [ 118s] /bin/cc -fPIC -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -shared -Wl,-soname,libtidl_pkgmgr_server.so -o libtidl_pkgmgr_server.so CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o -lrpc-port -ldlog -lglib-2.0 -lcapi-base-common -ldl [ 118s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 118s] [100%] Built target tidl_pkgmgr_server [ 118s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 118s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/CMakeFiles 0 [ 118s] + export LD_LIBRARY_PATH=:/usr/lib/rustlib:/usr/lib/rustlib/dylib [ 118s] + LD_LIBRARY_PATH=:/usr/lib/rustlib:/usr/lib/rustlib/dylib [ 118s] ++ find /usr/lib -maxdepth 1 -name 'libstd-*.so' [ 118s] + __rust_std=/usr/lib/libstd-161dbff30b3b0c00.so [ 118s] + /usr/bin/rustc -C prefer-dynamic --extern std=/usr/lib/libstd-161dbff30b3b0c00.so -C codegen-units=1 -C debuginfo=2 -C opt-level=3 -C relocation-model=pic -C overflow-checks=on -C symbol-mangling-version=v0 -L/usr/lib/rustlib -L/usr/lib/rustlib/dylib --crate-type=bin --crate-name=rust_pkgmgr_server -L native=./tidl_pkgmgr_server -L native=./util_pkgmgr_server -l minizip --edition=2021 --extern libc=/usr/lib/rustlib/dylib/liblibc.so ./src/main.rs [ 124s] warning: unused import: `boxed` [ 124s] --> ./src/pkgmgr/server/admin_service.rs:4:11 [ 124s] | [ 124s] 4 | use std::{boxed, str}; [ 124s] | ^^^^^ [ 124s] | [ 124s] = note: `#[warn(unused_imports)]` on by default [ 124s] [ 124s] warning: unused import: `std::mem` [ 124s] --> ./src/pkgmgr/server/admin_service.rs:6:5 [ 124s] | [ 124s] 6 | use std::mem; [ 124s] | ^^^^^^^^ [ 124s] [ 124s] warning: unused import: `std::ptr` [ 124s] --> ./src/pkgmgr/server/admin_service.rs:7:5 [ 124s] | [ 124s] 7 | use std::ptr; [ 124s] | ^^^^^^^^ [ 124s] [ 124s] warning: unused import: `malloc` [ 124s] --> ./src/pkgmgr/server/admin_service.rs:8:18 [ 124s] | [ 124s] 8 | use libc::{free, malloc, strlen}; [ 124s] | ^^^^^^ [ 124s] [ 124s] warning: unused import: `super::Server` [ 124s] --> ./src/pkgmgr/server/admin_service.rs:10:5 [ 124s] | [ 124s] 10 | use super::Server; [ 124s] | ^^^^^^^^^^^^^ [ 124s] [ 124s] warning: type `rpc_port_stub_array_string_h` should have an upper camel case name [ 124s] --> ./src/pkgmgr/server/admin_service.rs:23:6 [ 124s] | [ 124s] 23 | type rpc_port_stub_array_string_h = *mut c_void; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RpcPortStubArrayStringH` [ 124s] | [ 124s] = note: `#[warn(non_camel_case_types)]` on by default [ 124s] [ 124s] warning: unused imports: `pid_t`, `uid_t` [ 124s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 124s] | [ 124s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 124s] | ^^^^^ ^^^^^ [ 124s] [ 124s] warning: unused imports: `c_int`, `c_void` [ 124s] --> ./src/pkgmgr/server/backend_context.rs:4:16 [ 124s] | [ 124s] 4 | use std::ffi::{c_int, c_void}; [ 124s] | ^^^^^ ^^^^^^ [ 124s] [ 124s] warning: unused import: `std::path::Path` [ 124s] --> ./src/pkgmgr/server/backend_queue.rs:10:5 [ 124s] | [ 124s] 10 | use std::path::Path; [ 124s] | ^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: denote infinite loops with `loop { ... }` [ 124s] --> ./src/pkgmgr/server/backend_queue.rs:50:9 [ 124s] | [ 124s] 50 | while true { [ 124s] | ^^^^^^^^^^ help: use `loop` [ 124s] | [ 124s] = note: `#[warn(while_true)]` on by default [ 124s] [ 124s] warning: unnecessary parentheses around `if` condition [ 124s] --> ./src/pkgmgr/server/backend_queue.rs:73:8 [ 124s] | [ 124s] 73 | if (mut_queue.is_queue_empty()) { [ 124s] | ^ ^ [ 124s] | [ 124s] = note: `#[warn(unused_parens)]` on by default [ 124s] help: remove these parentheses [ 124s] | [ 124s] 73 - if (mut_queue.is_queue_empty()) { [ 124s] 73 + if mut_queue.is_queue_empty() { [ 124s] | [ 124s] [ 124s] warning: unnecessary trailing semicolon [ 124s] --> ./src/pkgmgr/server/backend_queue.rs:297:17 [ 124s] | [ 124s] 297 | ; [ 124s] | ^ help: remove this semicolon [ 124s] | [ 124s] = note: `#[warn(redundant_semicolons)]` on by default [ 124s] [ 124s] warning: unused import: `super::Server` [ 124s] --> ./src/pkgmgr/server/cache_service.rs:1:5 [ 124s] | [ 124s] 1 | use super::Server; [ 124s] | ^^^^^^^^^^^^^ [ 124s] [ 124s] warning: unused import: `super::Server` [ 124s] --> ./src/pkgmgr/server/delayed_service.rs:1:5 [ 124s] | [ 124s] 1 | use super::Server; [ 124s] | ^^^^^^^^^^^^^ [ 124s] [ 124s] warning: unused import: `super::backend_context::*` [ 124s] --> ./src/pkgmgr/server/delayed_service.rs:4:5 [ 124s] | [ 124s] 4 | use super::backend_context::*; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: unused import: `super::request_result::*` [ 124s] --> ./src/pkgmgr/server/delayed_service.rs:5:5 [ 124s] | [ 124s] 5 | use super::request_result::*; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: unused import: `super::request_type::*` [ 124s] --> ./src/pkgmgr/server/delayed_service.rs:6:5 [ 124s] | [ 124s] 6 | use super::request_type::*; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: unused import: `super::util::*` [ 124s] --> ./src/pkgmgr/server/delayed_service.rs:7:5 [ 124s] | [ 124s] 7 | use super::util::*; [ 124s] | ^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: unused imports: `pid_t`, `uid_t` [ 124s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 124s] | [ 124s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 124s] | ^^^^^ ^^^^^ [ 124s] [ 124s] warning: unused import: `std::io::Error` [ 124s] --> ./src/pkgmgr/server/info_service.rs:3:5 [ 124s] | [ 124s] 3 | use std::io::Error; [ 124s] | ^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: unused import: `std::mem` [ 124s] --> ./src/pkgmgr/server/info_service.rs:6:5 [ 124s] | [ 124s] 6 | use std::mem; [ 124s] | ^^^^^^^^ [ 124s] [ 124s] warning: unused import: `std::ptr` [ 124s] --> ./src/pkgmgr/server/info_service.rs:7:5 [ 124s] | [ 124s] 7 | use std::ptr; [ 124s] | ^^^^^^^^ [ 124s] [ 124s] warning: unused imports: `free`, `malloc`, `strlen` [ 124s] --> ./src/pkgmgr/server/info_service.rs:8:12 [ 124s] | [ 124s] 8 | use libc::{free, malloc, strlen, mkfifo}; [ 124s] | ^^^^ ^^^^^^ ^^^^^^ [ 124s] [ 124s] warning: unused import: `super::Server` [ 124s] --> ./src/pkgmgr/server/info_service.rs:10:5 [ 124s] | [ 124s] 10 | use super::Server; [ 124s] | ^^^^^^^^^^^^^ [ 124s] [ 124s] warning: unused import: `super::service::Service` [ 124s] --> ./src/pkgmgr/server/info_service.rs:13:5 [ 124s] | [ 124s] 13 | use super::service::Service; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: unnecessary trailing semicolon [ 124s] --> ./src/pkgmgr/server/info_service.rs:49:5 [ 124s] | [ 124s] 49 | ; [ 124s] | ^ help: remove this semicolon [ 124s] [ 124s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 124s] --> ./src/pkgmgr/server/request_result.rs:7:5 [ 124s] | [ 124s] 7 | GETSIZE_SYNC(String, i32, i32), [ 124s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 124s] [ 124s] warning: variant `GET_GENERATE_LICENSE_RESULT` should have an upper camel case name [ 124s] --> ./src/pkgmgr/server/request_result.rs:8:5 [ 124s] | [ 124s] 8 | GET_GENERATE_LICENSE_RESULT(String, i32, CString, CString), [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetGenerateLicenseResult` [ 124s] [ 124s] warning: variant `MOUNT_INSTALL` should have an upper camel case name [ 124s] --> ./src/pkgmgr/server/request_type.rs:3:5 [ 124s] | [ 124s] 3 | MOUNT_INSTALL, [ 124s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MountInstall` [ 124s] [ 124s] warning: variant `ENABLE_PKG` should have an upper camel case name [ 124s] --> ./src/pkgmgr/server/request_type.rs:7:5 [ 124s] | [ 124s] 7 | ENABLE_PKG, [ 124s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnablePkg` [ 124s] [ 124s] warning: variant `DISABLE_PKG` should have an upper camel case name [ 124s] --> ./src/pkgmgr/server/request_type.rs:8:5 [ 124s] | [ 124s] 8 | DISABLE_PKG, [ 124s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisablePkg` [ 124s] [ 124s] warning: variant `REGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 124s] --> ./src/pkgmgr/server/request_type.rs:9:5 [ 124s] | [ 124s] 9 | REGISTER_PKG_UPDATE_INFO, [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterPkgUpdateInfo` [ 124s] [ 124s] warning: variant `UNREGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 124s] --> ./src/pkgmgr/server/request_type.rs:10:5 [ 124s] | [ 124s] 10 | UNREGISTER_PKG_UPDATE_INFO, [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterPkgUpdateInfo` [ 124s] [ 124s] warning: variant `UNREGISTER_ALL_PKG_UPDATE_INFO` should have an upper camel case name [ 124s] --> ./src/pkgmgr/server/request_type.rs:11:5 [ 124s] | [ 124s] 11 | UNREGISTER_ALL_PKG_UPDATE_INFO, [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterAllPkgUpdateInfo` [ 124s] [ 124s] warning: variant `ENABLE_APP` should have an upper camel case name [ 124s] --> ./src/pkgmgr/server/request_type.rs:12:5 [ 124s] | [ 124s] 12 | ENABLE_APP, [ 124s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableApp` [ 124s] [ 124s] warning: variant `DISABLE_APP` should have an upper camel case name [ 124s] --> ./src/pkgmgr/server/request_type.rs:13:5 [ 124s] | [ 124s] 13 | DISABLE_APP, [ 124s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableApp` [ 124s] [ 124s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 124s] --> ./src/pkgmgr/server/request_type.rs:15:5 [ 124s] | [ 124s] 15 | GETSIZE_SYNC, [ 124s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 124s] [ 124s] warning: variant `ENABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 124s] --> ./src/pkgmgr/server/request_type.rs:18:5 [ 124s] | [ 124s] 18 | ENABLE_GLOBAL_APP_FOR_UID, [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableGlobalAppForUid` [ 124s] [ 124s] warning: variant `DISABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 124s] --> ./src/pkgmgr/server/request_type.rs:19:5 [ 124s] | [ 124s] 19 | DISABLE_GLOBAL_APP_FOR_UID, [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableGlobalAppForUid` [ 124s] [ 124s] warning: variant `GENERATE_LICENSE_REQUEST` should have an upper camel case name [ 124s] --> ./src/pkgmgr/server/request_type.rs:22:5 [ 124s] | [ 124s] 22 | GENERATE_LICENSE_REQUEST, [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GenerateLicenseRequest` [ 124s] [ 124s] warning: variant `REGISTER_LICENSE` should have an upper camel case name [ 124s] --> ./src/pkgmgr/server/request_type.rs:23:5 [ 124s] | [ 124s] 23 | REGISTER_LICENSE, [ 124s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterLicense` [ 124s] [ 124s] warning: variant `DECRYPT_PACKAGE` should have an upper camel case name [ 124s] --> ./src/pkgmgr/server/request_type.rs:24:5 [ 124s] | [ 124s] 24 | DECRYPT_PACKAGE, [ 124s] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DecryptPackage` [ 124s] [ 124s] warning: variant `ENABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 124s] --> ./src/pkgmgr/server/request_type.rs:25:5 [ 124s] | [ 124s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableAppSplashScreen` [ 124s] [ 124s] warning: variant `DISABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 124s] --> ./src/pkgmgr/server/request_type.rs:26:5 [ 124s] | [ 124s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableAppSplashScreen` [ 124s] [ 124s] warning: variant `SET_APP_LABEL` should have an upper camel case name [ 124s] --> ./src/pkgmgr/server/request_type.rs:27:5 [ 124s] | [ 124s] 27 | SET_APP_LABEL, [ 124s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppLabel` [ 124s] [ 124s] warning: variant `SET_APP_ICON` should have an upper camel case name [ 124s] --> ./src/pkgmgr/server/request_type.rs:28:5 [ 124s] | [ 124s] 28 | SET_APP_ICON, [ 124s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppIcon` [ 124s] [ 124s] warning: variant `MIGRATE_EXTERNAL_IMAGE` should have an upper camel case name [ 124s] --> ./src/pkgmgr/server/request_type.rs:29:5 [ 124s] | [ 124s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MigrateExternalImage` [ 124s] [ 124s] warning: variant `RESOURCE_SHARE_COPY` should have an upper camel case name [ 124s] --> ./src/pkgmgr/server/request_type.rs:30:5 [ 124s] | [ 124s] 30 | RESOURCE_SHARE_COPY, [ 124s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCopy` [ 124s] [ 124s] warning: variant `RESOURCE_SHARE_CREATE_DIR` should have an upper camel case name [ 124s] --> ./src/pkgmgr/server/request_type.rs:31:5 [ 124s] | [ 124s] 31 | RESOURCE_SHARE_CREATE_DIR, [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCreateDir` [ 124s] [ 124s] warning: variant `RESOURCE_SHARE_REMOVE` should have an upper camel case name [ 124s] --> ./src/pkgmgr/server/request_type.rs:32:5 [ 124s] | [ 124s] 32 | RESOURCE_SHARE_REMOVE, [ 124s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareRemove` [ 124s] [ 124s] warning: variant `RESOURCE_SHARE_UNINSTALL` should have an upper camel case name [ 124s] --> ./src/pkgmgr/server/request_type.rs:33:5 [ 124s] | [ 124s] 33 | RESOURCE_SHARE_UNINSTALL, [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareUninstall` [ 124s] [ 124s] warning: variant `REMOVE_FILE` should have an upper camel case name [ 124s] --> ./src/pkgmgr/server/request_type.rs:34:5 [ 124s] | [ 124s] 34 | REMOVE_FILE, [ 124s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RemoveFile` [ 124s] [ 124s] warning: unused import: `CStr` [ 124s] --> ./src/pkgmgr/server/signal.rs:1:39 [ 124s] | [ 124s] 1 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 124s] | ^^^^ [ 124s] [ 124s] warning: unused import: `pid_t` [ 124s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 124s] | [ 124s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 124s] | ^^^^^ [ 124s] [ 124s] warning: unused imports: `CStr`, `CString`, `c_char`, `c_void` [ 124s] --> ./src/pkgmgr/server/signal.rs:39:20 [ 124s] | [ 124s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 124s] | ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^ [ 124s] [ 124s] warning: unused import: `pid_t` [ 124s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 124s] | [ 124s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 124s] | ^^^^^ [ 124s] [ 124s] warning: unused import: `std::cell::RefCell` [ 124s] --> ./src/pkgmgr/server/util.rs:1:5 [ 124s] | [ 124s] 1 | use std::cell::RefCell; [ 124s] | ^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: unused import: `std::rc::Rc` [ 124s] --> ./src/pkgmgr/server/util.rs:8:5 [ 124s] | [ 124s] 8 | use std::rc::Rc; [ 124s] | ^^^^^^^^^^^ [ 124s] [ 124s] warning: type `xmlChar` should have an upper camel case name [ 124s] --> ./src/pkgmgr/server/util.rs:34:6 [ 124s] | [ 124s] 34 | type xmlChar = c_uchar; [ 124s] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlChar` [ 124s] [ 124s] warning: type `xmlTextReaderPtr` should have an upper camel case name [ 124s] --> ./src/pkgmgr/server/util.rs:35:6 [ 124s] | [ 124s] 35 | type xmlTextReaderPtr = *mut c_void; [ 124s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlTextReaderPtr` [ 124s] [ 124s] warning: unused imports: `CStr`, `CString` [ 124s] --> ./src/pkgmgr/server/util.rs:39:43 [ 124s] | [ 124s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 124s] | ^^^^ ^^^^^^^ [ 124s] [ 124s] warning: unused import: `pid_t` [ 124s] --> ./src/pkgmgr/server/util.rs:40:37 [ 124s] | [ 124s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 124s] | ^^^^^ [ 124s] [ 124s] warning: unnecessary parentheses around `if` condition [ 124s] --> ./src/pkgmgr/server/util.rs:474:24 [ 124s] | [ 124s] 474 | if (cur == depth + 1) { [ 124s] | ^ ^ [ 124s] | [ 124s] help: remove these parentheses [ 124s] | [ 124s] 474 - if (cur == depth + 1) { [ 124s] 474 + if cur == depth + 1 { [ 124s] | [ 124s] [ 124s] warning: unnecessary parentheses around `if` condition [ 124s] --> ./src/pkgmgr/server/util.rs:571:12 [ 124s] | [ 124s] 571 | if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 124s] | ^ ^ [ 124s] | [ 124s] help: remove these parentheses [ 124s] | [ 124s] 571 - if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 124s] 571 + if unzOpenCurrentFile(uf) != UNZ_OK as c_int { [ 124s] | [ 124s] [ 124s] warning: unused import: `super::super::super::server::signal::*` [ 124s] --> ./src/pkgmgr/server/test/signal_tests.rs:1:5 [ 124s] | [ 124s] 1 | use super::super::super::server::signal::*; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] | [ 124s] help: consider adding a `#[cfg(test)]` to the containing module [ 124s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 124s] | [ 124s] 3 | pub mod signal_tests; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: unused import: `std::ffi::CString` [ 124s] --> ./src/pkgmgr/server/test/signal_tests.rs:2:5 [ 124s] | [ 124s] 2 | use std::ffi::CString; [ 124s] | ^^^^^^^^^^^^^^^^^ [ 124s] | [ 124s] help: consider adding a `#[cfg(test)]` to the containing module [ 124s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 124s] | [ 124s] 3 | pub mod signal_tests; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: unused import: `std::ffi::CStr` [ 124s] --> ./src/pkgmgr/server/test/signal_tests.rs:3:5 [ 124s] | [ 124s] 3 | use std::ffi::CStr; [ 124s] | ^^^^^^^^^^^^^^ [ 124s] | [ 124s] help: consider adding a `#[cfg(test)]` to the containing module [ 124s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 124s] | [ 124s] 3 | pub mod signal_tests; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: unused import: `std::ffi::c_char` [ 124s] --> ./src/pkgmgr/server/test/signal_tests.rs:4:5 [ 124s] | [ 124s] 4 | use std::ffi::c_char; [ 124s] | ^^^^^^^^^^^^^^^^ [ 124s] | [ 124s] help: consider adding a `#[cfg(test)]` to the containing module [ 124s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 124s] | [ 124s] 3 | pub mod signal_tests; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: unused import: `std::mem` [ 124s] --> ./src/pkgmgr/server/test/signal_tests.rs:5:5 [ 124s] | [ 124s] 5 | use std::mem; [ 124s] | ^^^^^^^^ [ 124s] | [ 124s] help: consider adding a `#[cfg(test)]` to the containing module [ 124s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 124s] | [ 124s] 3 | pub mod signal_tests; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: unused import: `mockall::predicate::*` [ 124s] --> ./src/pkgmgr/server/test/signal_tests.rs:6:5 [ 124s] | [ 124s] 6 | use mockall::predicate::*; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^ [ 124s] | [ 124s] help: consider adding a `#[cfg(test)]` to the containing module [ 124s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 124s] | [ 124s] 3 | pub mod signal_tests; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: unused import: `mockall::*` [ 124s] --> ./src/pkgmgr/server/test/signal_tests.rs:7:5 [ 124s] | [ 124s] 7 | use mockall::*; [ 124s] | ^^^^^^^^^^ [ 124s] | [ 124s] help: consider adding a `#[cfg(test)]` to the containing module [ 124s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 124s] | [ 124s] 3 | pub mod signal_tests; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: unused imports: `pid_t`, `uid_t` [ 124s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 124s] | [ 124s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 124s] | ^^^^^ ^^^^^ [ 124s] | [ 124s] help: consider adding a `#[cfg(test)]` to the containing module [ 124s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 124s] | [ 124s] 3 | pub mod signal_tests; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 124s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:1:5 [ 124s] | [ 124s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] | [ 124s] help: consider adding a `#[cfg(test)]` to the containing module [ 124s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 124s] | [ 124s] 4 | pub mod admin_service_tests; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: unused import: `super::super::super::server::admin_service::AdminService` [ 124s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:2:5 [ 124s] | [ 124s] 2 | use super::super::super::server::admin_service::AdminService; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] | [ 124s] help: consider adding a `#[cfg(test)]` to the containing module [ 124s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 124s] | [ 124s] 4 | pub mod admin_service_tests; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: unused import: `super::super::super::server::service::Service` [ 124s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:3:5 [ 124s] | [ 124s] 3 | use super::super::super::server::service::Service; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] | [ 124s] help: consider adding a `#[cfg(test)]` to the containing module [ 124s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 124s] | [ 124s] 4 | pub mod admin_service_tests; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 124s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:1:5 [ 124s] | [ 124s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] | [ 124s] help: consider adding a `#[cfg(test)]` to the containing module [ 124s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 124s] | [ 124s] 5 | pub mod cache_service_tests; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: unused import: `super::super::super::server::cache_service::CacheService` [ 124s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:2:5 [ 124s] | [ 124s] 2 | use super::super::super::server::cache_service::CacheService; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] | [ 124s] help: consider adding a `#[cfg(test)]` to the containing module [ 124s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 124s] | [ 124s] 5 | pub mod cache_service_tests; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: unused import: `super::super::super::server::service::Service` [ 124s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:3:5 [ 124s] | [ 124s] 3 | use super::super::super::server::service::Service; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] | [ 124s] help: consider adding a `#[cfg(test)]` to the containing module [ 124s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 124s] | [ 124s] 5 | pub mod cache_service_tests; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 124s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:1:5 [ 124s] | [ 124s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] | [ 124s] help: consider adding a `#[cfg(test)]` to the containing module [ 124s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 124s] | [ 124s] 6 | pub mod delayed_service_tests; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: unused import: `super::super::super::server::delayed_service::DelayedService` [ 124s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:2:5 [ 124s] | [ 124s] 2 | use super::super::super::server::delayed_service::DelayedService; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] | [ 124s] help: consider adding a `#[cfg(test)]` to the containing module [ 124s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 124s] | [ 124s] 6 | pub mod delayed_service_tests; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: unused import: `super::super::super::server::service::Service` [ 124s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:3:5 [ 124s] | [ 124s] 3 | use super::super::super::server::service::Service; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] | [ 124s] help: consider adding a `#[cfg(test)]` to the containing module [ 124s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 124s] | [ 124s] 6 | pub mod delayed_service_tests; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 124s] --> ./src/pkgmgr/server/test/info_service_tests.rs:1:5 [ 124s] | [ 124s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] | [ 124s] help: consider adding a `#[cfg(test)]` to the containing module [ 124s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 124s] | [ 124s] 7 | pub mod info_service_tests; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: unused import: `super::super::super::server::info_service::InfoService` [ 124s] --> ./src/pkgmgr/server/test/info_service_tests.rs:2:5 [ 124s] | [ 124s] 2 | use super::super::super::server::info_service::InfoService; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] | [ 124s] help: consider adding a `#[cfg(test)]` to the containing module [ 124s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 124s] | [ 124s] 7 | pub mod info_service_tests; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: unused import: `super::super::super::server::service::Service` [ 124s] --> ./src/pkgmgr/server/test/info_service_tests.rs:3:5 [ 124s] | [ 124s] 3 | use super::super::super::server::service::Service; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] | [ 124s] help: consider adding a `#[cfg(test)]` to the containing module [ 124s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 124s] | [ 124s] 7 | pub mod info_service_tests; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: unused import: `std::cell::RefCell` [ 124s] --> ./src/pkgmgr/server/mod.rs:22:5 [ 124s] | [ 124s] 22 | use std::cell::RefCell; [ 124s] | ^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: unused import: `std::rc::Rc` [ 124s] --> ./src/pkgmgr/server/mod.rs:26:5 [ 124s] | [ 124s] 26 | use std::rc::Rc; [ 124s] | ^^^^^^^^^^^ [ 124s] [ 124s] warning: unused import: `std::process::Command` [ 124s] --> ./src/main.rs:9:5 [ 124s] | [ 124s] 9 | use std::process::Command; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^ [ 125s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:5:26 [ 126s] | [ 126s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 126s] | ^^^^^ [ 126s] | [ 126s] = note: `#[warn(deprecated)]` on by default [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:5:33 [ 126s] | [ 126s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:20:20 [ 126s] | [ 126s] 20 | const GLOBAL_USER: uid_t = 201; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:322:25 [ 126s] | [ 126s] 322 | let mut caller_uid: uid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:443:25 [ 126s] | [ 126s] 443 | let mut caller_uid: uid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:548:25 [ 126s] | [ 126s] 548 | let mut caller_uid: uid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:595:25 [ 126s] | [ 126s] 595 | let mut caller_uid: uid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:718:25 [ 126s] | [ 126s] 718 | let mut caller_uid: uid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:801:25 [ 126s] | [ 126s] 801 | let mut caller_uid: uid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:853:25 [ 126s] | [ 126s] 853 | let mut caller_uid: uid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:937:25 [ 126s] | [ 126s] 937 | let mut caller_uid: uid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:990:25 [ 126s] | [ 126s] 990 | let mut caller_uid: uid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1015:76 [ 126s] | [ 126s] 1015 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, true) { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1072:25 [ 126s] | [ 126s] 1072 | let mut caller_uid: uid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1097:76 [ 126s] | [ 126s] 1097 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, false) { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1151:25 [ 126s] | [ 126s] 1151 | let mut caller_pid: pid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1152:25 [ 126s] | [ 126s] 1152 | let mut caller_uid: uid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1166:62 [ 126s] | [ 126s] 1166 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1196:66 [ 126s] | [ 126s] 1196 | let ret = Util::RegisterPkgUpdateInfo(handle, uid as uid_t); [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1215:25 [ 126s] | [ 126s] 1215 | let mut caller_pid: pid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1216:25 [ 126s] | [ 126s] 1216 | let mut caller_uid: uid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1230:62 [ 126s] | [ 126s] 1230 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1254:109 [ 126s] | [ 126s] 1254 | RequestResult::DELAYED(generated_req_key, Util::UnregisterPkgUpdateInfo(pkg_id.as_ptr(), uid as uid_t)) [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1270:25 [ 126s] | [ 126s] 1270 | let mut caller_pid: pid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1271:25 [ 126s] | [ 126s] 1271 | let mut caller_uid: uid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1303:95 [ 126s] | [ 126s] 1303 | RequestResult::DELAYED(generated_req_key, Util::UnregisterAllPkgUpdateInfo(uid as uid_t, caller_uid)) [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1312:45 [ 126s] | [ 126s] 1312 | fn handle_enable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1359:60 [ 126s] | [ 126s] 1359 | fn handle_enable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1371:40 [ 126s] | [ 126s] 1371 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1373:40 [ 126s] | [ 126s] 1373 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1380:36 [ 126s] | [ 126s] 1380 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1382:36 [ 126s] | [ 126s] 1382 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1392:36 [ 126s] | [ 126s] 1392 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1394:36 [ 126s] | [ 126s] 1394 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1400:28 [ 126s] | [ 126s] 1400 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1403:46 [ 126s] | [ 126s] 1403 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1404:59 [ 126s] | [ 126s] 1404 | Util::EnableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1405:32 [ 126s] | [ 126s] 1405 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1409:28 [ 126s] | [ 126s] 1409 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1415:46 [ 126s] | [ 126s] 1415 | fn handle_disable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1463:61 [ 126s] | [ 126s] 1463 | fn handle_disable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1475:40 [ 126s] | [ 126s] 1475 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1477:40 [ 126s] | [ 126s] 1477 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1484:36 [ 126s] | [ 126s] 1484 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1486:36 [ 126s] | [ 126s] 1486 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1496:36 [ 126s] | [ 126s] 1496 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1498:36 [ 126s] | [ 126s] 1498 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1504:28 [ 126s] | [ 126s] 1504 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1507:46 [ 126s] | [ 126s] 1507 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1508:60 [ 126s] | [ 126s] 1508 | Util::DisableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1509:32 [ 126s] | [ 126s] 1509 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1513:28 [ 126s] | [ 126s] 1513 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1535:25 [ 126s] | [ 126s] 1535 | let mut caller_uid: uid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1562:70 [ 126s] | [ 126s] 1562 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1588:25 [ 126s] | [ 126s] 1588 | let mut caller_uid: uid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1615:71 [ 126s] | [ 126s] 1615 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1673:74 [ 126s] | [ 126s] 1673 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1735:75 [ 126s] | [ 126s] 1735 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1765:25 [ 126s] | [ 126s] 1765 | let mut caller_uid: uid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1792:85 [ 126s] | [ 126s] 1792 | RequestResult::VAL(handle_enable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1818:25 [ 126s] | [ 126s] 1818 | let mut caller_uid: uid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1845:86 [ 126s] | [ 126s] 1845 | RequestResult::VAL(handle_disable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1863:40 [ 126s] | [ 126s] 1863 | Util::KillAppsInPkg(pkg_id, uid as uid_t) [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1873:25 [ 126s] | [ 126s] 1873 | let mut caller_pid: pid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1874:25 [ 126s] | [ 126s] 1874 | let mut caller_uid: uid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1985:25 [ 126s] | [ 126s] 1985 | let mut caller_pid: pid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1986:25 [ 126s] | [ 126s] 1986 | let mut caller_uid: uid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2035:25 [ 126s] | [ 126s] 2035 | let mut caller_pid: pid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2036:25 [ 126s] | [ 126s] 2036 | let mut caller_uid: uid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2083:54 [ 126s] | [ 126s] 2083 | Util::EnableGlobalAppSplashScreen(app_id, uid as uid_t) [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2093:55 [ 126s] | [ 126s] 2093 | Util::DisableGlobalAppSplashScreen(app_id, uid as uid_t) [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2105:25 [ 126s] | [ 126s] 2105 | let mut caller_pid: pid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2106:25 [ 126s] | [ 126s] 2106 | let mut caller_uid: uid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2137:102 [ 126s] | [ 126s] 2137 | RequestResult::DELAYED(generated_req_key, Util::update_app_label(app_id.as_ptr(), uid as uid_t , label.as_ptr())) [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2155:25 [ 126s] | [ 126s] 2155 | let mut caller_pid: pid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2156:25 [ 126s] | [ 126s] 2156 | let mut caller_uid: uid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2187:101 [ 126s] | [ 126s] 2187 | RequestResult::DELAYED(generated_req_key, Util::update_app_icon(app_id.as_ptr(), uid as uid_t , icon_path.as_ptr())) [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2312:25 [ 126s] | [ 126s] 2312 | let mut caller_uid: uid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2313:25 [ 126s] | [ 126s] 2313 | let mut caller_pid: pid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2383:25 [ 126s] | [ 126s] 2383 | let mut caller_uid: uid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2384:25 [ 126s] | [ 126s] 2384 | let mut caller_pid: pid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2453:25 [ 126s] | [ 126s] 2453 | let mut caller_uid: uid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2454:25 [ 126s] | [ 126s] 2454 | let mut caller_pid: pid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2532:25 [ 126s] | [ 126s] 2532 | let mut caller_uid: uid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2622:41 [ 126s] | [ 126s] 2622 | if unsafe { check_valid_path(uid as uid_t, pkg_id, file_path) } != 0 { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2681:19 [ 126s] | [ 126s] 2681 | pid: *mut pid_t, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2682:19 [ 126s] | [ 126s] 2682 | uid: *mut uid_t [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 126s] | [ 126s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/backend_context.rs:3:33 [ 126s] | [ 126s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/cache_service.rs:12:26 [ 126s] | [ 126s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/cache_service.rs:12:33 [ 126s] | [ 126s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/cache_service.rs:23:14 [ 126s] | [ 126s] 23 | uid: uid_t, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/cache_service.rs:48:17 [ 126s] | [ 126s] 48 | target_uid: uid_t, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/cache_service.rs:53:25 [ 126s] | [ 126s] 53 | let mut caller_uid: uid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/cache_service.rs:106:19 [ 126s] | [ 126s] 106 | pid: *mut pid_t, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/cache_service.rs:107:19 [ 126s] | [ 126s] 107 | uid: *mut uid_t [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 126s] | [ 126s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/delayed_service.rs:13:33 [ 126s] | [ 126s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/info_service.rs:2:26 [ 126s] | [ 126s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/info_service.rs:2:33 [ 126s] | [ 126s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/info_service.rs:37:90 [ 126s] | [ 126s] 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... [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/info_service.rs:38:94 [ 126s] | [ 126s] 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... [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/info_service.rs:40:88 [ 126s] | [ 126s] 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... [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/info_service.rs:40:128 [ 126s] | [ 126s] 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... [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/info_service.rs:54:17 [ 126s] | [ 126s] 54 | target_uid: uid_t, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/info_service.rs:60:25 [ 126s] | [ 126s] 60 | let mut caller_pid: pid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/info_service.rs:61:25 [ 126s] | [ 126s] 61 | let mut caller_uid: uid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/info_service.rs:114:17 [ 126s] | [ 126s] 114 | target_uid: uid_t, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/info_service.rs:120:25 [ 126s] | [ 126s] 120 | let mut caller_pid: pid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/info_service.rs:121:25 [ 126s] | [ 126s] 121 | let mut caller_uid: uid_t = 0; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/info_service.rs:223:17 [ 126s] | [ 126s] 223 | target_uid: uid_t, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/info_service.rs:225:15 [ 126s] | [ 126s] 225 | pid: *mut pid_t, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/info_service.rs:228:43 [ 126s] | [ 126s] 228 | Util::check_app(pkg_id, target_uid as uid_t, pid) [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/info_service.rs:242:19 [ 126s] | [ 126s] 242 | pid: *mut pid_t, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/info_service.rs:243:19 [ 126s] | [ 126s] 243 | uid: *mut uid_t [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/signal.rs:2:26 [ 126s] | [ 126s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 126s] | [ 126s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/signal.rs:99:20 [ 126s] | [ 126s] 99 | const GLOBAL_USER: uid_t = 201; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/signal.rs:101:33 [ 126s] | [ 126s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/signal.rs:101:47 [ 126s] | [ 126s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/signal.rs:102:26 [ 126s] | [ 126s] 102 | let mut uid_vec: Vec = vec![]; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/signal.rs:110:28 [ 126s] | [ 126s] 110 | let mut uids: *mut uid_t = std::ptr::null_mut(); [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/signal.rs:124:14 [ 126s] | [ 126s] 124 | uid: uid_t, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/signal.rs:53:44 [ 126s] | [ 126s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/signal.rs:62:14 [ 126s] | [ 126s] 62 | uid: uid_t, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/signal.rs:86:14 [ 126s] | [ 126s] 86 | uid: uid_t, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/signal.rs:40:30 [ 126s] | [ 126s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 126s] | [ 126s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/signal.rs:44:45 [ 126s] | [ 126s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:4:26 [ 126s] | [ 126s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:4:33 [ 126s] | [ 126s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:22:21 [ 126s] | [ 126s] 22 | const REGULAR_USER: uid_t = 5000; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:23:20 [ 126s] | [ 126s] 23 | const GLOBAL_USER: uid_t = 201; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:25:18 [ 126s] | [ 126s] 25 | const APPFW_UID: uid_t = 301; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:307:36 [ 126s] | [ 126s] 307 | let uid : uid_t = user_data as uid_t; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:307:15 [ 126s] | [ 126s] 307 | let uid : uid_t = user_data as uid_t; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:326:81 [ 126s] | [ 126s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:326:93 [ 126s] | [ 126s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:326:25 [ 126s] | [ 126s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:326:37 [ 126s] | [ 126s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:389:57 [ 126s] | [ 126s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:420:55 [ 126s] | [ 126s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:686:62 [ 126s] | [ 126s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:696:63 [ 126s] | [ 126s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:706:44 [ 126s] | [ 126s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:706:63 [ 126s] | [ 126s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:728:49 [ 126s] | [ 126s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:738:50 [ 126s] | [ 126s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:747:55 [ 126s] | [ 126s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:757:56 [ 126s] | [ 126s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:766:61 [ 126s] | [ 126s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:775:62 [ 126s] | [ 126s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:784:67 [ 126s] | [ 126s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:793:68 [ 126s] | [ 126s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:802:54 [ 126s] | [ 126s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:802:64 [ 126s] | [ 126s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:813:47 [ 126s] | [ 126s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:835:53 [ 126s] | [ 126s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:855:25 [ 126s] | [ 126s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:983:69 [ 126s] | [ 126s] 983 | pub fn get_application_info_by_appid(appid: *const c_char, uid: uid_t) -> Option<(CString, bool)> { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:1012:41 [ 126s] | [ 126s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:1012:53 [ 126s] | [ 126s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:1029:71 [ 126s] | [ 126s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:1029:90 [ 126s] | [ 126s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:1076:56 [ 126s] | [ 126s] 1076 | pub fn update_app_label(appid: *const c_char, uid: uid_t, label: *const c_char) -> c_int { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:1080:55 [ 126s] | [ 126s] 1080 | pub fn update_app_icon(appid: *const c_char, uid: uid_t, icon_path: *const c_char) -> c_int { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:1108:49 [ 126s] | [ 126s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:1108:66 [ 126s] | [ 126s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:156:14 [ 126s] | [ 126s] 156 | uid: uid_t, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:166:14 [ 126s] | [ 126s] 166 | uid: uid_t, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:180:14 [ 126s] | [ 126s] 180 | uid: uid_t [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:185:14 [ 126s] | [ 126s] 185 | uid: uid_t [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:189:14 [ 126s] | [ 126s] 189 | uid: uid_t [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:194:14 [ 126s] | [ 126s] 194 | uid: uid_t, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:200:14 [ 126s] | [ 126s] 200 | uid: uid_t, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:206:14 [ 126s] | [ 126s] 206 | uid: uid_t, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:212:14 [ 126s] | [ 126s] 212 | uid: uid_t, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:218:14 [ 126s] | [ 126s] 218 | uid: uid_t, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:224:14 [ 126s] | [ 126s] 224 | uid: uid_t, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:237:32 [ 126s] | [ 126s] 237 | fn gum_user_get_sync(uid : uid_t, offline : c_int) -> *mut c_void; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:266:21 [ 126s] | [ 126s] 266 | caller_uid: uid_t [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:274:14 [ 126s] | [ 126s] 274 | uid: uid_t, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:40:30 [ 126s] | [ 126s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:40:37 [ 126s] | [ 126s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:46:18 [ 126s] | [ 126s] 46 | uid: uid_t, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:52:18 [ 126s] | [ 126s] 52 | uid: uid_t, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:67:18 [ 126s] | [ 126s] 67 | uid: uid_t, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:101:18 [ 126s] | [ 126s] 101 | uid: uid_t, [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:122:70 [ 126s] | [ 126s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:123:66 [ 126s] | [ 126s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:124:59 [ 126s] | [ 126s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/util.rs:125:97 [ 126s] | [ 126s] 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; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 126s] | [ 126s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 126s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 126s] | [ 126s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 126s] | ^^^^^ [ 126s] [ 134s] warning: unreachable expression [ 134s] --> ./src/pkgmgr/server/backend_queue.rs:64:5 [ 134s] | [ 134s] 61 | return G_SOURCE_CONTINUE; [ 134s] | ------------------------ any code following this expression is unreachable [ 134s] ... [ 134s] 64 | 1 [ 134s] | ^ unreachable expression [ 134s] | [ 134s] = note: `#[warn(unreachable_code)]` on by default [ 134s] [ 137s] warning: unused variable: `context` [ 137s] --> ./src/pkgmgr/server/admin_service.rs:297:5 [ 137s] | [ 137s] 297 | context: *mut c_void, [ 137s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 137s] | [ 137s] = note: `#[warn(unused_variables)]` on by default [ 137s] [ 137s] warning: unused variable: `context` [ 137s] --> ./src/pkgmgr/server/admin_service.rs:306:5 [ 137s] | [ 137s] 306 | context: *mut c_void, [ 137s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 137s] [ 137s] warning: unused variable: `user_data` [ 137s] --> ./src/pkgmgr/server/admin_service.rs:307:5 [ 137s] | [ 137s] 307 | user_data: *mut c_void, [ 137s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 137s] [ 137s] warning: unused variable: `ret` [ 137s] --> ./src/pkgmgr/server/admin_service.rs:323:9 [ 137s] | [ 137s] 323 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 137s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 137s] [ 137s] warning: unused variable: `req_id` [ 137s] --> ./src/pkgmgr/server/admin_service.rs:318:5 [ 137s] | [ 137s] 318 | req_id: *const c_char, [ 137s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 137s] [ 137s] warning: variable does not need to be mutable [ 137s] --> ./src/pkgmgr/server/admin_service.rs:415:9 [ 137s] | [ 137s] 415 | let mut backend_context = BackendContext::new( [ 137s] | ----^^^^^^^^^^^^^^^ [ 137s] | | [ 137s] | help: remove this `mut` [ 137s] | [ 137s] = note: `#[warn(unused_mut)]` on by default [ 137s] [ 137s] warning: unused variable: `ret` [ 137s] --> ./src/pkgmgr/server/admin_service.rs:444:9 [ 137s] | [ 137s] 444 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 137s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 137s] [ 137s] warning: unused variable: `req_id` [ 137s] --> ./src/pkgmgr/server/admin_service.rs:434:5 [ 137s] | [ 137s] 434 | req_id: *const c_char, [ 137s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 137s] [ 138s] warning: variable does not need to be mutable [ 138s] --> ./src/pkgmgr/server/admin_service.rs:510:9 [ 138s] | [ 138s] 510 | let mut backend_context = BackendContext::new( [ 138s] | ----^^^^^^^^^^^^^^^ [ 138s] | | [ 138s] | help: remove this `mut` [ 138s] [ 138s] warning: unused variable: `ret` [ 138s] --> ./src/pkgmgr/server/admin_service.rs:549:9 [ 138s] | [ 138s] 549 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 138s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 138s] [ 138s] warning: variable does not need to be mutable [ 138s] --> ./src/pkgmgr/server/admin_service.rs:571:9 [ 138s] | [ 138s] 571 | let mut backend_context = BackendContext::new( [ 138s] | ----^^^^^^^^^^^^^^^ [ 138s] | | [ 138s] | help: remove this `mut` [ 138s] [ 138s] warning: unused variable: `ret` [ 138s] --> ./src/pkgmgr/server/admin_service.rs:596:9 [ 138s] | [ 138s] 596 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 138s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 138s] [ 138s] warning: unused variable: `req_id` [ 138s] --> ./src/pkgmgr/server/admin_service.rs:591:5 [ 138s] | [ 138s] 591 | req_id: *const c_char, [ 138s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 138s] [ 138s] warning: variable does not need to be mutable [ 138s] --> ./src/pkgmgr/server/admin_service.rs:688:9 [ 138s] | [ 138s] 688 | let mut backend_context = BackendContext::new( [ 138s] | ----^^^^^^^^^^^^^^^ [ 138s] | | [ 138s] | help: remove this `mut` [ 138s] [ 138s] warning: unused variable: `ret` [ 138s] --> ./src/pkgmgr/server/admin_service.rs:719:9 [ 138s] | [ 138s] 719 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 138s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 138s] [ 138s] warning: unused variable: `req_id` [ 138s] --> ./src/pkgmgr/server/admin_service.rs:706:5 [ 138s] | [ 138s] 706 | req_id: *const c_char, [ 138s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 138s] [ 138s] warning: variable does not need to be mutable [ 138s] --> ./src/pkgmgr/server/admin_service.rs:763:9 [ 138s] | [ 138s] 763 | let mut backend_context = BackendContext::new( [ 138s] | ----^^^^^^^^^^^^^^^ [ 138s] | | [ 138s] | help: remove this `mut` [ 138s] [ 138s] warning: unused variable: `ret` [ 138s] --> ./src/pkgmgr/server/admin_service.rs:802:9 [ 138s] | [ 138s] 802 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 138s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 138s] [ 138s] warning: variable does not need to be mutable [ 138s] --> ./src/pkgmgr/server/admin_service.rs:824:9 [ 138s] | [ 138s] 824 | let mut backend_context = BackendContext::new( [ 138s] | ----^^^^^^^^^^^^^^^ [ 138s] | | [ 138s] | help: remove this `mut` [ 138s] [ 138s] warning: unused variable: `ret` [ 138s] --> ./src/pkgmgr/server/admin_service.rs:854:9 [ 138s] | [ 138s] 854 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 138s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 138s] [ 138s] warning: variable does not need to be mutable [ 138s] --> ./src/pkgmgr/server/admin_service.rs:898:9 [ 138s] | [ 138s] 898 | let mut backend_context = BackendContext::new( [ 138s] | ----^^^^^^^^^^^^^^^ [ 138s] | | [ 138s] | help: remove this `mut` [ 138s] [ 138s] warning: unused variable: `ret` [ 138s] --> ./src/pkgmgr/server/admin_service.rs:938:9 [ 138s] | [ 138s] 938 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 138s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 138s] [ 138s] warning: variable does not need to be mutable [ 138s] --> ./src/pkgmgr/server/admin_service.rs:961:9 [ 138s] | [ 138s] 961 | let mut backend_context = BackendContext::new( [ 138s] | ----^^^^^^^^^^^^^^^ [ 138s] | | [ 138s] | help: remove this `mut` [ 138s] [ 138s] warning: unused variable: `ret` [ 138s] --> ./src/pkgmgr/server/admin_service.rs:991:9 [ 138s] | [ 138s] 991 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 138s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 138s] [ 138s] warning: variable does not need to be mutable [ 138s] --> ./src/pkgmgr/server/admin_service.rs:1038:17 [ 138s] | [ 138s] 1038 | let mut backend_context = BackendContext::new( [ 138s] | ----^^^^^^^^^^^^^^^ [ 138s] | | [ 138s] | help: remove this `mut` [ 138s] [ 138s] warning: unused variable: `ret` [ 138s] --> ./src/pkgmgr/server/admin_service.rs:1073:9 [ 138s] | [ 138s] 1073 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 138s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 138s] [ 138s] warning: variable does not need to be mutable [ 138s] --> ./src/pkgmgr/server/admin_service.rs:1123:17 [ 138s] | [ 138s] 1123 | let mut backend_context = BackendContext::new( [ 138s] | ----^^^^^^^^^^^^^^^ [ 138s] | | [ 138s] | help: remove this `mut` [ 138s] [ 138s] warning: unused variable: `pkg_id` [ 138s] --> ./src/pkgmgr/server/admin_service.rs:1186:9 [ 138s] | [ 138s] 1186 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) }); [ 138s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 138s] [ 138s] warning: variable does not need to be mutable [ 138s] --> ./src/pkgmgr/server/admin_service.rs:1180:9 [ 138s] | [ 138s] 1180 | let mut handle : *mut c_void = Util::CreatePkgUpdateInfo(pkg_id, version, update_type); [ 138s] | ----^^^^^^ [ 138s] | | [ 138s] | help: remove this `mut` [ 138s] [ 138s] warning: variable does not need to be mutable [ 138s] --> ./src/pkgmgr/server/admin_service.rs:1190:9 [ 138s] | [ 138s] 1190 | let mut backend_context = BackendContext::new( [ 138s] | ----^^^^^^^^^^^^^^^ [ 138s] | | [ 138s] | help: remove this `mut` [ 138s] [ 138s] warning: variable does not need to be mutable [ 138s] --> ./src/pkgmgr/server/admin_service.rs:1248:9 [ 138s] | [ 138s] 1248 | let mut backend_context = BackendContext::new( [ 138s] | ----^^^^^^^^^^^^^^^ [ 138s] | | [ 138s] | help: remove this `mut` [ 138s] [ 138s] warning: variable does not need to be mutable [ 138s] --> ./src/pkgmgr/server/admin_service.rs:1297:9 [ 138s] | [ 138s] 1297 | let mut backend_context = BackendContext::new( [ 138s] | ----^^^^^^^^^^^^^^^ [ 138s] | | [ 138s] | help: remove this `mut` [ 138s] [ 138s] warning: unused variable: `is_global` [ 138s] --> ./src/pkgmgr/server/admin_service.rs:1321:17 [ 138s] | [ 138s] 1321 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 138s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 138s] [ 138s] warning: unused variable: `is_global` [ 138s] --> ./src/pkgmgr/server/admin_service.rs:1368:17 [ 138s] | [ 138s] 1368 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 138s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 138s] [ 138s] warning: unused variable: `is_global` [ 138s] --> ./src/pkgmgr/server/admin_service.rs:1424:17 [ 138s] | [ 138s] 1424 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 138s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 138s] [ 138s] warning: unused variable: `is_global` [ 138s] --> ./src/pkgmgr/server/admin_service.rs:1472:17 [ 138s] | [ 138s] 1472 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 138s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 138s] [ 139s] warning: unused variable: `caller_uid` [ 139s] --> ./src/pkgmgr/server/admin_service.rs:1535:13 [ 139s] | [ 139s] 1535 | let mut caller_uid: uid_t = 0; [ 139s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 139s] [ 139s] warning: unused variable: `context` [ 139s] --> ./src/pkgmgr/server/admin_service.rs:1521:5 [ 139s] | [ 139s] 1521 | context: *mut c_void, [ 139s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 139s] [ 139s] warning: variable does not need to be mutable [ 139s] --> ./src/pkgmgr/server/admin_service.rs:1535:9 [ 139s] | [ 139s] 1535 | let mut caller_uid: uid_t = 0; [ 139s] | ----^^^^^^^^^^ [ 139s] | | [ 139s] | help: remove this `mut` [ 139s] [ 139s] warning: variable does not need to be mutable [ 139s] --> ./src/pkgmgr/server/admin_service.rs:1558:13 [ 139s] | [ 139s] 1558 | let mut backend_context = BackendContext::new( [ 139s] | ----^^^^^^^^^^^^^^^ [ 139s] | | [ 139s] | help: remove this `mut` [ 139s] [ 139s] warning: unused variable: `caller_uid` [ 139s] --> ./src/pkgmgr/server/admin_service.rs:1588:13 [ 139s] | [ 139s] 1588 | let mut caller_uid: uid_t = 0; [ 139s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 139s] [ 139s] warning: unused variable: `context` [ 139s] --> ./src/pkgmgr/server/admin_service.rs:1574:5 [ 139s] | [ 139s] 1574 | context: *mut c_void, [ 139s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 139s] [ 139s] warning: variable does not need to be mutable [ 139s] --> ./src/pkgmgr/server/admin_service.rs:1588:9 [ 139s] | [ 139s] 1588 | let mut caller_uid: uid_t = 0; [ 139s] | ----^^^^^^^^^^ [ 139s] | | [ 139s] | help: remove this `mut` [ 139s] [ 139s] warning: variable does not need to be mutable [ 139s] --> ./src/pkgmgr/server/admin_service.rs:1611:13 [ 139s] | [ 139s] 1611 | let mut backend_context = BackendContext::new( [ 139s] | ----^^^^^^^^^^^^^^^ [ 139s] | | [ 139s] | help: remove this `mut` [ 139s] [ 139s] warning: unused variable: `context` [ 139s] --> ./src/pkgmgr/server/admin_service.rs:1627:5 [ 139s] | [ 139s] 1627 | context: *mut c_void, [ 139s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 139s] [ 139s] warning: variable does not need to be mutable [ 139s] --> ./src/pkgmgr/server/admin_service.rs:1669:17 [ 139s] | [ 139s] 1669 | let mut backend_context = BackendContext::new( [ 139s] | ----^^^^^^^^^^^^^^^ [ 139s] | | [ 139s] | help: remove this `mut` [ 139s] [ 139s] warning: unused variable: `context` [ 139s] --> ./src/pkgmgr/server/admin_service.rs:1689:5 [ 139s] | [ 139s] 1689 | context: *mut c_void, [ 139s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 139s] [ 139s] warning: variable does not need to be mutable [ 139s] --> ./src/pkgmgr/server/admin_service.rs:1731:17 [ 139s] | [ 139s] 1731 | let mut backend_context = BackendContext::new( [ 139s] | ----^^^^^^^^^^^^^^^ [ 139s] | | [ 139s] | help: remove this `mut` [ 139s] [ 139s] warning: unused variable: `caller_uid` [ 139s] --> ./src/pkgmgr/server/admin_service.rs:1765:13 [ 139s] | [ 139s] 1765 | let mut caller_uid: uid_t = 0; [ 139s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 139s] [ 139s] warning: unused variable: `context` [ 139s] --> ./src/pkgmgr/server/admin_service.rs:1751:5 [ 139s] | [ 139s] 1751 | context: *mut c_void, [ 139s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 139s] [ 139s] warning: variable does not need to be mutable [ 139s] --> ./src/pkgmgr/server/admin_service.rs:1765:9 [ 139s] | [ 139s] 1765 | let mut caller_uid: uid_t = 0; [ 139s] | ----^^^^^^^^^^ [ 139s] | | [ 139s] | help: remove this `mut` [ 139s] [ 139s] warning: variable does not need to be mutable [ 139s] --> ./src/pkgmgr/server/admin_service.rs:1788:13 [ 139s] | [ 139s] 1788 | let mut backend_context = BackendContext::new( [ 139s] | ----^^^^^^^^^^^^^^^ [ 139s] | | [ 139s] | help: remove this `mut` [ 139s] [ 139s] warning: unused variable: `caller_uid` [ 139s] --> ./src/pkgmgr/server/admin_service.rs:1818:13 [ 139s] | [ 139s] 1818 | let mut caller_uid: uid_t = 0; [ 139s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 139s] [ 139s] warning: unused variable: `context` [ 139s] --> ./src/pkgmgr/server/admin_service.rs:1804:5 [ 139s] | [ 139s] 1804 | context: *mut c_void, [ 139s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 139s] [ 139s] warning: variable does not need to be mutable [ 139s] --> ./src/pkgmgr/server/admin_service.rs:1818:9 [ 139s] | [ 139s] 1818 | let mut caller_uid: uid_t = 0; [ 139s] | ----^^^^^^^^^^ [ 139s] | | [ 139s] | help: remove this `mut` [ 139s] [ 139s] warning: variable does not need to be mutable [ 139s] --> ./src/pkgmgr/server/admin_service.rs:1841:13 [ 139s] | [ 139s] 1841 | let mut backend_context = BackendContext::new( [ 139s] | ----^^^^^^^^^^^^^^^ [ 139s] | | [ 139s] | help: remove this `mut` [ 139s] [ 139s] warning: unused variable: `context` [ 139s] --> ./src/pkgmgr/server/admin_service.rs:1857:5 [ 139s] | [ 139s] 1857 | context: *mut c_void, [ 139s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 139s] [ 139s] warning: unused variable: `pid` [ 139s] --> ./src/pkgmgr/server/admin_service.rs:1860:5 [ 139s] | [ 139s] 1860 | pid: *mut c_int, [ 139s] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [ 139s] [ 139s] warning: unused variable: `user_data` [ 139s] --> ./src/pkgmgr/server/admin_service.rs:1861:5 [ 139s] | [ 139s] 1861 | user_data: *mut c_void, [ 139s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 139s] [ 139s] warning: variable does not need to be mutable [ 139s] --> ./src/pkgmgr/server/admin_service.rs:1900:9 [ 139s] | [ 139s] 1900 | let mut backend_context = BackendContext::new( [ 139s] | ----^^^^^^^^^^^^^^^ [ 139s] | | [ 139s] | help: remove this `mut` [ 139s] [ 139s] warning: unused variable: `context` [ 139s] --> ./src/pkgmgr/server/admin_service.rs:1932:5 [ 139s] | [ 139s] 1932 | context: *mut c_void, [ 139s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 139s] [ 139s] warning: variable does not need to be mutable [ 139s] --> ./src/pkgmgr/server/admin_service.rs:2012:9 [ 139s] | [ 139s] 2012 | let mut backend_context = BackendContext::new( [ 139s] | ----^^^^^^^^^^^^^^^ [ 139s] | | [ 139s] | help: remove this `mut` [ 139s] [ 139s] warning: variable does not need to be mutable [ 139s] --> ./src/pkgmgr/server/admin_service.rs:2063:9 [ 139s] | [ 139s] 2063 | let mut backend_context = BackendContext::new( [ 139s] | ----^^^^^^^^^^^^^^^ [ 139s] | | [ 139s] | help: remove this `mut` [ 139s] [ 139s] warning: unused variable: `context` [ 139s] --> ./src/pkgmgr/server/admin_service.rs:2078:5 [ 139s] | [ 139s] 2078 | context: *mut c_void, [ 139s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 139s] [ 139s] warning: unused variable: `user_data` [ 139s] --> ./src/pkgmgr/server/admin_service.rs:2081:5 [ 139s] | [ 139s] 2081 | user_data: *mut c_void, [ 139s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 139s] [ 139s] warning: unused variable: `context` [ 139s] --> ./src/pkgmgr/server/admin_service.rs:2088:5 [ 139s] | [ 139s] 2088 | context: *mut c_void, [ 139s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 139s] [ 139s] warning: unused variable: `user_data` [ 139s] --> ./src/pkgmgr/server/admin_service.rs:2091:5 [ 139s] | [ 139s] 2091 | user_data: *mut c_void, [ 139s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 139s] [ 139s] warning: variable does not need to be mutable [ 139s] --> ./src/pkgmgr/server/admin_service.rs:2133:9 [ 139s] | [ 139s] 2133 | let mut backend_context = BackendContext::new( [ 139s] | ----^^^^^^^^^^^^^^^ [ 139s] | | [ 139s] | help: remove this `mut` [ 139s] [ 139s] warning: variable does not need to be mutable [ 139s] --> ./src/pkgmgr/server/admin_service.rs:2183:9 [ 139s] | [ 139s] 2183 | let mut backend_context = BackendContext::new( [ 139s] | ----^^^^^^^^^^^^^^^ [ 139s] | | [ 139s] | help: remove this `mut` [ 139s] [ 139s] warning: unused variable: `context` [ 139s] --> ./src/pkgmgr/server/admin_service.rs:2198:5 [ 139s] | [ 139s] 2198 | context: *mut c_void, [ 139s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 139s] [ 139s] warning: unused variable: `uid` [ 139s] --> ./src/pkgmgr/server/admin_service.rs:2199:5 [ 139s] | [ 139s] 2199 | uid: c_int, [ 139s] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [ 139s] [ 139s] warning: unused variable: `pkg_id` [ 139s] --> ./src/pkgmgr/server/admin_service.rs:2200:5 [ 139s] | [ 139s] 2200 | pkg_id: *const c_char, [ 139s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 139s] [ 139s] warning: unused variable: `user_data` [ 139s] --> ./src/pkgmgr/server/admin_service.rs:2201:5 [ 139s] | [ 139s] 2201 | user_data: *mut c_void, [ 139s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 139s] [ 139s] warning: variable does not need to be mutable [ 139s] --> ./src/pkgmgr/server/admin_service.rs:2364:9 [ 139s] | [ 139s] 2364 | let mut backend_context = BackendContext::new( [ 139s] | ----^^^^^^^^^^^^^^^ [ 139s] | | [ 139s] | help: remove this `mut` [ 139s] [ 139s] warning: variable does not need to be mutable [ 139s] --> ./src/pkgmgr/server/admin_service.rs:2434:9 [ 139s] | [ 139s] 2434 | let mut backend_context = BackendContext::new( [ 139s] | ----^^^^^^^^^^^^^^^ [ 139s] | | [ 139s] | help: remove this `mut` [ 139s] [ 140s] warning: variable does not need to be mutable [ 140s] --> ./src/pkgmgr/server/admin_service.rs:2504:9 [ 140s] | [ 140s] 2504 | let mut backend_context = BackendContext::new( [ 140s] | ----^^^^^^^^^^^^^^^ [ 140s] | | [ 140s] | help: remove this `mut` [ 140s] [ 140s] warning: unused variable: `ret` [ 140s] --> ./src/pkgmgr/server/admin_service.rs:2533:9 [ 140s] | [ 140s] 2533 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 140s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 140s] [ 140s] warning: variable does not need to be mutable [ 140s] --> ./src/pkgmgr/server/admin_service.rs:2552:9 [ 140s] | [ 140s] 2552 | let mut backend_context = BackendContext::new( [ 140s] | ----^^^^^^^^^^^^^^^ [ 140s] | | [ 140s] | help: remove this `mut` [ 140s] [ 140s] warning: unused variable: `context` [ 140s] --> ./src/pkgmgr/server/admin_service.rs:2567:5 [ 140s] | [ 140s] 2567 | context: *mut c_void, [ 140s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 140s] [ 140s] warning: variable does not need to be mutable [ 140s] --> ./src/pkgmgr/server/admin_service.rs:2597:9 [ 140s] | [ 140s] 2597 | let mut backend_context = BackendContext::new( [ 140s] | ----^^^^^^^^^^^^^^^ [ 140s] | | [ 140s] | help: remove this `mut` [ 140s] [ 140s] warning: unused variable: `context` [ 140s] --> ./src/pkgmgr/server/admin_service.rs:2612:5 [ 140s] | [ 140s] 2612 | context: *mut c_void, [ 140s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 140s] [ 140s] warning: variable does not need to be mutable [ 140s] --> ./src/pkgmgr/server/admin_service.rs:2656:9 [ 140s] | [ 140s] 2656 | let mut backend_context = BackendContext::new( [ 140s] | ----^^^^^^^^^^^^^^^ [ 140s] | | [ 140s] | help: remove this `mut` [ 140s] [ 140s] warning: unused variable: `status` [ 140s] --> ./src/pkgmgr/server/backend_queue.rs:38:17 [ 140s] | [ 140s] 38 | let mut status: c_int; [ 140s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [ 140s] [ 140s] warning: unused variable: `io` [ 140s] --> ./src/pkgmgr/server/backend_queue.rs:30:33 [ 140s] | [ 140s] 30 | extern "C" fn signal_handler_cb(io: *mut glib_sys::GIOChannel, [ 140s] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [ 140s] [ 140s] warning: unused variable: `cond` [ 140s] --> ./src/pkgmgr/server/backend_queue.rs:31:9 [ 140s] | [ 140s] 31 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 140s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 140s] [ 140s] warning: variable does not need to be mutable [ 140s] --> ./src/pkgmgr/server/backend_queue.rs:71:9 [ 140s] | [ 140s] 71 | let mut mut_queue = queue.borrow_mut(); [ 140s] | ----^^^^^^^^^ [ 140s] | | [ 140s] | help: remove this `mut` [ 140s] [ 140s] warning: variable does not need to be mutable [ 140s] --> ./src/pkgmgr/server/backend_queue.rs:189:28 [ 140s] | [ 140s] 189 | pub fn push(&mut self, mut context: BackendContext) -> i32 { [ 140s] | ----^^^^^^^ [ 140s] | | [ 140s] | help: remove this `mut` [ 140s] [ 140s] warning: unused variable: `req_key` [ 140s] --> ./src/pkgmgr/server/backend_queue.rs:296:41 [ 140s] | [ 140s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 140s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_key` [ 140s] [ 140s] warning: unused variable: `ret` [ 140s] --> ./src/pkgmgr/server/backend_queue.rs:296:50 [ 140s] | [ 140s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 140s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 140s] [ 140s] warning: unused variable: `s` [ 140s] --> ./src/pkgmgr/server/backend_queue.rs:296:55 [ 140s] | [ 140s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 140s] | ^ help: if this is intentional, prefix it with an underscore: `_s` [ 140s] [ 140s] warning: variable does not need to be mutable [ 140s] --> ./src/pkgmgr/server/backend_queue.rs:278:25 [ 140s] | [ 140s] 278 | let mut backend: &mut Backend = backend.unwrap(); [ 140s] | ----^^^^^^^ [ 140s] | | [ 140s] | help: remove this `mut` [ 140s] [ 140s] warning: unused variable: `context` [ 140s] --> ./src/pkgmgr/server/cache_service.rs:31:5 [ 140s] | [ 140s] 31 | context: *mut c_void, [ 140s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 140s] [ 140s] warning: unused variable: `context` [ 140s] --> ./src/pkgmgr/server/cache_service.rs:40:5 [ 140s] | [ 140s] 40 | context: *mut c_void, [ 140s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 140s] [ 140s] warning: unused variable: `user_data` [ 140s] --> ./src/pkgmgr/server/cache_service.rs:41:5 [ 140s] | [ 140s] 41 | user_data: *mut c_void, [ 140s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 140s] [ 140s] warning: unused variable: `ret` [ 140s] --> ./src/pkgmgr/server/cache_service.rs:54:9 [ 140s] | [ 140s] 54 | let ret = unsafe { rpc_port_stub_PkgMgrForClearCache_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 140s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 140s] [ 140s] warning: value assigned to `pkg_type` is never read [ 140s] --> ./src/pkgmgr/server/cache_service.rs:63:13 [ 140s] | [ 140s] 63 | let mut pkg_type: String = String::new(); [ 140s] | ^^^^^^^^ [ 140s] | [ 140s] = help: maybe it is overwritten before being read? [ 140s] = note: `#[warn(unused_assignments)]` on by default [ 140s] [ 140s] warning: variable does not need to be mutable [ 140s] --> ./src/pkgmgr/server/cache_service.rs:83:9 [ 140s] | [ 140s] 83 | let mut backend_context = BackendContext::new( [ 140s] | ----^^^^^^^^^^^^^^^ [ 140s] | | [ 140s] | help: remove this `mut` [ 140s] [ 140s] warning: unused variable: `context` [ 140s] --> ./src/pkgmgr/server/delayed_service.rs:32:5 [ 140s] | [ 140s] 32 | context: *mut c_void, [ 140s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 140s] [ 140s] warning: unused variable: `context` [ 140s] --> ./src/pkgmgr/server/delayed_service.rs:41:5 [ 140s] | [ 140s] 41 | context: *mut c_void, [ 140s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 140s] [ 140s] warning: unused variable: `user_data` [ 140s] --> ./src/pkgmgr/server/delayed_service.rs:42:5 [ 140s] | [ 140s] 42 | user_data: *mut c_void, [ 140s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 140s] [ 140s] warning: unused variable: `context` [ 140s] --> ./src/pkgmgr/server/delayed_service.rs:48:5 [ 140s] | [ 140s] 48 | context: *mut c_void, [ 140s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 140s] [ 141s] warning: unused variable: `context` [ 141s] --> ./src/pkgmgr/server/info_service.rs:43:55 [ 141s] | [ 141s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 141s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 141s] [ 141s] warning: unused variable: `context` [ 141s] --> ./src/pkgmgr/server/info_service.rs:48:58 [ 141s] | [ 141s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 141s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 141s] [ 141s] warning: unused variable: `user_data` [ 141s] --> ./src/pkgmgr/server/info_service.rs:48:80 [ 141s] | [ 141s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 141s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 141s] [ 141s] warning: variable does not need to be mutable [ 141s] --> ./src/pkgmgr/server/info_service.rs:98:9 [ 141s] | [ 141s] 98 | let mut backend_context = BackendContext::new( [ 141s] | ----^^^^^^^^^^^^^^^ [ 141s] | | [ 141s] | help: remove this `mut` [ 141s] [ 141s] warning: variable does not need to be mutable [ 141s] --> ./src/pkgmgr/server/info_service.rs:160:9 [ 141s] | [ 141s] 160 | let mut backend_context = BackendContext::new( [ 141s] | ----^^^^^^^^^^^^^^^ [ 141s] | | [ 141s] | help: remove this `mut` [ 141s] [ 141s] warning: unused variable: `context` [ 141s] --> ./src/pkgmgr/server/info_service.rs:195:5 [ 141s] | [ 141s] 195 | context: *mut c_void, [ 141s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 141s] [ 141s] warning: unused variable: `context` [ 141s] --> ./src/pkgmgr/server/info_service.rs:222:5 [ 141s] | [ 141s] 222 | context: *mut c_void, [ 141s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 141s] [ 141s] warning: unused variable: `user_data` [ 141s] --> ./src/pkgmgr/server/info_service.rs:226:5 [ 141s] | [ 141s] 226 | user_data: *mut c_void [ 141s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 141s] [ 141s] warning: variable does not need to be mutable [ 141s] --> ./src/pkgmgr/server/signal.rs:144:13 [ 141s] | [ 141s] 144 | let mut c_req_type: c_int; [ 141s] | ----^^^^^^^^^^ [ 141s] | | [ 141s] | help: remove this `mut` [ 141s] [ 141s] warning: value assigned to `size_result` is never read [ 141s] --> ./src/pkgmgr/server/util.rs:351:17 [ 141s] | [ 141s] 351 | let mut size_result: i64 = -1; [ 141s] | ^^^^^^^^^^^ [ 141s] | [ 141s] = help: maybe it is overwritten before being read? [ 141s] [ 141s] warning: unused variable: `cond` [ 141s] --> ./src/pkgmgr/server/util.rs:341:9 [ 141s] | [ 141s] 341 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 141s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 141s] [ 141s] warning: value assigned to `ret` is never read [ 141s] --> ./src/pkgmgr/server/util.rs:425:21 [ 141s] | [ 141s] 425 | let mut ret: c_int = 0; [ 141s] | ^^^ [ 141s] | [ 141s] = help: maybe it is overwritten before being read? [ 141s] [ 141s] warning: unreachable pattern [ 141s] --> ./src/pkgmgr/server/util.rs:478:17 [ 141s] | [ 141s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 141s] | -------------------------------------- matches any value [ 141s] ... [ 141s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 141s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 141s] | [ 141s] = note: `#[warn(unreachable_patterns)]` on by default [ 141s] [ 141s] warning: unreachable pattern [ 141s] --> ./src/pkgmgr/server/util.rs:483:17 [ 141s] | [ 141s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 141s] | -------------------------------------- matches any value [ 141s] ... [ 141s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 141s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 141s] [ 141s] warning: unreachable pattern [ 141s] --> ./src/pkgmgr/server/util.rs:488:17 [ 141s] | [ 141s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 141s] | -------------------------------------- matches any value [ 141s] ... [ 141s] 488 | _ => { [ 141s] | ^ unreachable pattern [ 141s] [ 141s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 141s] --> ./src/pkgmgr/server/util.rs:473:17 [ 141s] | [ 141s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 141s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 141s] [ 141s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_TEXT` [ 141s] --> ./src/pkgmgr/server/util.rs:478:17 [ 141s] | [ 141s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 141s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_TEXT` [ 141s] [ 141s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 141s] --> ./src/pkgmgr/server/util.rs:483:17 [ 141s] | [ 141s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 141s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 141s] [ 141s] warning: variable does not need to be mutable [ 141s] --> ./src/pkgmgr/server/util.rs:519:13 [ 141s] | [ 141s] 519 | let mut attr = xmlTextReaderGetAttribute(reader, RES_TYPE_ATTRIBUTE_KEY.as_ptr()); [ 141s] | ----^^^^ [ 141s] | | [ 141s] | help: remove this `mut` [ 141s] [ 141s] warning: variable does not need to be mutable [ 141s] --> ./src/pkgmgr/server/util.rs:588:13 [ 141s] | [ 141s] 588 | let mut reader = [ 141s] | ----^^^^^^ [ 141s] | | [ 141s] | help: remove this `mut` [ 141s] [ 141s] warning: unused variable: `gid` [ 141s] --> ./src/pkgmgr/server/util.rs:891:52 [ 141s] | [ 141s] 891 | fn set_environment(mut envs: Vec<&mut String>, gid: libc::gid_t) -> bool { [ 141s] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [ 141s] [ 142s] warning: variable does not need to be mutable [ 142s] --> ./src/pkgmgr/server/mod.rs:89:13 [ 142s] | [ 142s] 89 | let mut backend_queue = BackendQueue::new(self.mainloop); [ 142s] | ----^^^^^^^^^^^^^ [ 142s] | | [ 142s] | help: remove this `mut` [ 142s] [ 142s] warning: unnecessary `unsafe` block [ 142s] --> ./src/pkgmgr/server/admin_service.rs:995:32 [ 142s] | [ 142s] 993 | unsafe { [ 142s] | ------ because it's nested under this `unsafe` block [ 142s] 994 | match CString::new(generated_req_key.clone()) { [ 142s] 995 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 142s] | ^^^^^^ unnecessary `unsafe` block [ 142s] | [ 142s] = note: `#[warn(unused_unsafe)]` on by default [ 142s] [ 142s] warning: unnecessary `unsafe` block [ 142s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 142s] | [ 142s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 142s] | ^^^^^^ unnecessary `unsafe` block [ 142s] | [ 142s] ::: ./src/pkgmgr/server/admin_service.rs:993:5 [ 142s] | [ 142s] 993 | unsafe { [ 142s] | ------ because it's nested under this `unsafe` block [ 142s] ... [ 142s] 997 | error!("Fail to generate req key, err({:?})", e); [ 142s] | ------------------------------------------------ in this macro invocation [ 142s] | [ 142s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 142s] [ 142s] warning: unnecessary `unsafe` block [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1023:46 [ 142s] | [ 142s] 993 | unsafe { [ 142s] | ------ because it's nested under this `unsafe` block [ 142s] ... [ 142s] 1023 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 142s] | ^^^^^^ unnecessary `unsafe` block [ 142s] [ 142s] warning: unnecessary `unsafe` block [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1077:32 [ 142s] | [ 142s] 1075 | unsafe { [ 142s] | ------ because it's nested under this `unsafe` block [ 142s] 1076 | match CString::new(generated_req_key.clone()) { [ 142s] 1077 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 142s] | ^^^^^^ unnecessary `unsafe` block [ 142s] [ 142s] warning: unnecessary `unsafe` block [ 142s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 142s] | [ 142s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 142s] | ^^^^^^ unnecessary `unsafe` block [ 142s] | [ 142s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 142s] | [ 142s] 1075 | unsafe { [ 142s] | ------ because it's nested under this `unsafe` block [ 142s] ... [ 142s] 1079 | error!("Fail to generate req key, err({:?})", e); [ 142s] | ------------------------------------------------ in this macro invocation [ 142s] | [ 142s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 142s] [ 142s] warning: unnecessary `unsafe` block [ 142s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 142s] | [ 142s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 142s] | ^^^^^^ unnecessary `unsafe` block [ 142s] | [ 142s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 142s] | [ 142s] 1075 | unsafe { [ 142s] | ------ because it's nested under this `unsafe` block [ 142s] ... [ 142s] 1106 | debug!("push disable pkg {pkg_id}"); [ 142s] | ----------------------------------- in this macro invocation [ 142s] | [ 142s] = 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) [ 142s] [ 142s] warning: unnecessary `unsafe` block [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1108:46 [ 142s] | [ 142s] 1075 | unsafe { [ 142s] | ------ because it's nested under this `unsafe` block [ 142s] ... [ 142s] 1108 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 142s] | ^^^^^^ unnecessary `unsafe` block [ 142s] [ 142s] warning: unnecessary `unsafe` block [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1537:5 [ 142s] | [ 142s] 1537 | unsafe { [ 142s] | ^^^^^^ unnecessary `unsafe` block [ 142s] [ 142s] warning: unnecessary `unsafe` block [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1590:5 [ 142s] | [ 142s] 1590 | unsafe { [ 142s] | ^^^^^^ unnecessary `unsafe` block [ 142s] [ 142s] warning: unnecessary `unsafe` block [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1643:32 [ 142s] | [ 142s] 1641 | unsafe { [ 142s] | ------ because it's nested under this `unsafe` block [ 142s] 1642 | match CString::new(generated_req_key.clone()) { [ 142s] 1643 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 142s] | ^^^^^^ unnecessary `unsafe` block [ 142s] [ 142s] warning: unnecessary `unsafe` block [ 142s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 142s] | [ 142s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 142s] | ^^^^^^ unnecessary `unsafe` block [ 142s] | [ 142s] ::: ./src/pkgmgr/server/admin_service.rs:1641:5 [ 142s] | [ 142s] 1641 | unsafe { [ 142s] | ------ because it's nested under this `unsafe` block [ 142s] ... [ 142s] 1645 | error!("Fail to generate req key, err({:?})", e); [ 142s] | ------------------------------------------------ in this macro invocation [ 142s] | [ 142s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 142s] [ 142s] warning: unnecessary `unsafe` block [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1657:42 [ 142s] | [ 142s] 1641 | unsafe { [ 142s] | ------ because it's nested under this `unsafe` block [ 142s] ... [ 142s] 1657 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 142s] | ^^^^^^ unnecessary `unsafe` block [ 142s] [ 142s] warning: unnecessary `unsafe` block [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1705:32 [ 142s] | [ 142s] 1703 | unsafe { [ 142s] | ------ because it's nested under this `unsafe` block [ 142s] 1704 | match CString::new(generated_req_key.clone()) { [ 142s] 1705 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 142s] | ^^^^^^ unnecessary `unsafe` block [ 142s] [ 142s] warning: unnecessary `unsafe` block [ 142s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 142s] | [ 142s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 142s] | ^^^^^^ unnecessary `unsafe` block [ 142s] | [ 142s] ::: ./src/pkgmgr/server/admin_service.rs:1703:5 [ 142s] | [ 142s] 1703 | unsafe { [ 142s] | ------ because it's nested under this `unsafe` block [ 142s] ... [ 142s] 1707 | error!("Fail to generate req key, err({:?})", e); [ 142s] | ------------------------------------------------ in this macro invocation [ 142s] | [ 142s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 142s] [ 142s] warning: unnecessary `unsafe` block [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1719:42 [ 142s] | [ 142s] 1703 | unsafe { [ 142s] | ------ because it's nested under this `unsafe` block [ 142s] ... [ 142s] 1719 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 142s] | ^^^^^^ unnecessary `unsafe` block [ 142s] [ 142s] warning: unnecessary `unsafe` block [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1767:5 [ 142s] | [ 142s] 1767 | unsafe { [ 142s] | ^^^^^^ unnecessary `unsafe` block [ 142s] [ 142s] warning: unnecessary `unsafe` block [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1820:5 [ 142s] | [ 142s] 1820 | unsafe { [ 142s] | ^^^^^^ unnecessary `unsafe` block [ 142s] [ 142s] warning: unnecessary `unsafe` block [ 142s] --> ./src/pkgmgr/server/admin_service.rs:2296:17 [ 142s] | [ 142s] 2294 | unsafe { [ 142s] | ------ because it's nested under this `unsafe` block [ 142s] 2295 | if !(*value.offset(i as isize)).is_null() { [ 142s] 2296 | unsafe { free(*value.offset(i as isize) as *mut _) }; [ 142s] | ^^^^^^ unnecessary `unsafe` block [ 142s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/admin_service.rs:2793:9 [ 143s] | [ 143s] 2793 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] 2794 | let ret = rpc_port_stub_PkgMgrAdmin_register(&mut self.callbacks, self as *mut _ as *mut c_void); [ 143s] 2795 | debug!("admin service start : {ret}"); [ 143s] | ------------------------------------- in this macro invocation [ 143s] | [ 143s] = 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) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/admin_service.rs:2801:9 [ 143s] | [ 143s] 2801 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] 2802 | let ret = rpc_port_stub_PkgMgrAdmin_unregister(); [ 143s] 2803 | debug!("ret : {ret}"); [ 143s] | --------------------- in this macro invocation [ 143s] | [ 143s] = 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) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 143s] | [ 143s] 204 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 210 | error!("sigprocmask failed"); [ 143s] | ---------------------------- in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 143s] | [ 143s] 204 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 216 | error!("signalfd failed"); [ 143s] | ------------------------- in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/cache_service.rs:134:9 [ 143s] | [ 143s] 134 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 139 | debug!("cache service start : {ret}"); [ 143s] | ------------------------------------- in this macro invocation [ 143s] | [ 143s] = 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) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/cache_service.rs:145:9 [ 143s] | [ 143s] 145 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] 146 | let ret = rpc_port_stub_PkgMgrForClearCache_unregister(); [ 143s] 147 | debug!("ret : {ret}"); [ 143s] | --------------------- in this macro invocation [ 143s] | [ 143s] = 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) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/delayed_service.rs:107:9 [ 143s] | [ 143s] 107 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 112 | debug!("delayed result service start : {ret}"); [ 143s] | ---------------------------------------------- in this macro invocation [ 143s] | [ 143s] = 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) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/delayed_service.rs:118:9 [ 143s] | [ 143s] 118 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] 119 | let ret = rpc_port_stub_DelayedResult_unregister(); [ 143s] 120 | debug!("ret : {ret}"); [ 143s] | --------------------- in this macro invocation [ 143s] | [ 143s] = 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) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/info_service.rs:165:13 [ 143s] | [ 143s] 165 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] 166 | if mkfifo(fifo_path.as_ptr() as *const c_char, 0o600) < 0 { [ 143s] 167 | error!("Failed to mkfifo"); [ 143s] | -------------------------- in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/info_service.rs:268:9 [ 143s] | [ 143s] 268 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 273 | debug!("info service start : {ret}"); [ 143s] | ------------------------------------ in this macro invocation [ 143s] | [ 143s] = 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) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/info_service.rs:279:9 [ 143s] | [ 143s] 279 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] 280 | let ret = rpc_port_stub_PkgMgr_unregister(); [ 143s] 281 | debug!("ret : {ret}"); [ 143s] | --------------------- in this macro invocation [ 143s] | [ 143s] = 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) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 143s] | [ 143s] 131 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 134 | error!("Failure in creating the pkgmgr_installer object"); [ 143s] | --------------------------------------------------------- in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 143s] | [ 143s] 131 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 139 | error!("pkgmgr_installer_set_uid fail"); [ 143s] | --------------------------------------- in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 143s] | [ 143s] 131 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 154 | warn!("Unsupported req_type[{}]", req_type as c_int); [ 143s] | ---------------------------------------------------- in this macro invocation [ 143s] | [ 143s] = 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) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 143s] | [ 143s] 131 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 161 | error!("pkgmgr_installer_set_request_type fail"); [ 143s] | ------------------------------------------------ in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 143s] | [ 143s] 131 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 168 | error!("pkgmgr_installer_set_session_id fail : {:?}", c_req_id); [ 143s] | --------------------------------------------------------------- in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 143s] | [ 143s] 309 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] 310 | if pkgmgrinfo_appinfo_get_appid(pkgmgrinfo_appinfo_h, &mut app_id) != 0 { [ 143s] 311 | error!("Failed get appid"); [ 143s] | -------------------------- in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 143s] | [ 143s] 309 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 314 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 143s] | --------------------------------------------------------- in this macro invocation [ 143s] | [ 143s] = 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) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/server/util.rs:326:46 [ 143s] | [ 143s] 325 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 143s] | [ 143s] 325 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 329 | error!("Failed get appid"); [ 143s] | -------------------------- in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 143s] | [ 143s] 325 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 333 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 143s] | --------------------------------------------------------- in this macro invocation [ 143s] | [ 143s] = 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) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 143s] | [ 143s] 342 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 355 | error!("getsize fd read failed: {:?}", Util::c_char_to_cstr((*err).message)); [ 143s] | ---------------------------------------------------------------------------- in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 143s] | [ 143s] 342 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 361 | error!("empty result"); [ 143s] | ---------------------- in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 143s] | [ 143s] 390 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 399 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 143s] | --------------------------------------------------------- in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 143s] | [ 143s] 390 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 406 | error!("Fail to get is readonly"); [ 143s] | --------------------------------- in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 143s] | [ 143s] 422 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 429 | error!("Not found package"); [ 143s] | --------------------------- in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 143s] | [ 143s] 422 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 445 | debug!("pkgtype - {ret_string}"); [ 143s] | -------------------------------- in this macro invocation [ 143s] | [ 143s] = 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) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:803:9 [ 143s] | [ 143s] 803 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] 804 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 143s] 805 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 143s] | ------------------------------------------------------ in this macro invocation [ 143s] | [ 143s] = 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) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 143s] | [ 143s] 814 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] 815 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 143s] 816 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 143s] | ------------------------------------------------------ in this macro invocation [ 143s] | [ 143s] = 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) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 143s] | [ 143s] 814 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 822 | error!("Failed to get pid of app{:?}", CStr::from_ptr(appid)); [ 143s] | ------------------------------------------------------------- in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 143s] | [ 143s] 814 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 828 | error!("Failed to terminate app{:?}", CStr::from_ptr(appid)); [ 143s] | ------------------------------------------------------------ in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 143s] | [ 143s] 836 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 840 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 143s] | --------------------------------------------------------- in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 143s] | [ 143s] 836 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 848 | error!("Failed to get list for {:?}", CStr::from_ptr(pkgid)); [ 143s] | ------------------------------------------------------------ in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 143s] | [ 143s] 859 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 863 | warn!("cannot get user information from gumd, retry"); [ 143s] | ----------------------------------------------------- in this macro invocation [ 143s] | [ 143s] = 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) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 143s] | [ 143s] 859 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 871 | error!("cannot get user information from gumd, failed"); [ 143s] | ------------------------------------------------------- in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 143s] | [ 143s] 859 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 877 | error!("cannot get user type"); [ 143s] | ------------------------------ in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 143s] | [ 143s] 892 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 895 | error!("Failed to get the number of supplementary group IDs"); [ 143s] | ------------------------------------------------------------- in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 143s] | [ 143s] 892 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 901 | error!("Failed to get list of supplementary group IDs"); [ 143s] | ------------------------------------------------------- in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 143s] | [ 143s] 892 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 908 | error!("setgroups failed: {}", *__errno_location()); [ 143s] | --------------------------------------------------- in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 143s] | [ 143s] 928 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 942 | error!("getpwuid_r fail"); [ 143s] | ------------------------- in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 143s] | [ 143s] 928 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 949 | error!("Fail to get str, err({:?})", e); [ 143s] | --------------------------------------- in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 143s] | [ 143s] 928 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 957 | error!("Fail to get str, err({:?})", e); [ 143s] | --------------------------------------- in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 143s] | [ 143s] 928 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 966 | error!("Failed to set env for the user : {}", APPFW_UID); [ 143s] | -------------------------------------------------------- in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 143s] | [ 143s] 984 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 987 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 143s] | ----------------------------------------------------------------------------------- in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 143s] | [ 143s] 984 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 993 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 143s] | ---------------------------------------------------------------------------- in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 143s] | [ 143s] 984 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 1000 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 143s] | ---------------------------------------------------------------------------- in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/server/util.rs:1005:40 [ 143s] | [ 143s] 984 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 1005 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) } ); [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 143s] | [ 143s] 1081 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 1084 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 143s] | ----------------------------------------------------------------------------------- in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 143s] | [ 143s] 1081 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 1090 | error!("Failed get root path for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 143s] | --------------------------------------------------------------------------- in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 143s] | [ 143s] 1081 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 1098 | error!("Invalid path[{:?}]", Self::c_char_to_cstr(icon_path)); [ 143s] | ------------------------------------------------------------- in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:1109:9 [ 143s] | [ 143s] 1109 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 1119 | error!("Fail to get list for {:?}", CStr::from_ptr(pkgid)); [ 143s] | ---------------------------------------------------------- in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 143s] | [ 143s] 1129 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 1132 | error!("failed to open the fifo({}), errno({})", fifo_path, *__errno_location()); [ 143s] | -------------------------------------------------------------------------------- in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: unnecessary `unsafe` block [ 143s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 143s] | [ 143s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 143s] | ^^^^^^ unnecessary `unsafe` block [ 143s] | [ 143s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 143s] | [ 143s] 1129 | unsafe { [ 143s] | ------ because it's nested under this `unsafe` block [ 143s] ... [ 143s] 1155 | error!("failed to add io watch"); [ 143s] | -------------------------------- in this macro invocation [ 143s] | [ 143s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 143s] [ 143s] warning: constant `SD_LISTEN_FDS_START` is never used [ 143s] --> ./src/pkgmgr/server/mod.rs:28:7 [ 143s] | [ 143s] 28 | const SD_LISTEN_FDS_START: i32 = 3; [ 143s] | ^^^^^^^^^^^^^^^^^^^ [ 143s] | [ 143s] = note: `#[warn(dead_code)]` on by default [ 143s] [ 143s] warning: multiple variants are never constructed [ 143s] --> ./src/pkgmgr/server/mod.rs:43:5 [ 143s] | [ 143s] 42 | enum AUL_RETURN_VALUE { [ 143s] | ---------------- variants in this enum [ 143s] 43 | AUL_R_ENOMEM = -16, //< Out of memory (Since 5.5) [ 143s] | ^^^^^^^^^^^^ [ 143s] 44 | AUL_R_ENOENT = -15, //< App directory entry error [ 143s] | ^^^^^^^^^^^^ [ 143s] 45 | AUL_R_EREJECTED = -14, //< App disable for mode [ 143s] | ^^^^^^^^^^^^^^^ [ 143s] 46 | AUL_R_ENOAPP = -13, //< Failed to find app ID or pkg ID [ 143s] | ^^^^^^^^^^^^ [ 143s] 47 | AUL_R_EHIDDENFORGUEST = -11, //< App hidden for guest mode [ 143s] | ^^^^^^^^^^^^^^^^^^^^^ [ 143s] 48 | AUL_R_ENOLAUNCHPAD = -10, //< no launchpad [ 143s] | ^^^^^^^^^^^^^^^^^^ [ 143s] 49 | AUL_R_ETERMINATING = -9, //< application terminating [ 143s] | ^^^^^^^^^^^^^^^^^^ [ 143s] 50 | AUL_R_EILLACC = -8, //< Illegal Access [ 143s] | ^^^^^^^^^^^^^ [ 143s] 51 | AUL_R_LOCAL = -7, //< Launch by himself [ 143s] | ^^^^^^^^^^^ [ 143s] 52 | AUL_R_ETIMEOUT = -6, //< Timeout [ 143s] | ^^^^^^^^^^^^^^ [ 143s] 53 | AUL_R_ECANCELED = -5, //< Operation canceled [ 143s] | ^^^^^^^^^^^^^^^ [ 143s] 54 | AUL_R_EINVAL = -4, //< Invalid argument [ 143s] | ^^^^^^^^^^^^ [ 143s] 55 | AUL_R_ECOMM = -3, //< Comunication Error [ 143s] | ^^^^^^^^^^^ [ 143s] 56 | AUL_R_ENOINIT = -2, //< AUL handler NOT initialized [ 143s] | ^^^^^^^^^^^^^ [ 143s] 57 | AUL_R_ERROR = -1, //< General error [ 143s] | ^^^^^^^^^^^ [ 143s] [ 143s] warning: field `timer` is never read [ 143s] --> ./src/pkgmgr/server/mod.rs:63:5 [ 143s] | [ 143s] 61 | pub struct Server { [ 143s] | ------ field in this struct [ 143s] 62 | mainloop: *mut GMainLoop, [ 143s] 63 | timer: c_uint [ 143s] | ^^^^^ [ 143s] [ 143s] warning: variants `IO_ERROR`, `OUT_OF_MEMORY`, `INVALID_PARAMETER`, and `PERMISSION_DENIED` are never constructed [ 143s] --> ./src/pkgmgr/server/admin_service.rs:29:5 [ 143s] | [ 143s] 27 | enum RPC_PORT_ERROR { [ 143s] | -------------- variants in this enum [ 143s] 28 | NONE = 0, //< Successful [ 143s] 29 | IO_ERROR = -5, //< Internal I/O error [ 143s] | ^^^^^^^^ [ 143s] 30 | OUT_OF_MEMORY = -12, //< Out of memory [ 143s] | ^^^^^^^^^^^^^ [ 143s] 31 | INVALID_PARAMETER = -22, //< Invalid parameter [ 143s] | ^^^^^^^^^^^^^^^^^ [ 143s] 32 | PERMISSION_DENIED = -13, //< Permission denied [ 143s] | ^^^^^^^^^^^^^^^^^ [ 143s] [ 143s] warning: method `generate_request_id` is never used [ 143s] --> ./src/pkgmgr/server/admin_service.rs:2786:8 [ 143s] | [ 143s] 2713 | impl AdminService { [ 143s] | ----------------- method in this implementation [ 143s] ... [ 143s] 2786 | fn generate_request_id(&self) -> String { [ 143s] | ^^^^^^^^^^^^^^^^^^^ [ 143s] [ 143s] warning: field `request_type` is never read [ 143s] --> ./src/pkgmgr/server/backend_context.rs:7:5 [ 143s] | [ 143s] 6 | pub struct BackendContext { [ 143s] | -------------- field in this struct [ 143s] 7 | request_type: RequestType, [ 143s] | ^^^^^^^^^^^^ [ 143s] [ 143s] warning: type alias `GIOChannel` is never used [ 143s] --> ./src/pkgmgr/server/backend_queue.rs:14:6 [ 143s] | [ 143s] 14 | type GIOChannel = *mut c_void; [ 143s] | ^^^^^^^^^^ [ 143s] [ 143s] warning: type alias `GIOCondition` is never used [ 143s] --> ./src/pkgmgr/server/backend_queue.rs:15:6 [ 143s] | [ 143s] 15 | type GIOCondition = c_int; [ 143s] | ^^^^^^^^^^^^ [ 144s] [ 144s] warning: variants `EIO`, `ENOPKG`, `EPRIV`, `ETIMEOUT`, `EINVAL`, and `ECOMM` are never constructed [ 144s] --> ./src/pkgmgr/server/info_service.rs:22:5 [ 144s] | [ 144s] 20 | enum PKGMGR_RETURN_VALUE { [ 144s] | ------------------- variants in this enum [ 144s] 21 | ESYSTEM = -9, // Severe system error [ 144s] 22 | EIO = -8, // IO error [ 144s] | ^^^ [ 144s] 23 | ENOMEM = -7, // Out of memory [ 144s] 24 | ENOPKG = -6, // No such package [ 144s] | ^^^^^^ [ 144s] 25 | EPRIV = -5, // Privilege denied [ 144s] | ^^^^^ [ 144s] 26 | ETIMEOUT = -4, // Timeout [ 144s] | ^^^^^^^^ [ 144s] 27 | EINVAL = -3, // Invalid argument [ 144s] | ^^^^^^ [ 144s] 28 | ECOMM = -2, // Comunication Error [ 144s] | ^^^^^ [ 144s] [ 144s] warning: variants `EPRIV` and `ETIMEOUT` are never constructed [ 144s] --> ./src/pkgmgr/server/pkgmgr_return_value.rs:8:5 [ 144s] | [ 144s] 3 | pub enum PKGMGR_RETURN_VALUE { [ 144s] | ------------------- variants in this enum [ 144s] ... [ 144s] 8 | EPRIV = -5, // Privilege denied [ 144s] | ^^^^^ [ 144s] 9 | ETIMEOUT = -4, // Timeout [ 144s] | ^^^^^^^^ [ 144s] [ 144s] warning: variants `KILL`, `CHECK`, `ENABLE_APP_SPLASH_SCREEN`, `DISABLE_APP_SPLASH_SCREEN`, and `MIGRATE_EXTERNAL_IMAGE` are never constructed [ 144s] --> ./src/pkgmgr/server/request_type.rs:20:5 [ 144s] | [ 144s] 1 | pub enum RequestType { [ 144s] | ----------- variants in this enum [ 144s] ... [ 144s] 20 | KILL, [ 144s] | ^^^^ [ 144s] 21 | CHECK, [ 144s] | ^^^^^ [ 144s] ... [ 144s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 144s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 144s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 144s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 144s] ... [ 144s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 144s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 144s] [ 144s] warning: multiple variants are never constructed [ 144s] --> ./src/pkgmgr/server/signal.rs:10:2 [ 144s] | [ 144s] 9 | enum PKGMGR_REQ { [ 144s] | ---------- variants in this enum [ 144s] 10 | PERM = -1, [ 144s] | ^^^^ [ 144s] 11 | INVALID = 0, [ 144s] | ^^^^^^^ [ 144s] 12 | INSTALL = 1, [ 144s] | ^^^^^^^ [ 144s] 13 | UNINSTALL = 2, [ 144s] | ^^^^^^^^^ [ 144s] 14 | CLEAR = 3, [ 144s] | ^^^^^ [ 144s] 15 | MOVE = 4, [ 144s] | ^^^^ [ 144s] 16 | RECOVER = 5, [ 144s] | ^^^^^^^ [ 144s] 17 | REINSTALL = 6, [ 144s] | ^^^^^^^^^ [ 144s] 18 | GETSIZE = 7, [ 144s] | ^^^^^^^ [ 144s] 19 | UPGRADE = 8, [ 144s] | ^^^^^^^ [ 144s] 20 | SMACK = 9, [ 144s] | ^^^^^ [ 144s] 21 | MANIFEST_DIRECT_INSTALL = 10, [ 144s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 144s] ... [ 144s] 26 | MOUNT_INSTALL = 15, [ 144s] | ^^^^^^^^^^^^^ [ 144s] 27 | DISABLE_PKG = 16, [ 144s] | ^^^^^^^^^^^ [ 144s] 28 | ENABLE_PKG = 17, [ 144s] | ^^^^^^^^^^ [ 144s] 29 | MIGRATE_EXTIMG = 18, [ 144s] | ^^^^^^^^^^^^^^ [ 144s] 30 | RECOVER_DB = 19, [ 144s] | ^^^^^^^^^^ [ 144s] 31 | RES_COPY = 20, [ 144s] | ^^^^^^^^ [ 144s] 32 | RES_CREATE_DIR = 21, [ 144s] | ^^^^^^^^^^^^^^ [ 144s] 33 | RES_REMOVE = 22, [ 144s] | ^^^^^^^^^^ [ 144s] 34 | RES_UNINSTALL = 23 [ 144s] | ^^^^^^^^^^^^^ [ 144s] [ 144s] warning: constant `TZ_SYS_GLOBALAPP_USER` is never used [ 144s] --> ./src/pkgmgr/server/signal.rs:97:7 [ 144s] | [ 144s] 97 | const TZ_SYS_GLOBALAPP_USER: c_int = 22; [ 144s] | ^^^^^^^^^^^^^^^^^^^^^ [ 144s] [ 144s] warning: function `tzplatform_getuid` is never used [ 144s] --> ./src/pkgmgr/server/signal.rs:53:12 [ 144s] | [ 144s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 144s] | ^^^^^^^^^^^^^^^^^ [ 144s] [ 144s] warning: constant `XML_READER_TYPE_ELEMENT` is never used [ 144s] --> ./src/pkgmgr/server/util.rs:29:7 [ 144s] | [ 144s] 29 | const XML_READER_TYPE_ELEMENT: i32 = 1; [ 144s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 144s] [ 144s] warning: constant `XML_READER_TYPE_TEXT` is never used [ 144s] --> ./src/pkgmgr/server/util.rs:30:7 [ 144s] | [ 144s] 30 | const XML_READER_TYPE_TEXT: i32 = 3; [ 144s] | ^^^^^^^^^^^^^^^^^^^^ [ 144s] [ 144s] warning: constant `XML_READER_TYPE_END_ELEMENT` is never used [ 144s] --> ./src/pkgmgr/server/util.rs:31:7 [ 144s] | [ 144s] 31 | const XML_READER_TYPE_END_ELEMENT: i32 = 15; [ 144s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 144s] [ 144s] warning: type alias `GIOChannel` is never used [ 144s] --> ./src/pkgmgr/server/util.rs:33:6 [ 144s] | [ 144s] 33 | type GIOChannel = *mut c_void; [ 144s] | ^^^^^^^^^^ [ 144s] [ 144s] warning: variants `PMINFO_UI_APP`, `PMINFO_SVC_APP`, `PMINFO_WIDGET_APP`, `PMINFO_WATCH_APP`, and `PMINFO_COMPONENT_BASED_APP` are never constructed [ 144s] --> ./src/pkgmgr/server/util.rs:136:5 [ 144s] | [ 144s] 134 | enum PKGMGRINFO_APP_COMPONENT { [ 144s] | ------------------------ variants in this enum [ 144s] 135 | PMINFO_ALL_APP = 0, //< All Application [ 144s] 136 | PMINFO_UI_APP, //< UI Application [ 144s] | ^^^^^^^^^^^^^ [ 144s] 137 | PMINFO_SVC_APP, //< Service Application [ 144s] | ^^^^^^^^^^^^^^ [ 144s] 138 | PMINFO_WIDGET_APP, //< Widget Application [ 144s] | ^^^^^^^^^^^^^^^^^ [ 144s] 139 | PMINFO_WATCH_APP, //< Watch Application [ 144s] | ^^^^^^^^^^^^^^^^ [ 144s] 140 | PMINFO_COMPONENT_BASED_APP, //< Component-based Application (Since 5.5) [ 144s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 144s] [ 144s] warning: associated functions `EnableAppSplashScreen` and `DisableAppSplashScreen` are never used [ 144s] --> ./src/pkgmgr/server/util.rs:766:12 [ 144s] | [ 144s] 384 | impl Util { [ 144s] | --------- associated functions in this implementation [ 144s] ... [ 144s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 144s] | ^^^^^^^^^^^^^^^^^^^^^ [ 144s] ... [ 144s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 144s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 144s] [ 144s] warning: function `pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db` is never used [ 144s] --> ./src/pkgmgr/server/util.rs:204:8 [ 144s] | [ 144s] 204 | fn pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db( [ 144s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 144s] [ 144s] warning: unused `Result` that must be used [ 144s] --> ./src/main.rs:14:5 [ 144s] | [ 144s] 14 | pkgmgr::server::Server::run(&mut server); [ 144s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 144s] | [ 144s] = note: this `Result` may be an `Err` variant, which should be handled [ 144s] = note: `#[warn(unused_must_use)]` on by default [ 144s] help: use `let _ = ...` to ignore the resulting value [ 144s] | [ 144s] 14 | let _ = pkgmgr::server::Server::run(&mut server); [ 144s] | +++++++ [ 144s] [ 144s] warning: unused `Result` that must be used [ 144s] --> ./src/pkgmgr/server/mod.rs:93:9 [ 144s] | [ 144s] 93 | admin_service.run(); [ 144s] | ^^^^^^^^^^^^^^^^^^^ [ 144s] | [ 144s] = note: this `Result` may be an `Err` variant, which should be handled [ 144s] help: use `let _ = ...` to ignore the resulting value [ 144s] | [ 144s] 93 | let _ = admin_service.run(); [ 144s] | +++++++ [ 144s] [ 144s] warning: unused `Result` that must be used [ 144s] --> ./src/pkgmgr/server/mod.rs:95:9 [ 144s] | [ 144s] 95 | cache_service.run(); [ 144s] | ^^^^^^^^^^^^^^^^^^^ [ 144s] | [ 144s] = note: this `Result` may be an `Err` variant, which should be handled [ 144s] help: use `let _ = ...` to ignore the resulting value [ 144s] | [ 144s] 95 | let _ = cache_service.run(); [ 144s] | +++++++ [ 144s] [ 144s] warning: unused `Result` that must be used [ 144s] --> ./src/pkgmgr/server/mod.rs:97:9 [ 144s] | [ 144s] 97 | info_service.run(); [ 144s] | ^^^^^^^^^^^^^^^^^^ [ 144s] | [ 144s] = note: this `Result` may be an `Err` variant, which should be handled [ 144s] help: use `let _ = ...` to ignore the resulting value [ 144s] | [ 144s] 97 | let _ = info_service.run(); [ 144s] | +++++++ [ 144s] [ 144s] warning: unused `Result` that must be used [ 144s] --> ./src/pkgmgr/server/mod.rs:99:9 [ 144s] | [ 144s] 99 | delayed_result_service.run(); [ 144s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 144s] | [ 144s] = note: this `Result` may be an `Err` variant, which should be handled [ 144s] help: use `let _ = ...` to ignore the resulting value [ 144s] | [ 144s] 99 | let _ = delayed_result_service.run(); [ 144s] | +++++++ [ 144s] [ 144s] warning: unused `Result` that must be used [ 144s] --> ./src/pkgmgr/server/mod.rs:109:9 [ 144s] | [ 144s] 109 | admin_service.stop(); [ 144s] | ^^^^^^^^^^^^^^^^^^^^ [ 144s] | [ 144s] = note: this `Result` may be an `Err` variant, which should be handled [ 144s] help: use `let _ = ...` to ignore the resulting value [ 144s] | [ 144s] 109 | let _ = admin_service.stop(); [ 144s] | +++++++ [ 144s] [ 144s] warning: unused `Result` that must be used [ 144s] --> ./src/pkgmgr/server/mod.rs:110:9 [ 144s] | [ 144s] 110 | cache_service.stop(); [ 144s] | ^^^^^^^^^^^^^^^^^^^^ [ 144s] | [ 144s] = note: this `Result` may be an `Err` variant, which should be handled [ 144s] help: use `let _ = ...` to ignore the resulting value [ 144s] | [ 144s] 110 | let _ = cache_service.stop(); [ 144s] | +++++++ [ 144s] [ 144s] warning: unused `Result` that must be used [ 144s] --> ./src/pkgmgr/server/mod.rs:111:9 [ 144s] | [ 144s] 111 | info_service.stop(); [ 144s] | ^^^^^^^^^^^^^^^^^^^ [ 144s] | [ 144s] = note: this `Result` may be an `Err` variant, which should be handled [ 144s] help: use `let _ = ...` to ignore the resulting value [ 144s] | [ 144s] 111 | let _ = info_service.stop(); [ 144s] | +++++++ [ 144s] [ 144s] warning: unused `Result` that must be used [ 144s] --> ./src/pkgmgr/server/mod.rs:112:9 [ 144s] | [ 144s] 112 | delayed_result_service.stop(); [ 144s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 144s] | [ 144s] = note: this `Result` may be an `Err` variant, which should be handled [ 144s] help: use `let _ = ...` to ignore the resulting value [ 144s] | [ 144s] 112 | let _ = delayed_result_service.stop(); [ 144s] | +++++++ [ 144s] [ 144s] warning: unused return value of `std::mem::size_of` that must be used [ 144s] --> ./src/pkgmgr/server/backend_queue.rs:40:9 [ 144s] | [ 144s] 40 | mem::size_of::(); [ 144s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 144s] | [ 144s] help: use `let _ = ...` to ignore the resulting value [ 144s] | [ 144s] 40 | let _ = mem::size_of::(); [ 144s] | +++++++ [ 144s] [ 144s] warning: structure field `rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 144s] --> ./src/pkgmgr/server/info_service.rs:35:9 [ 144s] | [ 144s] 35 | pub rpc_port_stub_PkgMgr_create_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 144s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_create_cb` [ 144s] | [ 144s] = note: `#[warn(non_snake_case)]` on by default [ 144s] [ 144s] warning: structure field `rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 144s] --> ./src/pkgmgr/server/info_service.rs:36:9 [ 144s] | [ 144s] 36 | pub rpc_port_stub_PkgMgr_terminate_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 144s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_terminate_cb` [ 144s] [ 144s] warning: structure field `rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 144s] --> ./src/pkgmgr/server/info_service.rs:37:9 [ 144s] | [ 144s] 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... [ 144s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_cb` [ 144s] [ 144s] warning: structure field `rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 144s] --> ./src/pkgmgr/server/info_service.rs:38:9 [ 144s] | [ 144s] 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... [ 144s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 144s] [ 144s] warning: structure field `rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 144s] --> ./src/pkgmgr/server/info_service.rs:39:9 [ 144s] | [ 144s] 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... [ 144s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 144s] [ 144s] warning: structure field `rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 144s] --> ./src/pkgmgr/server/info_service.rs:40:9 [ 144s] | [ 144s] 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... [ 144s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_check_cb` [ 144s] [ 144s] warning: function `impl_rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 144s] --> ./src/pkgmgr/server/info_service.rs:43:19 [ 144s] | [ 144s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 144s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_create_cb` [ 144s] [ 144s] warning: function `impl_rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 144s] --> ./src/pkgmgr/server/info_service.rs:48:19 [ 144s] | [ 144s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 144s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_terminate_cb` [ 144s] [ 144s] warning: function `impl_rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 144s] --> ./src/pkgmgr/server/info_service.rs:52:19 [ 144s] | [ 144s] 52 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSize_cb( [ 144s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_cb` [ 144s] [ 144s] warning: function `impl_rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 144s] --> ./src/pkgmgr/server/info_service.rs:112:19 [ 144s] | [ 144s] 112 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSizeSync_cb( [ 144s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 144s] [ 144s] warning: function `impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 144s] --> ./src/pkgmgr/server/info_service.rs:194:19 [ 144s] | [ 144s] 194 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb( [ 144s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 144s] [ 144s] warning: function `impl_rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 144s] --> ./src/pkgmgr/server/info_service.rs:221:19 [ 144s] | [ 144s] 221 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_Check_cb( [ 144s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_check_cb` [ 144s] [ 144s] warning: method `IsPackageReadonly` should have a snake case name [ 144s] --> ./src/pkgmgr/server/util.rs:389:12 [ 144s] | [ 144s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 144s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly` [ 144s] [ 144s] warning: method `GetPackageType` should have a snake case name [ 144s] --> ./src/pkgmgr/server/util.rs:420:12 [ 144s] | [ 144s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 144s] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type` [ 144s] [ 144s] warning: variable `xmlReaderTypes_XML_READER_TYPE_ELEMENT` should have a snake case name [ 144s] --> ./src/pkgmgr/server/util.rs:473:17 [ 144s] | [ 144s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 144s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_element` [ 144s] [ 144s] warning: variable `xmlReaderTypes_XML_READER_TYPE_TEXT` should have a snake case name [ 144s] --> ./src/pkgmgr/server/util.rs:478:17 [ 144s] | [ 144s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 144s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_text` [ 144s] [ 144s] warning: variable `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` should have a snake case name [ 144s] --> ./src/pkgmgr/server/util.rs:483:17 [ 144s] | [ 144s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 144s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_end_element` [ 144s] [ 144s] warning: constant `type_map` should have an upper case name [ 144s] --> ./src/pkgmgr/server/util.rs:623:15 [ 144s] | [ 144s] 623 | const type_map : [[&str; 2]; 3] = [ [ 144s] | ^^^^^^^^ help: convert the identifier to upper case: `TYPE_MAP` [ 144s] | [ 144s] = note: `#[warn(non_upper_case_globals)]` on by default [ 144s] [ 144s] warning: method `GenerateRequestId` should have a snake case name [ 144s] --> ./src/pkgmgr/server/util.rs:646:12 [ 144s] | [ 144s] 646 | pub fn GenerateRequestId(pkgid: &str) -> Option { [ 144s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_request_id` [ 144s] [ 144s] warning: method `CreatePkgUpdateInfo` should have a snake case name [ 144s] --> ./src/pkgmgr/server/util.rs:657:12 [ 144s] | [ 144s] 657 | pub fn CreatePkgUpdateInfo(pkgid: *const c_char, version: *const c_char, update_type: c_int) -> *mut c_void { [ 144s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info` [ 144s] [ 144s] warning: method `DestroyPkgUpdateInfo` should have a snake case name [ 144s] --> ./src/pkgmgr/server/util.rs:680:12 [ 144s] | [ 144s] 680 | pub fn DestroyPkgUpdateInfo(handle: *mut c_void) -> c_int { [ 144s] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroy_pkg_update_info` [ 144s] [ 144s] warning: method `RegisterPkgUpdateInfo` should have a snake case name [ 144s] --> ./src/pkgmgr/server/util.rs:686:12 [ 144s] | [ 144s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 144s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `register_pkg_update_info` [ 144s] [ 144s] warning: method `UnregisterPkgUpdateInfo` should have a snake case name [ 144s] --> ./src/pkgmgr/server/util.rs:696:12 [ 144s] | [ 144s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 144s] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_pkg_update_info` [ 144s] [ 144s] warning: method `UnregisterAllPkgUpdateInfo` should have a snake case name [ 144s] --> ./src/pkgmgr/server/util.rs:706:12 [ 144s] | [ 144s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 144s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_all_pkg_update_info` [ 144s] [ 144s] warning: method `EnableApp` should have a snake case name [ 144s] --> ./src/pkgmgr/server/util.rs:728:12 [ 144s] | [ 144s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 144s] | ^^^^^^^^^ help: convert the identifier to snake case: `enable_app` [ 144s] [ 144s] warning: method `DisableApp` should have a snake case name [ 144s] --> ./src/pkgmgr/server/util.rs:738:12 [ 144s] | [ 144s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 144s] | ^^^^^^^^^^ help: convert the identifier to snake case: `disable_app` [ 144s] [ 144s] warning: method `EnableGlobalApp` should have a snake case name [ 144s] --> ./src/pkgmgr/server/util.rs:747:12 [ 144s] | [ 144s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 144s] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app` [ 144s] [ 144s] warning: method `DisableGlobalApp` should have a snake case name [ 144s] --> ./src/pkgmgr/server/util.rs:757:12 [ 144s] | [ 144s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 144s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app` [ 144s] [ 144s] warning: method `EnableAppSplashScreen` should have a snake case name [ 144s] --> ./src/pkgmgr/server/util.rs:766:12 [ 144s] | [ 144s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 144s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_app_splash_screen` [ 144s] [ 144s] warning: method `DisableAppSplashScreen` should have a snake case name [ 144s] --> ./src/pkgmgr/server/util.rs:775:12 [ 144s] | [ 144s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 144s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_app_splash_screen` [ 144s] [ 144s] warning: method `EnableGlobalAppSplashScreen` should have a snake case name [ 144s] --> ./src/pkgmgr/server/util.rs:784:12 [ 144s] | [ 144s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 144s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app_splash_screen` [ 144s] [ 144s] warning: method `DisableGlobalAppSplashScreen` should have a snake case name [ 144s] --> ./src/pkgmgr/server/util.rs:793:12 [ 144s] | [ 144s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 144s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app_splash_screen` [ 144s] [ 144s] warning: method `KillApp` should have a snake case name [ 144s] --> ./src/pkgmgr/server/util.rs:813:12 [ 144s] | [ 144s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 144s] | ^^^^^^^ help: convert the identifier to snake case: `kill_app` [ 144s] [ 144s] warning: method `KillAppsInPkg` should have a snake case name [ 144s] --> ./src/pkgmgr/server/util.rs:835:12 [ 144s] | [ 144s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 144s] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_apps_in_pkg` [ 144s] [ 144s] warning: method `IsAdminUser` should have a snake case name [ 144s] --> ./src/pkgmgr/server/util.rs:855:8 [ 144s] | [ 144s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 144s] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_admin_user` [ 144s] [ 234s] warning: 542 warnings emitted [ 234s] [ 234s] + export LD_LIBRARY_PATH=:/usr/lib/rustlib:/usr/lib/rustlib/dylib:/usr/lib/rustlib:/usr/lib/rustlib/dylib [ 234s] + LD_LIBRARY_PATH=:/usr/lib/rustlib:/usr/lib/rustlib/dylib:/usr/lib/rustlib:/usr/lib/rustlib/dylib [ 234s] ++ find /usr/lib -maxdepth 1 -name 'libstd-*.so' [ 234s] + __rust_std=/usr/lib/libstd-161dbff30b3b0c00.so [ 234s] + /usr/bin/rustc -C prefer-dynamic --extern std=/usr/lib/libstd-161dbff30b3b0c00.so -C codegen-units=1 -C debuginfo=2 -C opt-level=3 -C relocation-model=pic -C overflow-checks=on -C symbol-mangling-version=v0 -L/usr/lib/rustlib -L/usr/lib/rustlib/dylib --test --crate-type=bin --crate-name=unittests_rust_pkgmgr_server -L native=./tidl_pkgmgr_server -L native=./util_pkgmgr_server -l minizip --edition=2021 --extern libc=/usr/lib/rustlib/dylib/liblibc.so --cap-lints warn ./src/main.rs [ 238s] warning: unused import: `boxed` [ 238s] --> ./src/pkgmgr/server/admin_service.rs:4:11 [ 238s] | [ 238s] 4 | use std::{boxed, str}; [ 238s] | ^^^^^ [ 238s] | [ 238s] = note: `#[warn(unused_imports)]` on by default [ 238s] [ 238s] warning: unused import: `std::mem` [ 238s] --> ./src/pkgmgr/server/admin_service.rs:6:5 [ 238s] | [ 238s] 6 | use std::mem; [ 238s] | ^^^^^^^^ [ 238s] [ 238s] warning: unused import: `std::ptr` [ 238s] --> ./src/pkgmgr/server/admin_service.rs:7:5 [ 238s] | [ 238s] 7 | use std::ptr; [ 238s] | ^^^^^^^^ [ 238s] [ 238s] warning: unused import: `malloc` [ 238s] --> ./src/pkgmgr/server/admin_service.rs:8:18 [ 238s] | [ 238s] 8 | use libc::{free, malloc, strlen}; [ 238s] | ^^^^^^ [ 238s] [ 238s] warning: unused import: `super::Server` [ 238s] --> ./src/pkgmgr/server/admin_service.rs:10:5 [ 238s] | [ 238s] 10 | use super::Server; [ 238s] | ^^^^^^^^^^^^^ [ 238s] [ 238s] warning: type `rpc_port_stub_array_string_h` should have an upper camel case name [ 238s] --> ./src/pkgmgr/server/admin_service.rs:23:6 [ 238s] | [ 238s] 23 | type rpc_port_stub_array_string_h = *mut c_void; [ 238s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RpcPortStubArrayStringH` [ 238s] | [ 238s] = note: `#[warn(non_camel_case_types)]` on by default [ 238s] [ 238s] warning: unused imports: `pid_t`, `uid_t` [ 238s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 238s] | [ 238s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 238s] | ^^^^^ ^^^^^ [ 238s] [ 238s] warning: unused imports: `c_int`, `c_void` [ 238s] --> ./src/pkgmgr/server/backend_context.rs:4:16 [ 238s] | [ 238s] 4 | use std::ffi::{c_int, c_void}; [ 238s] | ^^^^^ ^^^^^^ [ 238s] [ 238s] warning: unused import: `std::path::Path` [ 238s] --> ./src/pkgmgr/server/backend_queue.rs:10:5 [ 238s] | [ 238s] 10 | use std::path::Path; [ 238s] | ^^^^^^^^^^^^^^^ [ 238s] [ 238s] warning: denote infinite loops with `loop { ... }` [ 238s] --> ./src/pkgmgr/server/backend_queue.rs:50:9 [ 238s] | [ 238s] 50 | while true { [ 238s] | ^^^^^^^^^^ help: use `loop` [ 238s] | [ 238s] = note: `#[warn(while_true)]` on by default [ 238s] [ 238s] warning: unnecessary parentheses around `if` condition [ 238s] --> ./src/pkgmgr/server/backend_queue.rs:73:8 [ 238s] | [ 238s] 73 | if (mut_queue.is_queue_empty()) { [ 238s] | ^ ^ [ 238s] | [ 238s] = note: `#[warn(unused_parens)]` on by default [ 238s] help: remove these parentheses [ 238s] | [ 238s] 73 - if (mut_queue.is_queue_empty()) { [ 238s] 73 + if mut_queue.is_queue_empty() { [ 238s] | [ 238s] [ 238s] warning: unnecessary trailing semicolon [ 238s] --> ./src/pkgmgr/server/backend_queue.rs:297:17 [ 238s] | [ 238s] 297 | ; [ 238s] | ^ help: remove this semicolon [ 238s] | [ 238s] = note: `#[warn(redundant_semicolons)]` on by default [ 238s] [ 238s] warning: unused import: `super::Server` [ 238s] --> ./src/pkgmgr/server/cache_service.rs:1:5 [ 238s] | [ 238s] 1 | use super::Server; [ 238s] | ^^^^^^^^^^^^^ [ 238s] [ 238s] warning: unused import: `super::Server` [ 238s] --> ./src/pkgmgr/server/delayed_service.rs:1:5 [ 238s] | [ 238s] 1 | use super::Server; [ 238s] | ^^^^^^^^^^^^^ [ 238s] [ 238s] warning: unused import: `super::backend_context::*` [ 238s] --> ./src/pkgmgr/server/delayed_service.rs:4:5 [ 238s] | [ 238s] 4 | use super::backend_context::*; [ 238s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 238s] [ 238s] warning: unused import: `super::request_result::*` [ 238s] --> ./src/pkgmgr/server/delayed_service.rs:5:5 [ 238s] | [ 238s] 5 | use super::request_result::*; [ 238s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 238s] [ 238s] warning: unused import: `super::request_type::*` [ 238s] --> ./src/pkgmgr/server/delayed_service.rs:6:5 [ 238s] | [ 238s] 6 | use super::request_type::*; [ 238s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 238s] [ 238s] warning: unused import: `super::util::*` [ 238s] --> ./src/pkgmgr/server/delayed_service.rs:7:5 [ 238s] | [ 238s] 7 | use super::util::*; [ 238s] | ^^^^^^^^^^^^^^ [ 238s] [ 238s] warning: unused imports: `pid_t`, `uid_t` [ 238s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 238s] | [ 238s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 238s] | ^^^^^ ^^^^^ [ 238s] [ 238s] warning: unused import: `std::io::Error` [ 238s] --> ./src/pkgmgr/server/info_service.rs:3:5 [ 238s] | [ 238s] 3 | use std::io::Error; [ 238s] | ^^^^^^^^^^^^^^ [ 238s] [ 238s] warning: unused import: `std::mem` [ 238s] --> ./src/pkgmgr/server/info_service.rs:6:5 [ 238s] | [ 238s] 6 | use std::mem; [ 238s] | ^^^^^^^^ [ 238s] [ 238s] warning: unused import: `std::ptr` [ 238s] --> ./src/pkgmgr/server/info_service.rs:7:5 [ 238s] | [ 238s] 7 | use std::ptr; [ 238s] | ^^^^^^^^ [ 238s] [ 238s] warning: unused imports: `free`, `malloc`, `strlen` [ 238s] --> ./src/pkgmgr/server/info_service.rs:8:12 [ 238s] | [ 238s] 8 | use libc::{free, malloc, strlen, mkfifo}; [ 238s] | ^^^^ ^^^^^^ ^^^^^^ [ 238s] [ 238s] warning: unused import: `super::Server` [ 238s] --> ./src/pkgmgr/server/info_service.rs:10:5 [ 238s] | [ 238s] 10 | use super::Server; [ 238s] | ^^^^^^^^^^^^^ [ 238s] [ 238s] warning: unused import: `super::service::Service` [ 238s] --> ./src/pkgmgr/server/info_service.rs:13:5 [ 238s] | [ 238s] 13 | use super::service::Service; [ 238s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 238s] [ 238s] warning: unnecessary trailing semicolon [ 238s] --> ./src/pkgmgr/server/info_service.rs:49:5 [ 238s] | [ 238s] 49 | ; [ 238s] | ^ help: remove this semicolon [ 238s] [ 238s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 238s] --> ./src/pkgmgr/server/request_result.rs:7:5 [ 238s] | [ 238s] 7 | GETSIZE_SYNC(String, i32, i32), [ 238s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 238s] [ 238s] warning: variant `GET_GENERATE_LICENSE_RESULT` should have an upper camel case name [ 238s] --> ./src/pkgmgr/server/request_result.rs:8:5 [ 238s] | [ 238s] 8 | GET_GENERATE_LICENSE_RESULT(String, i32, CString, CString), [ 238s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetGenerateLicenseResult` [ 238s] [ 238s] warning: variant `MOUNT_INSTALL` should have an upper camel case name [ 238s] --> ./src/pkgmgr/server/request_type.rs:3:5 [ 238s] | [ 238s] 3 | MOUNT_INSTALL, [ 238s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MountInstall` [ 238s] [ 238s] warning: variant `ENABLE_PKG` should have an upper camel case name [ 238s] --> ./src/pkgmgr/server/request_type.rs:7:5 [ 238s] | [ 238s] 7 | ENABLE_PKG, [ 238s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnablePkg` [ 238s] [ 238s] warning: variant `DISABLE_PKG` should have an upper camel case name [ 238s] --> ./src/pkgmgr/server/request_type.rs:8:5 [ 238s] | [ 238s] 8 | DISABLE_PKG, [ 238s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisablePkg` [ 238s] [ 238s] warning: variant `REGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 238s] --> ./src/pkgmgr/server/request_type.rs:9:5 [ 238s] | [ 238s] 9 | REGISTER_PKG_UPDATE_INFO, [ 238s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterPkgUpdateInfo` [ 238s] [ 238s] warning: variant `UNREGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 238s] --> ./src/pkgmgr/server/request_type.rs:10:5 [ 238s] | [ 238s] 10 | UNREGISTER_PKG_UPDATE_INFO, [ 238s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterPkgUpdateInfo` [ 238s] [ 238s] warning: variant `UNREGISTER_ALL_PKG_UPDATE_INFO` should have an upper camel case name [ 238s] --> ./src/pkgmgr/server/request_type.rs:11:5 [ 238s] | [ 238s] 11 | UNREGISTER_ALL_PKG_UPDATE_INFO, [ 238s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterAllPkgUpdateInfo` [ 238s] [ 238s] warning: variant `ENABLE_APP` should have an upper camel case name [ 238s] --> ./src/pkgmgr/server/request_type.rs:12:5 [ 238s] | [ 238s] 12 | ENABLE_APP, [ 238s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableApp` [ 238s] [ 238s] warning: variant `DISABLE_APP` should have an upper camel case name [ 238s] --> ./src/pkgmgr/server/request_type.rs:13:5 [ 238s] | [ 238s] 13 | DISABLE_APP, [ 238s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableApp` [ 238s] [ 238s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 238s] --> ./src/pkgmgr/server/request_type.rs:15:5 [ 238s] | [ 238s] 15 | GETSIZE_SYNC, [ 238s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 238s] [ 238s] warning: variant `ENABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 238s] --> ./src/pkgmgr/server/request_type.rs:18:5 [ 238s] | [ 238s] 18 | ENABLE_GLOBAL_APP_FOR_UID, [ 238s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableGlobalAppForUid` [ 238s] [ 238s] warning: variant `DISABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 238s] --> ./src/pkgmgr/server/request_type.rs:19:5 [ 238s] | [ 238s] 19 | DISABLE_GLOBAL_APP_FOR_UID, [ 238s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableGlobalAppForUid` [ 238s] [ 238s] warning: variant `GENERATE_LICENSE_REQUEST` should have an upper camel case name [ 238s] --> ./src/pkgmgr/server/request_type.rs:22:5 [ 238s] | [ 238s] 22 | GENERATE_LICENSE_REQUEST, [ 238s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GenerateLicenseRequest` [ 238s] [ 238s] warning: variant `REGISTER_LICENSE` should have an upper camel case name [ 238s] --> ./src/pkgmgr/server/request_type.rs:23:5 [ 238s] | [ 238s] 23 | REGISTER_LICENSE, [ 238s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterLicense` [ 238s] [ 238s] warning: variant `DECRYPT_PACKAGE` should have an upper camel case name [ 238s] --> ./src/pkgmgr/server/request_type.rs:24:5 [ 238s] | [ 238s] 24 | DECRYPT_PACKAGE, [ 238s] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DecryptPackage` [ 238s] [ 238s] warning: variant `ENABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 238s] --> ./src/pkgmgr/server/request_type.rs:25:5 [ 238s] | [ 238s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 238s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableAppSplashScreen` [ 238s] [ 238s] warning: variant `DISABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 238s] --> ./src/pkgmgr/server/request_type.rs:26:5 [ 238s] | [ 238s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 238s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableAppSplashScreen` [ 238s] [ 238s] warning: variant `SET_APP_LABEL` should have an upper camel case name [ 238s] --> ./src/pkgmgr/server/request_type.rs:27:5 [ 238s] | [ 238s] 27 | SET_APP_LABEL, [ 238s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppLabel` [ 238s] [ 238s] warning: variant `SET_APP_ICON` should have an upper camel case name [ 238s] --> ./src/pkgmgr/server/request_type.rs:28:5 [ 238s] | [ 238s] 28 | SET_APP_ICON, [ 238s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppIcon` [ 238s] [ 238s] warning: variant `MIGRATE_EXTERNAL_IMAGE` should have an upper camel case name [ 238s] --> ./src/pkgmgr/server/request_type.rs:29:5 [ 238s] | [ 238s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 238s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MigrateExternalImage` [ 238s] [ 238s] warning: variant `RESOURCE_SHARE_COPY` should have an upper camel case name [ 238s] --> ./src/pkgmgr/server/request_type.rs:30:5 [ 238s] | [ 238s] 30 | RESOURCE_SHARE_COPY, [ 238s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCopy` [ 238s] [ 238s] warning: variant `RESOURCE_SHARE_CREATE_DIR` should have an upper camel case name [ 238s] --> ./src/pkgmgr/server/request_type.rs:31:5 [ 238s] | [ 238s] 31 | RESOURCE_SHARE_CREATE_DIR, [ 238s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCreateDir` [ 238s] [ 238s] warning: variant `RESOURCE_SHARE_REMOVE` should have an upper camel case name [ 238s] --> ./src/pkgmgr/server/request_type.rs:32:5 [ 238s] | [ 238s] 32 | RESOURCE_SHARE_REMOVE, [ 238s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareRemove` [ 238s] [ 238s] warning: variant `RESOURCE_SHARE_UNINSTALL` should have an upper camel case name [ 238s] --> ./src/pkgmgr/server/request_type.rs:33:5 [ 238s] | [ 238s] 33 | RESOURCE_SHARE_UNINSTALL, [ 238s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareUninstall` [ 238s] [ 238s] warning: variant `REMOVE_FILE` should have an upper camel case name [ 238s] --> ./src/pkgmgr/server/request_type.rs:34:5 [ 238s] | [ 238s] 34 | REMOVE_FILE, [ 238s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RemoveFile` [ 238s] [ 238s] warning: unused import: `CStr` [ 238s] --> ./src/pkgmgr/server/signal.rs:1:39 [ 238s] | [ 238s] 1 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 238s] | ^^^^ [ 238s] [ 238s] warning: unused import: `pid_t` [ 238s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 238s] | [ 238s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: unused imports: `CStr`, `CString`, `c_char`, `c_void` [ 238s] --> ./src/pkgmgr/server/signal.rs:39:20 [ 238s] | [ 238s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 238s] | ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^ [ 238s] [ 238s] warning: unused import: `pid_t` [ 238s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 238s] | [ 238s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: unused import: `std::cell::RefCell` [ 238s] --> ./src/pkgmgr/server/util.rs:1:5 [ 238s] | [ 238s] 1 | use std::cell::RefCell; [ 238s] | ^^^^^^^^^^^^^^^^^^ [ 238s] [ 238s] warning: unused import: `std::rc::Rc` [ 238s] --> ./src/pkgmgr/server/util.rs:8:5 [ 238s] | [ 238s] 8 | use std::rc::Rc; [ 238s] | ^^^^^^^^^^^ [ 238s] [ 238s] warning: type `xmlChar` should have an upper camel case name [ 238s] --> ./src/pkgmgr/server/util.rs:34:6 [ 238s] | [ 238s] 34 | type xmlChar = c_uchar; [ 238s] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlChar` [ 238s] [ 238s] warning: type `xmlTextReaderPtr` should have an upper camel case name [ 238s] --> ./src/pkgmgr/server/util.rs:35:6 [ 238s] | [ 238s] 35 | type xmlTextReaderPtr = *mut c_void; [ 238s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlTextReaderPtr` [ 238s] [ 238s] warning: unused imports: `CStr`, `CString` [ 238s] --> ./src/pkgmgr/server/util.rs:39:43 [ 238s] | [ 238s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 238s] | ^^^^ ^^^^^^^ [ 238s] [ 238s] warning: unused import: `pid_t` [ 238s] --> ./src/pkgmgr/server/util.rs:40:37 [ 238s] | [ 238s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: unnecessary parentheses around `if` condition [ 238s] --> ./src/pkgmgr/server/util.rs:474:24 [ 238s] | [ 238s] 474 | if (cur == depth + 1) { [ 238s] | ^ ^ [ 238s] | [ 238s] help: remove these parentheses [ 238s] | [ 238s] 474 - if (cur == depth + 1) { [ 238s] 474 + if cur == depth + 1 { [ 238s] | [ 238s] [ 238s] warning: unnecessary parentheses around `if` condition [ 238s] --> ./src/pkgmgr/server/util.rs:571:12 [ 238s] | [ 238s] 571 | if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 238s] | ^ ^ [ 238s] | [ 238s] help: remove these parentheses [ 238s] | [ 238s] 571 - if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 238s] 571 + if unzOpenCurrentFile(uf) != UNZ_OK as c_int { [ 238s] | [ 238s] [ 238s] warning: unused import: `std::ffi::CStr` [ 238s] --> ./src/pkgmgr/server/test/util_tests.rs:4:5 [ 238s] | [ 238s] 4 | use std::ffi::CStr; [ 238s] | ^^^^^^^^^^^^^^ [ 238s] [ 238s] warning: unused import: `std::mem` [ 238s] --> ./src/pkgmgr/server/test/util_tests.rs:6:5 [ 238s] | [ 238s] 6 | use std::mem; [ 238s] | ^^^^^^^^ [ 238s] [ 238s] warning: unused import: `mockall::predicate::*` [ 238s] --> ./src/pkgmgr/server/test/util_tests.rs:8:5 [ 238s] | [ 238s] 8 | use mockall::predicate::*; [ 238s] | ^^^^^^^^^^^^^^^^^^^^^ [ 238s] [ 238s] warning: unused import: `mockall::*` [ 238s] --> ./src/pkgmgr/server/test/util_tests.rs:9:5 [ 238s] | [ 238s] 9 | use mockall::*; [ 238s] | ^^^^^^^^^^ [ 238s] [ 238s] warning: unused import: `std::ffi::CString` [ 238s] --> ./src/pkgmgr/server/test/signal_tests.rs:2:5 [ 238s] | [ 238s] 2 | use std::ffi::CString; [ 238s] | ^^^^^^^^^^^^^^^^^ [ 238s] [ 238s] warning: unused import: `std::ffi::CStr` [ 238s] --> ./src/pkgmgr/server/test/signal_tests.rs:3:5 [ 238s] | [ 238s] 3 | use std::ffi::CStr; [ 238s] | ^^^^^^^^^^^^^^ [ 238s] [ 238s] warning: unused import: `std::ffi::c_char` [ 238s] --> ./src/pkgmgr/server/test/signal_tests.rs:4:5 [ 238s] | [ 238s] 4 | use std::ffi::c_char; [ 238s] | ^^^^^^^^^^^^^^^^ [ 238s] [ 238s] warning: unused import: `std::mem` [ 238s] --> ./src/pkgmgr/server/test/signal_tests.rs:5:5 [ 238s] | [ 238s] 5 | use std::mem; [ 238s] | ^^^^^^^^ [ 238s] [ 238s] warning: unused import: `mockall::predicate::*` [ 238s] --> ./src/pkgmgr/server/test/signal_tests.rs:6:5 [ 238s] | [ 238s] 6 | use mockall::predicate::*; [ 238s] | ^^^^^^^^^^^^^^^^^^^^^ [ 238s] [ 238s] warning: unused import: `mockall::*` [ 238s] --> ./src/pkgmgr/server/test/signal_tests.rs:7:5 [ 238s] | [ 238s] 7 | use mockall::*; [ 238s] | ^^^^^^^^^^ [ 238s] [ 238s] warning: unused import: `pid_t` [ 238s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 238s] | [ 238s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: unused import: `std::cell::RefCell` [ 238s] --> ./src/pkgmgr/server/mod.rs:22:5 [ 238s] | [ 238s] 22 | use std::cell::RefCell; [ 238s] | ^^^^^^^^^^^^^^^^^^ [ 238s] [ 238s] warning: unused import: `std::rc::Rc` [ 238s] --> ./src/pkgmgr/server/mod.rs:26:5 [ 238s] | [ 238s] 26 | use std::rc::Rc; [ 238s] | ^^^^^^^^^^^ [ 238s] [ 238s] warning: unused import: `std::process::Command` [ 238s] --> ./src/main.rs:9:5 [ 238s] | [ 238s] 9 | use std::process::Command; [ 238s] | ^^^^^^^^^^^^^^^^^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:5:26 [ 238s] | [ 238s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 238s] | ^^^^^ [ 238s] | [ 238s] = note: `#[warn(deprecated)]` on by default [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:5:33 [ 238s] | [ 238s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:20:20 [ 238s] | [ 238s] 20 | const GLOBAL_USER: uid_t = 201; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:322:25 [ 238s] | [ 238s] 322 | let mut caller_uid: uid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:443:25 [ 238s] | [ 238s] 443 | let mut caller_uid: uid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:548:25 [ 238s] | [ 238s] 548 | let mut caller_uid: uid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:595:25 [ 238s] | [ 238s] 595 | let mut caller_uid: uid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:718:25 [ 238s] | [ 238s] 718 | let mut caller_uid: uid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:801:25 [ 238s] | [ 238s] 801 | let mut caller_uid: uid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:853:25 [ 238s] | [ 238s] 853 | let mut caller_uid: uid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:937:25 [ 238s] | [ 238s] 937 | let mut caller_uid: uid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:990:25 [ 238s] | [ 238s] 990 | let mut caller_uid: uid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1015:76 [ 238s] | [ 238s] 1015 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, true) { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1072:25 [ 238s] | [ 238s] 1072 | let mut caller_uid: uid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1097:76 [ 238s] | [ 238s] 1097 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, false) { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1151:25 [ 238s] | [ 238s] 1151 | let mut caller_pid: pid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1152:25 [ 238s] | [ 238s] 1152 | let mut caller_uid: uid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1166:62 [ 238s] | [ 238s] 1166 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1196:66 [ 238s] | [ 238s] 1196 | let ret = Util::RegisterPkgUpdateInfo(handle, uid as uid_t); [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1215:25 [ 238s] | [ 238s] 1215 | let mut caller_pid: pid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1216:25 [ 238s] | [ 238s] 1216 | let mut caller_uid: uid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1230:62 [ 238s] | [ 238s] 1230 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1254:109 [ 238s] | [ 238s] 1254 | RequestResult::DELAYED(generated_req_key, Util::UnregisterPkgUpdateInfo(pkg_id.as_ptr(), uid as uid_t)) [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1270:25 [ 238s] | [ 238s] 1270 | let mut caller_pid: pid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1271:25 [ 238s] | [ 238s] 1271 | let mut caller_uid: uid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1303:95 [ 238s] | [ 238s] 1303 | RequestResult::DELAYED(generated_req_key, Util::UnregisterAllPkgUpdateInfo(uid as uid_t, caller_uid)) [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1312:45 [ 238s] | [ 238s] 1312 | fn handle_enable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1359:60 [ 238s] | [ 238s] 1359 | fn handle_enable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1371:40 [ 238s] | [ 238s] 1371 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1373:40 [ 238s] | [ 238s] 1373 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1380:36 [ 238s] | [ 238s] 1380 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1382:36 [ 238s] | [ 238s] 1382 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1392:36 [ 238s] | [ 238s] 1392 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1394:36 [ 238s] | [ 238s] 1394 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1400:28 [ 238s] | [ 238s] 1400 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1403:46 [ 238s] | [ 238s] 1403 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1404:59 [ 238s] | [ 238s] 1404 | Util::EnableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1405:32 [ 238s] | [ 238s] 1405 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1409:28 [ 238s] | [ 238s] 1409 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1415:46 [ 238s] | [ 238s] 1415 | fn handle_disable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1463:61 [ 238s] | [ 238s] 1463 | fn handle_disable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1475:40 [ 238s] | [ 238s] 1475 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1477:40 [ 238s] | [ 238s] 1477 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1484:36 [ 238s] | [ 238s] 1484 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1486:36 [ 238s] | [ 238s] 1486 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1496:36 [ 238s] | [ 238s] 1496 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1498:36 [ 238s] | [ 238s] 1498 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1504:28 [ 238s] | [ 238s] 1504 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1507:46 [ 238s] | [ 238s] 1507 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1508:60 [ 238s] | [ 238s] 1508 | Util::DisableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1509:32 [ 238s] | [ 238s] 1509 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1513:28 [ 238s] | [ 238s] 1513 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1535:25 [ 238s] | [ 238s] 1535 | let mut caller_uid: uid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1562:70 [ 238s] | [ 238s] 1562 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1588:25 [ 238s] | [ 238s] 1588 | let mut caller_uid: uid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1615:71 [ 238s] | [ 238s] 1615 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1673:74 [ 238s] | [ 238s] 1673 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1735:75 [ 238s] | [ 238s] 1735 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1765:25 [ 238s] | [ 238s] 1765 | let mut caller_uid: uid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1792:85 [ 238s] | [ 238s] 1792 | RequestResult::VAL(handle_enable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1818:25 [ 238s] | [ 238s] 1818 | let mut caller_uid: uid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1845:86 [ 238s] | [ 238s] 1845 | RequestResult::VAL(handle_disable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1863:40 [ 238s] | [ 238s] 1863 | Util::KillAppsInPkg(pkg_id, uid as uid_t) [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1873:25 [ 238s] | [ 238s] 1873 | let mut caller_pid: pid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1874:25 [ 238s] | [ 238s] 1874 | let mut caller_uid: uid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1985:25 [ 238s] | [ 238s] 1985 | let mut caller_pid: pid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:1986:25 [ 238s] | [ 238s] 1986 | let mut caller_uid: uid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:2035:25 [ 238s] | [ 238s] 2035 | let mut caller_pid: pid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:2036:25 [ 238s] | [ 238s] 2036 | let mut caller_uid: uid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:2083:54 [ 238s] | [ 238s] 2083 | Util::EnableGlobalAppSplashScreen(app_id, uid as uid_t) [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:2093:55 [ 238s] | [ 238s] 2093 | Util::DisableGlobalAppSplashScreen(app_id, uid as uid_t) [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:2105:25 [ 238s] | [ 238s] 2105 | let mut caller_pid: pid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:2106:25 [ 238s] | [ 238s] 2106 | let mut caller_uid: uid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:2137:102 [ 238s] | [ 238s] 2137 | RequestResult::DELAYED(generated_req_key, Util::update_app_label(app_id.as_ptr(), uid as uid_t , label.as_ptr())) [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:2155:25 [ 238s] | [ 238s] 2155 | let mut caller_pid: pid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:2156:25 [ 238s] | [ 238s] 2156 | let mut caller_uid: uid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:2187:101 [ 238s] | [ 238s] 2187 | RequestResult::DELAYED(generated_req_key, Util::update_app_icon(app_id.as_ptr(), uid as uid_t , icon_path.as_ptr())) [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:2312:25 [ 238s] | [ 238s] 2312 | let mut caller_uid: uid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:2313:25 [ 238s] | [ 238s] 2313 | let mut caller_pid: pid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:2383:25 [ 238s] | [ 238s] 2383 | let mut caller_uid: uid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:2384:25 [ 238s] | [ 238s] 2384 | let mut caller_pid: pid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:2453:25 [ 238s] | [ 238s] 2453 | let mut caller_uid: uid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:2454:25 [ 238s] | [ 238s] 2454 | let mut caller_pid: pid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:2532:25 [ 238s] | [ 238s] 2532 | let mut caller_uid: uid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:2622:41 [ 238s] | [ 238s] 2622 | if unsafe { check_valid_path(uid as uid_t, pkg_id, file_path) } != 0 { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:2681:19 [ 238s] | [ 238s] 2681 | pid: *mut pid_t, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/admin_service.rs:2682:19 [ 238s] | [ 238s] 2682 | uid: *mut uid_t [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 238s] | [ 238s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/backend_context.rs:3:33 [ 238s] | [ 238s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/cache_service.rs:12:26 [ 238s] | [ 238s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/cache_service.rs:12:33 [ 238s] | [ 238s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/cache_service.rs:23:14 [ 238s] | [ 238s] 23 | uid: uid_t, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/cache_service.rs:48:17 [ 238s] | [ 238s] 48 | target_uid: uid_t, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/cache_service.rs:53:25 [ 238s] | [ 238s] 53 | let mut caller_uid: uid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/cache_service.rs:106:19 [ 238s] | [ 238s] 106 | pid: *mut pid_t, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/cache_service.rs:107:19 [ 238s] | [ 238s] 107 | uid: *mut uid_t [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 238s] | [ 238s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/delayed_service.rs:13:33 [ 238s] | [ 238s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/info_service.rs:2:26 [ 238s] | [ 238s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/info_service.rs:2:33 [ 238s] | [ 238s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/info_service.rs:37:90 [ 238s] | [ 238s] 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... [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/info_service.rs:38:94 [ 238s] | [ 238s] 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... [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/info_service.rs:40:88 [ 238s] | [ 238s] 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... [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/info_service.rs:40:128 [ 238s] | [ 238s] 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... [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/info_service.rs:54:17 [ 238s] | [ 238s] 54 | target_uid: uid_t, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/info_service.rs:60:25 [ 238s] | [ 238s] 60 | let mut caller_pid: pid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/info_service.rs:61:25 [ 238s] | [ 238s] 61 | let mut caller_uid: uid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/info_service.rs:114:17 [ 238s] | [ 238s] 114 | target_uid: uid_t, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/info_service.rs:120:25 [ 238s] | [ 238s] 120 | let mut caller_pid: pid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/info_service.rs:121:25 [ 238s] | [ 238s] 121 | let mut caller_uid: uid_t = 0; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/info_service.rs:223:17 [ 238s] | [ 238s] 223 | target_uid: uid_t, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/info_service.rs:225:15 [ 238s] | [ 238s] 225 | pid: *mut pid_t, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/info_service.rs:228:43 [ 238s] | [ 238s] 228 | Util::check_app(pkg_id, target_uid as uid_t, pid) [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/info_service.rs:242:19 [ 238s] | [ 238s] 242 | pid: *mut pid_t, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/info_service.rs:243:19 [ 238s] | [ 238s] 243 | uid: *mut uid_t [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/signal.rs:2:26 [ 238s] | [ 238s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 238s] | [ 238s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/signal.rs:99:20 [ 238s] | [ 238s] 99 | const GLOBAL_USER: uid_t = 201; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/signal.rs:101:33 [ 238s] | [ 238s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/signal.rs:101:47 [ 238s] | [ 238s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/signal.rs:102:26 [ 238s] | [ 238s] 102 | let mut uid_vec: Vec = vec![]; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/signal.rs:110:28 [ 238s] | [ 238s] 110 | let mut uids: *mut uid_t = std::ptr::null_mut(); [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/signal.rs:124:14 [ 238s] | [ 238s] 124 | uid: uid_t, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/signal.rs:53:44 [ 238s] | [ 238s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/signal.rs:62:14 [ 238s] | [ 238s] 62 | uid: uid_t, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/signal.rs:86:14 [ 238s] | [ 238s] 86 | uid: uid_t, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/signal.rs:40:30 [ 238s] | [ 238s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 238s] | [ 238s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/signal.rs:44:45 [ 238s] | [ 238s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:4:26 [ 238s] | [ 238s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:4:33 [ 238s] | [ 238s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:22:21 [ 238s] | [ 238s] 22 | const REGULAR_USER: uid_t = 5000; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:23:20 [ 238s] | [ 238s] 23 | const GLOBAL_USER: uid_t = 201; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:25:18 [ 238s] | [ 238s] 25 | const APPFW_UID: uid_t = 301; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:307:36 [ 238s] | [ 238s] 307 | let uid : uid_t = user_data as uid_t; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:307:15 [ 238s] | [ 238s] 307 | let uid : uid_t = user_data as uid_t; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:326:81 [ 238s] | [ 238s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:326:93 [ 238s] | [ 238s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:326:25 [ 238s] | [ 238s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:326:37 [ 238s] | [ 238s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:389:57 [ 238s] | [ 238s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:420:55 [ 238s] | [ 238s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:686:62 [ 238s] | [ 238s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:696:63 [ 238s] | [ 238s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:706:44 [ 238s] | [ 238s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:706:63 [ 238s] | [ 238s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:728:49 [ 238s] | [ 238s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:738:50 [ 238s] | [ 238s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:747:55 [ 238s] | [ 238s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:757:56 [ 238s] | [ 238s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:766:61 [ 238s] | [ 238s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:775:62 [ 238s] | [ 238s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:784:67 [ 238s] | [ 238s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:793:68 [ 238s] | [ 238s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:802:54 [ 238s] | [ 238s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:802:64 [ 238s] | [ 238s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:813:47 [ 238s] | [ 238s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:835:53 [ 238s] | [ 238s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:855:25 [ 238s] | [ 238s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:983:69 [ 238s] | [ 238s] 983 | pub fn get_application_info_by_appid(appid: *const c_char, uid: uid_t) -> Option<(CString, bool)> { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:1012:41 [ 238s] | [ 238s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:1012:53 [ 238s] | [ 238s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:1029:71 [ 238s] | [ 238s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:1029:90 [ 238s] | [ 238s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:1076:56 [ 238s] | [ 238s] 1076 | pub fn update_app_label(appid: *const c_char, uid: uid_t, label: *const c_char) -> c_int { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:1080:55 [ 238s] | [ 238s] 1080 | pub fn update_app_icon(appid: *const c_char, uid: uid_t, icon_path: *const c_char) -> c_int { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:1108:49 [ 238s] | [ 238s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:1108:66 [ 238s] | [ 238s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:156:14 [ 238s] | [ 238s] 156 | uid: uid_t, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:166:14 [ 238s] | [ 238s] 166 | uid: uid_t, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:180:14 [ 238s] | [ 238s] 180 | uid: uid_t [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:185:14 [ 238s] | [ 238s] 185 | uid: uid_t [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:189:14 [ 238s] | [ 238s] 189 | uid: uid_t [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:194:14 [ 238s] | [ 238s] 194 | uid: uid_t, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:200:14 [ 238s] | [ 238s] 200 | uid: uid_t, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:206:14 [ 238s] | [ 238s] 206 | uid: uid_t, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:212:14 [ 238s] | [ 238s] 212 | uid: uid_t, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:218:14 [ 238s] | [ 238s] 218 | uid: uid_t, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:224:14 [ 238s] | [ 238s] 224 | uid: uid_t, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:237:32 [ 238s] | [ 238s] 237 | fn gum_user_get_sync(uid : uid_t, offline : c_int) -> *mut c_void; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:266:21 [ 238s] | [ 238s] 266 | caller_uid: uid_t [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:274:14 [ 238s] | [ 238s] 274 | uid: uid_t, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:40:30 [ 238s] | [ 238s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:40:37 [ 238s] | [ 238s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:46:18 [ 238s] | [ 238s] 46 | uid: uid_t, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:52:18 [ 238s] | [ 238s] 52 | uid: uid_t, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:67:18 [ 238s] | [ 238s] 67 | uid: uid_t, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:101:18 [ 238s] | [ 238s] 101 | uid: uid_t, [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:122:70 [ 238s] | [ 238s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:123:66 [ 238s] | [ 238s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:124:59 [ 238s] | [ 238s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 238s] | ^^^^^ [ 238s] [ 238s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 238s] --> ./src/pkgmgr/server/util.rs:125:97 [ 238s] | [ 238s] 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; [ 238s] | ^^^^^ [ 238s] [ 239s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 239s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 239s] | [ 239s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 239s] | ^^^^^ [ 239s] [ 239s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 239s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 239s] | [ 239s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 239s] | ^^^^^ [ 239s] [ 239s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 239s] --> ./src/pkgmgr/server/test/signal_tests.rs:12:26 [ 239s] | [ 239s] 12 | let mut uid_vec: Vec = vec![]; [ 239s] | ^^^^^ [ 239s] [ 239s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 239s] --> ./src/pkgmgr/server/test/signal_tests.rs:19:26 [ 239s] | [ 239s] 19 | let mut uid_vec: Vec = vec![]; [ 239s] | ^^^^^ [ 239s] [ 243s] warning: unreachable expression [ 243s] --> ./src/pkgmgr/server/backend_queue.rs:64:5 [ 243s] | [ 243s] 61 | return G_SOURCE_CONTINUE; [ 243s] | ------------------------ any code following this expression is unreachable [ 243s] ... [ 243s] 64 | 1 [ 243s] | ^ unreachable expression [ 243s] | [ 243s] = note: `#[warn(unreachable_code)]` on by default [ 243s] [ 251s] warning: unused import: `super::super::super::server::service::Service` [ 251s] --> ./src/pkgmgr/server/test/info_service_tests.rs:3:5 [ 251s] | [ 251s] 3 | use super::super::super::server::service::Service; [ 251s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 251s] [ 251s] warning: unused variable: `context` [ 251s] --> ./src/pkgmgr/server/admin_service.rs:297:5 [ 251s] | [ 251s] 297 | context: *mut c_void, [ 251s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 251s] | [ 251s] = note: `#[warn(unused_variables)]` on by default [ 251s] [ 251s] warning: unused variable: `context` [ 251s] --> ./src/pkgmgr/server/admin_service.rs:306:5 [ 251s] | [ 251s] 306 | context: *mut c_void, [ 251s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 251s] [ 251s] warning: unused variable: `user_data` [ 251s] --> ./src/pkgmgr/server/admin_service.rs:307:5 [ 251s] | [ 251s] 307 | user_data: *mut c_void, [ 251s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 251s] [ 251s] warning: unused variable: `ret` [ 251s] --> ./src/pkgmgr/server/admin_service.rs:323:9 [ 251s] | [ 251s] 323 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 251s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 251s] [ 251s] warning: unused variable: `req_id` [ 251s] --> ./src/pkgmgr/server/admin_service.rs:318:5 [ 251s] | [ 251s] 318 | req_id: *const c_char, [ 251s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 251s] [ 252s] warning: variable does not need to be mutable [ 252s] --> ./src/pkgmgr/server/admin_service.rs:415:9 [ 252s] | [ 252s] 415 | let mut backend_context = BackendContext::new( [ 252s] | ----^^^^^^^^^^^^^^^ [ 252s] | | [ 252s] | help: remove this `mut` [ 252s] | [ 252s] = note: `#[warn(unused_mut)]` on by default [ 252s] [ 252s] warning: unused variable: `ret` [ 252s] --> ./src/pkgmgr/server/admin_service.rs:444:9 [ 252s] | [ 252s] 444 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 252s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 252s] [ 252s] warning: unused variable: `req_id` [ 252s] --> ./src/pkgmgr/server/admin_service.rs:434:5 [ 252s] | [ 252s] 434 | req_id: *const c_char, [ 252s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 252s] [ 252s] warning: variable does not need to be mutable [ 252s] --> ./src/pkgmgr/server/admin_service.rs:510:9 [ 252s] | [ 252s] 510 | let mut backend_context = BackendContext::new( [ 252s] | ----^^^^^^^^^^^^^^^ [ 252s] | | [ 252s] | help: remove this `mut` [ 252s] [ 252s] warning: unused variable: `ret` [ 252s] --> ./src/pkgmgr/server/admin_service.rs:549:9 [ 252s] | [ 252s] 549 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 252s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 252s] [ 252s] warning: variable does not need to be mutable [ 252s] --> ./src/pkgmgr/server/admin_service.rs:571:9 [ 252s] | [ 252s] 571 | let mut backend_context = BackendContext::new( [ 252s] | ----^^^^^^^^^^^^^^^ [ 252s] | | [ 252s] | help: remove this `mut` [ 252s] [ 252s] warning: unused variable: `ret` [ 252s] --> ./src/pkgmgr/server/admin_service.rs:596:9 [ 252s] | [ 252s] 596 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 252s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 252s] [ 252s] warning: unused variable: `req_id` [ 252s] --> ./src/pkgmgr/server/admin_service.rs:591:5 [ 252s] | [ 252s] 591 | req_id: *const c_char, [ 252s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 252s] [ 252s] warning: variable does not need to be mutable [ 252s] --> ./src/pkgmgr/server/admin_service.rs:688:9 [ 252s] | [ 252s] 688 | let mut backend_context = BackendContext::new( [ 252s] | ----^^^^^^^^^^^^^^^ [ 252s] | | [ 252s] | help: remove this `mut` [ 252s] [ 252s] warning: unused variable: `ret` [ 252s] --> ./src/pkgmgr/server/admin_service.rs:719:9 [ 252s] | [ 252s] 719 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 252s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 252s] [ 252s] warning: unused variable: `req_id` [ 252s] --> ./src/pkgmgr/server/admin_service.rs:706:5 [ 252s] | [ 252s] 706 | req_id: *const c_char, [ 252s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 252s] [ 252s] warning: variable does not need to be mutable [ 252s] --> ./src/pkgmgr/server/admin_service.rs:763:9 [ 252s] | [ 252s] 763 | let mut backend_context = BackendContext::new( [ 252s] | ----^^^^^^^^^^^^^^^ [ 252s] | | [ 252s] | help: remove this `mut` [ 252s] [ 252s] warning: unused variable: `ret` [ 252s] --> ./src/pkgmgr/server/admin_service.rs:802:9 [ 252s] | [ 252s] 802 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 252s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 252s] [ 252s] warning: variable does not need to be mutable [ 252s] --> ./src/pkgmgr/server/admin_service.rs:824:9 [ 252s] | [ 252s] 824 | let mut backend_context = BackendContext::new( [ 252s] | ----^^^^^^^^^^^^^^^ [ 252s] | | [ 252s] | help: remove this `mut` [ 252s] [ 252s] warning: unused variable: `ret` [ 252s] --> ./src/pkgmgr/server/admin_service.rs:854:9 [ 252s] | [ 252s] 854 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 252s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 252s] [ 252s] warning: variable does not need to be mutable [ 252s] --> ./src/pkgmgr/server/admin_service.rs:898:9 [ 252s] | [ 252s] 898 | let mut backend_context = BackendContext::new( [ 252s] | ----^^^^^^^^^^^^^^^ [ 252s] | | [ 252s] | help: remove this `mut` [ 252s] [ 252s] warning: unused variable: `ret` [ 252s] --> ./src/pkgmgr/server/admin_service.rs:938:9 [ 252s] | [ 252s] 938 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 252s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 252s] [ 252s] warning: variable does not need to be mutable [ 252s] --> ./src/pkgmgr/server/admin_service.rs:961:9 [ 252s] | [ 252s] 961 | let mut backend_context = BackendContext::new( [ 252s] | ----^^^^^^^^^^^^^^^ [ 252s] | | [ 252s] | help: remove this `mut` [ 252s] [ 252s] warning: unused variable: `ret` [ 252s] --> ./src/pkgmgr/server/admin_service.rs:991:9 [ 252s] | [ 252s] 991 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 252s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 252s] [ 252s] warning: variable does not need to be mutable [ 252s] --> ./src/pkgmgr/server/admin_service.rs:1038:17 [ 252s] | [ 252s] 1038 | let mut backend_context = BackendContext::new( [ 252s] | ----^^^^^^^^^^^^^^^ [ 252s] | | [ 252s] | help: remove this `mut` [ 252s] [ 252s] warning: unused variable: `ret` [ 252s] --> ./src/pkgmgr/server/admin_service.rs:1073:9 [ 252s] | [ 252s] 1073 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 252s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 252s] [ 252s] warning: variable does not need to be mutable [ 252s] --> ./src/pkgmgr/server/admin_service.rs:1123:17 [ 252s] | [ 252s] 1123 | let mut backend_context = BackendContext::new( [ 252s] | ----^^^^^^^^^^^^^^^ [ 252s] | | [ 252s] | help: remove this `mut` [ 252s] [ 252s] warning: unused variable: `pkg_id` [ 252s] --> ./src/pkgmgr/server/admin_service.rs:1186:9 [ 252s] | [ 252s] 1186 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) }); [ 252s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 252s] [ 252s] warning: variable does not need to be mutable [ 252s] --> ./src/pkgmgr/server/admin_service.rs:1180:9 [ 252s] | [ 252s] 1180 | let mut handle : *mut c_void = Util::CreatePkgUpdateInfo(pkg_id, version, update_type); [ 252s] | ----^^^^^^ [ 252s] | | [ 252s] | help: remove this `mut` [ 252s] [ 252s] warning: variable does not need to be mutable [ 252s] --> ./src/pkgmgr/server/admin_service.rs:1190:9 [ 252s] | [ 252s] 1190 | let mut backend_context = BackendContext::new( [ 252s] | ----^^^^^^^^^^^^^^^ [ 252s] | | [ 252s] | help: remove this `mut` [ 252s] [ 252s] warning: variable does not need to be mutable [ 252s] --> ./src/pkgmgr/server/admin_service.rs:1248:9 [ 252s] | [ 252s] 1248 | let mut backend_context = BackendContext::new( [ 252s] | ----^^^^^^^^^^^^^^^ [ 252s] | | [ 252s] | help: remove this `mut` [ 252s] [ 252s] warning: variable does not need to be mutable [ 252s] --> ./src/pkgmgr/server/admin_service.rs:1297:9 [ 252s] | [ 252s] 1297 | let mut backend_context = BackendContext::new( [ 252s] | ----^^^^^^^^^^^^^^^ [ 252s] | | [ 252s] | help: remove this `mut` [ 252s] [ 252s] warning: unused variable: `is_global` [ 252s] --> ./src/pkgmgr/server/admin_service.rs:1321:17 [ 252s] | [ 252s] 1321 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 252s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 252s] [ 252s] warning: unused variable: `is_global` [ 252s] --> ./src/pkgmgr/server/admin_service.rs:1368:17 [ 252s] | [ 252s] 1368 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 252s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 252s] [ 252s] warning: unused variable: `is_global` [ 252s] --> ./src/pkgmgr/server/admin_service.rs:1424:17 [ 252s] | [ 252s] 1424 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 252s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 252s] [ 252s] warning: unused variable: `is_global` [ 252s] --> ./src/pkgmgr/server/admin_service.rs:1472:17 [ 252s] | [ 252s] 1472 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 252s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 252s] [ 252s] warning: unused variable: `caller_uid` [ 252s] --> ./src/pkgmgr/server/admin_service.rs:1535:13 [ 252s] | [ 252s] 1535 | let mut caller_uid: uid_t = 0; [ 252s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 252s] [ 252s] warning: unused variable: `context` [ 252s] --> ./src/pkgmgr/server/admin_service.rs:1521:5 [ 252s] | [ 252s] 1521 | context: *mut c_void, [ 252s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 252s] [ 253s] warning: variable does not need to be mutable [ 253s] --> ./src/pkgmgr/server/admin_service.rs:1535:9 [ 253s] | [ 253s] 1535 | let mut caller_uid: uid_t = 0; [ 253s] | ----^^^^^^^^^^ [ 253s] | | [ 253s] | help: remove this `mut` [ 253s] [ 253s] warning: variable does not need to be mutable [ 253s] --> ./src/pkgmgr/server/admin_service.rs:1558:13 [ 253s] | [ 253s] 1558 | let mut backend_context = BackendContext::new( [ 253s] | ----^^^^^^^^^^^^^^^ [ 253s] | | [ 253s] | help: remove this `mut` [ 253s] [ 253s] warning: unused variable: `caller_uid` [ 253s] --> ./src/pkgmgr/server/admin_service.rs:1588:13 [ 253s] | [ 253s] 1588 | let mut caller_uid: uid_t = 0; [ 253s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 253s] [ 253s] warning: unused variable: `context` [ 253s] --> ./src/pkgmgr/server/admin_service.rs:1574:5 [ 253s] | [ 253s] 1574 | context: *mut c_void, [ 253s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 253s] [ 253s] warning: variable does not need to be mutable [ 253s] --> ./src/pkgmgr/server/admin_service.rs:1588:9 [ 253s] | [ 253s] 1588 | let mut caller_uid: uid_t = 0; [ 253s] | ----^^^^^^^^^^ [ 253s] | | [ 253s] | help: remove this `mut` [ 253s] [ 253s] warning: variable does not need to be mutable [ 253s] --> ./src/pkgmgr/server/admin_service.rs:1611:13 [ 253s] | [ 253s] 1611 | let mut backend_context = BackendContext::new( [ 253s] | ----^^^^^^^^^^^^^^^ [ 253s] | | [ 253s] | help: remove this `mut` [ 253s] [ 253s] warning: unused variable: `context` [ 253s] --> ./src/pkgmgr/server/admin_service.rs:1627:5 [ 253s] | [ 253s] 1627 | context: *mut c_void, [ 253s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 253s] [ 253s] warning: variable does not need to be mutable [ 253s] --> ./src/pkgmgr/server/admin_service.rs:1669:17 [ 253s] | [ 253s] 1669 | let mut backend_context = BackendContext::new( [ 253s] | ----^^^^^^^^^^^^^^^ [ 253s] | | [ 253s] | help: remove this `mut` [ 253s] [ 253s] warning: unused variable: `context` [ 253s] --> ./src/pkgmgr/server/admin_service.rs:1689:5 [ 253s] | [ 253s] 1689 | context: *mut c_void, [ 253s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 253s] [ 253s] warning: variable does not need to be mutable [ 253s] --> ./src/pkgmgr/server/admin_service.rs:1731:17 [ 253s] | [ 253s] 1731 | let mut backend_context = BackendContext::new( [ 253s] | ----^^^^^^^^^^^^^^^ [ 253s] | | [ 253s] | help: remove this `mut` [ 253s] [ 253s] warning: unused variable: `caller_uid` [ 253s] --> ./src/pkgmgr/server/admin_service.rs:1765:13 [ 253s] | [ 253s] 1765 | let mut caller_uid: uid_t = 0; [ 253s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 253s] [ 253s] warning: unused variable: `context` [ 253s] --> ./src/pkgmgr/server/admin_service.rs:1751:5 [ 253s] | [ 253s] 1751 | context: *mut c_void, [ 253s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 253s] [ 253s] warning: variable does not need to be mutable [ 253s] --> ./src/pkgmgr/server/admin_service.rs:1765:9 [ 253s] | [ 253s] 1765 | let mut caller_uid: uid_t = 0; [ 253s] | ----^^^^^^^^^^ [ 253s] | | [ 253s] | help: remove this `mut` [ 253s] [ 253s] warning: variable does not need to be mutable [ 253s] --> ./src/pkgmgr/server/admin_service.rs:1788:13 [ 253s] | [ 253s] 1788 | let mut backend_context = BackendContext::new( [ 253s] | ----^^^^^^^^^^^^^^^ [ 253s] | | [ 253s] | help: remove this `mut` [ 253s] [ 253s] warning: unused variable: `caller_uid` [ 253s] --> ./src/pkgmgr/server/admin_service.rs:1818:13 [ 253s] | [ 253s] 1818 | let mut caller_uid: uid_t = 0; [ 253s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 253s] [ 253s] warning: unused variable: `context` [ 253s] --> ./src/pkgmgr/server/admin_service.rs:1804:5 [ 253s] | [ 253s] 1804 | context: *mut c_void, [ 253s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 253s] [ 253s] warning: variable does not need to be mutable [ 253s] --> ./src/pkgmgr/server/admin_service.rs:1818:9 [ 253s] | [ 253s] 1818 | let mut caller_uid: uid_t = 0; [ 253s] | ----^^^^^^^^^^ [ 253s] | | [ 253s] | help: remove this `mut` [ 253s] [ 253s] warning: variable does not need to be mutable [ 253s] --> ./src/pkgmgr/server/admin_service.rs:1841:13 [ 253s] | [ 253s] 1841 | let mut backend_context = BackendContext::new( [ 253s] | ----^^^^^^^^^^^^^^^ [ 253s] | | [ 253s] | help: remove this `mut` [ 253s] [ 253s] warning: unused variable: `context` [ 253s] --> ./src/pkgmgr/server/admin_service.rs:1857:5 [ 253s] | [ 253s] 1857 | context: *mut c_void, [ 253s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 253s] [ 253s] warning: unused variable: `pid` [ 253s] --> ./src/pkgmgr/server/admin_service.rs:1860:5 [ 253s] | [ 253s] 1860 | pid: *mut c_int, [ 253s] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [ 253s] [ 253s] warning: unused variable: `user_data` [ 253s] --> ./src/pkgmgr/server/admin_service.rs:1861:5 [ 253s] | [ 253s] 1861 | user_data: *mut c_void, [ 253s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 253s] [ 253s] warning: variable does not need to be mutable [ 253s] --> ./src/pkgmgr/server/admin_service.rs:1900:9 [ 253s] | [ 253s] 1900 | let mut backend_context = BackendContext::new( [ 253s] | ----^^^^^^^^^^^^^^^ [ 253s] | | [ 253s] | help: remove this `mut` [ 253s] [ 253s] warning: unused variable: `context` [ 253s] --> ./src/pkgmgr/server/admin_service.rs:1932:5 [ 253s] | [ 253s] 1932 | context: *mut c_void, [ 253s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 253s] [ 253s] warning: variable does not need to be mutable [ 253s] --> ./src/pkgmgr/server/admin_service.rs:2012:9 [ 253s] | [ 253s] 2012 | let mut backend_context = BackendContext::new( [ 253s] | ----^^^^^^^^^^^^^^^ [ 253s] | | [ 253s] | help: remove this `mut` [ 253s] [ 253s] warning: variable does not need to be mutable [ 253s] --> ./src/pkgmgr/server/admin_service.rs:2063:9 [ 253s] | [ 253s] 2063 | let mut backend_context = BackendContext::new( [ 253s] | ----^^^^^^^^^^^^^^^ [ 253s] | | [ 253s] | help: remove this `mut` [ 253s] [ 253s] warning: unused variable: `context` [ 253s] --> ./src/pkgmgr/server/admin_service.rs:2078:5 [ 253s] | [ 253s] 2078 | context: *mut c_void, [ 253s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 253s] [ 253s] warning: unused variable: `user_data` [ 253s] --> ./src/pkgmgr/server/admin_service.rs:2081:5 [ 253s] | [ 253s] 2081 | user_data: *mut c_void, [ 253s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 253s] [ 253s] warning: unused variable: `context` [ 253s] --> ./src/pkgmgr/server/admin_service.rs:2088:5 [ 253s] | [ 253s] 2088 | context: *mut c_void, [ 253s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 253s] [ 253s] warning: unused variable: `user_data` [ 253s] --> ./src/pkgmgr/server/admin_service.rs:2091:5 [ 253s] | [ 253s] 2091 | user_data: *mut c_void, [ 253s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 253s] [ 253s] warning: variable does not need to be mutable [ 253s] --> ./src/pkgmgr/server/admin_service.rs:2133:9 [ 253s] | [ 253s] 2133 | let mut backend_context = BackendContext::new( [ 253s] | ----^^^^^^^^^^^^^^^ [ 253s] | | [ 253s] | help: remove this `mut` [ 253s] [ 253s] warning: variable does not need to be mutable [ 253s] --> ./src/pkgmgr/server/admin_service.rs:2183:9 [ 253s] | [ 253s] 2183 | let mut backend_context = BackendContext::new( [ 253s] | ----^^^^^^^^^^^^^^^ [ 253s] | | [ 253s] | help: remove this `mut` [ 253s] [ 253s] warning: unused variable: `context` [ 253s] --> ./src/pkgmgr/server/admin_service.rs:2198:5 [ 253s] | [ 253s] 2198 | context: *mut c_void, [ 253s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 253s] [ 253s] warning: unused variable: `uid` [ 253s] --> ./src/pkgmgr/server/admin_service.rs:2199:5 [ 253s] | [ 253s] 2199 | uid: c_int, [ 253s] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [ 253s] [ 253s] warning: unused variable: `pkg_id` [ 253s] --> ./src/pkgmgr/server/admin_service.rs:2200:5 [ 253s] | [ 253s] 2200 | pkg_id: *const c_char, [ 253s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 253s] [ 253s] warning: unused variable: `user_data` [ 253s] --> ./src/pkgmgr/server/admin_service.rs:2201:5 [ 253s] | [ 253s] 2201 | user_data: *mut c_void, [ 253s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 253s] [ 253s] warning: variable does not need to be mutable [ 253s] --> ./src/pkgmgr/server/admin_service.rs:2364:9 [ 253s] | [ 253s] 2364 | let mut backend_context = BackendContext::new( [ 253s] | ----^^^^^^^^^^^^^^^ [ 253s] | | [ 253s] | help: remove this `mut` [ 253s] [ 253s] warning: variable does not need to be mutable [ 253s] --> ./src/pkgmgr/server/admin_service.rs:2434:9 [ 253s] | [ 253s] 2434 | let mut backend_context = BackendContext::new( [ 253s] | ----^^^^^^^^^^^^^^^ [ 253s] | | [ 253s] | help: remove this `mut` [ 253s] [ 253s] warning: variable does not need to be mutable [ 253s] --> ./src/pkgmgr/server/admin_service.rs:2504:9 [ 253s] | [ 253s] 2504 | let mut backend_context = BackendContext::new( [ 253s] | ----^^^^^^^^^^^^^^^ [ 253s] | | [ 253s] | help: remove this `mut` [ 253s] [ 253s] warning: unused variable: `ret` [ 253s] --> ./src/pkgmgr/server/admin_service.rs:2533:9 [ 253s] | [ 253s] 2533 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 253s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 253s] [ 253s] warning: variable does not need to be mutable [ 253s] --> ./src/pkgmgr/server/admin_service.rs:2552:9 [ 253s] | [ 253s] 2552 | let mut backend_context = BackendContext::new( [ 253s] | ----^^^^^^^^^^^^^^^ [ 253s] | | [ 253s] | help: remove this `mut` [ 253s] [ 253s] warning: unused variable: `context` [ 253s] --> ./src/pkgmgr/server/admin_service.rs:2567:5 [ 253s] | [ 253s] 2567 | context: *mut c_void, [ 253s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 253s] [ 253s] warning: variable does not need to be mutable [ 253s] --> ./src/pkgmgr/server/admin_service.rs:2597:9 [ 253s] | [ 253s] 2597 | let mut backend_context = BackendContext::new( [ 253s] | ----^^^^^^^^^^^^^^^ [ 253s] | | [ 253s] | help: remove this `mut` [ 253s] [ 253s] warning: unused variable: `context` [ 253s] --> ./src/pkgmgr/server/admin_service.rs:2612:5 [ 253s] | [ 253s] 2612 | context: *mut c_void, [ 253s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 253s] [ 253s] warning: variable does not need to be mutable [ 253s] --> ./src/pkgmgr/server/admin_service.rs:2656:9 [ 253s] | [ 253s] 2656 | let mut backend_context = BackendContext::new( [ 253s] | ----^^^^^^^^^^^^^^^ [ 253s] | | [ 253s] | help: remove this `mut` [ 253s] [ 254s] warning: unused variable: `status` [ 254s] --> ./src/pkgmgr/server/backend_queue.rs:38:17 [ 254s] | [ 254s] 38 | let mut status: c_int; [ 254s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [ 254s] [ 254s] warning: unused variable: `io` [ 254s] --> ./src/pkgmgr/server/backend_queue.rs:30:33 [ 254s] | [ 254s] 30 | extern "C" fn signal_handler_cb(io: *mut glib_sys::GIOChannel, [ 254s] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [ 254s] [ 254s] warning: unused variable: `cond` [ 254s] --> ./src/pkgmgr/server/backend_queue.rs:31:9 [ 254s] | [ 254s] 31 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 254s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 254s] [ 254s] warning: variable does not need to be mutable [ 254s] --> ./src/pkgmgr/server/backend_queue.rs:71:9 [ 254s] | [ 254s] 71 | let mut mut_queue = queue.borrow_mut(); [ 254s] | ----^^^^^^^^^ [ 254s] | | [ 254s] | help: remove this `mut` [ 254s] [ 254s] warning: variable does not need to be mutable [ 254s] --> ./src/pkgmgr/server/backend_queue.rs:189:28 [ 254s] | [ 254s] 189 | pub fn push(&mut self, mut context: BackendContext) -> i32 { [ 254s] | ----^^^^^^^ [ 254s] | | [ 254s] | help: remove this `mut` [ 254s] [ 254s] warning: unused variable: `req_key` [ 254s] --> ./src/pkgmgr/server/backend_queue.rs:296:41 [ 254s] | [ 254s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 254s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_key` [ 254s] [ 254s] warning: unused variable: `ret` [ 254s] --> ./src/pkgmgr/server/backend_queue.rs:296:50 [ 254s] | [ 254s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 254s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 254s] [ 254s] warning: unused variable: `s` [ 254s] --> ./src/pkgmgr/server/backend_queue.rs:296:55 [ 254s] | [ 254s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 254s] | ^ help: if this is intentional, prefix it with an underscore: `_s` [ 254s] [ 254s] warning: variable does not need to be mutable [ 254s] --> ./src/pkgmgr/server/backend_queue.rs:278:25 [ 254s] | [ 254s] 278 | let mut backend: &mut Backend = backend.unwrap(); [ 254s] | ----^^^^^^^ [ 254s] | | [ 254s] | help: remove this `mut` [ 254s] [ 254s] warning: unused variable: `context` [ 254s] --> ./src/pkgmgr/server/cache_service.rs:31:5 [ 254s] | [ 254s] 31 | context: *mut c_void, [ 254s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 254s] [ 254s] warning: unused variable: `context` [ 254s] --> ./src/pkgmgr/server/cache_service.rs:40:5 [ 254s] | [ 254s] 40 | context: *mut c_void, [ 254s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 254s] [ 254s] warning: unused variable: `user_data` [ 254s] --> ./src/pkgmgr/server/cache_service.rs:41:5 [ 254s] | [ 254s] 41 | user_data: *mut c_void, [ 254s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 254s] [ 254s] warning: unused variable: `ret` [ 254s] --> ./src/pkgmgr/server/cache_service.rs:54:9 [ 254s] | [ 254s] 54 | let ret = unsafe { rpc_port_stub_PkgMgrForClearCache_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 254s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 254s] [ 254s] warning: value assigned to `pkg_type` is never read [ 254s] --> ./src/pkgmgr/server/cache_service.rs:63:13 [ 254s] | [ 254s] 63 | let mut pkg_type: String = String::new(); [ 254s] | ^^^^^^^^ [ 254s] | [ 254s] = help: maybe it is overwritten before being read? [ 254s] = note: `#[warn(unused_assignments)]` on by default [ 254s] [ 254s] warning: variable does not need to be mutable [ 254s] --> ./src/pkgmgr/server/cache_service.rs:83:9 [ 254s] | [ 254s] 83 | let mut backend_context = BackendContext::new( [ 254s] | ----^^^^^^^^^^^^^^^ [ 254s] | | [ 254s] | help: remove this `mut` [ 254s] [ 254s] warning: unused variable: `context` [ 254s] --> ./src/pkgmgr/server/delayed_service.rs:32:5 [ 254s] | [ 254s] 32 | context: *mut c_void, [ 254s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 254s] [ 254s] warning: unused variable: `context` [ 254s] --> ./src/pkgmgr/server/delayed_service.rs:41:5 [ 254s] | [ 254s] 41 | context: *mut c_void, [ 254s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 254s] [ 254s] warning: unused variable: `user_data` [ 254s] --> ./src/pkgmgr/server/delayed_service.rs:42:5 [ 254s] | [ 254s] 42 | user_data: *mut c_void, [ 254s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 254s] [ 254s] warning: unused variable: `context` [ 254s] --> ./src/pkgmgr/server/delayed_service.rs:48:5 [ 254s] | [ 254s] 48 | context: *mut c_void, [ 254s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 254s] [ 254s] warning: unused variable: `context` [ 254s] --> ./src/pkgmgr/server/info_service.rs:43:55 [ 254s] | [ 254s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 254s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 254s] [ 254s] warning: unused variable: `context` [ 254s] --> ./src/pkgmgr/server/info_service.rs:48:58 [ 254s] | [ 254s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 254s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 254s] [ 254s] warning: unused variable: `user_data` [ 254s] --> ./src/pkgmgr/server/info_service.rs:48:80 [ 254s] | [ 254s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 254s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 254s] [ 254s] warning: variable does not need to be mutable [ 254s] --> ./src/pkgmgr/server/info_service.rs:98:9 [ 254s] | [ 254s] 98 | let mut backend_context = BackendContext::new( [ 254s] | ----^^^^^^^^^^^^^^^ [ 254s] | | [ 254s] | help: remove this `mut` [ 254s] [ 254s] warning: variable does not need to be mutable [ 254s] --> ./src/pkgmgr/server/info_service.rs:160:9 [ 254s] | [ 254s] 160 | let mut backend_context = BackendContext::new( [ 254s] | ----^^^^^^^^^^^^^^^ [ 254s] | | [ 254s] | help: remove this `mut` [ 254s] [ 254s] warning: unused variable: `context` [ 254s] --> ./src/pkgmgr/server/info_service.rs:195:5 [ 254s] | [ 254s] 195 | context: *mut c_void, [ 254s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 254s] [ 254s] warning: unused variable: `context` [ 254s] --> ./src/pkgmgr/server/info_service.rs:222:5 [ 254s] | [ 254s] 222 | context: *mut c_void, [ 254s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 254s] [ 254s] warning: unused variable: `user_data` [ 254s] --> ./src/pkgmgr/server/info_service.rs:226:5 [ 254s] | [ 254s] 226 | user_data: *mut c_void [ 254s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 254s] [ 255s] warning: variable does not need to be mutable [ 255s] --> ./src/pkgmgr/server/signal.rs:144:13 [ 255s] | [ 255s] 144 | let mut c_req_type: c_int; [ 255s] | ----^^^^^^^^^^ [ 255s] | | [ 255s] | help: remove this `mut` [ 255s] [ 263s] warning: value assigned to `size_result` is never read [ 263s] --> ./src/pkgmgr/server/util.rs:351:17 [ 263s] | [ 263s] 351 | let mut size_result: i64 = -1; [ 263s] | ^^^^^^^^^^^ [ 263s] | [ 263s] = help: maybe it is overwritten before being read? [ 263s] [ 263s] warning: unused variable: `cond` [ 263s] --> ./src/pkgmgr/server/util.rs:341:9 [ 263s] | [ 263s] 341 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 263s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 263s] [ 263s] warning: value assigned to `ret` is never read [ 263s] --> ./src/pkgmgr/server/util.rs:425:21 [ 263s] | [ 263s] 425 | let mut ret: c_int = 0; [ 263s] | ^^^ [ 263s] | [ 263s] = help: maybe it is overwritten before being read? [ 263s] [ 263s] warning: unreachable pattern [ 263s] --> ./src/pkgmgr/server/util.rs:478:17 [ 263s] | [ 263s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 263s] | -------------------------------------- matches any value [ 263s] ... [ 263s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 263s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 263s] | [ 263s] = note: `#[warn(unreachable_patterns)]` on by default [ 263s] [ 263s] warning: unreachable pattern [ 263s] --> ./src/pkgmgr/server/util.rs:483:17 [ 263s] | [ 263s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 263s] | -------------------------------------- matches any value [ 263s] ... [ 263s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 263s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 263s] [ 263s] warning: unreachable pattern [ 263s] --> ./src/pkgmgr/server/util.rs:488:17 [ 263s] | [ 263s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 263s] | -------------------------------------- matches any value [ 263s] ... [ 263s] 488 | _ => { [ 263s] | ^ unreachable pattern [ 263s] [ 263s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 263s] --> ./src/pkgmgr/server/util.rs:473:17 [ 263s] | [ 263s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 263s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 263s] [ 263s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_TEXT` [ 263s] --> ./src/pkgmgr/server/util.rs:478:17 [ 263s] | [ 263s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 263s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_TEXT` [ 263s] [ 263s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 263s] --> ./src/pkgmgr/server/util.rs:483:17 [ 263s] | [ 263s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 263s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 263s] [ 263s] warning: variable does not need to be mutable [ 263s] --> ./src/pkgmgr/server/util.rs:519:13 [ 263s] | [ 263s] 519 | let mut attr = xmlTextReaderGetAttribute(reader, RES_TYPE_ATTRIBUTE_KEY.as_ptr()); [ 263s] | ----^^^^ [ 263s] | | [ 263s] | help: remove this `mut` [ 263s] [ 263s] warning: variable does not need to be mutable [ 263s] --> ./src/pkgmgr/server/util.rs:588:13 [ 263s] | [ 263s] 588 | let mut reader = [ 263s] | ----^^^^^^ [ 263s] | | [ 263s] | help: remove this `mut` [ 263s] [ 263s] warning: unused variable: `gid` [ 263s] --> ./src/pkgmgr/server/util.rs:891:52 [ 263s] | [ 263s] 891 | fn set_environment(mut envs: Vec<&mut String>, gid: libc::gid_t) -> bool { [ 263s] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [ 263s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:15:38 [ 264s] | [ 264s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:15:40 [ 264s] | [ 264s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `z` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:15:42 [ 264s] | [ 264s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:22:38 [ 264s] | [ 264s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:22:40 [ 264s] | [ 264s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `z` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:22:42 [ 264s] | [ 264s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:29:38 [ 264s] | [ 264s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:29:40 [ 264s] | [ 264s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `z` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:29:42 [ 264s] | [ 264s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:31:39 [ 264s] | [ 264s] 31 | ctx2.expect().times(1).returning(|x,y| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:31:41 [ 264s] | [ 264s] 31 | ctx2.expect().times(1).returning(|x,y| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:38:38 [ 264s] | [ 264s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:38:40 [ 264s] | [ 264s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `z` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:38:42 [ 264s] | [ 264s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:40:39 [ 264s] | [ 264s] 40 | ctx2.expect().times(1).returning(|x,y: *mut bool| { [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:45:40 [ 264s] | [ 264s] 45 | ctx_d.expect().times(1).returning(|x| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:52:38 [ 264s] | [ 264s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:52:40 [ 264s] | [ 264s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `z` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:52:42 [ 264s] | [ 264s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:54:39 [ 264s] | [ 264s] 54 | ctx2.expect().times(1).returning(|x,y: *mut bool| { [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:59:40 [ 264s] | [ 264s] 59 | ctx_d.expect().times(1).returning(|x| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:67:38 [ 264s] | [ 264s] 67 | ctx.expect().times(1).returning(|x,y| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:67:40 [ 264s] | [ 264s] 67 | ctx.expect().times(1).returning(|x,y| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:74:38 [ 264s] | [ 264s] 74 | ctx.expect().times(1).returning(|x,y| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:74:40 [ 264s] | [ 264s] 74 | ctx.expect().times(1).returning(|x,y| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:76:39 [ 264s] | [ 264s] 76 | ctx2.expect().times(1).returning(|x,y| -1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:76:41 [ 264s] | [ 264s] 76 | ctx2.expect().times(1).returning(|x,y| -1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:83:38 [ 264s] | [ 264s] 83 | ctx.expect().times(1).returning(|x,y| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:83:40 [ 264s] | [ 264s] 83 | ctx.expect().times(1).returning(|x,y| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:85:39 [ 264s] | [ 264s] 85 | ctx2.expect().times(1).returning(|x,y| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:85:41 [ 264s] | [ 264s] 85 | ctx2.expect().times(1).returning(|x,y| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:87:39 [ 264s] | [ 264s] 87 | ctx3.expect().times(1).returning(|x,y| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:87:41 [ 264s] | [ 264s] 87 | ctx3.expect().times(1).returning(|x,y| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:94:38 [ 264s] | [ 264s] 94 | ctx.expect().times(1).returning(|x,y| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:94:40 [ 264s] | [ 264s] 94 | ctx.expect().times(1).returning(|x,y| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:96:39 [ 264s] | [ 264s] 96 | ctx2.expect().times(1).returning(|x,y| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:96:41 [ 264s] | [ 264s] 96 | ctx2.expect().times(1).returning(|x,y| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:98:39 [ 264s] | [ 264s] 98 | ctx3.expect().times(1).returning(|x,y| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:98:41 [ 264s] | [ 264s] 98 | ctx3.expect().times(1).returning(|x,y| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:106:38 [ 264s] | [ 264s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:106:40 [ 264s] | [ 264s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `z` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:106:42 [ 264s] | [ 264s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:113:38 [ 264s] | [ 264s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:113:40 [ 264s] | [ 264s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `z` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:113:42 [ 264s] | [ 264s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:115:39 [ 264s] | [ 264s] 115 | ctx2.expect().times(1).returning(|x,y| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:115:41 [ 264s] | [ 264s] 115 | ctx2.expect().times(1).returning(|x,y| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:117:39 [ 264s] | [ 264s] 117 | ctx3.expect().times(1).returning(|x| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:124:38 [ 264s] | [ 264s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:124:40 [ 264s] | [ 264s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `z` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:124:42 [ 264s] | [ 264s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:126:39 [ 264s] | [ 264s] 126 | ctx2.expect().times(1).returning(|x,y| { [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:131:39 [ 264s] | [ 264s] 131 | ctx3.expect().times(1).returning(|x| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:138:38 [ 264s] | [ 264s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:138:40 [ 264s] | [ 264s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `z` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:138:42 [ 264s] | [ 264s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:140:39 [ 264s] | [ 264s] 140 | ctx2.expect().times(1).returning(|x,y| { [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:145:39 [ 264s] | [ 264s] 145 | ctx3.expect().times(1).returning(|x| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:153:38 [ 264s] | [ 264s] 153 | ctx.expect().times(1).returning(|x| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:160:38 [ 264s] | [ 264s] 160 | ctx.expect().times(1).returning(|x| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:162:39 [ 264s] | [ 264s] 162 | ctx2.expect().times(1).returning(|x,y| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:162:41 [ 264s] | [ 264s] 162 | ctx2.expect().times(1).returning(|x,y| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:164:40 [ 264s] | [ 264s] 164 | ctx_d.expect().times(1).returning(|x| -1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:171:38 [ 264s] | [ 264s] 171 | ctx.expect().times(1).returning(|x| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:173:39 [ 264s] | [ 264s] 173 | ctx2.expect().times(1).returning(|x,y| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:173:41 [ 264s] | [ 264s] 173 | ctx2.expect().times(1).returning(|x,y| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:175:39 [ 264s] | [ 264s] 175 | ctx3.expect().times(1).returning(|x,y| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:175:41 [ 264s] | [ 264s] 175 | ctx3.expect().times(1).returning(|x,y| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:177:40 [ 264s] | [ 264s] 177 | ctx_d.expect().times(1).returning(|x| -1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:184:38 [ 264s] | [ 264s] 184 | ctx.expect().times(1).returning(|x| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:186:39 [ 264s] | [ 264s] 186 | ctx2.expect().times(1).returning(|x,y| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:186:41 [ 264s] | [ 264s] 186 | ctx2.expect().times(1).returning(|x,y| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:188:39 [ 264s] | [ 264s] 188 | ctx3.expect().times(1).returning(|x,y| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:188:41 [ 264s] | [ 264s] 188 | ctx3.expect().times(1).returning(|x,y| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:190:39 [ 264s] | [ 264s] 190 | ctx4.expect().times(1).returning(|x,y| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:190:41 [ 264s] | [ 264s] 190 | ctx4.expect().times(1).returning(|x,y| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:192:40 [ 264s] | [ 264s] 192 | ctx_d.expect().times(1).returning(|x| -1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:199:38 [ 264s] | [ 264s] 199 | ctx.expect().times(1).returning(|x| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:201:39 [ 264s] | [ 264s] 201 | ctx2.expect().times(1).returning(|x,y| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:201:41 [ 264s] | [ 264s] 201 | ctx2.expect().times(1).returning(|x,y| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:203:39 [ 264s] | [ 264s] 203 | ctx3.expect().times(1).returning(|x,y| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:203:41 [ 264s] | [ 264s] 203 | ctx3.expect().times(1).returning(|x,y| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:205:39 [ 264s] | [ 264s] 205 | ctx4.expect().times(1).returning(|x,y| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:205:41 [ 264s] | [ 264s] 205 | ctx4.expect().times(1).returning(|x,y| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:213:38 [ 264s] | [ 264s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:213:40 [ 264s] | [ 264s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `z` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:213:42 [ 264s] | [ 264s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:220:38 [ 264s] | [ 264s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:220:40 [ 264s] | [ 264s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `z` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:220:42 [ 264s] | [ 264s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:222:39 [ 264s] | [ 264s] 222 | ctx2.expect().times(1).returning(|x,y| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:222:41 [ 264s] | [ 264s] 222 | ctx2.expect().times(1).returning(|x,y| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:224:40 [ 264s] | [ 264s] 224 | ctx_d.expect().times(1).returning(|x| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:231:38 [ 264s] | [ 264s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:231:40 [ 264s] | [ 264s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `z` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:231:42 [ 264s] | [ 264s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:233:39 [ 264s] | [ 264s] 233 | ctx2.expect().times(1).returning(|x,y| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:233:41 [ 264s] | [ 264s] 233 | ctx2.expect().times(1).returning(|x,y| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:235:39 [ 264s] | [ 264s] 235 | ctx3.expect().times(1).returning(|x,y| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:235:41 [ 264s] | [ 264s] 235 | ctx3.expect().times(1).returning(|x,y| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:237:40 [ 264s] | [ 264s] 237 | ctx_d.expect().times(1).returning(|x| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:244:38 [ 264s] | [ 264s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:244:40 [ 264s] | [ 264s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `z` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:244:42 [ 264s] | [ 264s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:246:39 [ 264s] | [ 264s] 246 | ctx2.expect().times(1).returning(|x,y| { [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:251:39 [ 264s] | [ 264s] 251 | ctx3.expect().times(1).returning(|x, y| { [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:256:40 [ 264s] | [ 264s] 256 | ctx_d.expect().times(1).returning(|x| 0); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:264:38 [ 264s] | [ 264s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `y` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:264:40 [ 264s] | [ 264s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 264s] [ 264s] warning: unused variable: `z` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:264:42 [ 264s] | [ 264s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 264s] [ 264s] warning: unused variable: `e` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:264:44 [ 264s] | [ 264s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 264s] [ 264s] warning: unused variable: `x` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:271:38 [ 264s] | [ 264s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 264s] [ 264s] warning: unused variable: `z` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:271:42 [ 264s] | [ 264s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 264s] [ 264s] warning: unused variable: `e` [ 264s] --> ./src/pkgmgr/server/test/util_tests.rs:271:44 [ 264s] | [ 264s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 264s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 264s] [ 265s] warning: unused variable: `x` [ 265s] --> ./src/pkgmgr/server/test/util_tests.rs:285:38 [ 265s] | [ 265s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 265s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 265s] [ 265s] warning: unused variable: `z` [ 265s] --> ./src/pkgmgr/server/test/util_tests.rs:285:42 [ 265s] | [ 265s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 265s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 265s] [ 265s] warning: unused variable: `e` [ 265s] --> ./src/pkgmgr/server/test/util_tests.rs:285:44 [ 265s] | [ 265s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 265s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 265s] [ 265s] warning: unused variable: `x` [ 265s] --> ./src/pkgmgr/server/test/signal_tests.rs:21:38 [ 265s] | [ 265s] 21 | ctx.expect().times(1).returning(|x| 0); [ 265s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 265s] [ 265s] warning: variable does not need to be mutable [ 265s] --> ./src/pkgmgr/server/test/signal_tests.rs:19:9 [ 265s] | [ 265s] 19 | let mut uid_vec: Vec = vec![]; [ 265s] | ----^^^^^^^ [ 265s] | | [ 265s] | help: remove this `mut` [ 265s] [ 265s] warning: variable does not need to be mutable [ 265s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:7:9 [ 265s] | [ 265s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 265s] | ----^^^^^^^^^^^^^ [ 265s] | | [ 265s] | help: remove this `mut` [ 265s] [ 265s] warning: variable does not need to be mutable [ 265s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:14:9 [ 265s] | [ 265s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 265s] | ----^^^^^^^^^^^^^ [ 265s] | | [ 265s] | help: remove this `mut` [ 265s] [ 265s] warning: variable does not need to be mutable [ 265s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:7:9 [ 265s] | [ 265s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 265s] | ----^^^^^^^^^^^^^ [ 265s] | | [ 265s] | help: remove this `mut` [ 265s] [ 265s] warning: variable does not need to be mutable [ 265s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:14:9 [ 265s] | [ 265s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 265s] | ----^^^^^^^^^^^^^ [ 265s] | | [ 265s] | help: remove this `mut` [ 265s] [ 265s] warning: variable does not need to be mutable [ 265s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:7:9 [ 265s] | [ 265s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 265s] | ----^^^^^^^^^^^^^ [ 265s] | | [ 265s] | help: remove this `mut` [ 265s] [ 265s] warning: variable does not need to be mutable [ 265s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:14:9 [ 265s] | [ 265s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 265s] | ----^^^^^^^^^^^^^ [ 265s] | | [ 265s] | help: remove this `mut` [ 265s] [ 265s] warning: variable does not need to be mutable [ 265s] --> ./src/pkgmgr/server/test/info_service_tests.rs:7:9 [ 265s] | [ 265s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 265s] | ----^^^^^^^^^^^^^ [ 265s] | | [ 265s] | help: remove this `mut` [ 265s] [ 265s] warning: variable does not need to be mutable [ 265s] --> ./src/pkgmgr/server/test/info_service_tests.rs:14:9 [ 265s] | [ 265s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 265s] | ----^^^^^^^^^^^^^ [ 265s] | | [ 265s] | help: remove this `mut` [ 265s] [ 265s] warning: variable does not need to be mutable [ 265s] --> ./src/pkgmgr/server/mod.rs:89:13 [ 265s] | [ 265s] 89 | let mut backend_queue = BackendQueue::new(self.mainloop); [ 265s] | ----^^^^^^^^^^^^^ [ 265s] | | [ 265s] | help: remove this `mut` [ 265s] [ 265s] warning: unnecessary `unsafe` block [ 265s] --> ./src/pkgmgr/server/admin_service.rs:995:32 [ 265s] | [ 265s] 993 | unsafe { [ 265s] | ------ because it's nested under this `unsafe` block [ 265s] 994 | match CString::new(generated_req_key.clone()) { [ 265s] 995 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 265s] | ^^^^^^ unnecessary `unsafe` block [ 265s] | [ 265s] = note: `#[warn(unused_unsafe)]` on by default [ 265s] [ 265s] warning: unnecessary `unsafe` block [ 265s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 265s] | [ 265s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 265s] | ^^^^^^ unnecessary `unsafe` block [ 265s] | [ 265s] ::: ./src/pkgmgr/server/admin_service.rs:993:5 [ 265s] | [ 265s] 993 | unsafe { [ 265s] | ------ because it's nested under this `unsafe` block [ 265s] ... [ 265s] 997 | error!("Fail to generate req key, err({:?})", e); [ 265s] | ------------------------------------------------ in this macro invocation [ 265s] | [ 265s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 265s] [ 265s] warning: unnecessary `unsafe` block [ 265s] --> ./src/pkgmgr/server/admin_service.rs:1023:46 [ 265s] | [ 265s] 993 | unsafe { [ 265s] | ------ because it's nested under this `unsafe` block [ 265s] ... [ 265s] 1023 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 265s] | ^^^^^^ unnecessary `unsafe` block [ 265s] [ 265s] warning: unnecessary `unsafe` block [ 265s] --> ./src/pkgmgr/server/admin_service.rs:1077:32 [ 265s] | [ 265s] 1075 | unsafe { [ 265s] | ------ because it's nested under this `unsafe` block [ 265s] 1076 | match CString::new(generated_req_key.clone()) { [ 265s] 1077 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 265s] | ^^^^^^ unnecessary `unsafe` block [ 265s] [ 265s] warning: unnecessary `unsafe` block [ 265s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 265s] | [ 265s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 265s] | ^^^^^^ unnecessary `unsafe` block [ 265s] | [ 265s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 265s] | [ 265s] 1075 | unsafe { [ 265s] | ------ because it's nested under this `unsafe` block [ 265s] ... [ 265s] 1079 | error!("Fail to generate req key, err({:?})", e); [ 265s] | ------------------------------------------------ in this macro invocation [ 265s] | [ 265s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 265s] [ 265s] warning: unnecessary `unsafe` block [ 265s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 265s] | [ 265s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 265s] | ^^^^^^ unnecessary `unsafe` block [ 265s] | [ 265s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 265s] | [ 265s] 1075 | unsafe { [ 265s] | ------ because it's nested under this `unsafe` block [ 265s] ... [ 265s] 1106 | debug!("push disable pkg {pkg_id}"); [ 265s] | ----------------------------------- in this macro invocation [ 265s] | [ 265s] = 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) [ 265s] [ 265s] warning: unnecessary `unsafe` block [ 265s] --> ./src/pkgmgr/server/admin_service.rs:1108:46 [ 265s] | [ 265s] 1075 | unsafe { [ 265s] | ------ because it's nested under this `unsafe` block [ 265s] ... [ 265s] 1108 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 265s] | ^^^^^^ unnecessary `unsafe` block [ 265s] [ 265s] warning: unnecessary `unsafe` block [ 265s] --> ./src/pkgmgr/server/admin_service.rs:1537:5 [ 265s] | [ 265s] 1537 | unsafe { [ 265s] | ^^^^^^ unnecessary `unsafe` block [ 265s] [ 265s] warning: unnecessary `unsafe` block [ 265s] --> ./src/pkgmgr/server/admin_service.rs:1590:5 [ 265s] | [ 265s] 1590 | unsafe { [ 265s] | ^^^^^^ unnecessary `unsafe` block [ 265s] [ 265s] warning: unnecessary `unsafe` block [ 265s] --> ./src/pkgmgr/server/admin_service.rs:1643:32 [ 265s] | [ 265s] 1641 | unsafe { [ 265s] | ------ because it's nested under this `unsafe` block [ 265s] 1642 | match CString::new(generated_req_key.clone()) { [ 265s] 1643 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 265s] | ^^^^^^ unnecessary `unsafe` block [ 265s] [ 265s] warning: unnecessary `unsafe` block [ 265s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 265s] | [ 265s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 265s] | ^^^^^^ unnecessary `unsafe` block [ 265s] | [ 265s] ::: ./src/pkgmgr/server/admin_service.rs:1641:5 [ 265s] | [ 265s] 1641 | unsafe { [ 265s] | ------ because it's nested under this `unsafe` block [ 265s] ... [ 265s] 1645 | error!("Fail to generate req key, err({:?})", e); [ 265s] | ------------------------------------------------ in this macro invocation [ 265s] | [ 265s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 265s] [ 265s] warning: unnecessary `unsafe` block [ 265s] --> ./src/pkgmgr/server/admin_service.rs:1657:42 [ 265s] | [ 265s] 1641 | unsafe { [ 265s] | ------ because it's nested under this `unsafe` block [ 265s] ... [ 265s] 1657 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 265s] | ^^^^^^ unnecessary `unsafe` block [ 265s] [ 265s] warning: unnecessary `unsafe` block [ 265s] --> ./src/pkgmgr/server/admin_service.rs:1705:32 [ 265s] | [ 265s] 1703 | unsafe { [ 265s] | ------ because it's nested under this `unsafe` block [ 265s] 1704 | match CString::new(generated_req_key.clone()) { [ 265s] 1705 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 265s] | ^^^^^^ unnecessary `unsafe` block [ 265s] [ 265s] warning: unnecessary `unsafe` block [ 265s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 265s] | [ 265s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 265s] | ^^^^^^ unnecessary `unsafe` block [ 265s] | [ 265s] ::: ./src/pkgmgr/server/admin_service.rs:1703:5 [ 265s] | [ 265s] 1703 | unsafe { [ 265s] | ------ because it's nested under this `unsafe` block [ 265s] ... [ 265s] 1707 | error!("Fail to generate req key, err({:?})", e); [ 265s] | ------------------------------------------------ in this macro invocation [ 265s] | [ 265s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 265s] [ 265s] warning: unnecessary `unsafe` block [ 265s] --> ./src/pkgmgr/server/admin_service.rs:1719:42 [ 265s] | [ 265s] 1703 | unsafe { [ 265s] | ------ because it's nested under this `unsafe` block [ 265s] ... [ 265s] 1719 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 265s] | ^^^^^^ unnecessary `unsafe` block [ 265s] [ 265s] warning: unnecessary `unsafe` block [ 265s] --> ./src/pkgmgr/server/admin_service.rs:1767:5 [ 265s] | [ 265s] 1767 | unsafe { [ 265s] | ^^^^^^ unnecessary `unsafe` block [ 265s] [ 265s] warning: unnecessary `unsafe` block [ 265s] --> ./src/pkgmgr/server/admin_service.rs:1820:5 [ 265s] | [ 265s] 1820 | unsafe { [ 265s] | ^^^^^^ unnecessary `unsafe` block [ 265s] [ 265s] warning: unnecessary `unsafe` block [ 265s] --> ./src/pkgmgr/server/admin_service.rs:2296:17 [ 265s] | [ 265s] 2294 | unsafe { [ 265s] | ------ because it's nested under this `unsafe` block [ 265s] 2295 | if !(*value.offset(i as isize)).is_null() { [ 265s] 2296 | unsafe { free(*value.offset(i as isize) as *mut _) }; [ 265s] | ^^^^^^ unnecessary `unsafe` block [ 265s] [ 266s] warning: unnecessary `unsafe` block [ 266s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 266s] | [ 266s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 266s] | ^^^^^^ unnecessary `unsafe` block [ 266s] | [ 266s] ::: ./src/pkgmgr/server/admin_service.rs:2793:9 [ 266s] | [ 266s] 2793 | unsafe { [ 266s] | ------ because it's nested under this `unsafe` block [ 266s] 2794 | let ret = rpc_port_stub_PkgMgrAdmin_register(&mut self.callbacks, self as *mut _ as *mut c_void); [ 266s] 2795 | debug!("admin service start : {ret}"); [ 266s] | ------------------------------------- in this macro invocation [ 266s] | [ 266s] = 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) [ 266s] [ 266s] warning: unnecessary `unsafe` block [ 266s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 266s] | [ 266s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 266s] | ^^^^^^ unnecessary `unsafe` block [ 266s] | [ 266s] ::: ./src/pkgmgr/server/admin_service.rs:2801:9 [ 266s] | [ 266s] 2801 | unsafe { [ 266s] | ------ because it's nested under this `unsafe` block [ 266s] 2802 | let ret = rpc_port_stub_PkgMgrAdmin_unregister(); [ 266s] 2803 | debug!("ret : {ret}"); [ 266s] | --------------------- in this macro invocation [ 266s] | [ 266s] = 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) [ 266s] [ 266s] warning: unnecessary `unsafe` block [ 266s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 266s] | [ 266s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 266s] | ^^^^^^ unnecessary `unsafe` block [ 266s] | [ 266s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 266s] | [ 266s] 204 | unsafe { [ 266s] | ------ because it's nested under this `unsafe` block [ 266s] ... [ 266s] 210 | error!("sigprocmask failed"); [ 266s] | ---------------------------- in this macro invocation [ 266s] | [ 266s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 266s] [ 266s] warning: unnecessary `unsafe` block [ 266s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 266s] | [ 266s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 266s] | ^^^^^^ unnecessary `unsafe` block [ 266s] | [ 266s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 266s] | [ 266s] 204 | unsafe { [ 266s] | ------ because it's nested under this `unsafe` block [ 266s] ... [ 266s] 216 | error!("signalfd failed"); [ 266s] | ------------------------- in this macro invocation [ 266s] | [ 266s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 266s] [ 266s] warning: unnecessary `unsafe` block [ 266s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 266s] | [ 266s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 266s] | ^^^^^^ unnecessary `unsafe` block [ 266s] | [ 266s] ::: ./src/pkgmgr/server/cache_service.rs:134:9 [ 266s] | [ 266s] 134 | unsafe { [ 266s] | ------ because it's nested under this `unsafe` block [ 266s] ... [ 266s] 139 | debug!("cache service start : {ret}"); [ 266s] | ------------------------------------- in this macro invocation [ 266s] | [ 266s] = 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) [ 266s] [ 266s] warning: unnecessary `unsafe` block [ 266s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 266s] | [ 266s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 266s] | ^^^^^^ unnecessary `unsafe` block [ 266s] | [ 266s] ::: ./src/pkgmgr/server/cache_service.rs:145:9 [ 266s] | [ 266s] 145 | unsafe { [ 266s] | ------ because it's nested under this `unsafe` block [ 266s] 146 | let ret = rpc_port_stub_PkgMgrForClearCache_unregister(); [ 266s] 147 | debug!("ret : {ret}"); [ 266s] | --------------------- in this macro invocation [ 266s] | [ 266s] = 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) [ 266s] [ 266s] warning: unnecessary `unsafe` block [ 266s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 266s] | [ 266s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 266s] | ^^^^^^ unnecessary `unsafe` block [ 266s] | [ 266s] ::: ./src/pkgmgr/server/delayed_service.rs:107:9 [ 266s] | [ 266s] 107 | unsafe { [ 266s] | ------ because it's nested under this `unsafe` block [ 266s] ... [ 266s] 112 | debug!("delayed result service start : {ret}"); [ 266s] | ---------------------------------------------- in this macro invocation [ 266s] | [ 266s] = 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) [ 266s] [ 266s] warning: unnecessary `unsafe` block [ 266s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 266s] | [ 266s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 266s] | ^^^^^^ unnecessary `unsafe` block [ 266s] | [ 266s] ::: ./src/pkgmgr/server/delayed_service.rs:118:9 [ 266s] | [ 266s] 118 | unsafe { [ 266s] | ------ because it's nested under this `unsafe` block [ 266s] 119 | let ret = rpc_port_stub_DelayedResult_unregister(); [ 266s] 120 | debug!("ret : {ret}"); [ 266s] | --------------------- in this macro invocation [ 266s] | [ 266s] = 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) [ 266s] [ 266s] warning: unnecessary `unsafe` block [ 266s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 266s] | [ 266s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 266s] | ^^^^^^ unnecessary `unsafe` block [ 266s] | [ 266s] ::: ./src/pkgmgr/server/info_service.rs:165:13 [ 266s] | [ 266s] 165 | unsafe { [ 266s] | ------ because it's nested under this `unsafe` block [ 266s] 166 | if mkfifo(fifo_path.as_ptr() as *const c_char, 0o600) < 0 { [ 266s] 167 | error!("Failed to mkfifo"); [ 266s] | -------------------------- in this macro invocation [ 266s] | [ 266s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 266s] [ 266s] warning: unnecessary `unsafe` block [ 266s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 266s] | [ 266s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 266s] | ^^^^^^ unnecessary `unsafe` block [ 266s] | [ 266s] ::: ./src/pkgmgr/server/info_service.rs:268:9 [ 266s] | [ 266s] 268 | unsafe { [ 266s] | ------ because it's nested under this `unsafe` block [ 266s] ... [ 266s] 273 | debug!("info service start : {ret}"); [ 266s] | ------------------------------------ in this macro invocation [ 266s] | [ 266s] = 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) [ 266s] [ 266s] warning: unnecessary `unsafe` block [ 266s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 266s] | [ 266s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 266s] | ^^^^^^ unnecessary `unsafe` block [ 266s] | [ 266s] ::: ./src/pkgmgr/server/info_service.rs:279:9 [ 266s] | [ 266s] 279 | unsafe { [ 266s] | ------ because it's nested under this `unsafe` block [ 266s] 280 | let ret = rpc_port_stub_PkgMgr_unregister(); [ 266s] 281 | debug!("ret : {ret}"); [ 266s] | --------------------- in this macro invocation [ 266s] | [ 266s] = 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) [ 266s] [ 266s] warning: unnecessary `unsafe` block [ 266s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 266s] | [ 266s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 266s] | ^^^^^^ unnecessary `unsafe` block [ 266s] | [ 266s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 266s] | [ 266s] 131 | unsafe { [ 266s] | ------ because it's nested under this `unsafe` block [ 266s] ... [ 266s] 134 | error!("Failure in creating the pkgmgr_installer object"); [ 266s] | --------------------------------------------------------- in this macro invocation [ 266s] | [ 266s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 266s] [ 266s] warning: unnecessary `unsafe` block [ 266s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 266s] | [ 266s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 266s] | ^^^^^^ unnecessary `unsafe` block [ 266s] | [ 266s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 266s] | [ 266s] 131 | unsafe { [ 266s] | ------ because it's nested under this `unsafe` block [ 266s] ... [ 266s] 139 | error!("pkgmgr_installer_set_uid fail"); [ 266s] | --------------------------------------- in this macro invocation [ 266s] | [ 266s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 266s] [ 266s] warning: unnecessary `unsafe` block [ 266s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 266s] | [ 266s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 266s] | ^^^^^^ unnecessary `unsafe` block [ 266s] | [ 266s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 266s] | [ 266s] 131 | unsafe { [ 266s] | ------ because it's nested under this `unsafe` block [ 266s] ... [ 266s] 154 | warn!("Unsupported req_type[{}]", req_type as c_int); [ 266s] | ---------------------------------------------------- in this macro invocation [ 266s] | [ 266s] = 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) [ 266s] [ 266s] warning: unnecessary `unsafe` block [ 266s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 266s] | [ 266s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 266s] | ^^^^^^ unnecessary `unsafe` block [ 266s] | [ 266s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 266s] | [ 266s] 131 | unsafe { [ 266s] | ------ because it's nested under this `unsafe` block [ 266s] ... [ 266s] 161 | error!("pkgmgr_installer_set_request_type fail"); [ 266s] | ------------------------------------------------ in this macro invocation [ 266s] | [ 266s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 266s] [ 266s] warning: unnecessary `unsafe` block [ 266s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 266s] | [ 266s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 266s] | ^^^^^^ unnecessary `unsafe` block [ 266s] | [ 266s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 266s] | [ 266s] 131 | unsafe { [ 266s] | ------ because it's nested under this `unsafe` block [ 266s] ... [ 266s] 168 | error!("pkgmgr_installer_set_session_id fail : {:?}", c_req_id); [ 266s] | --------------------------------------------------------------- in this macro invocation [ 266s] | [ 266s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 266s] [ 268s] warning: unnecessary `unsafe` block [ 268s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 268s] | [ 268s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 268s] | ^^^^^^ unnecessary `unsafe` block [ 268s] | [ 268s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 268s] | [ 268s] 309 | unsafe { [ 268s] | ------ because it's nested under this `unsafe` block [ 268s] 310 | if pkgmgrinfo_appinfo_get_appid(pkgmgrinfo_appinfo_h, &mut app_id) != 0 { [ 268s] 311 | error!("Failed get appid"); [ 268s] | -------------------------- in this macro invocation [ 268s] | [ 268s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 268s] [ 268s] warning: unnecessary `unsafe` block [ 268s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 268s] | [ 268s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 268s] | ^^^^^^ unnecessary `unsafe` block [ 268s] | [ 268s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 268s] | [ 268s] 309 | unsafe { [ 268s] | ------ because it's nested under this `unsafe` block [ 268s] ... [ 268s] 314 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 268s] | --------------------------------------------------------- in this macro invocation [ 268s] | [ 268s] = 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) [ 268s] [ 268s] warning: unnecessary `unsafe` block [ 268s] --> ./src/pkgmgr/server/util.rs:326:46 [ 268s] | [ 268s] 325 | unsafe { [ 268s] | ------ because it's nested under this `unsafe` block [ 268s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 268s] | ^^^^^^ unnecessary `unsafe` block [ 268s] [ 268s] warning: unnecessary `unsafe` block [ 268s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 268s] | [ 268s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 268s] | ^^^^^^ unnecessary `unsafe` block [ 268s] | [ 268s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 268s] | [ 268s] 325 | unsafe { [ 268s] | ------ because it's nested under this `unsafe` block [ 268s] ... [ 268s] 329 | error!("Failed get appid"); [ 268s] | -------------------------- in this macro invocation [ 268s] | [ 268s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 268s] [ 268s] warning: unnecessary `unsafe` block [ 268s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 268s] | [ 268s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 268s] | ^^^^^^ unnecessary `unsafe` block [ 268s] | [ 268s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 268s] | [ 268s] 325 | unsafe { [ 268s] | ------ because it's nested under this `unsafe` block [ 268s] ... [ 268s] 333 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 268s] | --------------------------------------------------------- in this macro invocation [ 268s] | [ 268s] = 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) [ 268s] [ 268s] warning: unnecessary `unsafe` block [ 268s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 268s] | [ 268s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 268s] | ^^^^^^ unnecessary `unsafe` block [ 268s] | [ 268s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 268s] | [ 268s] 342 | unsafe { [ 268s] | ------ because it's nested under this `unsafe` block [ 268s] ... [ 268s] 355 | error!("getsize fd read failed: {:?}", Util::c_char_to_cstr((*err).message)); [ 268s] | ---------------------------------------------------------------------------- in this macro invocation [ 268s] | [ 268s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 268s] [ 268s] warning: unnecessary `unsafe` block [ 268s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 268s] | [ 268s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 268s] | ^^^^^^ unnecessary `unsafe` block [ 268s] | [ 268s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 268s] | [ 268s] 342 | unsafe { [ 268s] | ------ because it's nested under this `unsafe` block [ 268s] ... [ 268s] 361 | error!("empty result"); [ 268s] | ---------------------- in this macro invocation [ 268s] | [ 268s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 268s] [ 269s] warning: unnecessary `unsafe` block [ 269s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 269s] | [ 269s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 269s] | ^^^^^^ unnecessary `unsafe` block [ 269s] | [ 269s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 269s] | [ 269s] 390 | unsafe { [ 269s] | ------ because it's nested under this `unsafe` block [ 269s] ... [ 269s] 399 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 269s] | --------------------------------------------------------- in this macro invocation [ 269s] | [ 269s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 269s] [ 269s] warning: unnecessary `unsafe` block [ 269s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 269s] | [ 269s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 269s] | ^^^^^^ unnecessary `unsafe` block [ 269s] | [ 269s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 269s] | [ 269s] 390 | unsafe { [ 269s] | ------ because it's nested under this `unsafe` block [ 269s] ... [ 269s] 406 | error!("Fail to get is readonly"); [ 269s] | --------------------------------- in this macro invocation [ 269s] | [ 269s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 269s] [ 269s] warning: unnecessary `unsafe` block [ 269s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 269s] | [ 269s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 269s] | ^^^^^^ unnecessary `unsafe` block [ 269s] | [ 269s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 269s] | [ 269s] 422 | unsafe { [ 269s] | ------ because it's nested under this `unsafe` block [ 269s] ... [ 269s] 429 | error!("Not found package"); [ 269s] | --------------------------- in this macro invocation [ 269s] | [ 269s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 269s] [ 269s] warning: unnecessary `unsafe` block [ 269s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 269s] | [ 269s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 269s] | ^^^^^^ unnecessary `unsafe` block [ 269s] | [ 269s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 269s] | [ 269s] 422 | unsafe { [ 269s] | ------ because it's nested under this `unsafe` block [ 269s] ... [ 269s] 445 | debug!("pkgtype - {ret_string}"); [ 269s] | -------------------------------- in this macro invocation [ 269s] | [ 269s] = 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) [ 269s] [ 269s] warning: unnecessary `unsafe` block [ 269s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 269s] | [ 269s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 269s] | ^^^^^^ unnecessary `unsafe` block [ 269s] | [ 269s] ::: ./src/pkgmgr/server/util.rs:803:9 [ 269s] | [ 269s] 803 | unsafe { [ 269s] | ------ because it's nested under this `unsafe` block [ 269s] 804 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 269s] 805 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 269s] | ------------------------------------------------------ in this macro invocation [ 269s] | [ 269s] = 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) [ 269s] [ 269s] warning: unnecessary `unsafe` block [ 269s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 269s] | [ 269s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 269s] | ^^^^^^ unnecessary `unsafe` block [ 269s] | [ 269s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 269s] | [ 269s] 814 | unsafe { [ 269s] | ------ because it's nested under this `unsafe` block [ 269s] 815 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 269s] 816 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 269s] | ------------------------------------------------------ in this macro invocation [ 269s] | [ 269s] = 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) [ 269s] [ 269s] warning: unnecessary `unsafe` block [ 269s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 269s] | [ 269s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 269s] | ^^^^^^ unnecessary `unsafe` block [ 269s] | [ 269s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 269s] | [ 269s] 814 | unsafe { [ 269s] | ------ because it's nested under this `unsafe` block [ 269s] ... [ 269s] 822 | error!("Failed to get pid of app{:?}", CStr::from_ptr(appid)); [ 269s] | ------------------------------------------------------------- in this macro invocation [ 269s] | [ 269s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 269s] [ 269s] warning: unnecessary `unsafe` block [ 269s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 269s] | [ 269s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 269s] | ^^^^^^ unnecessary `unsafe` block [ 269s] | [ 269s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 269s] | [ 269s] 814 | unsafe { [ 269s] | ------ because it's nested under this `unsafe` block [ 269s] ... [ 269s] 828 | error!("Failed to terminate app{:?}", CStr::from_ptr(appid)); [ 269s] | ------------------------------------------------------------ in this macro invocation [ 269s] | [ 269s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 269s] [ 269s] warning: unnecessary `unsafe` block [ 269s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 269s] | [ 269s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 269s] | ^^^^^^ unnecessary `unsafe` block [ 269s] | [ 269s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 269s] | [ 269s] 836 | unsafe { [ 269s] | ------ because it's nested under this `unsafe` block [ 269s] ... [ 269s] 840 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 269s] | --------------------------------------------------------- in this macro invocation [ 269s] | [ 269s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 269s] [ 269s] warning: unnecessary `unsafe` block [ 269s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 269s] | [ 269s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 269s] | ^^^^^^ unnecessary `unsafe` block [ 269s] | [ 269s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 269s] | [ 269s] 836 | unsafe { [ 269s] | ------ because it's nested under this `unsafe` block [ 269s] ... [ 269s] 848 | error!("Failed to get list for {:?}", CStr::from_ptr(pkgid)); [ 269s] | ------------------------------------------------------------ in this macro invocation [ 269s] | [ 269s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 269s] [ 269s] warning: unnecessary `unsafe` block [ 269s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 269s] | [ 269s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 269s] | ^^^^^^ unnecessary `unsafe` block [ 269s] | [ 269s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 269s] | [ 269s] 859 | unsafe { [ 269s] | ------ because it's nested under this `unsafe` block [ 269s] ... [ 269s] 863 | warn!("cannot get user information from gumd, retry"); [ 269s] | ----------------------------------------------------- in this macro invocation [ 269s] | [ 269s] = 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) [ 269s] [ 269s] warning: unnecessary `unsafe` block [ 269s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 269s] | [ 269s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 269s] | ^^^^^^ unnecessary `unsafe` block [ 269s] | [ 269s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 269s] | [ 269s] 859 | unsafe { [ 269s] | ------ because it's nested under this `unsafe` block [ 269s] ... [ 269s] 871 | error!("cannot get user information from gumd, failed"); [ 269s] | ------------------------------------------------------- in this macro invocation [ 269s] | [ 269s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 269s] [ 269s] warning: unnecessary `unsafe` block [ 269s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 269s] | [ 269s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 269s] | ^^^^^^ unnecessary `unsafe` block [ 269s] | [ 269s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 269s] | [ 269s] 859 | unsafe { [ 269s] | ------ because it's nested under this `unsafe` block [ 269s] ... [ 269s] 877 | error!("cannot get user type"); [ 269s] | ------------------------------ in this macro invocation [ 269s] | [ 269s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 269s] [ 269s] warning: unnecessary `unsafe` block [ 269s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 269s] | [ 269s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 269s] | ^^^^^^ unnecessary `unsafe` block [ 269s] | [ 269s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 269s] | [ 269s] 892 | unsafe { [ 269s] | ------ because it's nested under this `unsafe` block [ 269s] ... [ 269s] 895 | error!("Failed to get the number of supplementary group IDs"); [ 269s] | ------------------------------------------------------------- in this macro invocation [ 269s] | [ 269s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 269s] [ 269s] warning: unnecessary `unsafe` block [ 269s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 269s] | [ 269s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 269s] | ^^^^^^ unnecessary `unsafe` block [ 269s] | [ 269s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 269s] | [ 269s] 892 | unsafe { [ 269s] | ------ because it's nested under this `unsafe` block [ 269s] ... [ 269s] 901 | error!("Failed to get list of supplementary group IDs"); [ 269s] | ------------------------------------------------------- in this macro invocation [ 269s] | [ 269s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 269s] [ 269s] warning: unnecessary `unsafe` block [ 269s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 269s] | [ 269s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 269s] | ^^^^^^ unnecessary `unsafe` block [ 269s] | [ 269s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 269s] | [ 269s] 892 | unsafe { [ 269s] | ------ because it's nested under this `unsafe` block [ 269s] ... [ 269s] 908 | error!("setgroups failed: {}", *__errno_location()); [ 269s] | --------------------------------------------------- in this macro invocation [ 269s] | [ 269s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 269s] [ 269s] warning: unnecessary `unsafe` block [ 269s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 269s] | [ 269s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 269s] | ^^^^^^ unnecessary `unsafe` block [ 269s] | [ 269s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 269s] | [ 269s] 928 | unsafe { [ 269s] | ------ because it's nested under this `unsafe` block [ 269s] ... [ 269s] 942 | error!("getpwuid_r fail"); [ 269s] | ------------------------- in this macro invocation [ 269s] | [ 269s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 269s] [ 269s] warning: unnecessary `unsafe` block [ 269s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 269s] | [ 269s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 269s] | ^^^^^^ unnecessary `unsafe` block [ 269s] | [ 269s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 269s] | [ 269s] 928 | unsafe { [ 269s] | ------ because it's nested under this `unsafe` block [ 269s] ... [ 269s] 949 | error!("Fail to get str, err({:?})", e); [ 269s] | --------------------------------------- in this macro invocation [ 269s] | [ 269s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 269s] [ 269s] warning: unnecessary `unsafe` block [ 269s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 269s] | [ 269s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 269s] | ^^^^^^ unnecessary `unsafe` block [ 269s] | [ 269s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 269s] | [ 269s] 928 | unsafe { [ 269s] | ------ because it's nested under this `unsafe` block [ 269s] ... [ 269s] 957 | error!("Fail to get str, err({:?})", e); [ 269s] | --------------------------------------- in this macro invocation [ 269s] | [ 269s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 269s] [ 269s] warning: unnecessary `unsafe` block [ 269s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 269s] | [ 269s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 269s] | ^^^^^^ unnecessary `unsafe` block [ 269s] | [ 269s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 269s] | [ 269s] 928 | unsafe { [ 269s] | ------ because it's nested under this `unsafe` block [ 269s] ... [ 269s] 966 | error!("Failed to set env for the user : {}", APPFW_UID); [ 269s] | -------------------------------------------------------- in this macro invocation [ 269s] | [ 269s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 269s] [ 269s] warning: unnecessary `unsafe` block [ 269s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 269s] | [ 269s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 269s] | ^^^^^^ unnecessary `unsafe` block [ 269s] | [ 269s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 269s] | [ 269s] 984 | unsafe { [ 269s] | ------ because it's nested under this `unsafe` block [ 269s] ... [ 269s] 987 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 269s] | ----------------------------------------------------------------------------------- in this macro invocation [ 269s] | [ 269s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 269s] [ 269s] warning: unnecessary `unsafe` block [ 269s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 269s] | [ 269s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 269s] | ^^^^^^ unnecessary `unsafe` block [ 269s] | [ 269s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 269s] | [ 269s] 984 | unsafe { [ 269s] | ------ because it's nested under this `unsafe` block [ 269s] ... [ 269s] 993 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 269s] | ---------------------------------------------------------------------------- in this macro invocation [ 269s] | [ 269s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 269s] [ 269s] warning: unnecessary `unsafe` block [ 269s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 269s] | [ 269s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 269s] | ^^^^^^ unnecessary `unsafe` block [ 269s] | [ 269s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 269s] | [ 269s] 984 | unsafe { [ 269s] | ------ because it's nested under this `unsafe` block [ 269s] ... [ 269s] 1000 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 269s] | ---------------------------------------------------------------------------- in this macro invocation [ 269s] | [ 269s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 269s] [ 269s] warning: unnecessary `unsafe` block [ 269s] --> ./src/pkgmgr/server/util.rs:1005:40 [ 269s] | [ 269s] 984 | unsafe { [ 269s] | ------ because it's nested under this `unsafe` block [ 269s] ... [ 269s] 1005 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) } ); [ 269s] | ^^^^^^ unnecessary `unsafe` block [ 269s] [ 269s] warning: unnecessary `unsafe` block [ 269s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 269s] | [ 269s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 269s] | ^^^^^^ unnecessary `unsafe` block [ 269s] | [ 269s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 269s] | [ 269s] 1081 | unsafe { [ 269s] | ------ because it's nested under this `unsafe` block [ 269s] ... [ 269s] 1084 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 269s] | ----------------------------------------------------------------------------------- in this macro invocation [ 269s] | [ 269s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 269s] [ 269s] warning: unnecessary `unsafe` block [ 269s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 269s] | [ 269s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 269s] | ^^^^^^ unnecessary `unsafe` block [ 269s] | [ 269s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 269s] | [ 269s] 1081 | unsafe { [ 269s] | ------ because it's nested under this `unsafe` block [ 269s] ... [ 269s] 1090 | error!("Failed get root path for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 269s] | --------------------------------------------------------------------------- in this macro invocation [ 269s] | [ 269s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 269s] [ 269s] warning: unnecessary `unsafe` block [ 269s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 269s] | [ 269s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 269s] | ^^^^^^ unnecessary `unsafe` block [ 269s] | [ 269s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 269s] | [ 269s] 1081 | unsafe { [ 269s] | ------ because it's nested under this `unsafe` block [ 269s] ... [ 269s] 1098 | error!("Invalid path[{:?}]", Self::c_char_to_cstr(icon_path)); [ 269s] | ------------------------------------------------------------- in this macro invocation [ 269s] | [ 269s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 269s] [ 269s] warning: unnecessary `unsafe` block [ 269s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 269s] | [ 269s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 269s] | ^^^^^^ unnecessary `unsafe` block [ 269s] | [ 269s] ::: ./src/pkgmgr/server/util.rs:1109:9 [ 269s] | [ 269s] 1109 | unsafe { [ 269s] | ------ because it's nested under this `unsafe` block [ 269s] ... [ 269s] 1119 | error!("Fail to get list for {:?}", CStr::from_ptr(pkgid)); [ 269s] | ---------------------------------------------------------- in this macro invocation [ 269s] | [ 269s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 269s] [ 269s] warning: unnecessary `unsafe` block [ 269s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 269s] | [ 269s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 269s] | ^^^^^^ unnecessary `unsafe` block [ 269s] | [ 269s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 269s] | [ 269s] 1129 | unsafe { [ 269s] | ------ because it's nested under this `unsafe` block [ 269s] ... [ 269s] 1132 | error!("failed to open the fifo({}), errno({})", fifo_path, *__errno_location()); [ 269s] | -------------------------------------------------------------------------------- in this macro invocation [ 269s] | [ 269s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 269s] [ 269s] warning: unnecessary `unsafe` block [ 269s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 269s] | [ 269s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 269s] | ^^^^^^ unnecessary `unsafe` block [ 269s] | [ 269s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 269s] | [ 269s] 1129 | unsafe { [ 269s] | ------ because it's nested under this `unsafe` block [ 269s] ... [ 269s] 1155 | error!("failed to add io watch"); [ 269s] | -------------------------------- in this macro invocation [ 269s] | [ 269s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 269s] [ 270s] warning: constant `SD_LISTEN_FDS_START` is never used [ 270s] --> ./src/pkgmgr/server/mod.rs:28:7 [ 270s] | [ 270s] 28 | const SD_LISTEN_FDS_START: i32 = 3; [ 270s] | ^^^^^^^^^^^^^^^^^^^ [ 270s] | [ 270s] = note: `#[warn(dead_code)]` on by default [ 270s] [ 270s] warning: multiple variants are never constructed [ 270s] --> ./src/pkgmgr/server/mod.rs:43:5 [ 270s] | [ 270s] 42 | enum AUL_RETURN_VALUE { [ 270s] | ---------------- variants in this enum [ 270s] 43 | AUL_R_ENOMEM = -16, //< Out of memory (Since 5.5) [ 270s] | ^^^^^^^^^^^^ [ 270s] 44 | AUL_R_ENOENT = -15, //< App directory entry error [ 270s] | ^^^^^^^^^^^^ [ 270s] 45 | AUL_R_EREJECTED = -14, //< App disable for mode [ 270s] | ^^^^^^^^^^^^^^^ [ 270s] 46 | AUL_R_ENOAPP = -13, //< Failed to find app ID or pkg ID [ 270s] | ^^^^^^^^^^^^ [ 270s] 47 | AUL_R_EHIDDENFORGUEST = -11, //< App hidden for guest mode [ 270s] | ^^^^^^^^^^^^^^^^^^^^^ [ 270s] 48 | AUL_R_ENOLAUNCHPAD = -10, //< no launchpad [ 270s] | ^^^^^^^^^^^^^^^^^^ [ 270s] 49 | AUL_R_ETERMINATING = -9, //< application terminating [ 270s] | ^^^^^^^^^^^^^^^^^^ [ 270s] 50 | AUL_R_EILLACC = -8, //< Illegal Access [ 270s] | ^^^^^^^^^^^^^ [ 270s] 51 | AUL_R_LOCAL = -7, //< Launch by himself [ 270s] | ^^^^^^^^^^^ [ 270s] 52 | AUL_R_ETIMEOUT = -6, //< Timeout [ 270s] | ^^^^^^^^^^^^^^ [ 270s] 53 | AUL_R_ECANCELED = -5, //< Operation canceled [ 270s] | ^^^^^^^^^^^^^^^ [ 270s] 54 | AUL_R_EINVAL = -4, //< Invalid argument [ 270s] | ^^^^^^^^^^^^ [ 270s] 55 | AUL_R_ECOMM = -3, //< Comunication Error [ 270s] | ^^^^^^^^^^^ [ 270s] 56 | AUL_R_ENOINIT = -2, //< AUL handler NOT initialized [ 270s] | ^^^^^^^^^^^^^ [ 270s] 57 | AUL_R_ERROR = -1, //< General error [ 270s] | ^^^^^^^^^^^ [ 270s] [ 270s] warning: field `timer` is never read [ 270s] --> ./src/pkgmgr/server/mod.rs:63:5 [ 270s] | [ 270s] 61 | pub struct Server { [ 270s] | ------ field in this struct [ 270s] 62 | mainloop: *mut GMainLoop, [ 270s] 63 | timer: c_uint [ 270s] | ^^^^^ [ 270s] [ 270s] warning: variants `IO_ERROR`, `OUT_OF_MEMORY`, `INVALID_PARAMETER`, and `PERMISSION_DENIED` are never constructed [ 270s] --> ./src/pkgmgr/server/admin_service.rs:29:5 [ 270s] | [ 270s] 27 | enum RPC_PORT_ERROR { [ 270s] | -------------- variants in this enum [ 270s] 28 | NONE = 0, //< Successful [ 270s] 29 | IO_ERROR = -5, //< Internal I/O error [ 270s] | ^^^^^^^^ [ 270s] 30 | OUT_OF_MEMORY = -12, //< Out of memory [ 270s] | ^^^^^^^^^^^^^ [ 270s] 31 | INVALID_PARAMETER = -22, //< Invalid parameter [ 270s] | ^^^^^^^^^^^^^^^^^ [ 270s] 32 | PERMISSION_DENIED = -13, //< Permission denied [ 270s] | ^^^^^^^^^^^^^^^^^ [ 270s] [ 270s] warning: method `generate_request_id` is never used [ 270s] --> ./src/pkgmgr/server/admin_service.rs:2786:8 [ 270s] | [ 270s] 2713 | impl AdminService { [ 270s] | ----------------- method in this implementation [ 270s] ... [ 270s] 2786 | fn generate_request_id(&self) -> String { [ 270s] | ^^^^^^^^^^^^^^^^^^^ [ 270s] [ 270s] warning: field `request_type` is never read [ 270s] --> ./src/pkgmgr/server/backend_context.rs:7:5 [ 270s] | [ 270s] 6 | pub struct BackendContext { [ 270s] | -------------- field in this struct [ 270s] 7 | request_type: RequestType, [ 270s] | ^^^^^^^^^^^^ [ 270s] [ 270s] warning: type alias `GIOChannel` is never used [ 270s] --> ./src/pkgmgr/server/backend_queue.rs:14:6 [ 270s] | [ 270s] 14 | type GIOChannel = *mut c_void; [ 270s] | ^^^^^^^^^^ [ 270s] [ 270s] warning: type alias `GIOCondition` is never used [ 270s] --> ./src/pkgmgr/server/backend_queue.rs:15:6 [ 270s] | [ 270s] 15 | type GIOCondition = c_int; [ 270s] | ^^^^^^^^^^^^ [ 270s] [ 270s] warning: variants `EIO`, `ENOPKG`, `EPRIV`, `ETIMEOUT`, `EINVAL`, and `ECOMM` are never constructed [ 270s] --> ./src/pkgmgr/server/info_service.rs:22:5 [ 270s] | [ 270s] 20 | enum PKGMGR_RETURN_VALUE { [ 270s] | ------------------- variants in this enum [ 270s] 21 | ESYSTEM = -9, // Severe system error [ 270s] 22 | EIO = -8, // IO error [ 270s] | ^^^ [ 270s] 23 | ENOMEM = -7, // Out of memory [ 270s] 24 | ENOPKG = -6, // No such package [ 270s] | ^^^^^^ [ 270s] 25 | EPRIV = -5, // Privilege denied [ 270s] | ^^^^^ [ 270s] 26 | ETIMEOUT = -4, // Timeout [ 270s] | ^^^^^^^^ [ 270s] 27 | EINVAL = -3, // Invalid argument [ 270s] | ^^^^^^ [ 270s] 28 | ECOMM = -2, // Comunication Error [ 270s] | ^^^^^ [ 270s] [ 270s] warning: variants `EPRIV` and `ETIMEOUT` are never constructed [ 270s] --> ./src/pkgmgr/server/pkgmgr_return_value.rs:8:5 [ 270s] | [ 270s] 3 | pub enum PKGMGR_RETURN_VALUE { [ 270s] | ------------------- variants in this enum [ 270s] ... [ 270s] 8 | EPRIV = -5, // Privilege denied [ 270s] | ^^^^^ [ 270s] 9 | ETIMEOUT = -4, // Timeout [ 270s] | ^^^^^^^^ [ 270s] [ 270s] warning: variants `KILL`, `CHECK`, `ENABLE_APP_SPLASH_SCREEN`, `DISABLE_APP_SPLASH_SCREEN`, and `MIGRATE_EXTERNAL_IMAGE` are never constructed [ 270s] --> ./src/pkgmgr/server/request_type.rs:20:5 [ 270s] | [ 270s] 1 | pub enum RequestType { [ 270s] | ----------- variants in this enum [ 270s] ... [ 270s] 20 | KILL, [ 270s] | ^^^^ [ 270s] 21 | CHECK, [ 270s] | ^^^^^ [ 270s] ... [ 270s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 270s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 270s] ... [ 270s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 270s] [ 270s] warning: multiple variants are never constructed [ 270s] --> ./src/pkgmgr/server/signal.rs:10:2 [ 270s] | [ 270s] 9 | enum PKGMGR_REQ { [ 270s] | ---------- variants in this enum [ 270s] 10 | PERM = -1, [ 270s] | ^^^^ [ 270s] 11 | INVALID = 0, [ 270s] | ^^^^^^^ [ 270s] 12 | INSTALL = 1, [ 270s] | ^^^^^^^ [ 270s] 13 | UNINSTALL = 2, [ 270s] | ^^^^^^^^^ [ 270s] 14 | CLEAR = 3, [ 270s] | ^^^^^ [ 270s] 15 | MOVE = 4, [ 270s] | ^^^^ [ 270s] 16 | RECOVER = 5, [ 270s] | ^^^^^^^ [ 270s] 17 | REINSTALL = 6, [ 270s] | ^^^^^^^^^ [ 270s] 18 | GETSIZE = 7, [ 270s] | ^^^^^^^ [ 270s] 19 | UPGRADE = 8, [ 270s] | ^^^^^^^ [ 270s] 20 | SMACK = 9, [ 270s] | ^^^^^ [ 270s] 21 | MANIFEST_DIRECT_INSTALL = 10, [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 270s] ... [ 270s] 26 | MOUNT_INSTALL = 15, [ 270s] | ^^^^^^^^^^^^^ [ 270s] 27 | DISABLE_PKG = 16, [ 270s] | ^^^^^^^^^^^ [ 270s] 28 | ENABLE_PKG = 17, [ 270s] | ^^^^^^^^^^ [ 270s] 29 | MIGRATE_EXTIMG = 18, [ 270s] | ^^^^^^^^^^^^^^ [ 270s] 30 | RECOVER_DB = 19, [ 270s] | ^^^^^^^^^^ [ 270s] 31 | RES_COPY = 20, [ 270s] | ^^^^^^^^ [ 270s] 32 | RES_CREATE_DIR = 21, [ 270s] | ^^^^^^^^^^^^^^ [ 270s] 33 | RES_REMOVE = 22, [ 270s] | ^^^^^^^^^^ [ 270s] 34 | RES_UNINSTALL = 23 [ 270s] | ^^^^^^^^^^^^^ [ 270s] [ 270s] warning: constant `TZ_SYS_GLOBALAPP_USER` is never used [ 270s] --> ./src/pkgmgr/server/signal.rs:97:7 [ 270s] | [ 270s] 97 | const TZ_SYS_GLOBALAPP_USER: c_int = 22; [ 270s] | ^^^^^^^^^^^^^^^^^^^^^ [ 270s] [ 270s] warning: function `tzplatform_getuid` is never used [ 270s] --> ./src/pkgmgr/server/signal.rs:53:12 [ 270s] | [ 270s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 270s] | ^^^^^^^^^^^^^^^^^ [ 270s] [ 270s] warning: function `sd_get_uids` is never used [ 270s] --> ./src/pkgmgr/server/signal.rs:44:16 [ 270s] | [ 270s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 270s] | ^^^^^^^^^^^ [ 270s] [ 270s] warning: constant `XML_READER_TYPE_ELEMENT` is never used [ 270s] --> ./src/pkgmgr/server/util.rs:29:7 [ 270s] | [ 270s] 29 | const XML_READER_TYPE_ELEMENT: i32 = 1; [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 270s] [ 270s] warning: constant `XML_READER_TYPE_TEXT` is never used [ 270s] --> ./src/pkgmgr/server/util.rs:30:7 [ 270s] | [ 270s] 30 | const XML_READER_TYPE_TEXT: i32 = 3; [ 270s] | ^^^^^^^^^^^^^^^^^^^^ [ 270s] [ 270s] warning: constant `XML_READER_TYPE_END_ELEMENT` is never used [ 270s] --> ./src/pkgmgr/server/util.rs:31:7 [ 270s] | [ 270s] 31 | const XML_READER_TYPE_END_ELEMENT: i32 = 15; [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 270s] [ 270s] warning: type alias `GIOChannel` is never used [ 270s] --> ./src/pkgmgr/server/util.rs:33:6 [ 270s] | [ 270s] 33 | type GIOChannel = *mut c_void; [ 270s] | ^^^^^^^^^^ [ 270s] [ 270s] warning: variants `PMINFO_UI_APP`, `PMINFO_SVC_APP`, `PMINFO_WIDGET_APP`, `PMINFO_WATCH_APP`, and `PMINFO_COMPONENT_BASED_APP` are never constructed [ 270s] --> ./src/pkgmgr/server/util.rs:136:5 [ 270s] | [ 270s] 134 | enum PKGMGRINFO_APP_COMPONENT { [ 270s] | ------------------------ variants in this enum [ 270s] 135 | PMINFO_ALL_APP = 0, //< All Application [ 270s] 136 | PMINFO_UI_APP, //< UI Application [ 270s] | ^^^^^^^^^^^^^ [ 270s] 137 | PMINFO_SVC_APP, //< Service Application [ 270s] | ^^^^^^^^^^^^^^ [ 270s] 138 | PMINFO_WIDGET_APP, //< Widget Application [ 270s] | ^^^^^^^^^^^^^^^^^ [ 270s] 139 | PMINFO_WATCH_APP, //< Watch Application [ 270s] | ^^^^^^^^^^^^^^^^ [ 270s] 140 | PMINFO_COMPONENT_BASED_APP, //< Component-based Application (Since 5.5) [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 270s] [ 270s] warning: associated functions `EnableAppSplashScreen` and `DisableAppSplashScreen` are never used [ 270s] --> ./src/pkgmgr/server/util.rs:766:12 [ 270s] | [ 270s] 384 | impl Util { [ 270s] | --------- associated functions in this implementation [ 270s] ... [ 270s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^ [ 270s] ... [ 270s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 270s] [ 270s] warning: function `pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db` is never used [ 270s] --> ./src/pkgmgr/server/util.rs:204:8 [ 270s] | [ 270s] 204 | fn pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db( [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 270s] [ 270s] warning: function `pkgmgrinfo_pkginfo_get_usr_pkginfo` is never used [ 270s] --> ./src/pkgmgr/server/util.rs:44:16 [ 270s] | [ 270s] 44 | pub fn pkgmgrinfo_pkginfo_get_usr_pkginfo( [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 270s] [ 270s] warning: function `pkgmgrinfo_pkginfo_get_usr_disabled_pkginfo` is never used [ 270s] --> ./src/pkgmgr/server/util.rs:50:16 [ 270s] | [ 270s] 50 | pub fn pkgmgrinfo_pkginfo_get_usr_disabled_pkginfo( [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 270s] [ 270s] warning: function `pkgmgrinfo_pkginfo_is_readonly` is never used [ 270s] --> ./src/pkgmgr/server/util.rs:56:16 [ 270s] | [ 270s] 56 | pub fn pkgmgrinfo_pkginfo_is_readonly( [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 270s] [ 270s] warning: function `pkgmgrinfo_pkginfo_destroy_pkginfo` is never used [ 270s] --> ./src/pkgmgr/server/util.rs:61:16 [ 270s] | [ 270s] 61 | pub fn pkgmgrinfo_pkginfo_destroy_pkginfo( [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 270s] [ 270s] warning: function `pkgmgrinfo_pkginfo_get_usr_all_pkginfo` is never used [ 270s] --> ./src/pkgmgr/server/util.rs:65:16 [ 270s] | [ 270s] 65 | pub fn pkgmgrinfo_pkginfo_get_usr_all_pkginfo( [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 270s] [ 270s] warning: function `pkgmgrinfo_pkginfo_get_type` is never used [ 270s] --> ./src/pkgmgr/server/util.rs:71:16 [ 270s] | [ 270s] 71 | pub fn pkgmgrinfo_pkginfo_get_type( [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 270s] [ 270s] warning: function `pkgmgrinfo_updateinfo_create` is never used [ 270s] --> ./src/pkgmgr/server/util.rs:76:16 [ 270s] | [ 270s] 76 | pub fn pkgmgrinfo_updateinfo_create( [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 270s] [ 270s] warning: function `pkgmgrinfo_updateinfo_set_pkgid` is never used [ 270s] --> ./src/pkgmgr/server/util.rs:80:16 [ 270s] | [ 270s] 80 | pub fn pkgmgrinfo_updateinfo_set_pkgid( [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 270s] [ 270s] warning: function `pkgmgrinfo_updateinfo_set_version` is never used [ 270s] --> ./src/pkgmgr/server/util.rs:85:16 [ 270s] | [ 270s] 85 | pub fn pkgmgrinfo_updateinfo_set_version( [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 270s] [ 270s] warning: function `pkgmgrinfo_updateinfo_set_type` is never used [ 270s] --> ./src/pkgmgr/server/util.rs:90:16 [ 270s] | [ 270s] 90 | pub fn pkgmgrinfo_updateinfo_set_type( [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 270s] [ 270s] warning: function `pkgmgrinfo_updateinfo_destroy` is never used [ 270s] --> ./src/pkgmgr/server/util.rs:95:16 [ 270s] | [ 270s] 95 | pub fn pkgmgrinfo_updateinfo_destroy( [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 270s] [ 270s] warning: function `pkgmgrinfo_appinfo_get_usr_all_appinfo` is never used [ 270s] --> ./src/pkgmgr/server/util.rs:99:16 [ 270s] | [ 270s] 99 | pub fn pkgmgrinfo_appinfo_get_usr_all_appinfo( [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 270s] [ 270s] warning: function `pkgmgrinfo_appinfo_is_global` is never used [ 270s] --> ./src/pkgmgr/server/util.rs:105:16 [ 270s] | [ 270s] 105 | pub fn pkgmgrinfo_appinfo_is_global( [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 270s] [ 270s] warning: function `pkgmgrinfo_appinfo_get_pkgid` is never used [ 270s] --> ./src/pkgmgr/server/util.rs:110:16 [ 270s] | [ 270s] 110 | pub fn pkgmgrinfo_appinfo_get_pkgid( [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 270s] [ 270s] warning: function `pkgmgrinfo_appinfo_destroy_appinfo` is never used [ 270s] --> ./src/pkgmgr/server/util.rs:115:16 [ 270s] | [ 270s] 115 | pub fn pkgmgrinfo_appinfo_destroy_appinfo( [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 270s] [ 270s] warning: function `aul_app_is_running_for_uid` is never used [ 270s] --> ./src/pkgmgr/server/util.rs:122:16 [ 270s] | [ 270s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 270s] [ 270s] warning: function `aul_app_get_pid_for_uid` is never used [ 270s] --> ./src/pkgmgr/server/util.rs:123:16 [ 270s] | [ 270s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 270s] [ 270s] warning: function `aul_terminate_pid_for_uid` is never used [ 270s] --> ./src/pkgmgr/server/util.rs:124:16 [ 270s] | [ 270s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 270s] [ 270s] warning: function `aul_app_get_pkgid_bypid_for_uid` is never used [ 270s] --> ./src/pkgmgr/server/util.rs:125:16 [ 270s] | [ 270s] 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; [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 270s] [ 270s] warning: unused `Result` that must be used [ 270s] --> ./src/main.rs:14:5 [ 270s] | [ 270s] 14 | pkgmgr::server::Server::run(&mut server); [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 270s] | [ 270s] = note: this `Result` may be an `Err` variant, which should be handled [ 270s] = note: `#[warn(unused_must_use)]` on by default [ 270s] help: use `let _ = ...` to ignore the resulting value [ 270s] | [ 270s] 14 | let _ = pkgmgr::server::Server::run(&mut server); [ 270s] | +++++++ [ 270s] [ 270s] warning: unused `Result` that must be used [ 270s] --> ./src/pkgmgr/server/mod.rs:93:9 [ 270s] | [ 270s] 93 | admin_service.run(); [ 270s] | ^^^^^^^^^^^^^^^^^^^ [ 270s] | [ 270s] = note: this `Result` may be an `Err` variant, which should be handled [ 270s] help: use `let _ = ...` to ignore the resulting value [ 270s] | [ 270s] 93 | let _ = admin_service.run(); [ 270s] | +++++++ [ 270s] [ 270s] warning: unused `Result` that must be used [ 270s] --> ./src/pkgmgr/server/mod.rs:95:9 [ 270s] | [ 270s] 95 | cache_service.run(); [ 270s] | ^^^^^^^^^^^^^^^^^^^ [ 270s] | [ 270s] = note: this `Result` may be an `Err` variant, which should be handled [ 270s] help: use `let _ = ...` to ignore the resulting value [ 270s] | [ 270s] 95 | let _ = cache_service.run(); [ 270s] | +++++++ [ 270s] [ 270s] warning: unused `Result` that must be used [ 270s] --> ./src/pkgmgr/server/mod.rs:97:9 [ 270s] | [ 270s] 97 | info_service.run(); [ 270s] | ^^^^^^^^^^^^^^^^^^ [ 270s] | [ 270s] = note: this `Result` may be an `Err` variant, which should be handled [ 270s] help: use `let _ = ...` to ignore the resulting value [ 270s] | [ 270s] 97 | let _ = info_service.run(); [ 270s] | +++++++ [ 270s] [ 270s] warning: unused `Result` that must be used [ 270s] --> ./src/pkgmgr/server/mod.rs:99:9 [ 270s] | [ 270s] 99 | delayed_result_service.run(); [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 270s] | [ 270s] = note: this `Result` may be an `Err` variant, which should be handled [ 270s] help: use `let _ = ...` to ignore the resulting value [ 270s] | [ 270s] 99 | let _ = delayed_result_service.run(); [ 270s] | +++++++ [ 270s] [ 270s] warning: unused `Result` that must be used [ 270s] --> ./src/pkgmgr/server/mod.rs:109:9 [ 270s] | [ 270s] 109 | admin_service.stop(); [ 270s] | ^^^^^^^^^^^^^^^^^^^^ [ 270s] | [ 270s] = note: this `Result` may be an `Err` variant, which should be handled [ 270s] help: use `let _ = ...` to ignore the resulting value [ 270s] | [ 270s] 109 | let _ = admin_service.stop(); [ 270s] | +++++++ [ 270s] [ 270s] warning: unused `Result` that must be used [ 270s] --> ./src/pkgmgr/server/mod.rs:110:9 [ 270s] | [ 270s] 110 | cache_service.stop(); [ 270s] | ^^^^^^^^^^^^^^^^^^^^ [ 270s] | [ 270s] = note: this `Result` may be an `Err` variant, which should be handled [ 270s] help: use `let _ = ...` to ignore the resulting value [ 270s] | [ 270s] 110 | let _ = cache_service.stop(); [ 270s] | +++++++ [ 270s] [ 270s] warning: unused `Result` that must be used [ 270s] --> ./src/pkgmgr/server/mod.rs:111:9 [ 270s] | [ 270s] 111 | info_service.stop(); [ 270s] | ^^^^^^^^^^^^^^^^^^^ [ 270s] | [ 270s] = note: this `Result` may be an `Err` variant, which should be handled [ 270s] help: use `let _ = ...` to ignore the resulting value [ 270s] | [ 270s] 111 | let _ = info_service.stop(); [ 270s] | +++++++ [ 270s] [ 270s] warning: unused `Result` that must be used [ 270s] --> ./src/pkgmgr/server/mod.rs:112:9 [ 270s] | [ 270s] 112 | delayed_result_service.stop(); [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 270s] | [ 270s] = note: this `Result` may be an `Err` variant, which should be handled [ 270s] help: use `let _ = ...` to ignore the resulting value [ 270s] | [ 270s] 112 | let _ = delayed_result_service.stop(); [ 270s] | +++++++ [ 270s] [ 270s] warning: unused return value of `std::mem::size_of` that must be used [ 270s] --> ./src/pkgmgr/server/backend_queue.rs:40:9 [ 270s] | [ 270s] 40 | mem::size_of::(); [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 270s] | [ 270s] help: use `let _ = ...` to ignore the resulting value [ 270s] | [ 270s] 40 | let _ = mem::size_of::(); [ 270s] | +++++++ [ 270s] [ 270s] warning: structure field `rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 270s] --> ./src/pkgmgr/server/info_service.rs:35:9 [ 270s] | [ 270s] 35 | pub rpc_port_stub_PkgMgr_create_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_create_cb` [ 270s] | [ 270s] = note: `#[warn(non_snake_case)]` on by default [ 270s] [ 270s] warning: structure field `rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 270s] --> ./src/pkgmgr/server/info_service.rs:36:9 [ 270s] | [ 270s] 36 | pub rpc_port_stub_PkgMgr_terminate_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_terminate_cb` [ 270s] [ 270s] warning: structure field `rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 270s] --> ./src/pkgmgr/server/info_service.rs:37:9 [ 270s] | [ 270s] 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... [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_cb` [ 270s] [ 270s] warning: structure field `rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 270s] --> ./src/pkgmgr/server/info_service.rs:38:9 [ 270s] | [ 270s] 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... [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 270s] [ 270s] warning: structure field `rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 270s] --> ./src/pkgmgr/server/info_service.rs:39:9 [ 270s] | [ 270s] 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... [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 270s] [ 270s] warning: structure field `rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 270s] --> ./src/pkgmgr/server/info_service.rs:40:9 [ 270s] | [ 270s] 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... [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_check_cb` [ 270s] [ 270s] warning: function `impl_rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 270s] --> ./src/pkgmgr/server/info_service.rs:43:19 [ 270s] | [ 270s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_create_cb` [ 270s] [ 270s] warning: function `impl_rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 270s] --> ./src/pkgmgr/server/info_service.rs:48:19 [ 270s] | [ 270s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_terminate_cb` [ 270s] [ 270s] warning: function `impl_rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 270s] --> ./src/pkgmgr/server/info_service.rs:52:19 [ 270s] | [ 270s] 52 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSize_cb( [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_cb` [ 270s] [ 270s] warning: function `impl_rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 270s] --> ./src/pkgmgr/server/info_service.rs:112:19 [ 270s] | [ 270s] 112 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSizeSync_cb( [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 270s] [ 270s] warning: function `impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 270s] --> ./src/pkgmgr/server/info_service.rs:194:19 [ 270s] | [ 270s] 194 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb( [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 270s] [ 270s] warning: function `impl_rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 270s] --> ./src/pkgmgr/server/info_service.rs:221:19 [ 270s] | [ 270s] 221 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_Check_cb( [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_check_cb` [ 270s] [ 270s] warning: method `IsPackageReadonly` should have a snake case name [ 270s] --> ./src/pkgmgr/server/util.rs:389:12 [ 270s] | [ 270s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 270s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly` [ 270s] [ 270s] warning: method `GetPackageType` should have a snake case name [ 270s] --> ./src/pkgmgr/server/util.rs:420:12 [ 270s] | [ 270s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 270s] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type` [ 270s] [ 270s] warning: variable `xmlReaderTypes_XML_READER_TYPE_ELEMENT` should have a snake case name [ 270s] --> ./src/pkgmgr/server/util.rs:473:17 [ 270s] | [ 270s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_element` [ 270s] [ 270s] warning: variable `xmlReaderTypes_XML_READER_TYPE_TEXT` should have a snake case name [ 270s] --> ./src/pkgmgr/server/util.rs:478:17 [ 270s] | [ 270s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_text` [ 270s] [ 270s] warning: variable `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` should have a snake case name [ 270s] --> ./src/pkgmgr/server/util.rs:483:17 [ 270s] | [ 270s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_end_element` [ 270s] [ 270s] warning: constant `type_map` should have an upper case name [ 270s] --> ./src/pkgmgr/server/util.rs:623:15 [ 270s] | [ 270s] 623 | const type_map : [[&str; 2]; 3] = [ [ 270s] | ^^^^^^^^ help: convert the identifier to upper case: `TYPE_MAP` [ 270s] | [ 270s] = note: `#[warn(non_upper_case_globals)]` on by default [ 270s] [ 270s] warning: method `GenerateRequestId` should have a snake case name [ 270s] --> ./src/pkgmgr/server/util.rs:646:12 [ 270s] | [ 270s] 646 | pub fn GenerateRequestId(pkgid: &str) -> Option { [ 270s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_request_id` [ 270s] [ 270s] warning: method `CreatePkgUpdateInfo` should have a snake case name [ 270s] --> ./src/pkgmgr/server/util.rs:657:12 [ 270s] | [ 270s] 657 | pub fn CreatePkgUpdateInfo(pkgid: *const c_char, version: *const c_char, update_type: c_int) -> *mut c_void { [ 270s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info` [ 270s] [ 270s] warning: method `DestroyPkgUpdateInfo` should have a snake case name [ 270s] --> ./src/pkgmgr/server/util.rs:680:12 [ 270s] | [ 270s] 680 | pub fn DestroyPkgUpdateInfo(handle: *mut c_void) -> c_int { [ 270s] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroy_pkg_update_info` [ 270s] [ 270s] warning: method `RegisterPkgUpdateInfo` should have a snake case name [ 270s] --> ./src/pkgmgr/server/util.rs:686:12 [ 270s] | [ 270s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `register_pkg_update_info` [ 270s] [ 270s] warning: method `UnregisterPkgUpdateInfo` should have a snake case name [ 270s] --> ./src/pkgmgr/server/util.rs:696:12 [ 270s] | [ 270s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_pkg_update_info` [ 270s] [ 270s] warning: method `UnregisterAllPkgUpdateInfo` should have a snake case name [ 270s] --> ./src/pkgmgr/server/util.rs:706:12 [ 270s] | [ 270s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_all_pkg_update_info` [ 270s] [ 270s] warning: method `EnableApp` should have a snake case name [ 270s] --> ./src/pkgmgr/server/util.rs:728:12 [ 270s] | [ 270s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 270s] | ^^^^^^^^^ help: convert the identifier to snake case: `enable_app` [ 270s] [ 270s] warning: method `DisableApp` should have a snake case name [ 270s] --> ./src/pkgmgr/server/util.rs:738:12 [ 270s] | [ 270s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 270s] | ^^^^^^^^^^ help: convert the identifier to snake case: `disable_app` [ 270s] [ 270s] warning: method `EnableGlobalApp` should have a snake case name [ 270s] --> ./src/pkgmgr/server/util.rs:747:12 [ 270s] | [ 270s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 270s] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app` [ 270s] [ 270s] warning: method `DisableGlobalApp` should have a snake case name [ 270s] --> ./src/pkgmgr/server/util.rs:757:12 [ 270s] | [ 270s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 270s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app` [ 270s] [ 270s] warning: method `EnableAppSplashScreen` should have a snake case name [ 270s] --> ./src/pkgmgr/server/util.rs:766:12 [ 270s] | [ 270s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_app_splash_screen` [ 270s] [ 270s] warning: method `DisableAppSplashScreen` should have a snake case name [ 270s] --> ./src/pkgmgr/server/util.rs:775:12 [ 270s] | [ 270s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_app_splash_screen` [ 270s] [ 270s] warning: method `EnableGlobalAppSplashScreen` should have a snake case name [ 270s] --> ./src/pkgmgr/server/util.rs:784:12 [ 270s] | [ 270s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app_splash_screen` [ 270s] [ 270s] warning: method `DisableGlobalAppSplashScreen` should have a snake case name [ 270s] --> ./src/pkgmgr/server/util.rs:793:12 [ 270s] | [ 270s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app_splash_screen` [ 270s] [ 270s] warning: method `KillApp` should have a snake case name [ 270s] --> ./src/pkgmgr/server/util.rs:813:12 [ 270s] | [ 270s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 270s] | ^^^^^^^ help: convert the identifier to snake case: `kill_app` [ 270s] [ 270s] warning: method `KillAppsInPkg` should have a snake case name [ 270s] --> ./src/pkgmgr/server/util.rs:835:12 [ 270s] | [ 270s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 270s] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_apps_in_pkg` [ 270s] [ 270s] warning: method `IsAdminUser` should have a snake case name [ 270s] --> ./src/pkgmgr/server/util.rs:855:8 [ 270s] | [ 270s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 270s] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_admin_user` [ 270s] [ 270s] warning: function `IsPackageReadonly_test_return_None_from_disable1` should have a snake case name [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:13:4 [ 270s] | [ 270s] 13 | fn IsPackageReadonly_test_return_None_from_disable1() { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_disable1` [ 270s] [ 270s] warning: getting the inner pointer of a temporary `CString` [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:16:77 [ 270s] | [ 270s] 16 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, false)); [ 270s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 270s] | | [ 270s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 270s] | [ 270s] = 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 [ 270s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 270s] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [ 270s] [ 270s] warning: function `IsPackageReadonly_test_return_None_from_disable2` should have a snake case name [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:20:4 [ 270s] | [ 270s] 20 | fn IsPackageReadonly_test_return_None_from_disable2() { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_disable2` [ 270s] [ 270s] warning: getting the inner pointer of a temporary `CString` [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:23:77 [ 270s] | [ 270s] 23 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 270s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 270s] | | [ 270s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 270s] | [ 270s] = 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 [ 270s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 270s] [ 270s] warning: function `IsPackageReadonly_test_return_None_from_readonly` should have a snake case name [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:27:4 [ 270s] | [ 270s] 27 | fn IsPackageReadonly_test_return_None_from_readonly() { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_readonly` [ 270s] [ 270s] warning: getting the inner pointer of a temporary `CString` [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:32:77 [ 270s] | [ 270s] 32 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 270s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 270s] | | [ 270s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 270s] | [ 270s] = 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 [ 270s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 270s] [ 270s] warning: function `IsPackageReadonly_test_return_someTrue_from_readonly` should have a snake case name [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:36:4 [ 270s] | [ 270s] 36 | fn IsPackageReadonly_test_return_someTrue_from_readonly() { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_some_true_from_readonly` [ 270s] [ 270s] warning: getting the inner pointer of a temporary `CString` [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:46:83 [ 270s] | [ 270s] 46 | assert_eq!(Some(true), Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 270s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 270s] | | [ 270s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 270s] | [ 270s] = 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 [ 270s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 270s] [ 270s] warning: function `IsPackageReadonly_test_return_someFalse_from_readonly` should have a snake case name [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:50:4 [ 270s] | [ 270s] 50 | fn IsPackageReadonly_test_return_someFalse_from_readonly() { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_some_false_from_readonly` [ 270s] [ 270s] warning: getting the inner pointer of a temporary `CString` [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:60:84 [ 270s] | [ 270s] 60 | assert_eq!(Some(false), Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 270s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 270s] | | [ 270s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 270s] | [ 270s] = 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 [ 270s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 270s] [ 270s] warning: function `KillApp_test_return_0_from_running` should have a snake case name [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:65:4 [ 270s] | [ 270s] 65 | fn KillApp_test_return_0_from_running() { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_0_from_running` [ 270s] [ 270s] warning: getting the inner pointer of a temporary `CString` [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:68:64 [ 270s] | [ 270s] 68 | assert_eq!(0, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 270s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 270s] | | [ 270s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 270s] | [ 270s] = 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 [ 270s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 270s] [ 270s] warning: function `KillApp_test_return_minus_from_getpid` should have a snake case name [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:72:4 [ 270s] | [ 270s] 72 | fn KillApp_test_return_minus_from_getpid() { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_minus_from_getpid` [ 270s] [ 270s] warning: getting the inner pointer of a temporary `CString` [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:77:65 [ 270s] | [ 270s] 77 | assert_eq!(-1, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 270s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 270s] | | [ 270s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 270s] | [ 270s] = 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 [ 270s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 270s] [ 270s] warning: function `KillApp_test_return_minus_from_terminate` should have a snake case name [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:81:4 [ 270s] | [ 270s] 81 | fn KillApp_test_return_minus_from_terminate() { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_minus_from_terminate` [ 270s] [ 270s] warning: getting the inner pointer of a temporary `CString` [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:88:65 [ 270s] | [ 270s] 88 | assert_eq!(-1, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 270s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 270s] | | [ 270s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 270s] | [ 270s] = 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 [ 270s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 270s] [ 270s] warning: function `KillApp_test_return_0_from_end` should have a snake case name [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:92:4 [ 270s] | [ 270s] 92 | fn KillApp_test_return_0_from_end() { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_0_from_end` [ 270s] [ 270s] warning: getting the inner pointer of a temporary `CString` [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:99:64 [ 270s] | [ 270s] 99 | assert_eq!(0, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 270s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 270s] | | [ 270s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 270s] | [ 270s] = 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 [ 270s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 270s] [ 270s] warning: function `GetPackageType_test_return_new_from_all` should have a snake case name [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:104:4 [ 270s] | [ 270s] 104 | fn GetPackageType_test_return_new_from_all() { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_new_from_all` [ 270s] [ 270s] warning: getting the inner pointer of a temporary `CString` [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:107:83 [ 270s] | [ 270s] 107 | assert_eq!(String::new(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 270s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 270s] | | [ 270s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 270s] | [ 270s] = 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 [ 270s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 270s] [ 270s] warning: function `GetPackageType_test_return_new_from_type` should have a snake case name [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:111:4 [ 270s] | [ 270s] 111 | fn GetPackageType_test_return_new_from_type() { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_new_from_type` [ 270s] [ 270s] warning: getting the inner pointer of a temporary `CString` [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:118:83 [ 270s] | [ 270s] 118 | assert_eq!(String::new(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 270s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 270s] | | [ 270s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 270s] | [ 270s] = 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 [ 270s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 270s] [ 270s] warning: function `GetPackageType_test_return_rpk_from_end` should have a snake case name [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:122:4 [ 270s] | [ 270s] 122 | fn GetPackageType_test_return_rpk_from_end() { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_rpk_from_end` [ 270s] [ 270s] warning: getting the inner pointer of a temporary `CString` [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:132:87 [ 270s] | [ 270s] 132 | assert_eq!("rpk".to_string(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 270s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 270s] | | [ 270s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 270s] | [ 270s] = 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 [ 270s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 270s] [ 270s] warning: function `GetPackageType_test_return_newtype_from_end` should have a snake case name [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:136:4 [ 270s] | [ 270s] 136 | fn GetPackageType_test_return_newtype_from_end() { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_newtype_from_end` [ 270s] [ 270s] warning: getting the inner pointer of a temporary `CString` [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:146:87 [ 270s] | [ 270s] 146 | assert_eq!("ABC".to_string(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 270s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 270s] | | [ 270s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 270s] | [ 270s] = 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 [ 270s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 270s] [ 270s] warning: function `CreatePkgUpdateInfo_test_return_null1` should have a snake case name [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:151:4 [ 270s] | [ 270s] 151 | fn CreatePkgUpdateInfo_test_return_null1() { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null1` [ 270s] [ 270s] warning: getting the inner pointer of a temporary `CString` [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:154:95 [ 270s] | [ 270s] 154 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 270s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 270s] | | [ 270s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 270s] | [ 270s] = 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 [ 270s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 270s] [ 270s] warning: getting the inner pointer of a temporary `CString` [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:154:138 [ 270s] | [ 270s] 154 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 270s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 270s] | | [ 270s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 270s] | [ 270s] = 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 [ 270s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 270s] [ 270s] warning: function `CreatePkgUpdateInfo_test_return_null2` should have a snake case name [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:158:4 [ 270s] | [ 270s] 158 | fn CreatePkgUpdateInfo_test_return_null2() { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null2` [ 270s] [ 270s] warning: getting the inner pointer of a temporary `CString` [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:165:95 [ 270s] | [ 270s] 165 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 270s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 270s] | | [ 270s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 270s] | [ 270s] = 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 [ 270s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 270s] [ 270s] warning: getting the inner pointer of a temporary `CString` [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:165:138 [ 270s] | [ 270s] 165 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 270s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 270s] | | [ 270s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 270s] | [ 270s] = 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 [ 270s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 270s] [ 270s] warning: function `CreatePkgUpdateInfo_test_return_null3` should have a snake case name [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:169:4 [ 270s] | [ 270s] 169 | fn CreatePkgUpdateInfo_test_return_null3() { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null3` [ 270s] [ 270s] warning: getting the inner pointer of a temporary `CString` [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:178:95 [ 270s] | [ 270s] 178 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 270s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 270s] | | [ 270s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 270s] | [ 270s] = 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 [ 270s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 270s] [ 270s] warning: getting the inner pointer of a temporary `CString` [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:178:138 [ 270s] | [ 270s] 178 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 270s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 270s] | | [ 270s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 270s] | [ 270s] = 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 [ 270s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 270s] [ 270s] warning: function `CreatePkgUpdateInfo_test_return_null4` should have a snake case name [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:182:4 [ 270s] | [ 270s] 182 | fn CreatePkgUpdateInfo_test_return_null4() { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null4` [ 270s] [ 270s] warning: getting the inner pointer of a temporary `CString` [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:193:95 [ 270s] | [ 270s] 193 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 270s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 270s] | | [ 270s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 270s] | [ 270s] = 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 [ 270s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 270s] [ 270s] warning: getting the inner pointer of a temporary `CString` [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:193:138 [ 270s] | [ 270s] 193 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 270s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 270s] | | [ 270s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 270s] | [ 270s] = 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 [ 270s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 270s] [ 270s] warning: function `CreatePkgUpdateInfo_test_return_handle` should have a snake case name [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:197:4 [ 270s] | [ 270s] 197 | fn CreatePkgUpdateInfo_test_return_handle() { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_handle` [ 270s] [ 270s] warning: getting the inner pointer of a temporary `CString` [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:206:95 [ 270s] | [ 270s] 206 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 270s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 270s] | | [ 270s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 270s] | [ 270s] = 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 [ 270s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 270s] [ 270s] warning: getting the inner pointer of a temporary `CString` [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:206:138 [ 270s] | [ 270s] 206 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 270s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 270s] | | [ 270s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 270s] | [ 270s] = 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 [ 270s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 270s] [ 270s] warning: function `getapplicationinfobyappid_test_return_None_from_appinfo` should have a snake case name [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:211:4 [ 270s] | [ 270s] 211 | fn getapplicationinfobyappid_test_return_None_from_appinfo() { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_appinfo` [ 270s] [ 270s] warning: getting the inner pointer of a temporary `CString` [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:214:89 [ 270s] | [ 270s] 214 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 270s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 270s] | | [ 270s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 270s] | [ 270s] = 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 [ 270s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 270s] [ 270s] warning: function `getapplicationinfobyappid_test_return_None_from_global` should have a snake case name [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:218:4 [ 270s] | [ 270s] 218 | fn getapplicationinfobyappid_test_return_None_from_global() { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_global` [ 270s] [ 270s] warning: getting the inner pointer of a temporary `CString` [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:225:89 [ 270s] | [ 270s] 225 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 270s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 270s] | | [ 270s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 270s] | [ 270s] = 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 [ 270s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 270s] [ 270s] warning: function `getapplicationinfobyappid_test_return_None_from_pkgid` should have a snake case name [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:229:4 [ 270s] | [ 270s] 229 | fn getapplicationinfobyappid_test_return_None_from_pkgid() { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_pkgid` [ 270s] [ 270s] warning: getting the inner pointer of a temporary `CString` [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:238:89 [ 270s] | [ 270s] 238 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 270s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 270s] | | [ 270s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 270s] | [ 270s] = 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 [ 270s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 270s] [ 270s] warning: function `getapplicationinfobyappid_test_return_Some_from_end` should have a snake case name [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:242:4 [ 270s] | [ 270s] 242 | fn getapplicationinfobyappid_test_return_Some_from_end() { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `getapplicationinfobyappid_test_return_some_from_end` [ 270s] [ 270s] warning: getting the inner pointer of a temporary `CString` [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:257:127 [ 270s] | [ 270s] 257 | assert_eq!(Some((CString::new("aaa").unwrap(), true)), Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 270s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 270s] | | [ 270s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 270s] | [ 270s] = 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 [ 270s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 270s] [ 270s] warning: function `get_pkgid_bypid_for_uid_test_return_None` should have a snake case name [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:262:4 [ 270s] | [ 270s] 262 | fn get_pkgid_bypid_for_uid_test_return_None() { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_pkgid_bypid_for_uid_test_return_none` [ 270s] [ 270s] warning: function `get_pkgid_bypid_for_uid_test_return_Some` should have a snake case name [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:269:4 [ 270s] | [ 270s] 269 | fn get_pkgid_bypid_for_uid_test_return_Some() { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `get_pkgid_bypid_for_uid_test_return_some` [ 270s] [ 270s] warning: function `get_pkgid_bypid_for_uid_test_return_None_from_end` should have a snake case name [ 270s] --> ./src/pkgmgr/server/test/util_tests.rs:283:4 [ 270s] | [ 270s] 283 | fn get_pkgid_bypid_for_uid_test_return_None_from_end() { [ 270s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_pkgid_bypid_for_uid_test_return_none_from_end` [ 270s] [ 448s] warning: 735 warnings emitted [ 448s] [ 448s] + exit 0 [ 448s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8SXzqG [ 448s] + umask 022 [ 448s] + cd /home/abuild/rpmbuild/BUILD [ 448s] + cd pkgmgr-server-1.0.15 [ 448s] + LANG=C [ 448s] + export LANG [ 448s] + unset DISPLAY [ 448s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 448s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 448s] + /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 [ 448s] /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 [ 448s] /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 [ 448s] /bin/make -f CMakeFiles/Makefile2 all [ 448s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 448s] /bin/make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/depend [ 448s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 448s] 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= [ 448s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 448s] /bin/make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build [ 448s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 448s] make[2]: Nothing to be done for 'tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build'. [ 448s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 448s] [ 50%] Built target tidl_pkgmgr_server [ 448s] /bin/make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/depend [ 448s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 448s] 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= [ 448s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 448s] /bin/make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build [ 448s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 448s] make[2]: Nothing to be done for 'util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build'. [ 448s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 448s] [100%] Built target util_pkgmgr_server [ 448s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 448s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/CMakeFiles 0 [ 448s] /bin/make -f CMakeFiles/Makefile2 preinstall [ 448s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 448s] make[1]: Nothing to be done for 'preinstall'. [ 448s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 448s] Install the project... [ 448s] /usr/bin/cmake -P cmake_install.cmake [ 448s] -- Install configuration: "" [ 448s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/systemd/system/package-manager.service [ 448s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/systemd/system/package-manager.socket [ 448s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/libtidl_pkgmgr_server.so [ 448s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/libutil_pkgmgr_server.so [ 448s] + rm -f /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/share/info/dir [ 448s] + find /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm -regex '.*\.la$' [ 448s] + xargs rm -f -- [ 448s] + find /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm -regex '.*\.a$' [ 448s] + xargs rm -f -- [ 448s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/systemd/system/basic.target.wants [ 448s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/systemd/system/sockets.target.wants [ 448s] + 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 [ 449s] + install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/bin [ 449s] + install -m 0755 ./rust_pkgmgr_server /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/bin/pkgmgr-server [ 449s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/etc/package-manager/server [ 449s] + _target= [ 449s] + _symlinks=0 [ 449s] + _files=() [ 449s] + fdupes -q -n -r /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 449s] + read _file [ 449s] + /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 [ 449s] 1+0 records in [ 449s] 1+0 records out [ 449s] 1+0 records in [ 449s] 1+0 records out [ 449s] 1+0 records in [ 449s] 1+0 records out [ 449s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/bin/pkgmgr-server [ 449s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/libtidl_pkgmgr_server.so [ 449s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/libutil_pkgmgr_server.so [ 449s] 0+0 records in [ 449s] 0+0 records out [ 449s] 0+0 records in [ 449s] 0+0 records out [ 449s] 0+0 records in [ 449s] 0+0 records out [ 449s] 797 blocks [ 449s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/pkgmgr-server-debuginfo.manifest [ 449s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/pkgmgr-server-debugsource.manifest [ 449s] + /usr/lib/rpm/check-buildroot [ 449s] + /usr/lib/rpm//brp-compress [ 449s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 450s] + /usr/lib/rpm/brp-python-hardlink [ 450s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 450s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/isu.list [ 450s] ~/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm ~/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 450s] ~/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 450s] + /etc/hal/rootstrap/hal-rootstrap-checker.sh 0 /home/abuild/rpmbuild/SOURCES [ 450s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.TbaMrw [ 450s] + umask 022 [ 450s] + cd /home/abuild/rpmbuild/BUILD [ 450s] + cd pkgmgr-server-1.0.15 [ 450s] + export LD_LIBRARY_PATH=./util_pkgmgr_server/:./tidl_pkgmgr_server/:/usr/lib/rustlib/dylib [ 450s] + LD_LIBRARY_PATH=./util_pkgmgr_server/:./tidl_pkgmgr_server/:/usr/lib/rustlib/dylib [ 450s] + RUST_BACKTRACE=1 [ 450s] + RUST_TEST_THREADS=1 [ 450s] + ./unittests_rust_pkgmgr_server [ 450s] [ 450s] running 35 tests [ 451s] test pkgmgr::server::test::admin_service_tests::run_test ... ok [ 451s] test pkgmgr::server::test::admin_service_tests::stop_test ... ok [ 451s] test pkgmgr::server::test::cache_service_tests::run_test ... ok [ 451s] test pkgmgr::server::test::cache_service_tests::stop_test ... ok [ 452s] test pkgmgr::server::test::delayed_service_tests::run_test ... ok [ 452s] test pkgmgr::server::test::delayed_service_tests::stop_test ... ok [ 453s] test pkgmgr::server::test::info_service_tests::run_test ... ok [ 453s] test pkgmgr::server::test::info_service_tests::stop_test ... ok [ 453s] test pkgmgr::server::test::signal_tests::get_uid_list_test_return_uidvec1 ... ok [ 453s] test pkgmgr::server::test::signal_tests::get_uid_list_test_return_uidvec2 ... ok [ 453s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_handle ... ok [ 453s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null1 ... ok [ 453s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null2 ... ok [ 453s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null3 ... ok [ 453s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null4 ... ok [ 453s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_new_from_all ... ok [ 453s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_new_from_type ... ok [ 453s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_newtype_from_end ... ok [ 453s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_rpk_from_end ... ok [ 453s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_disable1 ... ok [ 453s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_disable2 ... ok [ 453s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_readonly ... ok [ 453s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_someFalse_from_readonly ... ok [ 453s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_someTrue_from_readonly ... ok [ 453s] test pkgmgr::server::test::util_tests::KillApp_test_return_0_from_end ... ok [ 453s] test pkgmgr::server::test::util_tests::KillApp_test_return_0_from_running ... ok [ 453s] test pkgmgr::server::test::util_tests::KillApp_test_return_minus_from_getpid ... ok [ 453s] test pkgmgr::server::test::util_tests::KillApp_test_return_minus_from_terminate ... ok [ 453s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_None ... ok [ 453s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_None_from_end ... ok [ 453s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_Some ... ok [ 453s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_appinfo ... ok [ 453s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_global ... ok [ 453s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_pkgid ... ok [ 453s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_Some_from_end ... ok [ 453s] [ 453s] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.64s [ 453s] [ 453s] + exit 0 [ 453s] Processing files: pkgmgr-server-1.0.15-1.armv7l [ 453s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIiAvPgoJPC9y [ 453s] ZXF1ZXN0PgoJPGFzc2lnbj4KCQk8ZmlsZXN5c3RlbSBwYXRoPSIvdXNyL2Jpbi9w [ 453s] a2dtZ3Itc2VydmVyIiBsYWJlbD0iU3lzdGVtIiBleGVjX2xhYmVsPSJub25lIiAv [ 453s] PgoJCTxmaWxlc3lzdGVtIHBhdGg9Ii92YXIvbGliL3BhY2thZ2UtbWFuYWdlciIg [ 453s] bGFiZWw9IlN5c3RlbSIgLz4KCTwvYXNzaWduPgo8L21hbmlmZXN0Pgo= [ 453s] [ 453s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Yt1XdF [ 453s] + umask 022 [ 453s] + cd /home/abuild/rpmbuild/BUILD [ 453s] + cd pkgmgr-server-1.0.15 [ 453s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/share/licenses/pkgmgr-server [ 453s] + export LC_ALL=C [ 453s] + LC_ALL=C [ 453s] + export LICENSEDIR [ 453s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/share/licenses/pkgmgr-server [ 453s] + cp -pr LICENSE /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/share/licenses/pkgmgr-server [ 453s] + exit 0 [ 453s] Provides: libtidl_pkgmgr_server.so libutil_pkgmgr_server.so pkgmgr-server = 1.0.15-1 pkgmgr-server(armv7l-32) = 1.0.15-1 [ 453s] Requires(interp): /bin/sh [ 453s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 453s] Requires(post): /bin/sh [ 453s] Requires: ld-linux.so.3 ld-linux.so.3(GLIBC_2.4) libaul.so.0 libc.so.6 libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libcapi-base-common.so.0 libdlog.so.0 libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.5) libgio-2.0.so.0 libglib-2.0.so.0 libgobject-2.0.so.0 libgum.so.0 libminizip.so.1 libpkgmgr-info.so.0 libpkgmgr_installer.so.0 libpkgmgr_parser.so.0 librpc-port.so.1 libstd-161dbff30b3b0c00.so libsystemd.so.0 libsystemd.so.0(LIBSYSTEMD_209) libtidl_pkgmgr_server.so libtzplatform-config-2.0.so.2 libtzplatform-config-2.0.so.2(TPC) libutil_pkgmgr_server.so libxml2.so.2 libxml2.so.2(LIBXML2_2.4.30) libxml2.so.2(LIBXML2_2.5.0) libxml2.so.2(LIBXML2_2.6.0) rtld(GNU_HASH) [ 453s] Processing files: pkgmgr-server-debugsource-1.0.15-1.armv7l [ 453s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 453s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 453s] [ 453s] Provides: pkgmgr-server-debugsource = 1.0.15-1 pkgmgr-server-debugsource(armv7l-32) = 1.0.15-1 [ 453s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 453s] Processing files: pkgmgr-server-debuginfo-1.0.15-1.armv7l [ 453s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 453s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 453s] [ 453s] Provides: pkgmgr-server-debuginfo = 1.0.15-1 pkgmgr-server-debuginfo(armv7l-32) = 1.0.15-1 [ 453s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 453s] Recommends: pkgmgr-server-debugsource(armv7l-32) = 1.0.15-1 [ 453s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 453s] Wrote: /home/abuild/rpmbuild/SRPMS/pkgmgr-server-1.0.15-1.src.rpm [ 453s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/pkgmgr-server-1.0.15-1.armv7l.rpm [ 453s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/pkgmgr-server-debugsource-1.0.15-1.armv7l.rpm [ 454s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/pkgmgr-server-debuginfo-1.0.15-1.armv7l.rpm [ 454s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xgENOO [ 454s] + umask 022 [ 454s] + cd /home/abuild/rpmbuild/BUILD [ 454s] + cd pkgmgr-server-1.0.15 [ 454s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 454s] + exit 0 [ 454s] ... checking for files with abuild user/group [ 454s] ... creating baselibs [ 455s] [ 455s] ip-192-168-56-88 finished "build pkgmgr-server.spec" at Mon Dec 16 09:43:19 UTC 2024. [ 455s]