[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.10 [ 0s] Using BUILD_ARCH=riscv64:noarch [ 0s] [ 0s] [ 0s] ip-192-168-56-113 started "build pkgmgr-server.spec" at Mon Dec 16 09:37:25 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/riscv64/RPMS --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241215.110758/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241215.110758/repos/standard/debug/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241216.010411/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241216.010411/repos/standard/debug/ /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_standard/pkgmgr-server-1.0.15-1/pkgmgr-server.spec build ... [ 0s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.10/.srcfiles.cache ... [ 0s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.10/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_standard/riscv64/RPMS [ 1s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241215.110758/repos/standard/packages/ [ 2s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241215.110758/repos/standard/debug/ [ 4s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241216.010411/repos/standard/packages/ [ 11s] /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/ [ 13s] expanding package dependencies... [ 18s] copying qemu [ 18s] [ 18s] registering binfmt handlers for cross build [ 19s] calculating packages to download... [ 38s] [1/1] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241216.010411/repos/standard/packages/riscv64/rust-minizip-sys-0.1.2-1.riscv64.rpm ... [ 38s] [ 38s] reordering...cycle: gio-branding-upstream -> libgio [ 38s] breaking dependency libgio -> gio-branding-upstream [ 38s] cycle: pkgmgr-info -> pkgmgr-info-parser [ 38s] breaking dependency pkgmgr-info -> pkgmgr-info-parser [ 38s] cycle: libgum -> gumd [ 38s] breaking dependency libgum -> gumd [ 38s] cycle: glibc-devel -> libxcrypt-devel [ 38s] breaking dependency libxcrypt-devel -> glibc-devel [ 38s] cycle: rust -> rust-devel [ 38s] breaking dependency rust-devel -> rust [ 38s] cycle: libsoftokn3 -> nss [ 38s] breaking dependency nss -> libsoftokn3 [ 38s] reordering done [ 40s] deleting coregl [ 40s] deleting dbus-devel [ 40s] deleting ecore-audio [ 40s] deleting ecore-audio-devel [ 40s] deleting ecore-buffer [ 40s] deleting ecore-buffer-devel [ 40s] deleting ecore-con [ 40s] deleting ecore-con-devel [ 40s] deleting ecore-core [ 40s] deleting ecore-core-devel [ 40s] deleting ecore-devel [ 40s] deleting ecore-evas [ 40s] deleting ecore-evas-devel [ 40s] deleting ecore-fb [ 40s] deleting ecore-fb-devel [ 40s] deleting ecore-file [ 40s] deleting ecore-file-devel [ 40s] deleting ecore-imf [ 40s] deleting ecore-imf-devel [ 40s] deleting ecore-imf-evas [ 40s] deleting ecore-imf-evas-devel [ 40s] deleting ecore-input [ 40s] deleting ecore-input-devel [ 40s] deleting ecore-input-evas [ 40s] deleting ecore-input-evas-devel [ 41s] deleting ecore-ipc [ 41s] deleting ecore-ipc-devel [ 41s] deleting ecore-wayland [ 41s] /sbin/ldconfig: relative path `0' used to build cache [ 41s] warning: %postun(ecore-wayland-1.25.1-0.riscv64) scriptlet failed, exit status 1 [ 41s] deleting ecore-wayland-devel [ 41s] deleting ecore-wl2 [ 41s] deleting ecore-wl2-devel [ 41s] deleting ector [ 41s] deleting ector-devel [ 41s] deleting edje [ 41s] deleting edje-devel [ 41s] deleting edje-tools [ 41s] deleting eet [ 42s] deleting eet-devel [ 42s] deleting eeze [ 42s] deleting eeze-devel [ 42s] deleting efl [ 42s] deleting efl-devel [ 42s] deleting efreet [ 42s] deleting efreet-devel [ 42s] deleting eina [ 42s] deleting eina-devel [ 42s] deleting eio [ 43s] deleting eio-devel [ 43s] deleting eldbus [ 43s] deleting eldbus-devel [ 43s] deleting elementary [ 43s] deleting elementary-devel [ 43s] deleting embryo [ 43s] deleting embryo-devel [ 43s] deleting emile [ 43s] deleting emile-devel [ 43s] deleting emotion [ 44s] deleting emotion-devel [ 44s] deleting eo [ 44s] deleting eo-devel [ 44s] deleting ethumb [ 44s] deleting ethumb-devel [ 44s] deleting evas [ 44s] deleting evas-devel [ 44s] deleting fontconfig [ 45s] deleting fontconfig-devel [ 45s] deleting freetype2-devel [ 45s] deleting fribidi [ 45s] deleting fribidi-devel [ 45s] deleting giflib [ 45s] deleting gtest [ 45s] /sbin/ldconfig: relative path `0' used to build cache [ 45s] warning: %postun(gtest-1.14.0-0.riscv64) scriptlet failed, exit status 1 [ 45s] deleting gtest-devel [ 45s] deleting hal-api-common [ 46s] deleting hal-api-tbm [ 46s] /var/tmp/rpm-tmp.M1hi0O: line 2: /usr/bin/hal-compatibility-checker: No such file or directory [ 46s] warning: %postun(hal-api-tbm-0.1.1-1.riscv64) scriptlet failed, exit status 127 [ 46s] deleting hal-api-tdm [ 46s] /var/tmp/rpm-tmp.nMr4Do: line 2: /usr/bin/hal-compatibility-checker: No such file or directory [ 46s] warning: %postun(hal-api-tdm-0.3.0-1.riscv64) scriptlet failed, exit status 127 [ 46s] deleting harfbuzz-devel [ 46s] deleting libdrm [ 46s] deleting libfreetype [ 47s] deleting libharfbuzz [ 47s] deleting libhyphen [ 47s] deleting libicu [ 47s] deleting libicu-devel [ 47s] deleting libjpeg [ 48s] deleting libjpeg-devel [ 48s] deleting libogg [ 48s] deleting libogg-devel [ 48s] deleting libpng [ 48s] deleting libpng-devel [ 48s] deleting libsndfile [ 48s] deleting libsndfile-devel [ 48s] deleting libtbm [ 49s] /sbin/ldconfig: relative path `0' used to build cache [ 49s] warning: %postun(libtbm-4.5.5-1.riscv64) scriptlet failed, exit status 1 [ 49s] deleting libtbm-devel [ 49s] deleting libtdm [ 49s] /sbin/ldconfig: relative path `0' used to build cache [ 49s] warning: %postun(libtdm-3.2.0-0.riscv64) scriptlet failed, exit status 1 [ 49s] deleting libtdm-client [ 49s] deleting libtdm-client-devel [ 49s] deleting libtdm-devel [ 49s] deleting libtiff [ 49s] deleting libtpl-egl [ 50s] deleting libuuid-devel [ 50s] deleting libvorbis [ 50s] deleting libvorbis-devel [ 50s] deleting libvorbisenc [ 50s] deleting libvorbisfile [ 50s] deleting libwayland-client [ 51s] deleting libwayland-cursor [ 51s] deleting libwayland-egl [ 51s] deleting libwayland-egl-tizen [ 51s] deleting libwayland-egl-tizen-devel [ 51s] deleting libwayland-extension-client [ 52s] deleting libwayland-server [ 52s] deleting libwayland-tbm-client [ 52s] deleting libwayland-tbm-devel [ 52s] deleting libwayland-tbm-server [ 53s] deleting libwebp [ 53s] deleting libxkbcommon [ 53s] deleting libxkbcommon-devel [ 53s] deleting lottie-player [ 53s] deleting lottie-player-devel [ 53s] deleting lua [ 53s] deleting lua-devel [ 53s] deleting opus [ 53s] deleting opus-devel [ 54s] deleting pixman [ 54s] deleting thorvg [ 54s] deleting thorvg-devel [ 54s] deleting tizen-core [ 54s] deleting tizen-core-devel [ 54s] deleting ttrace-devel [ 54s] deleting wayland-devel [ 54s] deleting wayland-extension-client-devel [ 55s] [1/241] cumulate default-ac-domains-0.1-1.1 [ 55s] [2/241] keeping dlog-config-persistent-logs-9.0.1-1 [ 55s] [3/241] keeping libmagic-data-5.45-1.4 [ 55s] [4/241] keeping pcre2-syntax-10.40-1 [ 55s] [5/241] keeping python3-pyparsing-3.1.1-1.1 [ 55s] [6/241] keeping python3-six-1.16.0-1.1 [ 55s] [7/241] cumulate rust-std-static-1.74.0-1 [ 55s] [8/241] keeping setup-0.9-1.1 [ 55s] [9/241] keeping filesystem-3.1-1.1 [ 55s] [10/241] keeping python3-packaging-23.2-1.1 [ 55s] [11/241] keeping glibc-2.39-1.6 [ 55s] [12/241] keeping bash-3.2.57-1.1 [ 55s] [13/241] keeping capi-base-common-0.4.82-1 [ 55s] [14/241] keeping cpio-2.8-1.1 [ 55s] [15/241] keeping diffutils-3.10-1.1 [ 56s] [16/241] cumulate fdupes-2.2.1-1.5 [ 56s] [17/241] keeping findutils-4.3.8-1.4 [ 56s] [18/241] keeping gdbm-1.8.3-1.6 [ 56s] [19/241] keeping hostname-3.23-1.1 [ 56s] [20/241] keeping iniparser-4.1-1.1 [ 56s] [21/241] keeping libatomic-14.2.0-1.6 [ 56s] [22/241] keeping libattr-2.5.1-1.5 [ 56s] [23/241] keeping libblkid-2.39.3-1.4 [ 56s] [24/241] keeping libbz2-1.0.8-1.5 [ 56s] [25/241] keeping libexpat-2.6.2-1.5 [ 56s] [26/241] keeping libffi-3.4.2-1.5 [ 56s] [27/241] keeping libfreebl3-3.98-1.6 [ 56s] [28/241] keeping libgcc-14.2.0-1.6 [ 56s] [29/241] keeping libgomp-14.2.0-1.6 [ 56s] [30/241] keeping libitm-14.2.0-1.6 [ 56s] [31/241] cumulate libjson-0.17-0 [ 56s] [32/241] keeping libltdl-2.4.7-1.6 [ 56s] [33/241] keeping liblua-5.1.5-1.4 [ 56s] [34/241] keeping liblzma-5.4.5-1.6 [ 56s] [35/241] keeping libopenssl11-1.1.1w-1.5 [ 56s] [36/241] keeping libopenssl3-3.0.13-1.6 [ 56s] [37/241] keeping libpcre-8.45-1.4 [ 56s] [38/241] keeping libpopt-1.16-1.4 [ 56s] [39/241] keeping libpython3_121_0-3.12.0-1.5 [ 56s] [40/241] keeping libsmack-1.3.1-1.4 [ 56s] [41/241] keeping libsmartcols-2.39.3-1.4 [ 56s] [42/241] keeping libsqlite-3.44.0-1.5 [ 56s] [43/241] keeping libuuid-2.39.3-1.4 [ 56s] [44/241] keeping libxcrypt-4.4.36-1.5 [ 56s] [45/241] keeping libzstd1-1.5.5-1.5 [ 56s] [46/241] keeping m4-1.4.19-1.1 [ 56s] [47/241] keeping net-tools-2.0_20121208git-1.3 [ 56s] [48/241] keeping nspr-4.35-1.4 [ 56s] [49/241] keeping patch-2.7.6-1.4 [ 56s] [50/241] keeping pkg-config-0.29.2-1.5 [ 56s] [51/241] keeping sed-4.1c-1.4 [ 56s] [52/241] keeping update-alternatives-1.22.2-1.1 [ 56s] [53/241] keeping which-2.17-1.1 [ 56s] [54/241] cumulate xdgmime-0.0.17-1.1 [ 56s] [55/241] keeping zlib-1.3-1.5 [ 56s] [56/241] keeping pcre2-10.40-1 [ 56s] [57/241] keeping pcre2-utf16-10.40-1 [ 56s] [58/241] keeping pcre2-utf32-10.40-1 [ 56s] [59/241] keeping build-compare-2023.06.18-1.1 [ 56s] [60/241] keeping hal-rootstrap-checker-0.1.0-1.1 [ 56s] [61/241] keeping qemu-linux-user-x86_64-cross-5.2.0.2-21.1 [ 56s] [62/241] cumulate vconf-internal-keys-devel-0.0.191-0 [ 56s] [63/241] keeping binutils-libs-2.43-1.6 [ 57s] [64/241] keeping capi-base-common-devel-0.4.82-1 [ 57s] [65/241] keeping coreutils-6.9-14.1 [ 57s] [66/241] keeping cpp-14.2.0-1.6 [ 57s] [67/241] keeping gawk-3.1.5-1.1 [ 57s] [68/241] keeping gcc-c++-14.2.0-1.6 [ 57s] [69/241] keeping grep-2.5.2-1.4 [ 57s] [70/241] keeping libacl-2.3.2-1.4 [ 57s] [71/241] keeping libblkid-devel-2.39.3-1.4 [ 57s] [72/241] keeping libcap-2.69-1.5 [ 57s] [73/241] keeping libelf-0.189-1.6 [ 57s] [74/241] keeping libffi-devel-3.4.2-1.5 [ 57s] [75/241] keeping libgfortran-14.2.0-1.6 [ 57s] [76/241] keeping libmount-2.39.3-1.4 [ 57s] [77/241] keeping libstdc++-14.2.0-1.6 [ 57s] [78/241] keeping make-4.4-1.4 [ 57s] [79/241] cumulate minizip-1.3-1.5 [ 57s] [80/241] keeping nss-certs-3.98-1.6 [ 57s] [81/241] cumulate rust-std-shared-1.74.0-1 [ 57s] [82/241] keeping smack-1.3.1-1.4 [ 57s] [83/241] cumulate sqlite-3.44.0-1.5 [ 57s] [84/241] cumulate tidl-2.3.0-1 [ 57s] [85/241] cumulate unzip-610c25-1.1 [ 57s] [86/241] cumulate xdgmime-devel-0.0.17-1.1 [ 58s] [87/241] cumulate xz-devel-5.4.5-1.6 [ 58s] [88/241] keeping bzip2-1.0.8-1.5 [ 58s] [89/241] keeping libfdisk-2.39.3-1.4 [ 58s] [90/241] keeping libglib-2.80.5-0 [ 58s] [91/241] keeping libmagic-5.45-1.4 [ 58s] [92/241] keeping libxml2-2.12.5-1.5 [ 58s] [93/241] keeping shadow-utils-4.1.4.2-7.1 [ 58s] [94/241] keeping xz-5.4.5-1.6 [ 58s] [95/241] keeping libkmod-31-1.1 [ 58s] [96/241] keeping perl-5.38.0-1.5 [ 58s] [97/241] keeping pcre2-devel-10.40-1 [ 58s] [98/241] keeping build-mkbaselibs-20120927-1.1 [ 58s] [99/241] keeping libstdc++-devel-14.2.0-1.6 [ 58s] [100/241] keeping linux-glibc-devel-6.6-1.5 [ 58s] [101/241] keeping acl-2.3.2-1.4 [ 58s] [102/241] keeping binutils-2.43-1.6 [ 58s] [103/241] keeping file-5.45-1.4 [ 58s] [104/241] keeping libcap-tools-2.69-1.5 [ 58s] [105/241] keeping libgmodule-2.80.5-0 [ 58s] [106/241] keeping libgthread-2.80.5-0 [ 58s] [107/241] cumulate minizip-devel-1.3-1.5 [ 58s] [108/241] keeping tar-1.17-1.1 [ 58s] [109/241] keeping terminfo-base-full-6.4-1.6 [ 58s] [110/241] keeping autoconf-2.71-1.7 [ 58s] [111/241] keeping glibc-locale-2.39-1.6 [ 58s] [112/241] keeping gzip-1.3.12-1.4 [ 58s] [113/241] keeping libcc1-14.2.0-1.6 [ 58s] [114/241] keeping libgobject-2.80.5-0 [ 58s] [115/241] keeping libmount-devel-2.39.3-1.4 [ 58s] [116/241] keeping libubsan-14.2.0-1.6 [ 58s] [117/241] cumulate tizen-platform-config-5.0-1 [ 58s] [118/241] cumulate gettext-runtime-0.21.1-2.5 [ 58s] [119/241] keeping pam-1.1.6-1.4 [ 58s] [120/241] keeping tzdata-2023c-1.1 [ 58s] [121/241] keeping dlog-9.0.1-1 [ 58s] [122/241] cumulate cynara-db-migration-0.19.5-1 [ 58s] [123/241] keeping libdw-0.189-1.6 [ 58s] [124/241] keeping ttrace-1.1.0-1 [ 58s] [125/241] keeping libarchive-3.7.2-1.5 [ 58s] [126/241] keeping shared-mime-info-1.7-0 [ 58s] [127/241] keeping dlog-logger-9.0.1-1 [ 59s] [128/241] cumulate libtzplatform-config-5.0-1 [ 59s] [129/241] keeping automake-1.16.5-1.6 [ 59s] [130/241] keeping libasm-0.189-1.6 [ 59s] [131/241] cumulate libncurses5-6.4-1.6 [ 59s] [132/241] keeping libncurses6-6.4-1.6 [ 59s] [133/241] keeping build-20120927-1.1 [ 59s] [134/241] keeping libgirepository2-2.80.5-0 [ 59s] [135/241] keeping libsystemd-244-0 [ 59s] [136/241] cumulate gettext-tools-0.21.1-2.5 [ 59s] [137/241] keeping security-config-1.0-1 [ 59s] [138/241] keeping gcc-14.2.0-1.6 [ 59s] [139/241] keeping libncurses-6.4-1.6 [ 59s] [140/241] keeping dbus-libs-1.12.20-3 [ 59s] [141/241] keeping less-643-1.1 [ 59s] [142/241] keeping libreadline-5.2-1.5 [ 59s] [143/241] cumulate libtzplatform-config-devel-5.0-1 [ 59s] [144/241] keeping qemu-accel-x86_64-riscv64-0.4-1.1 [ 59s] [145/241] keeping libtool-2.4.7-1.6 [ 59s] [146/241] cumulate ncurses-devel-6.4-1.6 [ 59s] [147/241] keeping elfutils-0.189-1.6 [ 59s] [148/241] keeping libdlog-9.0.1-1 [ 59s] [149/241] keeping cmake-3.25.2-1.5 [ 59s] [150/241] keeping capi-system-resource-1.0.0-0 [ 59s] [151/241] cumulate readline-devel-5.2-1.5 [ 59s] [152/241] keeping libdlog-devel-9.0.1-1 [ 59s] [153/241] cumulate libxml2-tools-2.12.5-1.5 [ 60s] [154/241] cumulate parcel-0.17.3-0 [ 60s] [155/241] cumulate libcynara-commons-0.19.5-1 [ 60s] [156/241] cumulate capi-system-info-0.5.2-1 [ 60s] [157/241] keeping python3-base-3.12.0-1.5 [ 60s] [158/241] keeping util-linux-2.39.3-1.4 [ 60s] [159/241] keeping systemd-244-0 [ 60s] [160/241] keeping python3-3.12.0-1.1 [ 60s] [161/241] cumulate capi-system-resource-devel-1.0.0-0 [ 60s] [162/241] cumulate parcel-devel-0.17.3-0 [ 60s] [163/241] cumulate pkgmgr-0.20.21-0 [ 60s] [164/241] keeping systemd-devel-244-0 [ 60s] [165/241] keeping util-linux-su-2.39.3-1.4 [ 60s] [166/241] cumulate libcynara-creds-commons-0.19.5-1 [ 60s] [167/241] cumulate libcynara-session-0.19.5-1 [ 61s] [168/241] cumulate libcynara-client-0.19.5-1 [ 61s] [169/241] keeping python3-setuptools-69.0.2-1.1 [ 61s] [170/241] cumulate pkgmgr-types-devel-0.20.21-0 [ 61s] [171/241] cumulate libcynara-creds-socket-0.19.5-1 [ 61s] [172/241] cumulate dbus-1.12.20-3 [ 61s] [173/241] keeping libxcrypt-devel-4.4.36-1.5 [ 61s] [174/241] cumulate rust-devel-1.74.0-1 [ 61s] [175/241] keeping nss-3.98-1.6 [ 61s] [176/241] keeping libgio-2.80.5-0 [ 61s] [177/241] keeping gio-branding-upstream-2.80.5-0 [ 61s] [178/241] cumulate libjson-glib-1.8.0-0 [ 61s] [179/241] keeping glibc-devel-2.39-1.6 [ 61s] [180/241] keeping libsoftokn3-3.98-1.6 [ 61s] [181/241] cumulate rust-1.74.0-1 [ 61s] [182/241] keeping glib2-tools-2.80.5-0 [ 61s] [183/241] cumulate libgum-1.0.8-0 [ 61s] [184/241] cumulate libsyscommon-5.0.0-0 [ 62s] [185/241] cumulate buxton2-1.8.10-0 [ 62s] [186/241] keeping rpm-4.14.1.1-1.6 [ 62s] [187/241] cumulate rust-anstyle-0.3.5-1 [ 62s] [188/241] cumulate rust-cfg-if-1.0.0-1 [ 62s] [189/241] cumulate rust-downcast-0.11.0-1 [ 62s] [190/241] cumulate rust-either-1.8.1-1 [ 62s] [191/241] cumulate rust-libc-0.2.139-1 [ 62s] [192/241] cumulate rust-libm-0.2.6-1 [ 62s] [193/241] cumulate rust-minizip-sys-0.1.2-1 [ 62s] [194/241] cumulate rust-normalize-line-endings-0.3.0-1 [ 62s] [195/241] cumulate rust-scopeguard-1.1.0-1 [ 62s] [196/241] cumulate rust-termtree-0.4.1-1 [ 62s] [197/241] cumulate rust-unicode-ident-1.0.6-1 [ 62s] [198/241] keeping zlib-devel-1.3-1.5 [ 62s] [199/241] cumulate rust-difflib-0.4.0-1 [ 62s] [200/241] cumulate rust-fragile-2.0.0-1 [ 62s] [201/241] cumulate rust-predicates-core-1.0.6-1 [ 62s] [202/241] cumulate rust-regex-syntax-0.6.28-1 [ 62s] [203/241] cumulate sqlite-devel-3.44.0-1.5 [ 62s] [204/241] cumulate vconf-compat-1.8.10-0 [ 62s] [205/241] cumulate bundle-0.17.3-0 [ 62s] [206/241] cumulate gumd-1.0.8-0 [ 62s] [207/241] keeping rpm-build-4.14.1.1-1.6 [ 62s] [208/241] cumulate bundle-devel-0.17.3-0 [ 62s] [209/241] cumulate rust-lock_api-0.4.9-1 [ 63s] [210/241] cumulate rust-num-traits-0.2.15-1 [ 63s] [211/241] cumulate rust-glib-sys-0.17.10-1 [ 63s] [212/241] cumulate rust-itertools-0.10.5-1 [ 63s] [213/241] cumulate rust-proc-macro2-1.0.51-1 [ 63s] [214/241] cumulate rust-regex-1.7.1-1 [ 63s] [215/241] cumulate rust-predicates-tree-1.0.9-1 [ 63s] [216/241] cumulate libxml2-devel-2.12.5-1.5 [ 63s] [217/241] cumulate libstorage-1.0.0-0 [ 63s] [218/241] keeping glib2-devel-2.80.5-0 [ 63s] [219/241] cumulate pkgmgr-info-0.28.5-1 [ 63s] [220/241] cumulate libgum-devel-1.0.8-0 [ 63s] [221/241] cumulate pkgmgr-info-devel-0.28.5-1 [ 63s] [222/241] cumulate rust-float-cmp-0.9.0-1 [ 63s] [223/241] cumulate rust-spin-0.9.5-1 [ 63s] [224/241] cumulate vconf-compat-devel-1.8.10-0 [ 63s] [225/241] cumulate pkgmgr-info-parser-0.28.5-1 [ 63s] [226/241] cumulate rust-quote-1.0.23-1 [ 63s] [227/241] cumulate aul-0.65.1-1 [ 63s] [228/241] cumulate rust-lazy_static-1.4.0-1 [ 63s] [229/241] cumulate pkgmgr-info-parser-devel-0.28.5-1 [ 63s] [230/241] cumulate rust-syn-1.0.107-1 [ 63s] [231/241] cumulate aul-devel-0.65.1-1 [ 63s] [232/241] cumulate rust-predicates-3.0.4-1 [ 63s] [233/241] cumulate rpc-port-1.19.1-0 [ 63s] [234/241] cumulate rpc-port-devel-1.19.1-0 [ 63s] [235/241] cumulate rust-mockall_derive-0.11.4-1 [ 63s] [236/241] cumulate rust-mockall_double-0.3.0-1 [ 63s] [237/241] cumulate pkgmgr-client-0.20.21-0 [ 63s] [238/241] cumulate pkgmgr-installer-0.20.21-0 [ 63s] [239/241] cumulate pkgmgr-installer-devel-0.20.21-0 [ 63s] [240/241] cumulate pkgmgr-client-devel-0.20.21-0 [ 63s] [241/241] cumulate rust-mockall-0.11.4-1 [ 63s] now installing cumulated packages [ 64s] Preparing... ######################################## [ 64s] Updating / installing... [ 64s] rust-std-shared-1.74.0-1 ######################################## [ 65s] parcel-0.17.3-0 ######################################## [ 65s] capi-system-info-0.5.2-1 ######################################## [ 65s] pkgmgr-0.20.21-0 ######################################## [ 65s] /var/tmp/rpm-tmp.YxNu2z: line 9: /etc/tizen-platform.conf: No such file or directory [ 65s] warning: %post(pkgmgr-0.20.21-0.riscv64) scriptlet failed, exit status 1 [ 65s] rust-cfg-if-1.0.0-1 ######################################## [ 65s] tizen-platform-config-5.0-1 ######################################## [ 67s] libtzplatform-config-5.0-1 ######################################## [ 67s] minizip-1.3-1.5 ######################################## [ 67s] rust-unicode-ident-1.0.6-1 ######################################## [ 67s] rust-proc-macro2-1.0.51-1 ######################################## [ 68s] rust-quote-1.0.23-1 ######################################## [ 69s] rust-syn-1.0.107-1 ######################################## [ 69s] rust-predicates-core-1.0.6-1 ######################################## [ 69s] xdgmime-0.0.17-1.1 ######################################## [ 69s] xdgmime-devel-0.0.17-1.1 ######################################## [ 69s] rust-mockall_derive-0.11.4-1 ######################################## [ 70s] libtzplatform-config-devel-5.0-1 ######################################## [ 70s] pkgmgr-types-devel-0.20.21-0 ######################################## [ 70s] parcel-devel-0.17.3-0 ######################################## [ 82s] rust-devel-1.74.0-1 ######################################## [ 82s] rust-anstyle-0.3.5-1 ######################################## [ 82s] rust-downcast-0.11.0-1 ######################################## [ 82s] rust-either-1.8.1-1 ######################################## [ 83s] rust-itertools-0.10.5-1 ######################################## [ 83s] rust-libc-0.2.139-1 ######################################## [ 83s] rust-libm-0.2.6-1 ######################################## [ 83s] rust-num-traits-0.2.15-1 ######################################## [ 84s] rust-float-cmp-0.9.0-1 ######################################## [ 84s] rust-normalize-line-endings-0.3.0-1 ######################################## [ 84s] rust-scopeguard-1.1.0-1 ######################################## [ 84s] rust-lock_api-0.4.9-1 ######################################## [ 84s] rust-spin-0.9.5-1 ######################################## [ 84s] rust-lazy_static-1.4.0-1 ######################################## [ 85s] rust-termtree-0.4.1-1 ######################################## [ 85s] rust-predicates-tree-1.0.9-1 ######################################## [ 85s] rust-difflib-0.4.0-1 ######################################## [ 85s] rust-fragile-2.0.0-1 ######################################## [ 85s] rust-regex-syntax-0.6.28-1 ######################################## [ 86s] rust-regex-1.7.1-1 ######################################## [ 86s] rust-predicates-3.0.4-1 ######################################## [ 86s] libjson-glib-1.8.0-0 ######################################## [ 86s] bundle-0.17.3-0 ######################################## [ 86s] bundle-devel-0.17.3-0 ######################################## [ 86s] capi-system-resource-devel-1.0.0-0 ######################################## [ 86s] libxml2-tools-2.12.5-1.5 ######################################## [ 86s] libncurses5-6.4-1.6 ######################################## [ 87s] ncurses-devel-6.4-1.6 ######################################## [ 87s] readline-devel-5.2-1.5 ######################################## [ 87s] cynara-db-migration-0.19.5-1 ######################################## [ 87s] gettext-runtime-0.21.1-2.5 ######################################## [ 87s] xz-devel-5.4.5-1.6 ######################################## [ 87s] libxml2-devel-2.12.5-1.5 ######################################## [ 87s] sqlite-3.44.0-1.5 ######################################## [ 87s] vconf-internal-keys-devel-0.0.191-0 ######################################## [ 87s] libjson-0.17-0 ######################################## [ 87s] libsyscommon-5.0.0-0 ######################################## [ 92s] rust-std-static-1.74.0-1 ######################################## [ 92s] default-ac-domains-0.1-1.1 ######################################## [ 93s] libcynara-commons-0.19.5-1 ######################################## [ 93s] libcynara-client-0.19.5-1 ######################################## [ 93s] libcynara-session-0.19.5-1 ######################################## [ 93s] dbus-1.12.20-3 ######################################## [ 94s] libgum-1.0.8-0 ######################################## [ 94s] gumd-1.0.8-0 ######################################## [ 94s] buxton2-1.8.10-0 ######################################## [ 95s] vconf-compat-1.8.10-0 ######################################## [ 95s] libstorage-1.0.0-0 ######################################## [ 95s] vconf-compat-devel-1.8.10-0 ######################################## [ 95s] libcynara-creds-commons-0.19.5-1 ######################################## [ 95s] libcynara-creds-socket-0.19.5-1 ######################################## [ 95s] pkgmgr-info-parser-0.28.5-1 ######################################## [ 95s] pkgmgr-info-0.28.5-1 ######################################## [ 96s] aul-0.65.1-1 ######################################## [ 96s] rpc-port-1.19.1-0 ######################################## [ 96s] pkgmgr-client-0.20.21-0 ######################################## [ 96s] pkgmgr-installer-0.20.21-0 ######################################## [ 97s] pkgmgr-info-devel-0.28.5-1 ######################################## [ 97s] pkgmgr-info-parser-devel-0.28.5-1 ######################################## [ 97s] pkgmgr-installer-devel-0.20.21-0 ######################################## [ 97s] pkgmgr-client-devel-0.20.21-0 ######################################## [ 97s] rpc-port-devel-1.19.1-0 ######################################## [ 97s] aul-devel-0.65.1-1 ######################################## [ 97s] libgum-devel-1.0.8-0 ######################################## [ 100s] rust-1.74.0-1 ######################################## [ 100s] sqlite-devel-3.44.0-1.5 ######################################## [ 101s] gettext-tools-0.21.1-2.5 ######################################## [ 101s] rust-mockall-0.11.4-1 ######################################## [ 102s] rust-glib-sys-0.17.10-1 ######################################## [ 103s] rust-mockall_double-0.3.0-1 ######################################## [ 103s] minizip-devel-1.3-1.5 ######################################## [ 103s] rust-minizip-sys-0.1.2-1 ######################################## [ 104s] unzip-610c25-1.1 ######################################## [ 104s] tidl-2.3.0-1 ######################################## [ 104s] fdupes-2.2.1-1.5 ######################################## [ 105s] Running capi-system-info %posttrans script [ 105s] I/O warning : failed to load external entity "/etc/config/model-config.xml" [ 105s] iniparser: cannot open /etc/info.ini [ 106s] Running pkgmgr %posttrans script [ 106s] /var/tmp/rpm-tmp.aAdshn: line 5: pkg_initdb: command not found [ 106s] /var/tmp/rpm-tmp.aAdshn: line 6: install_preload_pkg: command not found [ 106s] /var/tmp/rpm-tmp.aAdshn: line 13: pkgcmd: command not found [ 106s] /var/tmp/rpm-tmp.aAdshn: line 15: /etc/package-manager/pkgmgr-label-initial-image.sh: No such file or directory [ 106s] Running buxton2 %posttrans script [ 106s] chmod: cannot access `/etc/buxton2/*': No such file or directory [ 106s] /etc/buxton2/*: No such file or directory [ 106s] chmod: cannot access `/var/lib/buxton2/*': No such file or directory [ 106s] /var/lib/buxton2/*: No such file or directory [ 108s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.10/etc/nsswitch.conf... [ 108s] now finalizing build dir... [ 111s] ----------------------------------------------------------------- [ 111s] ----- building pkgmgr-server.spec (user abuild) [ 111s] ----------------------------------------------------------------- [ 111s] ----------------------------------------------------------------- [ 112s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_costomized_smp_mflags -j20' --define '_srcdefattr (-,root,root)' --nosignature --target=riscv64-tizen-linux --define '_build_create_debug 1' -ba /home/abuild/rpmbuild/SOURCES/pkgmgr-server.spec [ 112s] Building target platforms: riscv64-tizen-linux [ 112s] Building for target riscv64-tizen-linux [ 112s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1WpKXt [ 112s] + umask 022 [ 112s] + cd /home/abuild/rpmbuild/BUILD [ 112s] + cd /home/abuild/rpmbuild/BUILD [ 112s] + rm -rf pkgmgr-server-1.0.15 [ 112s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/pkgmgr-server-1.0.15.tar.gz [ 112s] + /bin/tar -xof - [ 112s] + STATUS=0 [ 112s] + '[' 0 -ne 0 ']' [ 112s] + cd pkgmgr-server-1.0.15 [ 112s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 112s] + cp /home/abuild/rpmbuild/SOURCES/pkgmgr-server.manifest . [ 112s] + tidlc -s -l C -e -i ./tidl_pkgmgr_server/PkgMgr.tidl -o tidl_pkgmgr_server [ 112s] + mv tidl_pkgmgr_server.c tidl_pkgmgr_server.h ./tidl_pkgmgr_server/ [ 112s] + exit 0 [ 112s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.U0ShQD [ 112s] + umask 022 [ 112s] + cd /home/abuild/rpmbuild/BUILD [ 112s] + cd pkgmgr-server-1.0.15 [ 112s] + ref=/usr/lib/rpm [ 112s] + mints=0 [ 112s] + case $(uname -m) in [ 112s] ++ uname -m [ 112s] + mints=20160911 [ 112s] + for s in guess sub [ 112s] ++ find -maxdepth 8 -name config.guess [ 112s] + for s in guess sub [ 112s] ++ find -maxdepth 8 -name config.sub [ 112s] + LANG=C [ 112s] + export LANG [ 112s] + unset DISPLAY [ 112s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g' [ 112s] + export CFLAGS [ 112s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g' [ 112s] + export CXXFLAGS [ 112s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I%_fmoddir' [ 112s] + export FFLAGS [ 112s] + LDFLAGS= [ 112s] + export LDFLAGS [ 112s] + export 'CFLAGS=-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -DTIZEN_DEBUG_ENABLE' [ 112s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -DTIZEN_DEBUG_ENABLE' [ 112s] + export 'CXXFLAGS=-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -DTIZEN_DEBUG_ENABLE' [ 112s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -DTIZEN_DEBUG_ENABLE' [ 112s] + export 'FFLAGS=-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 112s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 112s] ++ echo 1.0.15 [ 112s] ++ awk 'BEGIN {FS="."}{print $1}' [ 112s] + MAJORVER=1 [ 112s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -DTIZEN_DEBUG_ENABLE' [ 112s] + export CFLAGS [ 112s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -DTIZEN_DEBUG_ENABLE' [ 112s] + export CXXFLAGS [ 112s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 112s] + export FFLAGS [ 112s] + /usr/bin/cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64 -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DCMAKE_SKIP_RPATH:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -DFULLVER=1.0.15 -DMAJORVER=1 -DUNITDIR=/usr/lib/systemd/system . [ 113s] -- The C compiler identification is GNU 14.2.0 [ 113s] -- The CXX compiler identification is GNU 14.2.0 [ 113s] -- Detecting C compiler ABI info [ 113s] -- Detecting C compiler ABI info - done [ 113s] -- Check for working C compiler: /bin/cc - skipped [ 113s] -- Detecting C compile features [ 113s] -- Detecting C compile features - done [ 113s] -- Detecting CXX compiler ABI info [ 114s] -- Detecting CXX compiler ABI info - done [ 114s] -- Check for working CXX compiler: /bin/c++ - skipped [ 114s] -- Detecting CXX compile features [ 114s] -- Detecting CXX compile features - done [ 114s] -- Found PkgConfig: /bin/pkg-config (found version "0.29.2") [ 114s] -- Checking for module 'rpc-port' [ 114s] -- Found rpc-port, version [ 115s] -- Checking for module 'dlog' [ 116s] -- Found dlog, version 1.0 [ 117s] -- Checking for module 'gio-2.0' [ 117s] -- Found gio-2.0, version 2.80.5 [ 118s] -- Checking for module 'glib-2.0' [ 118s] -- Found glib-2.0, version 2.80.5 [ 119s] -- Checking for module 'capi-base-common' [ 119s] -- Found capi-base-common, version 0.4.82 [ 120s] -- Checking for module 'pkgmgr' [ 120s] -- Found pkgmgr, version 0.20.21 [ 121s] -- Checking for module 'libtzplatform-config' [ 121s] -- Found libtzplatform-config, version 2.0 [ 122s] -- Configuring done [ 122s] -- Generating done [ 122s] CMake Warning: [ 122s] Manually-specified variables were not used by the project: [ 122s] [ 122s] FULLVER [ 122s] INCLUDE_INSTALL_DIR [ 122s] LIB_SUFFIX [ 122s] MAJORVER [ 122s] SHARE_INSTALL_PREFIX [ 122s] SYSCONF_INSTALL_DIR [ 122s] [ 122s] [ 122s] -- Build files have been written to: /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 122s] + make -j8 [ 122s] /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 [ 122s] /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 [ 122s] make -f CMakeFiles/Makefile2 all [ 122s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 122s] make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/depend [ 122s] make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/depend [ 122s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 122s] 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= [ 122s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 122s] 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= [ 122s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 122s] make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build [ 122s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 122s] make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build [ 122s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 122s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 122s] [ 25%] Building C object tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o [ 122s] cd /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server && /bin/cc -DLIBDIR=\"/usr/lib64\" -Dtidl_pkgmgr_server_EXPORTS -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server/SYSTEM -I/usr/include/rpc-port -I/usr/include/dlog -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -fPIC -I/usr/include/rpc-port -I/usr/include/dlog -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -MD -MT tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o -MF CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o.d -o CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o -c /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server/tidl_pkgmgr_server.c [ 122s] [ 50%] Building C object util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o [ 122s] cd /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server && /bin/cc -DLIBDIR=\"/usr/lib64\" -Dutil_pkgmgr_server_EXPORTS -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server/SYSTEM -I/usr/include/rpc-port -I/usr/include/dlog -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -fPIC -I/usr/include/rpc-port -I/usr/include/dlog -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/ -MD -MT util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o -MF CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o.d -o CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o -c /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server/util_pkgmgr_server.c [ 122s] [ 75%] Linking C shared library libutil_pkgmgr_server.so [ 122s] 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 [ 122s] /bin/cc -fPIC -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -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 [ 122s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 122s] [ 75%] Built target util_pkgmgr_server [ 124s] [100%] Linking C shared library libtidl_pkgmgr_server.so [ 124s] 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 [ 124s] /bin/cc -fPIC -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -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 [ 124s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 124s] [100%] Built target tidl_pkgmgr_server [ 124s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 124s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/CMakeFiles 0 [ 124s] + export LD_LIBRARY_PATH=:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib [ 124s] + LD_LIBRARY_PATH=:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib [ 124s] ++ find /usr/lib64 -maxdepth 1 -name 'libstd-*.so' [ 124s] + __rust_std=/usr/lib64/libstd-3fecb5e5a54e748b.so [ 124s] + /usr/bin/rustc -C prefer-dynamic --extern std=/usr/lib64/libstd-3fecb5e5a54e748b.so -C codegen-units=1 -C debuginfo=2 -C opt-level=3 -C relocation-model=pic -C overflow-checks=on -C symbol-mangling-version=v0 -L/usr/lib64/rustlib -L/usr/lib64/rustlib/dylib --crate-type=bin --crate-name=rust_pkgmgr_server -L native=./tidl_pkgmgr_server -L native=./util_pkgmgr_server -l minizip --edition=2021 --extern libc=/usr/lib64/rustlib/dylib/liblibc.so ./src/main.rs [ 126s] warning: unused import: `boxed` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:4:11 [ 126s] | [ 126s] 4 | use std::{boxed, str}; [ 126s] | ^^^^^ [ 126s] | [ 126s] = note: `#[warn(unused_imports)]` on by default [ 126s] [ 126s] warning: unused import: `std::mem` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:6:5 [ 126s] | [ 126s] 6 | use std::mem; [ 126s] | ^^^^^^^^ [ 126s] [ 126s] warning: unused import: `std::ptr` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:7:5 [ 126s] | [ 126s] 7 | use std::ptr; [ 126s] | ^^^^^^^^ [ 126s] [ 126s] warning: unused import: `malloc` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:8:18 [ 126s] | [ 126s] 8 | use libc::{free, malloc, strlen}; [ 126s] | ^^^^^^ [ 126s] [ 126s] warning: unused import: `super::Server` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:10:5 [ 126s] | [ 126s] 10 | use super::Server; [ 126s] | ^^^^^^^^^^^^^ [ 126s] [ 126s] warning: type `rpc_port_stub_array_string_h` should have an upper camel case name [ 126s] --> ./src/pkgmgr/server/admin_service.rs:23:6 [ 126s] | [ 126s] 23 | type rpc_port_stub_array_string_h = *mut c_void; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RpcPortStubArrayStringH` [ 126s] | [ 126s] = note: `#[warn(non_camel_case_types)]` on by default [ 126s] [ 126s] warning: unused imports: `pid_t`, `uid_t` [ 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: unused imports: `c_int`, `c_void` [ 126s] --> ./src/pkgmgr/server/backend_context.rs:4:16 [ 126s] | [ 126s] 4 | use std::ffi::{c_int, c_void}; [ 126s] | ^^^^^ ^^^^^^ [ 126s] [ 126s] warning: unused import: `std::path::Path` [ 126s] --> ./src/pkgmgr/server/backend_queue.rs:10:5 [ 126s] | [ 126s] 10 | use std::path::Path; [ 126s] | ^^^^^^^^^^^^^^^ [ 126s] [ 126s] warning: denote infinite loops with `loop { ... }` [ 126s] --> ./src/pkgmgr/server/backend_queue.rs:50:9 [ 126s] | [ 126s] 50 | while true { [ 126s] | ^^^^^^^^^^ help: use `loop` [ 126s] | [ 126s] = note: `#[warn(while_true)]` on by default [ 126s] [ 126s] warning: unnecessary parentheses around `if` condition [ 126s] --> ./src/pkgmgr/server/backend_queue.rs:73:8 [ 126s] | [ 126s] 73 | if (mut_queue.is_queue_empty()) { [ 126s] | ^ ^ [ 126s] | [ 126s] = note: `#[warn(unused_parens)]` on by default [ 126s] help: remove these parentheses [ 126s] | [ 126s] 73 - if (mut_queue.is_queue_empty()) { [ 126s] 73 + if mut_queue.is_queue_empty() { [ 126s] | [ 126s] [ 126s] warning: unnecessary trailing semicolon [ 126s] --> ./src/pkgmgr/server/backend_queue.rs:297:17 [ 126s] | [ 126s] 297 | ; [ 126s] | ^ help: remove this semicolon [ 126s] | [ 126s] = note: `#[warn(redundant_semicolons)]` on by default [ 126s] [ 126s] warning: unused import: `super::Server` [ 126s] --> ./src/pkgmgr/server/cache_service.rs:1:5 [ 126s] | [ 126s] 1 | use super::Server; [ 126s] | ^^^^^^^^^^^^^ [ 126s] [ 126s] warning: unused import: `super::Server` [ 126s] --> ./src/pkgmgr/server/delayed_service.rs:1:5 [ 126s] | [ 126s] 1 | use super::Server; [ 126s] | ^^^^^^^^^^^^^ [ 126s] [ 126s] warning: unused import: `super::backend_context::*` [ 126s] --> ./src/pkgmgr/server/delayed_service.rs:4:5 [ 126s] | [ 126s] 4 | use super::backend_context::*; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 126s] [ 126s] warning: unused import: `super::request_result::*` [ 126s] --> ./src/pkgmgr/server/delayed_service.rs:5:5 [ 126s] | [ 126s] 5 | use super::request_result::*; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 126s] [ 126s] warning: unused import: `super::request_type::*` [ 126s] --> ./src/pkgmgr/server/delayed_service.rs:6:5 [ 126s] | [ 126s] 6 | use super::request_type::*; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 126s] [ 126s] warning: unused import: `super::util::*` [ 126s] --> ./src/pkgmgr/server/delayed_service.rs:7:5 [ 126s] | [ 126s] 7 | use super::util::*; [ 126s] | ^^^^^^^^^^^^^^ [ 126s] [ 126s] warning: unused imports: `pid_t`, `uid_t` [ 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: unused import: `std::io::Error` [ 126s] --> ./src/pkgmgr/server/info_service.rs:3:5 [ 126s] | [ 126s] 3 | use std::io::Error; [ 126s] | ^^^^^^^^^^^^^^ [ 126s] [ 126s] warning: unused import: `std::mem` [ 126s] --> ./src/pkgmgr/server/info_service.rs:6:5 [ 126s] | [ 126s] 6 | use std::mem; [ 126s] | ^^^^^^^^ [ 126s] [ 126s] warning: unused import: `std::ptr` [ 126s] --> ./src/pkgmgr/server/info_service.rs:7:5 [ 126s] | [ 126s] 7 | use std::ptr; [ 126s] | ^^^^^^^^ [ 126s] [ 126s] warning: unused imports: `free`, `malloc`, `strlen` [ 126s] --> ./src/pkgmgr/server/info_service.rs:8:12 [ 126s] | [ 126s] 8 | use libc::{free, malloc, strlen, mkfifo}; [ 126s] | ^^^^ ^^^^^^ ^^^^^^ [ 126s] [ 126s] warning: unused import: `super::Server` [ 126s] --> ./src/pkgmgr/server/info_service.rs:10:5 [ 126s] | [ 126s] 10 | use super::Server; [ 126s] | ^^^^^^^^^^^^^ [ 126s] [ 126s] warning: unused import: `super::service::Service` [ 126s] --> ./src/pkgmgr/server/info_service.rs:13:5 [ 126s] | [ 126s] 13 | use super::service::Service; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 126s] [ 126s] warning: unnecessary trailing semicolon [ 126s] --> ./src/pkgmgr/server/info_service.rs:49:5 [ 126s] | [ 126s] 49 | ; [ 126s] | ^ help: remove this semicolon [ 126s] [ 126s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 126s] --> ./src/pkgmgr/server/request_result.rs:7:5 [ 126s] | [ 126s] 7 | GETSIZE_SYNC(String, i32, i32), [ 126s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 126s] [ 126s] warning: variant `GET_GENERATE_LICENSE_RESULT` should have an upper camel case name [ 126s] --> ./src/pkgmgr/server/request_result.rs:8:5 [ 126s] | [ 126s] 8 | GET_GENERATE_LICENSE_RESULT(String, i32, CString, CString), [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetGenerateLicenseResult` [ 126s] [ 126s] warning: variant `MOUNT_INSTALL` should have an upper camel case name [ 126s] --> ./src/pkgmgr/server/request_type.rs:3:5 [ 126s] | [ 126s] 3 | MOUNT_INSTALL, [ 126s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MountInstall` [ 126s] [ 126s] warning: variant `ENABLE_PKG` should have an upper camel case name [ 126s] --> ./src/pkgmgr/server/request_type.rs:7:5 [ 126s] | [ 126s] 7 | ENABLE_PKG, [ 126s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnablePkg` [ 126s] [ 126s] warning: variant `DISABLE_PKG` should have an upper camel case name [ 126s] --> ./src/pkgmgr/server/request_type.rs:8:5 [ 126s] | [ 126s] 8 | DISABLE_PKG, [ 126s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisablePkg` [ 126s] [ 126s] warning: variant `REGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 126s] --> ./src/pkgmgr/server/request_type.rs:9:5 [ 126s] | [ 126s] 9 | REGISTER_PKG_UPDATE_INFO, [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterPkgUpdateInfo` [ 126s] [ 126s] warning: variant `UNREGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 126s] --> ./src/pkgmgr/server/request_type.rs:10:5 [ 126s] | [ 126s] 10 | UNREGISTER_PKG_UPDATE_INFO, [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterPkgUpdateInfo` [ 126s] [ 126s] warning: variant `UNREGISTER_ALL_PKG_UPDATE_INFO` should have an upper camel case name [ 126s] --> ./src/pkgmgr/server/request_type.rs:11:5 [ 126s] | [ 126s] 11 | UNREGISTER_ALL_PKG_UPDATE_INFO, [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterAllPkgUpdateInfo` [ 126s] [ 126s] warning: variant `ENABLE_APP` should have an upper camel case name [ 126s] --> ./src/pkgmgr/server/request_type.rs:12:5 [ 126s] | [ 126s] 12 | ENABLE_APP, [ 126s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableApp` [ 126s] [ 126s] warning: variant `DISABLE_APP` should have an upper camel case name [ 126s] --> ./src/pkgmgr/server/request_type.rs:13:5 [ 126s] | [ 126s] 13 | DISABLE_APP, [ 126s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableApp` [ 126s] [ 126s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 126s] --> ./src/pkgmgr/server/request_type.rs:15:5 [ 126s] | [ 126s] 15 | GETSIZE_SYNC, [ 126s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 126s] [ 126s] warning: variant `ENABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 126s] --> ./src/pkgmgr/server/request_type.rs:18:5 [ 126s] | [ 126s] 18 | ENABLE_GLOBAL_APP_FOR_UID, [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableGlobalAppForUid` [ 126s] [ 126s] warning: variant `DISABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 126s] --> ./src/pkgmgr/server/request_type.rs:19:5 [ 126s] | [ 126s] 19 | DISABLE_GLOBAL_APP_FOR_UID, [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableGlobalAppForUid` [ 126s] [ 126s] warning: variant `GENERATE_LICENSE_REQUEST` should have an upper camel case name [ 126s] --> ./src/pkgmgr/server/request_type.rs:22:5 [ 126s] | [ 126s] 22 | GENERATE_LICENSE_REQUEST, [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GenerateLicenseRequest` [ 126s] [ 126s] warning: variant `REGISTER_LICENSE` should have an upper camel case name [ 126s] --> ./src/pkgmgr/server/request_type.rs:23:5 [ 126s] | [ 126s] 23 | REGISTER_LICENSE, [ 126s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterLicense` [ 126s] [ 126s] warning: variant `DECRYPT_PACKAGE` should have an upper camel case name [ 126s] --> ./src/pkgmgr/server/request_type.rs:24:5 [ 126s] | [ 126s] 24 | DECRYPT_PACKAGE, [ 126s] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DecryptPackage` [ 126s] [ 126s] warning: variant `ENABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 126s] --> ./src/pkgmgr/server/request_type.rs:25:5 [ 126s] | [ 126s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableAppSplashScreen` [ 126s] [ 126s] warning: variant `DISABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 126s] --> ./src/pkgmgr/server/request_type.rs:26:5 [ 126s] | [ 126s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableAppSplashScreen` [ 126s] [ 126s] warning: variant `SET_APP_LABEL` should have an upper camel case name [ 126s] --> ./src/pkgmgr/server/request_type.rs:27:5 [ 126s] | [ 126s] 27 | SET_APP_LABEL, [ 126s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppLabel` [ 126s] [ 126s] warning: variant `SET_APP_ICON` should have an upper camel case name [ 126s] --> ./src/pkgmgr/server/request_type.rs:28:5 [ 126s] | [ 126s] 28 | SET_APP_ICON, [ 126s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppIcon` [ 126s] [ 126s] warning: variant `MIGRATE_EXTERNAL_IMAGE` should have an upper camel case name [ 126s] --> ./src/pkgmgr/server/request_type.rs:29:5 [ 126s] | [ 126s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MigrateExternalImage` [ 126s] [ 126s] warning: variant `RESOURCE_SHARE_COPY` should have an upper camel case name [ 126s] --> ./src/pkgmgr/server/request_type.rs:30:5 [ 126s] | [ 126s] 30 | RESOURCE_SHARE_COPY, [ 126s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCopy` [ 126s] [ 126s] warning: variant `RESOURCE_SHARE_CREATE_DIR` should have an upper camel case name [ 126s] --> ./src/pkgmgr/server/request_type.rs:31:5 [ 126s] | [ 126s] 31 | RESOURCE_SHARE_CREATE_DIR, [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCreateDir` [ 126s] [ 126s] warning: variant `RESOURCE_SHARE_REMOVE` should have an upper camel case name [ 126s] --> ./src/pkgmgr/server/request_type.rs:32:5 [ 126s] | [ 126s] 32 | RESOURCE_SHARE_REMOVE, [ 126s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareRemove` [ 126s] [ 126s] warning: variant `RESOURCE_SHARE_UNINSTALL` should have an upper camel case name [ 126s] --> ./src/pkgmgr/server/request_type.rs:33:5 [ 126s] | [ 126s] 33 | RESOURCE_SHARE_UNINSTALL, [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareUninstall` [ 126s] [ 126s] warning: variant `REMOVE_FILE` should have an upper camel case name [ 126s] --> ./src/pkgmgr/server/request_type.rs:34:5 [ 126s] | [ 126s] 34 | REMOVE_FILE, [ 126s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RemoveFile` [ 126s] [ 126s] warning: unused import: `CStr` [ 126s] --> ./src/pkgmgr/server/signal.rs:1:39 [ 126s] | [ 126s] 1 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 126s] | ^^^^ [ 126s] [ 126s] warning: unused import: `pid_t` [ 126s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 126s] | [ 126s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: unused imports: `CStr`, `CString`, `c_char`, `c_void` [ 126s] --> ./src/pkgmgr/server/signal.rs:39:20 [ 126s] | [ 126s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 126s] | ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^ [ 126s] [ 126s] warning: unused import: `pid_t` [ 126s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 126s] | [ 126s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: unused import: `std::cell::RefCell` [ 126s] --> ./src/pkgmgr/server/util.rs:1:5 [ 126s] | [ 126s] 1 | use std::cell::RefCell; [ 126s] | ^^^^^^^^^^^^^^^^^^ [ 126s] [ 126s] warning: unused import: `std::rc::Rc` [ 126s] --> ./src/pkgmgr/server/util.rs:8:5 [ 126s] | [ 126s] 8 | use std::rc::Rc; [ 126s] | ^^^^^^^^^^^ [ 126s] [ 126s] warning: type `xmlChar` should have an upper camel case name [ 126s] --> ./src/pkgmgr/server/util.rs:34:6 [ 126s] | [ 126s] 34 | type xmlChar = c_uchar; [ 126s] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlChar` [ 126s] [ 126s] warning: type `xmlTextReaderPtr` should have an upper camel case name [ 126s] --> ./src/pkgmgr/server/util.rs:35:6 [ 126s] | [ 126s] 35 | type xmlTextReaderPtr = *mut c_void; [ 126s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlTextReaderPtr` [ 126s] [ 126s] warning: unused imports: `CStr`, `CString` [ 126s] --> ./src/pkgmgr/server/util.rs:39:43 [ 126s] | [ 126s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 126s] | ^^^^ ^^^^^^^ [ 126s] [ 126s] warning: unused import: `pid_t` [ 126s] --> ./src/pkgmgr/server/util.rs:40:37 [ 126s] | [ 126s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 126s] | ^^^^^ [ 126s] [ 126s] warning: unnecessary parentheses around `if` condition [ 126s] --> ./src/pkgmgr/server/util.rs:474:24 [ 126s] | [ 126s] 474 | if (cur == depth + 1) { [ 126s] | ^ ^ [ 126s] | [ 126s] help: remove these parentheses [ 126s] | [ 126s] 474 - if (cur == depth + 1) { [ 126s] 474 + if cur == depth + 1 { [ 126s] | [ 126s] [ 126s] warning: unnecessary parentheses around `if` condition [ 126s] --> ./src/pkgmgr/server/util.rs:571:12 [ 126s] | [ 126s] 571 | if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 126s] | ^ ^ [ 126s] | [ 126s] help: remove these parentheses [ 126s] | [ 126s] 571 - if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 126s] 571 + if unzOpenCurrentFile(uf) != UNZ_OK as c_int { [ 126s] | [ 126s] [ 126s] warning: unused import: `super::super::super::server::signal::*` [ 126s] --> ./src/pkgmgr/server/test/signal_tests.rs:1:5 [ 126s] | [ 126s] 1 | use super::super::super::server::signal::*; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 126s] | [ 126s] help: consider adding a `#[cfg(test)]` to the containing module [ 126s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 126s] | [ 126s] 3 | pub mod signal_tests; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^ [ 126s] [ 126s] warning: unused import: `std::ffi::CString` [ 126s] --> ./src/pkgmgr/server/test/signal_tests.rs:2:5 [ 126s] | [ 126s] 2 | use std::ffi::CString; [ 126s] | ^^^^^^^^^^^^^^^^^ [ 126s] | [ 126s] help: consider adding a `#[cfg(test)]` to the containing module [ 126s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 126s] | [ 126s] 3 | pub mod signal_tests; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^ [ 126s] [ 126s] warning: unused import: `std::ffi::CStr` [ 126s] --> ./src/pkgmgr/server/test/signal_tests.rs:3:5 [ 126s] | [ 126s] 3 | use std::ffi::CStr; [ 126s] | ^^^^^^^^^^^^^^ [ 126s] | [ 126s] help: consider adding a `#[cfg(test)]` to the containing module [ 126s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 126s] | [ 126s] 3 | pub mod signal_tests; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^ [ 126s] [ 126s] warning: unused import: `std::ffi::c_char` [ 126s] --> ./src/pkgmgr/server/test/signal_tests.rs:4:5 [ 126s] | [ 126s] 4 | use std::ffi::c_char; [ 126s] | ^^^^^^^^^^^^^^^^ [ 126s] | [ 126s] help: consider adding a `#[cfg(test)]` to the containing module [ 126s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 126s] | [ 126s] 3 | pub mod signal_tests; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^ [ 126s] [ 126s] warning: unused import: `std::mem` [ 126s] --> ./src/pkgmgr/server/test/signal_tests.rs:5:5 [ 126s] | [ 126s] 5 | use std::mem; [ 126s] | ^^^^^^^^ [ 126s] | [ 126s] help: consider adding a `#[cfg(test)]` to the containing module [ 126s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 126s] | [ 126s] 3 | pub mod signal_tests; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^ [ 126s] [ 126s] warning: unused import: `mockall::predicate::*` [ 126s] --> ./src/pkgmgr/server/test/signal_tests.rs:6:5 [ 126s] | [ 126s] 6 | use mockall::predicate::*; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^ [ 126s] | [ 126s] help: consider adding a `#[cfg(test)]` to the containing module [ 126s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 126s] | [ 126s] 3 | pub mod signal_tests; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^ [ 126s] [ 126s] warning: unused import: `mockall::*` [ 126s] --> ./src/pkgmgr/server/test/signal_tests.rs:7:5 [ 126s] | [ 126s] 7 | use mockall::*; [ 126s] | ^^^^^^^^^^ [ 126s] | [ 126s] help: consider adding a `#[cfg(test)]` to the containing module [ 126s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 126s] | [ 126s] 3 | pub mod signal_tests; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^ [ 126s] [ 126s] warning: unused imports: `pid_t`, `uid_t` [ 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] help: consider adding a `#[cfg(test)]` to the containing module [ 126s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 126s] | [ 126s] 3 | pub mod signal_tests; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^ [ 126s] [ 126s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 126s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:1:5 [ 126s] | [ 126s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 126s] | [ 126s] help: consider adding a `#[cfg(test)]` to the containing module [ 126s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 126s] | [ 126s] 4 | pub mod admin_service_tests; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 126s] [ 126s] warning: unused import: `super::super::super::server::admin_service::AdminService` [ 126s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:2:5 [ 126s] | [ 126s] 2 | use super::super::super::server::admin_service::AdminService; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 126s] | [ 126s] help: consider adding a `#[cfg(test)]` to the containing module [ 126s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 126s] | [ 126s] 4 | pub mod admin_service_tests; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 126s] [ 126s] warning: unused import: `super::super::super::server::service::Service` [ 126s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:3:5 [ 126s] | [ 126s] 3 | use super::super::super::server::service::Service; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 126s] | [ 126s] help: consider adding a `#[cfg(test)]` to the containing module [ 126s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 126s] | [ 126s] 4 | pub mod admin_service_tests; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 126s] [ 126s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 126s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:1:5 [ 126s] | [ 126s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 126s] | [ 126s] help: consider adding a `#[cfg(test)]` to the containing module [ 126s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 126s] | [ 126s] 5 | pub mod cache_service_tests; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 126s] [ 126s] warning: unused import: `super::super::super::server::cache_service::CacheService` [ 126s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:2:5 [ 126s] | [ 126s] 2 | use super::super::super::server::cache_service::CacheService; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 126s] | [ 126s] help: consider adding a `#[cfg(test)]` to the containing module [ 126s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 126s] | [ 126s] 5 | pub mod cache_service_tests; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 126s] [ 126s] warning: unused import: `super::super::super::server::service::Service` [ 126s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:3:5 [ 126s] | [ 126s] 3 | use super::super::super::server::service::Service; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 126s] | [ 126s] help: consider adding a `#[cfg(test)]` to the containing module [ 126s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 126s] | [ 126s] 5 | pub mod cache_service_tests; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 126s] [ 126s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 126s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:1:5 [ 126s] | [ 126s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 126s] | [ 126s] help: consider adding a `#[cfg(test)]` to the containing module [ 126s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 126s] | [ 126s] 6 | pub mod delayed_service_tests; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 126s] [ 126s] warning: unused import: `super::super::super::server::delayed_service::DelayedService` [ 126s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:2:5 [ 126s] | [ 126s] 2 | use super::super::super::server::delayed_service::DelayedService; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 126s] | [ 126s] help: consider adding a `#[cfg(test)]` to the containing module [ 126s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 126s] | [ 126s] 6 | pub mod delayed_service_tests; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 126s] [ 126s] warning: unused import: `super::super::super::server::service::Service` [ 126s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:3:5 [ 126s] | [ 126s] 3 | use super::super::super::server::service::Service; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 126s] | [ 126s] help: consider adding a `#[cfg(test)]` to the containing module [ 126s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 126s] | [ 126s] 6 | pub mod delayed_service_tests; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 126s] [ 126s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 126s] --> ./src/pkgmgr/server/test/info_service_tests.rs:1:5 [ 126s] | [ 126s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 126s] | [ 126s] help: consider adding a `#[cfg(test)]` to the containing module [ 126s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 126s] | [ 126s] 7 | pub mod info_service_tests; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 126s] [ 126s] warning: unused import: `super::super::super::server::info_service::InfoService` [ 126s] --> ./src/pkgmgr/server/test/info_service_tests.rs:2:5 [ 126s] | [ 126s] 2 | use super::super::super::server::info_service::InfoService; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 126s] | [ 126s] help: consider adding a `#[cfg(test)]` to the containing module [ 126s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 126s] | [ 126s] 7 | pub mod info_service_tests; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 126s] [ 126s] warning: unused import: `super::super::super::server::service::Service` [ 126s] --> ./src/pkgmgr/server/test/info_service_tests.rs:3:5 [ 126s] | [ 126s] 3 | use super::super::super::server::service::Service; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 126s] | [ 126s] help: consider adding a `#[cfg(test)]` to the containing module [ 126s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 126s] | [ 126s] 7 | pub mod info_service_tests; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 126s] [ 126s] warning: unused import: `std::cell::RefCell` [ 126s] --> ./src/pkgmgr/server/mod.rs:22:5 [ 126s] | [ 126s] 22 | use std::cell::RefCell; [ 126s] | ^^^^^^^^^^^^^^^^^^ [ 126s] [ 126s] warning: unused import: `std::rc::Rc` [ 126s] --> ./src/pkgmgr/server/mod.rs:26:5 [ 126s] | [ 126s] 26 | use std::rc::Rc; [ 126s] | ^^^^^^^^^^^ [ 126s] [ 126s] warning: unused import: `std::process::Command` [ 126s] --> ./src/main.rs:9:5 [ 126s] | [ 126s] 9 | use std::process::Command; [ 126s] | ^^^^^^^^^^^^^^^^^^^^^ [ 126s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:5:26 [ 127s] | [ 127s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 127s] | ^^^^^ [ 127s] | [ 127s] = note: `#[warn(deprecated)]` on by default [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:5:33 [ 127s] | [ 127s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:20:20 [ 127s] | [ 127s] 20 | const GLOBAL_USER: uid_t = 201; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:322:25 [ 127s] | [ 127s] 322 | let mut caller_uid: uid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:443:25 [ 127s] | [ 127s] 443 | let mut caller_uid: uid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:548:25 [ 127s] | [ 127s] 548 | let mut caller_uid: uid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:595:25 [ 127s] | [ 127s] 595 | let mut caller_uid: uid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:718:25 [ 127s] | [ 127s] 718 | let mut caller_uid: uid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:801:25 [ 127s] | [ 127s] 801 | let mut caller_uid: uid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:853:25 [ 127s] | [ 127s] 853 | let mut caller_uid: uid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:937:25 [ 127s] | [ 127s] 937 | let mut caller_uid: uid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:990:25 [ 127s] | [ 127s] 990 | let mut caller_uid: uid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1015:76 [ 127s] | [ 127s] 1015 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, true) { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1072:25 [ 127s] | [ 127s] 1072 | let mut caller_uid: uid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1097:76 [ 127s] | [ 127s] 1097 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, false) { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1151:25 [ 127s] | [ 127s] 1151 | let mut caller_pid: pid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1152:25 [ 127s] | [ 127s] 1152 | let mut caller_uid: uid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1166:62 [ 127s] | [ 127s] 1166 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1196:66 [ 127s] | [ 127s] 1196 | let ret = Util::RegisterPkgUpdateInfo(handle, uid as uid_t); [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1215:25 [ 127s] | [ 127s] 1215 | let mut caller_pid: pid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1216:25 [ 127s] | [ 127s] 1216 | let mut caller_uid: uid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1230:62 [ 127s] | [ 127s] 1230 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1254:109 [ 127s] | [ 127s] 1254 | RequestResult::DELAYED(generated_req_key, Util::UnregisterPkgUpdateInfo(pkg_id.as_ptr(), uid as uid_t)) [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1270:25 [ 127s] | [ 127s] 1270 | let mut caller_pid: pid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1271:25 [ 127s] | [ 127s] 1271 | let mut caller_uid: uid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1303:95 [ 127s] | [ 127s] 1303 | RequestResult::DELAYED(generated_req_key, Util::UnregisterAllPkgUpdateInfo(uid as uid_t, caller_uid)) [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1312:45 [ 127s] | [ 127s] 1312 | fn handle_enable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1359:60 [ 127s] | [ 127s] 1359 | fn handle_enable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1371:40 [ 127s] | [ 127s] 1371 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1373:40 [ 127s] | [ 127s] 1373 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1380:36 [ 127s] | [ 127s] 1380 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1382:36 [ 127s] | [ 127s] 1382 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1392:36 [ 127s] | [ 127s] 1392 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1394:36 [ 127s] | [ 127s] 1394 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1400:28 [ 127s] | [ 127s] 1400 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1403:46 [ 127s] | [ 127s] 1403 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1404:59 [ 127s] | [ 127s] 1404 | Util::EnableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1405:32 [ 127s] | [ 127s] 1405 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1409:28 [ 127s] | [ 127s] 1409 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1415:46 [ 127s] | [ 127s] 1415 | fn handle_disable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1463:61 [ 127s] | [ 127s] 1463 | fn handle_disable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1475:40 [ 127s] | [ 127s] 1475 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1477:40 [ 127s] | [ 127s] 1477 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1484:36 [ 127s] | [ 127s] 1484 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1486:36 [ 127s] | [ 127s] 1486 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1496:36 [ 127s] | [ 127s] 1496 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1498:36 [ 127s] | [ 127s] 1498 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1504:28 [ 127s] | [ 127s] 1504 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1507:46 [ 127s] | [ 127s] 1507 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1508:60 [ 127s] | [ 127s] 1508 | Util::DisableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1509:32 [ 127s] | [ 127s] 1509 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1513:28 [ 127s] | [ 127s] 1513 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1535:25 [ 127s] | [ 127s] 1535 | let mut caller_uid: uid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1562:70 [ 127s] | [ 127s] 1562 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1588:25 [ 127s] | [ 127s] 1588 | let mut caller_uid: uid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1615:71 [ 127s] | [ 127s] 1615 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1673:74 [ 127s] | [ 127s] 1673 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1735:75 [ 127s] | [ 127s] 1735 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1765:25 [ 127s] | [ 127s] 1765 | let mut caller_uid: uid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1792:85 [ 127s] | [ 127s] 1792 | RequestResult::VAL(handle_enable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1818:25 [ 127s] | [ 127s] 1818 | let mut caller_uid: uid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1845:86 [ 127s] | [ 127s] 1845 | RequestResult::VAL(handle_disable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1863:40 [ 127s] | [ 127s] 1863 | Util::KillAppsInPkg(pkg_id, uid as uid_t) [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1873:25 [ 127s] | [ 127s] 1873 | let mut caller_pid: pid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1874:25 [ 127s] | [ 127s] 1874 | let mut caller_uid: uid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1985:25 [ 127s] | [ 127s] 1985 | let mut caller_pid: pid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:1986:25 [ 127s] | [ 127s] 1986 | let mut caller_uid: uid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:2035:25 [ 127s] | [ 127s] 2035 | let mut caller_pid: pid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:2036:25 [ 127s] | [ 127s] 2036 | let mut caller_uid: uid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:2083:54 [ 127s] | [ 127s] 2083 | Util::EnableGlobalAppSplashScreen(app_id, uid as uid_t) [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:2093:55 [ 127s] | [ 127s] 2093 | Util::DisableGlobalAppSplashScreen(app_id, uid as uid_t) [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:2105:25 [ 127s] | [ 127s] 2105 | let mut caller_pid: pid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:2106:25 [ 127s] | [ 127s] 2106 | let mut caller_uid: uid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:2137:102 [ 127s] | [ 127s] 2137 | RequestResult::DELAYED(generated_req_key, Util::update_app_label(app_id.as_ptr(), uid as uid_t , label.as_ptr())) [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:2155:25 [ 127s] | [ 127s] 2155 | let mut caller_pid: pid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:2156:25 [ 127s] | [ 127s] 2156 | let mut caller_uid: uid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:2187:101 [ 127s] | [ 127s] 2187 | RequestResult::DELAYED(generated_req_key, Util::update_app_icon(app_id.as_ptr(), uid as uid_t , icon_path.as_ptr())) [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:2312:25 [ 127s] | [ 127s] 2312 | let mut caller_uid: uid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:2313:25 [ 127s] | [ 127s] 2313 | let mut caller_pid: pid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:2383:25 [ 127s] | [ 127s] 2383 | let mut caller_uid: uid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:2384:25 [ 127s] | [ 127s] 2384 | let mut caller_pid: pid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:2453:25 [ 127s] | [ 127s] 2453 | let mut caller_uid: uid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:2454:25 [ 127s] | [ 127s] 2454 | let mut caller_pid: pid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:2532:25 [ 127s] | [ 127s] 2532 | let mut caller_uid: uid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:2622:41 [ 127s] | [ 127s] 2622 | if unsafe { check_valid_path(uid as uid_t, pkg_id, file_path) } != 0 { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:2681:19 [ 127s] | [ 127s] 2681 | pid: *mut pid_t, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/admin_service.rs:2682:19 [ 127s] | [ 127s] 2682 | uid: *mut uid_t [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 127s] | [ 127s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/backend_context.rs:3:33 [ 127s] | [ 127s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/cache_service.rs:12:26 [ 127s] | [ 127s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/cache_service.rs:12:33 [ 127s] | [ 127s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/cache_service.rs:23:14 [ 127s] | [ 127s] 23 | uid: uid_t, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/cache_service.rs:48:17 [ 127s] | [ 127s] 48 | target_uid: uid_t, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/cache_service.rs:53:25 [ 127s] | [ 127s] 53 | let mut caller_uid: uid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/cache_service.rs:106:19 [ 127s] | [ 127s] 106 | pid: *mut pid_t, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/cache_service.rs:107:19 [ 127s] | [ 127s] 107 | uid: *mut uid_t [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 127s] | [ 127s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/delayed_service.rs:13:33 [ 127s] | [ 127s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/info_service.rs:2:26 [ 127s] | [ 127s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/info_service.rs:2:33 [ 127s] | [ 127s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/info_service.rs:37:90 [ 127s] | [ 127s] 37 | pub rpc_port_stub_PkgMgr_GetSize_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, get_type: c_int, r... [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/info_service.rs:38:94 [ 127s] | [ 127s] 38 | pub rpc_port_stub_PkgMgr_GetSizeSync_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, get_type: c_in... [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/info_service.rs:40:88 [ 127s] | [ 127s] 40 | pub rpc_port_stub_PkgMgr_Check_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, pid: *mut pid_t, use... [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/info_service.rs:40:128 [ 127s] | [ 127s] 40 | pub rpc_port_stub_PkgMgr_Check_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, pid: *mut pid_t, use... [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/info_service.rs:54:17 [ 127s] | [ 127s] 54 | target_uid: uid_t, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/info_service.rs:60:25 [ 127s] | [ 127s] 60 | let mut caller_pid: pid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/info_service.rs:61:25 [ 127s] | [ 127s] 61 | let mut caller_uid: uid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/info_service.rs:114:17 [ 127s] | [ 127s] 114 | target_uid: uid_t, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/info_service.rs:120:25 [ 127s] | [ 127s] 120 | let mut caller_pid: pid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/info_service.rs:121:25 [ 127s] | [ 127s] 121 | let mut caller_uid: uid_t = 0; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/info_service.rs:223:17 [ 127s] | [ 127s] 223 | target_uid: uid_t, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/info_service.rs:225:15 [ 127s] | [ 127s] 225 | pid: *mut pid_t, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/info_service.rs:228:43 [ 127s] | [ 127s] 228 | Util::check_app(pkg_id, target_uid as uid_t, pid) [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/info_service.rs:242:19 [ 127s] | [ 127s] 242 | pid: *mut pid_t, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/info_service.rs:243:19 [ 127s] | [ 127s] 243 | uid: *mut uid_t [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/signal.rs:2:26 [ 127s] | [ 127s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 127s] | [ 127s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/signal.rs:99:20 [ 127s] | [ 127s] 99 | const GLOBAL_USER: uid_t = 201; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/signal.rs:101:33 [ 127s] | [ 127s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/signal.rs:101:47 [ 127s] | [ 127s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/signal.rs:102:26 [ 127s] | [ 127s] 102 | let mut uid_vec: Vec = vec![]; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/signal.rs:110:28 [ 127s] | [ 127s] 110 | let mut uids: *mut uid_t = std::ptr::null_mut(); [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/signal.rs:124:14 [ 127s] | [ 127s] 124 | uid: uid_t, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/signal.rs:53:44 [ 127s] | [ 127s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/signal.rs:62:14 [ 127s] | [ 127s] 62 | uid: uid_t, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/signal.rs:86:14 [ 127s] | [ 127s] 86 | uid: uid_t, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/signal.rs:40:30 [ 127s] | [ 127s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 127s] | [ 127s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/signal.rs:44:45 [ 127s] | [ 127s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:4:26 [ 127s] | [ 127s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:4:33 [ 127s] | [ 127s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:22:21 [ 127s] | [ 127s] 22 | const REGULAR_USER: uid_t = 5000; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:23:20 [ 127s] | [ 127s] 23 | const GLOBAL_USER: uid_t = 201; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:25:18 [ 127s] | [ 127s] 25 | const APPFW_UID: uid_t = 301; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:307:36 [ 127s] | [ 127s] 307 | let uid : uid_t = user_data as uid_t; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:307:15 [ 127s] | [ 127s] 307 | let uid : uid_t = user_data as uid_t; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:326:81 [ 127s] | [ 127s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:326:93 [ 127s] | [ 127s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:326:25 [ 127s] | [ 127s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:326:37 [ 127s] | [ 127s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:389:57 [ 127s] | [ 127s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:420:55 [ 127s] | [ 127s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:686:62 [ 127s] | [ 127s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:696:63 [ 127s] | [ 127s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:706:44 [ 127s] | [ 127s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:706:63 [ 127s] | [ 127s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:728:49 [ 127s] | [ 127s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:738:50 [ 127s] | [ 127s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:747:55 [ 127s] | [ 127s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:757:56 [ 127s] | [ 127s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:766:61 [ 127s] | [ 127s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:775:62 [ 127s] | [ 127s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:784:67 [ 127s] | [ 127s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:793:68 [ 127s] | [ 127s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:802:54 [ 127s] | [ 127s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:802:64 [ 127s] | [ 127s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:813:47 [ 127s] | [ 127s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:835:53 [ 127s] | [ 127s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:855:25 [ 127s] | [ 127s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:983:69 [ 127s] | [ 127s] 983 | pub fn get_application_info_by_appid(appid: *const c_char, uid: uid_t) -> Option<(CString, bool)> { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:1012:41 [ 127s] | [ 127s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:1012:53 [ 127s] | [ 127s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:1029:71 [ 127s] | [ 127s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:1029:90 [ 127s] | [ 127s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:1076:56 [ 127s] | [ 127s] 1076 | pub fn update_app_label(appid: *const c_char, uid: uid_t, label: *const c_char) -> c_int { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:1080:55 [ 127s] | [ 127s] 1080 | pub fn update_app_icon(appid: *const c_char, uid: uid_t, icon_path: *const c_char) -> c_int { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:1108:49 [ 127s] | [ 127s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:1108:66 [ 127s] | [ 127s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:156:14 [ 127s] | [ 127s] 156 | uid: uid_t, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:166:14 [ 127s] | [ 127s] 166 | uid: uid_t, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:180:14 [ 127s] | [ 127s] 180 | uid: uid_t [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:185:14 [ 127s] | [ 127s] 185 | uid: uid_t [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:189:14 [ 127s] | [ 127s] 189 | uid: uid_t [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:194:14 [ 127s] | [ 127s] 194 | uid: uid_t, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:200:14 [ 127s] | [ 127s] 200 | uid: uid_t, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:206:14 [ 127s] | [ 127s] 206 | uid: uid_t, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:212:14 [ 127s] | [ 127s] 212 | uid: uid_t, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:218:14 [ 127s] | [ 127s] 218 | uid: uid_t, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:224:14 [ 127s] | [ 127s] 224 | uid: uid_t, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:237:32 [ 127s] | [ 127s] 237 | fn gum_user_get_sync(uid : uid_t, offline : c_int) -> *mut c_void; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:266:21 [ 127s] | [ 127s] 266 | caller_uid: uid_t [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:274:14 [ 127s] | [ 127s] 274 | uid: uid_t, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:40:30 [ 127s] | [ 127s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:40:37 [ 127s] | [ 127s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:46:18 [ 127s] | [ 127s] 46 | uid: uid_t, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:52:18 [ 127s] | [ 127s] 52 | uid: uid_t, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:67:18 [ 127s] | [ 127s] 67 | uid: uid_t, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:101:18 [ 127s] | [ 127s] 101 | uid: uid_t, [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:122:70 [ 127s] | [ 127s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:123:66 [ 127s] | [ 127s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:124:59 [ 127s] | [ 127s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/util.rs:125:97 [ 127s] | [ 127s] 125 | pub fn aul_app_get_pkgid_bypid_for_uid(pid: c_int, pkgid: *mut c_char, len: c_int, uid: uid_t) -> c_int; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 127s] | [ 127s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 127s] | ^^^^^ [ 127s] [ 127s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 127s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 127s] | [ 127s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 127s] | ^^^^^ [ 127s] [ 130s] warning: unreachable expression [ 130s] --> ./src/pkgmgr/server/backend_queue.rs:64:5 [ 130s] | [ 130s] 61 | return G_SOURCE_CONTINUE; [ 130s] | ------------------------ any code following this expression is unreachable [ 130s] ... [ 130s] 64 | 1 [ 130s] | ^ unreachable expression [ 130s] | [ 130s] = note: `#[warn(unreachable_code)]` on by default [ 130s] [ 132s] warning: unused variable: `context` [ 132s] --> ./src/pkgmgr/server/admin_service.rs:297:5 [ 132s] | [ 132s] 297 | context: *mut c_void, [ 132s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 132s] | [ 132s] = note: `#[warn(unused_variables)]` on by default [ 132s] [ 132s] warning: unused variable: `context` [ 132s] --> ./src/pkgmgr/server/admin_service.rs:306:5 [ 132s] | [ 132s] 306 | context: *mut c_void, [ 132s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 132s] [ 132s] warning: unused variable: `user_data` [ 132s] --> ./src/pkgmgr/server/admin_service.rs:307:5 [ 132s] | [ 132s] 307 | user_data: *mut c_void, [ 132s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 132s] [ 132s] warning: unused variable: `ret` [ 132s] --> ./src/pkgmgr/server/admin_service.rs:323:9 [ 132s] | [ 132s] 323 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 132s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 132s] [ 132s] warning: unused variable: `req_id` [ 132s] --> ./src/pkgmgr/server/admin_service.rs:318:5 [ 132s] | [ 132s] 318 | req_id: *const c_char, [ 132s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 132s] [ 133s] warning: variable does not need to be mutable [ 133s] --> ./src/pkgmgr/server/admin_service.rs:415:9 [ 133s] | [ 133s] 415 | let mut backend_context = BackendContext::new( [ 133s] | ----^^^^^^^^^^^^^^^ [ 133s] | | [ 133s] | help: remove this `mut` [ 133s] | [ 133s] = note: `#[warn(unused_mut)]` on by default [ 133s] [ 133s] warning: unused variable: `ret` [ 133s] --> ./src/pkgmgr/server/admin_service.rs:444:9 [ 133s] | [ 133s] 444 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 133s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 133s] [ 133s] warning: unused variable: `req_id` [ 133s] --> ./src/pkgmgr/server/admin_service.rs:434:5 [ 133s] | [ 133s] 434 | req_id: *const c_char, [ 133s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 133s] [ 133s] warning: variable does not need to be mutable [ 133s] --> ./src/pkgmgr/server/admin_service.rs:510:9 [ 133s] | [ 133s] 510 | let mut backend_context = BackendContext::new( [ 133s] | ----^^^^^^^^^^^^^^^ [ 133s] | | [ 133s] | help: remove this `mut` [ 133s] [ 133s] warning: unused variable: `ret` [ 133s] --> ./src/pkgmgr/server/admin_service.rs:549:9 [ 133s] | [ 133s] 549 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 133s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 133s] [ 133s] warning: variable does not need to be mutable [ 133s] --> ./src/pkgmgr/server/admin_service.rs:571:9 [ 133s] | [ 133s] 571 | let mut backend_context = BackendContext::new( [ 133s] | ----^^^^^^^^^^^^^^^ [ 133s] | | [ 133s] | help: remove this `mut` [ 133s] [ 133s] warning: unused variable: `ret` [ 133s] --> ./src/pkgmgr/server/admin_service.rs:596:9 [ 133s] | [ 133s] 596 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 133s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 133s] [ 133s] warning: unused variable: `req_id` [ 133s] --> ./src/pkgmgr/server/admin_service.rs:591:5 [ 133s] | [ 133s] 591 | req_id: *const c_char, [ 133s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 133s] [ 133s] warning: variable does not need to be mutable [ 133s] --> ./src/pkgmgr/server/admin_service.rs:688:9 [ 133s] | [ 133s] 688 | let mut backend_context = BackendContext::new( [ 133s] | ----^^^^^^^^^^^^^^^ [ 133s] | | [ 133s] | help: remove this `mut` [ 133s] [ 133s] warning: unused variable: `ret` [ 133s] --> ./src/pkgmgr/server/admin_service.rs:719:9 [ 133s] | [ 133s] 719 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 133s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 133s] [ 133s] warning: unused variable: `req_id` [ 133s] --> ./src/pkgmgr/server/admin_service.rs:706:5 [ 133s] | [ 133s] 706 | req_id: *const c_char, [ 133s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 133s] [ 133s] warning: variable does not need to be mutable [ 133s] --> ./src/pkgmgr/server/admin_service.rs:763:9 [ 133s] | [ 133s] 763 | let mut backend_context = BackendContext::new( [ 133s] | ----^^^^^^^^^^^^^^^ [ 133s] | | [ 133s] | help: remove this `mut` [ 133s] [ 133s] warning: unused variable: `ret` [ 133s] --> ./src/pkgmgr/server/admin_service.rs:802:9 [ 133s] | [ 133s] 802 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 133s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 133s] [ 133s] warning: variable does not need to be mutable [ 133s] --> ./src/pkgmgr/server/admin_service.rs:824:9 [ 133s] | [ 133s] 824 | let mut backend_context = BackendContext::new( [ 133s] | ----^^^^^^^^^^^^^^^ [ 133s] | | [ 133s] | help: remove this `mut` [ 133s] [ 133s] warning: unused variable: `ret` [ 133s] --> ./src/pkgmgr/server/admin_service.rs:854:9 [ 133s] | [ 133s] 854 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 133s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 133s] [ 133s] warning: variable does not need to be mutable [ 133s] --> ./src/pkgmgr/server/admin_service.rs:898:9 [ 133s] | [ 133s] 898 | let mut backend_context = BackendContext::new( [ 133s] | ----^^^^^^^^^^^^^^^ [ 133s] | | [ 133s] | help: remove this `mut` [ 133s] [ 133s] warning: unused variable: `ret` [ 133s] --> ./src/pkgmgr/server/admin_service.rs:938:9 [ 133s] | [ 133s] 938 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 133s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 133s] [ 133s] warning: variable does not need to be mutable [ 133s] --> ./src/pkgmgr/server/admin_service.rs:961:9 [ 133s] | [ 133s] 961 | let mut backend_context = BackendContext::new( [ 133s] | ----^^^^^^^^^^^^^^^ [ 133s] | | [ 133s] | help: remove this `mut` [ 133s] [ 133s] warning: unused variable: `ret` [ 133s] --> ./src/pkgmgr/server/admin_service.rs:991:9 [ 133s] | [ 133s] 991 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 133s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 133s] [ 133s] warning: variable does not need to be mutable [ 133s] --> ./src/pkgmgr/server/admin_service.rs:1038:17 [ 133s] | [ 133s] 1038 | let mut backend_context = BackendContext::new( [ 133s] | ----^^^^^^^^^^^^^^^ [ 133s] | | [ 133s] | help: remove this `mut` [ 133s] [ 133s] warning: unused variable: `ret` [ 133s] --> ./src/pkgmgr/server/admin_service.rs:1073:9 [ 133s] | [ 133s] 1073 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 133s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 133s] [ 133s] warning: variable does not need to be mutable [ 133s] --> ./src/pkgmgr/server/admin_service.rs:1123:17 [ 133s] | [ 133s] 1123 | let mut backend_context = BackendContext::new( [ 133s] | ----^^^^^^^^^^^^^^^ [ 133s] | | [ 133s] | help: remove this `mut` [ 133s] [ 133s] warning: unused variable: `pkg_id` [ 133s] --> ./src/pkgmgr/server/admin_service.rs:1186:9 [ 133s] | [ 133s] 1186 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) }); [ 133s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 133s] [ 133s] warning: variable does not need to be mutable [ 133s] --> ./src/pkgmgr/server/admin_service.rs:1180:9 [ 133s] | [ 133s] 1180 | let mut handle : *mut c_void = Util::CreatePkgUpdateInfo(pkg_id, version, update_type); [ 133s] | ----^^^^^^ [ 133s] | | [ 133s] | help: remove this `mut` [ 133s] [ 133s] warning: variable does not need to be mutable [ 133s] --> ./src/pkgmgr/server/admin_service.rs:1190:9 [ 133s] | [ 133s] 1190 | let mut backend_context = BackendContext::new( [ 133s] | ----^^^^^^^^^^^^^^^ [ 133s] | | [ 133s] | help: remove this `mut` [ 133s] [ 133s] warning: variable does not need to be mutable [ 133s] --> ./src/pkgmgr/server/admin_service.rs:1248:9 [ 133s] | [ 133s] 1248 | let mut backend_context = BackendContext::new( [ 133s] | ----^^^^^^^^^^^^^^^ [ 133s] | | [ 133s] | help: remove this `mut` [ 133s] [ 134s] warning: variable does not need to be mutable [ 134s] --> ./src/pkgmgr/server/admin_service.rs:1297:9 [ 134s] | [ 134s] 1297 | let mut backend_context = BackendContext::new( [ 134s] | ----^^^^^^^^^^^^^^^ [ 134s] | | [ 134s] | help: remove this `mut` [ 134s] [ 134s] warning: unused variable: `is_global` [ 134s] --> ./src/pkgmgr/server/admin_service.rs:1321:17 [ 134s] | [ 134s] 1321 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 134s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 134s] [ 134s] warning: unused variable: `is_global` [ 134s] --> ./src/pkgmgr/server/admin_service.rs:1368:17 [ 134s] | [ 134s] 1368 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 134s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 134s] [ 134s] warning: unused variable: `is_global` [ 134s] --> ./src/pkgmgr/server/admin_service.rs:1424:17 [ 134s] | [ 134s] 1424 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 134s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 134s] [ 134s] warning: unused variable: `is_global` [ 134s] --> ./src/pkgmgr/server/admin_service.rs:1472:17 [ 134s] | [ 134s] 1472 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 134s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 134s] [ 134s] warning: unused variable: `caller_uid` [ 134s] --> ./src/pkgmgr/server/admin_service.rs:1535:13 [ 134s] | [ 134s] 1535 | let mut caller_uid: uid_t = 0; [ 134s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 134s] [ 134s] warning: unused variable: `context` [ 134s] --> ./src/pkgmgr/server/admin_service.rs:1521:5 [ 134s] | [ 134s] 1521 | context: *mut c_void, [ 134s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 134s] [ 134s] warning: variable does not need to be mutable [ 134s] --> ./src/pkgmgr/server/admin_service.rs:1535:9 [ 134s] | [ 134s] 1535 | let mut caller_uid: uid_t = 0; [ 134s] | ----^^^^^^^^^^ [ 134s] | | [ 134s] | help: remove this `mut` [ 134s] [ 134s] warning: variable does not need to be mutable [ 134s] --> ./src/pkgmgr/server/admin_service.rs:1558:13 [ 134s] | [ 134s] 1558 | let mut backend_context = BackendContext::new( [ 134s] | ----^^^^^^^^^^^^^^^ [ 134s] | | [ 134s] | help: remove this `mut` [ 134s] [ 134s] warning: unused variable: `caller_uid` [ 134s] --> ./src/pkgmgr/server/admin_service.rs:1588:13 [ 134s] | [ 134s] 1588 | let mut caller_uid: uid_t = 0; [ 134s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 134s] [ 134s] warning: unused variable: `context` [ 134s] --> ./src/pkgmgr/server/admin_service.rs:1574:5 [ 134s] | [ 134s] 1574 | context: *mut c_void, [ 134s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 134s] [ 134s] warning: variable does not need to be mutable [ 134s] --> ./src/pkgmgr/server/admin_service.rs:1588:9 [ 134s] | [ 134s] 1588 | let mut caller_uid: uid_t = 0; [ 134s] | ----^^^^^^^^^^ [ 134s] | | [ 134s] | help: remove this `mut` [ 134s] [ 134s] warning: variable does not need to be mutable [ 134s] --> ./src/pkgmgr/server/admin_service.rs:1611:13 [ 134s] | [ 134s] 1611 | let mut backend_context = BackendContext::new( [ 134s] | ----^^^^^^^^^^^^^^^ [ 134s] | | [ 134s] | help: remove this `mut` [ 134s] [ 134s] warning: unused variable: `context` [ 134s] --> ./src/pkgmgr/server/admin_service.rs:1627:5 [ 134s] | [ 134s] 1627 | context: *mut c_void, [ 134s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 134s] [ 134s] warning: variable does not need to be mutable [ 134s] --> ./src/pkgmgr/server/admin_service.rs:1669:17 [ 134s] | [ 134s] 1669 | let mut backend_context = BackendContext::new( [ 134s] | ----^^^^^^^^^^^^^^^ [ 134s] | | [ 134s] | help: remove this `mut` [ 134s] [ 134s] warning: unused variable: `context` [ 134s] --> ./src/pkgmgr/server/admin_service.rs:1689:5 [ 134s] | [ 134s] 1689 | context: *mut c_void, [ 134s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 134s] [ 134s] warning: variable does not need to be mutable [ 134s] --> ./src/pkgmgr/server/admin_service.rs:1731:17 [ 134s] | [ 134s] 1731 | let mut backend_context = BackendContext::new( [ 134s] | ----^^^^^^^^^^^^^^^ [ 134s] | | [ 134s] | help: remove this `mut` [ 134s] [ 134s] warning: unused variable: `caller_uid` [ 134s] --> ./src/pkgmgr/server/admin_service.rs:1765:13 [ 134s] | [ 134s] 1765 | let mut caller_uid: uid_t = 0; [ 134s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 134s] [ 134s] warning: unused variable: `context` [ 134s] --> ./src/pkgmgr/server/admin_service.rs:1751:5 [ 134s] | [ 134s] 1751 | context: *mut c_void, [ 134s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 134s] [ 134s] warning: variable does not need to be mutable [ 134s] --> ./src/pkgmgr/server/admin_service.rs:1765:9 [ 134s] | [ 134s] 1765 | let mut caller_uid: uid_t = 0; [ 134s] | ----^^^^^^^^^^ [ 134s] | | [ 134s] | help: remove this `mut` [ 134s] [ 134s] warning: variable does not need to be mutable [ 134s] --> ./src/pkgmgr/server/admin_service.rs:1788:13 [ 134s] | [ 134s] 1788 | let mut backend_context = BackendContext::new( [ 134s] | ----^^^^^^^^^^^^^^^ [ 134s] | | [ 134s] | help: remove this `mut` [ 134s] [ 134s] warning: unused variable: `caller_uid` [ 134s] --> ./src/pkgmgr/server/admin_service.rs:1818:13 [ 134s] | [ 134s] 1818 | let mut caller_uid: uid_t = 0; [ 134s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 134s] [ 134s] warning: unused variable: `context` [ 134s] --> ./src/pkgmgr/server/admin_service.rs:1804:5 [ 134s] | [ 134s] 1804 | context: *mut c_void, [ 134s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 134s] [ 134s] warning: variable does not need to be mutable [ 134s] --> ./src/pkgmgr/server/admin_service.rs:1818:9 [ 134s] | [ 134s] 1818 | let mut caller_uid: uid_t = 0; [ 134s] | ----^^^^^^^^^^ [ 134s] | | [ 134s] | help: remove this `mut` [ 134s] [ 134s] warning: variable does not need to be mutable [ 134s] --> ./src/pkgmgr/server/admin_service.rs:1841:13 [ 134s] | [ 134s] 1841 | let mut backend_context = BackendContext::new( [ 134s] | ----^^^^^^^^^^^^^^^ [ 134s] | | [ 134s] | help: remove this `mut` [ 134s] [ 134s] warning: unused variable: `context` [ 134s] --> ./src/pkgmgr/server/admin_service.rs:1857:5 [ 134s] | [ 134s] 1857 | context: *mut c_void, [ 134s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 134s] [ 134s] warning: unused variable: `pid` [ 134s] --> ./src/pkgmgr/server/admin_service.rs:1860:5 [ 134s] | [ 134s] 1860 | pid: *mut c_int, [ 134s] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [ 134s] [ 134s] warning: unused variable: `user_data` [ 134s] --> ./src/pkgmgr/server/admin_service.rs:1861:5 [ 134s] | [ 134s] 1861 | user_data: *mut c_void, [ 134s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 134s] [ 134s] warning: variable does not need to be mutable [ 134s] --> ./src/pkgmgr/server/admin_service.rs:1900:9 [ 134s] | [ 134s] 1900 | let mut backend_context = BackendContext::new( [ 134s] | ----^^^^^^^^^^^^^^^ [ 134s] | | [ 134s] | help: remove this `mut` [ 134s] [ 134s] warning: unused variable: `context` [ 134s] --> ./src/pkgmgr/server/admin_service.rs:1932:5 [ 134s] | [ 134s] 1932 | context: *mut c_void, [ 134s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 134s] [ 134s] warning: variable does not need to be mutable [ 134s] --> ./src/pkgmgr/server/admin_service.rs:2012:9 [ 134s] | [ 134s] 2012 | let mut backend_context = BackendContext::new( [ 134s] | ----^^^^^^^^^^^^^^^ [ 134s] | | [ 134s] | help: remove this `mut` [ 134s] [ 134s] warning: variable does not need to be mutable [ 134s] --> ./src/pkgmgr/server/admin_service.rs:2063:9 [ 134s] | [ 134s] 2063 | let mut backend_context = BackendContext::new( [ 134s] | ----^^^^^^^^^^^^^^^ [ 134s] | | [ 134s] | help: remove this `mut` [ 134s] [ 134s] warning: unused variable: `context` [ 134s] --> ./src/pkgmgr/server/admin_service.rs:2078:5 [ 134s] | [ 134s] 2078 | context: *mut c_void, [ 134s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 134s] [ 134s] warning: unused variable: `user_data` [ 134s] --> ./src/pkgmgr/server/admin_service.rs:2081:5 [ 134s] | [ 134s] 2081 | user_data: *mut c_void, [ 134s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 134s] [ 134s] warning: unused variable: `context` [ 134s] --> ./src/pkgmgr/server/admin_service.rs:2088:5 [ 134s] | [ 134s] 2088 | context: *mut c_void, [ 134s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 134s] [ 134s] warning: unused variable: `user_data` [ 134s] --> ./src/pkgmgr/server/admin_service.rs:2091:5 [ 134s] | [ 134s] 2091 | user_data: *mut c_void, [ 134s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 134s] [ 134s] warning: variable does not need to be mutable [ 134s] --> ./src/pkgmgr/server/admin_service.rs:2133:9 [ 134s] | [ 134s] 2133 | let mut backend_context = BackendContext::new( [ 134s] | ----^^^^^^^^^^^^^^^ [ 134s] | | [ 134s] | help: remove this `mut` [ 134s] [ 134s] warning: variable does not need to be mutable [ 134s] --> ./src/pkgmgr/server/admin_service.rs:2183:9 [ 134s] | [ 134s] 2183 | let mut backend_context = BackendContext::new( [ 134s] | ----^^^^^^^^^^^^^^^ [ 134s] | | [ 134s] | help: remove this `mut` [ 134s] [ 134s] warning: unused variable: `context` [ 134s] --> ./src/pkgmgr/server/admin_service.rs:2198:5 [ 134s] | [ 134s] 2198 | context: *mut c_void, [ 134s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 134s] [ 134s] warning: unused variable: `uid` [ 134s] --> ./src/pkgmgr/server/admin_service.rs:2199:5 [ 134s] | [ 134s] 2199 | uid: c_int, [ 134s] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [ 134s] [ 134s] warning: unused variable: `pkg_id` [ 134s] --> ./src/pkgmgr/server/admin_service.rs:2200:5 [ 134s] | [ 134s] 2200 | pkg_id: *const c_char, [ 134s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 134s] [ 134s] warning: unused variable: `user_data` [ 134s] --> ./src/pkgmgr/server/admin_service.rs:2201:5 [ 134s] | [ 134s] 2201 | user_data: *mut c_void, [ 134s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 134s] [ 134s] warning: variable does not need to be mutable [ 134s] --> ./src/pkgmgr/server/admin_service.rs:2364:9 [ 134s] | [ 134s] 2364 | let mut backend_context = BackendContext::new( [ 134s] | ----^^^^^^^^^^^^^^^ [ 134s] | | [ 134s] | help: remove this `mut` [ 134s] [ 134s] warning: variable does not need to be mutable [ 134s] --> ./src/pkgmgr/server/admin_service.rs:2434:9 [ 134s] | [ 134s] 2434 | let mut backend_context = BackendContext::new( [ 134s] | ----^^^^^^^^^^^^^^^ [ 134s] | | [ 134s] | help: remove this `mut` [ 134s] [ 134s] warning: variable does not need to be mutable [ 134s] --> ./src/pkgmgr/server/admin_service.rs:2504:9 [ 134s] | [ 134s] 2504 | let mut backend_context = BackendContext::new( [ 134s] | ----^^^^^^^^^^^^^^^ [ 134s] | | [ 134s] | help: remove this `mut` [ 134s] [ 134s] warning: unused variable: `ret` [ 134s] --> ./src/pkgmgr/server/admin_service.rs:2533:9 [ 134s] | [ 134s] 2533 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 134s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 134s] [ 134s] warning: variable does not need to be mutable [ 134s] --> ./src/pkgmgr/server/admin_service.rs:2552:9 [ 134s] | [ 134s] 2552 | let mut backend_context = BackendContext::new( [ 134s] | ----^^^^^^^^^^^^^^^ [ 134s] | | [ 134s] | help: remove this `mut` [ 134s] [ 134s] warning: unused variable: `context` [ 134s] --> ./src/pkgmgr/server/admin_service.rs:2567:5 [ 134s] | [ 134s] 2567 | context: *mut c_void, [ 134s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 134s] [ 134s] warning: variable does not need to be mutable [ 134s] --> ./src/pkgmgr/server/admin_service.rs:2597:9 [ 134s] | [ 134s] 2597 | let mut backend_context = BackendContext::new( [ 134s] | ----^^^^^^^^^^^^^^^ [ 134s] | | [ 134s] | help: remove this `mut` [ 134s] [ 134s] warning: unused variable: `context` [ 134s] --> ./src/pkgmgr/server/admin_service.rs:2612:5 [ 134s] | [ 134s] 2612 | context: *mut c_void, [ 134s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 134s] [ 134s] warning: variable does not need to be mutable [ 134s] --> ./src/pkgmgr/server/admin_service.rs:2656:9 [ 134s] | [ 134s] 2656 | let mut backend_context = BackendContext::new( [ 134s] | ----^^^^^^^^^^^^^^^ [ 134s] | | [ 134s] | help: remove this `mut` [ 134s] [ 135s] warning: unused variable: `status` [ 135s] --> ./src/pkgmgr/server/backend_queue.rs:38:17 [ 135s] | [ 135s] 38 | let mut status: c_int; [ 135s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [ 135s] [ 135s] warning: unused variable: `io` [ 135s] --> ./src/pkgmgr/server/backend_queue.rs:30:33 [ 135s] | [ 135s] 30 | extern "C" fn signal_handler_cb(io: *mut glib_sys::GIOChannel, [ 135s] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [ 135s] [ 135s] warning: unused variable: `cond` [ 135s] --> ./src/pkgmgr/server/backend_queue.rs:31:9 [ 135s] | [ 135s] 31 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 135s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 135s] [ 135s] warning: variable does not need to be mutable [ 135s] --> ./src/pkgmgr/server/backend_queue.rs:71:9 [ 135s] | [ 135s] 71 | let mut mut_queue = queue.borrow_mut(); [ 135s] | ----^^^^^^^^^ [ 135s] | | [ 135s] | help: remove this `mut` [ 135s] [ 135s] warning: variable does not need to be mutable [ 135s] --> ./src/pkgmgr/server/backend_queue.rs:189:28 [ 135s] | [ 135s] 189 | pub fn push(&mut self, mut context: BackendContext) -> i32 { [ 135s] | ----^^^^^^^ [ 135s] | | [ 135s] | help: remove this `mut` [ 135s] [ 135s] warning: unused variable: `req_key` [ 135s] --> ./src/pkgmgr/server/backend_queue.rs:296:41 [ 135s] | [ 135s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 135s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_key` [ 135s] [ 135s] warning: unused variable: `ret` [ 135s] --> ./src/pkgmgr/server/backend_queue.rs:296:50 [ 135s] | [ 135s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 135s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 135s] [ 135s] warning: unused variable: `s` [ 135s] --> ./src/pkgmgr/server/backend_queue.rs:296:55 [ 135s] | [ 135s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 135s] | ^ help: if this is intentional, prefix it with an underscore: `_s` [ 135s] [ 135s] warning: variable does not need to be mutable [ 135s] --> ./src/pkgmgr/server/backend_queue.rs:278:25 [ 135s] | [ 135s] 278 | let mut backend: &mut Backend = backend.unwrap(); [ 135s] | ----^^^^^^^ [ 135s] | | [ 135s] | help: remove this `mut` [ 135s] [ 135s] warning: unused variable: `context` [ 135s] --> ./src/pkgmgr/server/cache_service.rs:31:5 [ 135s] | [ 135s] 31 | context: *mut c_void, [ 135s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 135s] [ 135s] warning: unused variable: `context` [ 135s] --> ./src/pkgmgr/server/cache_service.rs:40:5 [ 135s] | [ 135s] 40 | context: *mut c_void, [ 135s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 135s] [ 135s] warning: unused variable: `user_data` [ 135s] --> ./src/pkgmgr/server/cache_service.rs:41:5 [ 135s] | [ 135s] 41 | user_data: *mut c_void, [ 135s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 135s] [ 135s] warning: unused variable: `ret` [ 135s] --> ./src/pkgmgr/server/cache_service.rs:54:9 [ 135s] | [ 135s] 54 | let ret = unsafe { rpc_port_stub_PkgMgrForClearCache_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 135s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 135s] [ 135s] warning: value assigned to `pkg_type` is never read [ 135s] --> ./src/pkgmgr/server/cache_service.rs:63:13 [ 135s] | [ 135s] 63 | let mut pkg_type: String = String::new(); [ 135s] | ^^^^^^^^ [ 135s] | [ 135s] = help: maybe it is overwritten before being read? [ 135s] = note: `#[warn(unused_assignments)]` on by default [ 135s] [ 135s] warning: variable does not need to be mutable [ 135s] --> ./src/pkgmgr/server/cache_service.rs:83:9 [ 135s] | [ 135s] 83 | let mut backend_context = BackendContext::new( [ 135s] | ----^^^^^^^^^^^^^^^ [ 135s] | | [ 135s] | help: remove this `mut` [ 135s] [ 135s] warning: unused variable: `context` [ 135s] --> ./src/pkgmgr/server/delayed_service.rs:32:5 [ 135s] | [ 135s] 32 | context: *mut c_void, [ 135s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 135s] [ 135s] warning: unused variable: `context` [ 135s] --> ./src/pkgmgr/server/delayed_service.rs:41:5 [ 135s] | [ 135s] 41 | context: *mut c_void, [ 135s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 135s] [ 135s] warning: unused variable: `user_data` [ 135s] --> ./src/pkgmgr/server/delayed_service.rs:42:5 [ 135s] | [ 135s] 42 | user_data: *mut c_void, [ 135s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 135s] [ 135s] warning: unused variable: `context` [ 135s] --> ./src/pkgmgr/server/delayed_service.rs:48:5 [ 135s] | [ 135s] 48 | context: *mut c_void, [ 135s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 135s] [ 135s] warning: unused variable: `context` [ 135s] --> ./src/pkgmgr/server/info_service.rs:43:55 [ 135s] | [ 135s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 135s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 135s] [ 135s] warning: unused variable: `context` [ 135s] --> ./src/pkgmgr/server/info_service.rs:48:58 [ 135s] | [ 135s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 135s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 135s] [ 135s] warning: unused variable: `user_data` [ 135s] --> ./src/pkgmgr/server/info_service.rs:48:80 [ 135s] | [ 135s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 135s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 135s] [ 135s] warning: variable does not need to be mutable [ 135s] --> ./src/pkgmgr/server/info_service.rs:98:9 [ 135s] | [ 135s] 98 | let mut backend_context = BackendContext::new( [ 135s] | ----^^^^^^^^^^^^^^^ [ 135s] | | [ 135s] | help: remove this `mut` [ 135s] [ 135s] warning: variable does not need to be mutable [ 135s] --> ./src/pkgmgr/server/info_service.rs:160:9 [ 135s] | [ 135s] 160 | let mut backend_context = BackendContext::new( [ 135s] | ----^^^^^^^^^^^^^^^ [ 135s] | | [ 135s] | help: remove this `mut` [ 135s] [ 135s] warning: unused variable: `context` [ 135s] --> ./src/pkgmgr/server/info_service.rs:195:5 [ 135s] | [ 135s] 195 | context: *mut c_void, [ 135s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 135s] [ 135s] warning: unused variable: `context` [ 135s] --> ./src/pkgmgr/server/info_service.rs:222:5 [ 135s] | [ 135s] 222 | context: *mut c_void, [ 135s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 135s] [ 135s] warning: unused variable: `user_data` [ 135s] --> ./src/pkgmgr/server/info_service.rs:226:5 [ 135s] | [ 135s] 226 | user_data: *mut c_void [ 135s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 135s] [ 135s] warning: variable does not need to be mutable [ 135s] --> ./src/pkgmgr/server/signal.rs:144:13 [ 135s] | [ 135s] 144 | let mut c_req_type: c_int; [ 135s] | ----^^^^^^^^^^ [ 135s] | | [ 135s] | help: remove this `mut` [ 135s] [ 135s] warning: value assigned to `size_result` is never read [ 135s] --> ./src/pkgmgr/server/util.rs:351:17 [ 135s] | [ 135s] 351 | let mut size_result: i64 = -1; [ 135s] | ^^^^^^^^^^^ [ 135s] | [ 135s] = help: maybe it is overwritten before being read? [ 135s] [ 135s] warning: unused variable: `cond` [ 135s] --> ./src/pkgmgr/server/util.rs:341:9 [ 135s] | [ 135s] 341 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 135s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 135s] [ 135s] warning: value assigned to `ret` is never read [ 135s] --> ./src/pkgmgr/server/util.rs:425:21 [ 135s] | [ 135s] 425 | let mut ret: c_int = 0; [ 135s] | ^^^ [ 135s] | [ 135s] = help: maybe it is overwritten before being read? [ 135s] [ 135s] warning: unreachable pattern [ 135s] --> ./src/pkgmgr/server/util.rs:478:17 [ 135s] | [ 135s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 135s] | -------------------------------------- matches any value [ 135s] ... [ 135s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 135s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 135s] | [ 135s] = note: `#[warn(unreachable_patterns)]` on by default [ 135s] [ 135s] warning: unreachable pattern [ 135s] --> ./src/pkgmgr/server/util.rs:483:17 [ 135s] | [ 135s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 135s] | -------------------------------------- matches any value [ 135s] ... [ 135s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 135s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 135s] [ 135s] warning: unreachable pattern [ 135s] --> ./src/pkgmgr/server/util.rs:488:17 [ 135s] | [ 135s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 135s] | -------------------------------------- matches any value [ 135s] ... [ 135s] 488 | _ => { [ 135s] | ^ unreachable pattern [ 135s] [ 135s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 135s] --> ./src/pkgmgr/server/util.rs:473:17 [ 135s] | [ 135s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 135s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 135s] [ 135s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_TEXT` [ 135s] --> ./src/pkgmgr/server/util.rs:478:17 [ 135s] | [ 135s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 135s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_TEXT` [ 135s] [ 135s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 135s] --> ./src/pkgmgr/server/util.rs:483:17 [ 135s] | [ 135s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 135s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 135s] [ 135s] warning: variable does not need to be mutable [ 135s] --> ./src/pkgmgr/server/util.rs:519:13 [ 135s] | [ 135s] 519 | let mut attr = xmlTextReaderGetAttribute(reader, RES_TYPE_ATTRIBUTE_KEY.as_ptr()); [ 135s] | ----^^^^ [ 135s] | | [ 135s] | help: remove this `mut` [ 135s] [ 136s] warning: variable does not need to be mutable [ 136s] --> ./src/pkgmgr/server/util.rs:588:13 [ 136s] | [ 136s] 588 | let mut reader = [ 136s] | ----^^^^^^ [ 136s] | | [ 136s] | help: remove this `mut` [ 136s] [ 136s] warning: unused variable: `gid` [ 136s] --> ./src/pkgmgr/server/util.rs:891:52 [ 136s] | [ 136s] 891 | fn set_environment(mut envs: Vec<&mut String>, gid: libc::gid_t) -> bool { [ 136s] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [ 136s] [ 136s] warning: variable does not need to be mutable [ 136s] --> ./src/pkgmgr/server/mod.rs:89:13 [ 136s] | [ 136s] 89 | let mut backend_queue = BackendQueue::new(self.mainloop); [ 136s] | ----^^^^^^^^^^^^^ [ 136s] | | [ 136s] | help: remove this `mut` [ 136s] [ 136s] warning: unnecessary `unsafe` block [ 136s] --> ./src/pkgmgr/server/admin_service.rs:995:32 [ 136s] | [ 136s] 993 | unsafe { [ 136s] | ------ because it's nested under this `unsafe` block [ 136s] 994 | match CString::new(generated_req_key.clone()) { [ 136s] 995 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 136s] | ^^^^^^ unnecessary `unsafe` block [ 136s] | [ 136s] = note: `#[warn(unused_unsafe)]` on by default [ 136s] [ 136s] warning: unnecessary `unsafe` block [ 136s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 136s] | [ 136s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 136s] | ^^^^^^ unnecessary `unsafe` block [ 136s] | [ 136s] ::: ./src/pkgmgr/server/admin_service.rs:993:5 [ 136s] | [ 136s] 993 | unsafe { [ 136s] | ------ because it's nested under this `unsafe` block [ 136s] ... [ 136s] 997 | error!("Fail to generate req key, err({:?})", e); [ 136s] | ------------------------------------------------ in this macro invocation [ 136s] | [ 136s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 136s] [ 136s] warning: unnecessary `unsafe` block [ 136s] --> ./src/pkgmgr/server/admin_service.rs:1023:46 [ 136s] | [ 136s] 993 | unsafe { [ 136s] | ------ because it's nested under this `unsafe` block [ 136s] ... [ 136s] 1023 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 136s] | ^^^^^^ unnecessary `unsafe` block [ 136s] [ 136s] warning: unnecessary `unsafe` block [ 136s] --> ./src/pkgmgr/server/admin_service.rs:1077:32 [ 136s] | [ 136s] 1075 | unsafe { [ 136s] | ------ because it's nested under this `unsafe` block [ 136s] 1076 | match CString::new(generated_req_key.clone()) { [ 136s] 1077 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 136s] | ^^^^^^ unnecessary `unsafe` block [ 136s] [ 136s] warning: unnecessary `unsafe` block [ 136s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 136s] | [ 136s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 136s] | ^^^^^^ unnecessary `unsafe` block [ 136s] | [ 136s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 136s] | [ 136s] 1075 | unsafe { [ 136s] | ------ because it's nested under this `unsafe` block [ 136s] ... [ 136s] 1079 | error!("Fail to generate req key, err({:?})", e); [ 136s] | ------------------------------------------------ in this macro invocation [ 136s] | [ 136s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 136s] [ 136s] warning: unnecessary `unsafe` block [ 136s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 136s] | [ 136s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 136s] | ^^^^^^ unnecessary `unsafe` block [ 136s] | [ 136s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 136s] | [ 136s] 1075 | unsafe { [ 136s] | ------ because it's nested under this `unsafe` block [ 136s] ... [ 136s] 1106 | debug!("push disable pkg {pkg_id}"); [ 136s] | ----------------------------------- in this macro invocation [ 136s] | [ 136s] = 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) [ 136s] [ 136s] warning: unnecessary `unsafe` block [ 136s] --> ./src/pkgmgr/server/admin_service.rs:1108:46 [ 136s] | [ 136s] 1075 | unsafe { [ 136s] | ------ because it's nested under this `unsafe` block [ 136s] ... [ 136s] 1108 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 136s] | ^^^^^^ unnecessary `unsafe` block [ 136s] [ 136s] warning: unnecessary `unsafe` block [ 136s] --> ./src/pkgmgr/server/admin_service.rs:1537:5 [ 136s] | [ 136s] 1537 | unsafe { [ 136s] | ^^^^^^ unnecessary `unsafe` block [ 136s] [ 136s] warning: unnecessary `unsafe` block [ 136s] --> ./src/pkgmgr/server/admin_service.rs:1590:5 [ 136s] | [ 136s] 1590 | unsafe { [ 136s] | ^^^^^^ unnecessary `unsafe` block [ 136s] [ 136s] warning: unnecessary `unsafe` block [ 136s] --> ./src/pkgmgr/server/admin_service.rs:1643:32 [ 136s] | [ 136s] 1641 | unsafe { [ 136s] | ------ because it's nested under this `unsafe` block [ 136s] 1642 | match CString::new(generated_req_key.clone()) { [ 136s] 1643 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 136s] | ^^^^^^ unnecessary `unsafe` block [ 136s] [ 136s] warning: unnecessary `unsafe` block [ 136s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 136s] | [ 136s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 136s] | ^^^^^^ unnecessary `unsafe` block [ 136s] | [ 136s] ::: ./src/pkgmgr/server/admin_service.rs:1641:5 [ 136s] | [ 136s] 1641 | unsafe { [ 136s] | ------ because it's nested under this `unsafe` block [ 136s] ... [ 136s] 1645 | error!("Fail to generate req key, err({:?})", e); [ 136s] | ------------------------------------------------ in this macro invocation [ 136s] | [ 136s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 136s] [ 136s] warning: unnecessary `unsafe` block [ 136s] --> ./src/pkgmgr/server/admin_service.rs:1657:42 [ 136s] | [ 136s] 1641 | unsafe { [ 136s] | ------ because it's nested under this `unsafe` block [ 136s] ... [ 136s] 1657 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 136s] | ^^^^^^ unnecessary `unsafe` block [ 136s] [ 136s] warning: unnecessary `unsafe` block [ 136s] --> ./src/pkgmgr/server/admin_service.rs:1705:32 [ 136s] | [ 136s] 1703 | unsafe { [ 136s] | ------ because it's nested under this `unsafe` block [ 136s] 1704 | match CString::new(generated_req_key.clone()) { [ 136s] 1705 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 136s] | ^^^^^^ unnecessary `unsafe` block [ 136s] [ 136s] warning: unnecessary `unsafe` block [ 136s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 136s] | [ 136s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 136s] | ^^^^^^ unnecessary `unsafe` block [ 136s] | [ 136s] ::: ./src/pkgmgr/server/admin_service.rs:1703:5 [ 136s] | [ 136s] 1703 | unsafe { [ 136s] | ------ because it's nested under this `unsafe` block [ 136s] ... [ 136s] 1707 | error!("Fail to generate req key, err({:?})", e); [ 136s] | ------------------------------------------------ in this macro invocation [ 136s] | [ 136s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 136s] [ 136s] warning: unnecessary `unsafe` block [ 136s] --> ./src/pkgmgr/server/admin_service.rs:1719:42 [ 136s] | [ 136s] 1703 | unsafe { [ 136s] | ------ because it's nested under this `unsafe` block [ 136s] ... [ 136s] 1719 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 136s] | ^^^^^^ unnecessary `unsafe` block [ 136s] [ 136s] warning: unnecessary `unsafe` block [ 136s] --> ./src/pkgmgr/server/admin_service.rs:1767:5 [ 136s] | [ 136s] 1767 | unsafe { [ 136s] | ^^^^^^ unnecessary `unsafe` block [ 136s] [ 136s] warning: unnecessary `unsafe` block [ 136s] --> ./src/pkgmgr/server/admin_service.rs:1820:5 [ 136s] | [ 136s] 1820 | unsafe { [ 136s] | ^^^^^^ unnecessary `unsafe` block [ 136s] [ 136s] warning: unnecessary `unsafe` block [ 136s] --> ./src/pkgmgr/server/admin_service.rs:2296:17 [ 136s] | [ 136s] 2294 | unsafe { [ 136s] | ------ because it's nested under this `unsafe` block [ 136s] 2295 | if !(*value.offset(i as isize)).is_null() { [ 136s] 2296 | unsafe { free(*value.offset(i as isize) as *mut _) }; [ 136s] | ^^^^^^ unnecessary `unsafe` block [ 136s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/admin_service.rs:2793:9 [ 137s] | [ 137s] 2793 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] 2794 | let ret = rpc_port_stub_PkgMgrAdmin_register(&mut self.callbacks, self as *mut _ as *mut c_void); [ 137s] 2795 | debug!("admin service start : {ret}"); [ 137s] | ------------------------------------- in this macro invocation [ 137s] | [ 137s] = 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) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/admin_service.rs:2801:9 [ 137s] | [ 137s] 2801 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] 2802 | let ret = rpc_port_stub_PkgMgrAdmin_unregister(); [ 137s] 2803 | debug!("ret : {ret}"); [ 137s] | --------------------- in this macro invocation [ 137s] | [ 137s] = 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) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 137s] | [ 137s] 204 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 210 | error!("sigprocmask failed"); [ 137s] | ---------------------------- in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 137s] | [ 137s] 204 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 216 | error!("signalfd failed"); [ 137s] | ------------------------- in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/cache_service.rs:134:9 [ 137s] | [ 137s] 134 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 139 | debug!("cache service start : {ret}"); [ 137s] | ------------------------------------- in this macro invocation [ 137s] | [ 137s] = 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) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/cache_service.rs:145:9 [ 137s] | [ 137s] 145 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] 146 | let ret = rpc_port_stub_PkgMgrForClearCache_unregister(); [ 137s] 147 | debug!("ret : {ret}"); [ 137s] | --------------------- in this macro invocation [ 137s] | [ 137s] = 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) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/delayed_service.rs:107:9 [ 137s] | [ 137s] 107 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 112 | debug!("delayed result service start : {ret}"); [ 137s] | ---------------------------------------------- in this macro invocation [ 137s] | [ 137s] = 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) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/delayed_service.rs:118:9 [ 137s] | [ 137s] 118 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] 119 | let ret = rpc_port_stub_DelayedResult_unregister(); [ 137s] 120 | debug!("ret : {ret}"); [ 137s] | --------------------- in this macro invocation [ 137s] | [ 137s] = 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) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/info_service.rs:165:13 [ 137s] | [ 137s] 165 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] 166 | if mkfifo(fifo_path.as_ptr() as *const c_char, 0o600) < 0 { [ 137s] 167 | error!("Failed to mkfifo"); [ 137s] | -------------------------- in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/info_service.rs:268:9 [ 137s] | [ 137s] 268 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 273 | debug!("info service start : {ret}"); [ 137s] | ------------------------------------ in this macro invocation [ 137s] | [ 137s] = 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) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/info_service.rs:279:9 [ 137s] | [ 137s] 279 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] 280 | let ret = rpc_port_stub_PkgMgr_unregister(); [ 137s] 281 | debug!("ret : {ret}"); [ 137s] | --------------------- in this macro invocation [ 137s] | [ 137s] = 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) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 137s] | [ 137s] 131 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 134 | error!("Failure in creating the pkgmgr_installer object"); [ 137s] | --------------------------------------------------------- in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 137s] | [ 137s] 131 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 139 | error!("pkgmgr_installer_set_uid fail"); [ 137s] | --------------------------------------- in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 137s] | [ 137s] 131 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 154 | warn!("Unsupported req_type[{}]", req_type as c_int); [ 137s] | ---------------------------------------------------- in this macro invocation [ 137s] | [ 137s] = 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) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 137s] | [ 137s] 131 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 161 | error!("pkgmgr_installer_set_request_type fail"); [ 137s] | ------------------------------------------------ in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 137s] | [ 137s] 131 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 168 | error!("pkgmgr_installer_set_session_id fail : {:?}", c_req_id); [ 137s] | --------------------------------------------------------------- in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 137s] | [ 137s] 309 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] 310 | if pkgmgrinfo_appinfo_get_appid(pkgmgrinfo_appinfo_h, &mut app_id) != 0 { [ 137s] 311 | error!("Failed get appid"); [ 137s] | -------------------------- in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 137s] | [ 137s] 309 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 314 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 137s] | --------------------------------------------------------- in this macro invocation [ 137s] | [ 137s] = 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) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/server/util.rs:326:46 [ 137s] | [ 137s] 325 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 137s] | [ 137s] 325 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 329 | error!("Failed get appid"); [ 137s] | -------------------------- in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 137s] | [ 137s] 325 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 333 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 137s] | --------------------------------------------------------- in this macro invocation [ 137s] | [ 137s] = 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) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 137s] | [ 137s] 342 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 355 | error!("getsize fd read failed: {:?}", Util::c_char_to_cstr((*err).message)); [ 137s] | ---------------------------------------------------------------------------- in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 137s] | [ 137s] 342 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 361 | error!("empty result"); [ 137s] | ---------------------- in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 137s] | [ 137s] 390 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 399 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 137s] | --------------------------------------------------------- in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 137s] | [ 137s] 390 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 406 | error!("Fail to get is readonly"); [ 137s] | --------------------------------- in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 137s] | [ 137s] 422 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 429 | error!("Not found package"); [ 137s] | --------------------------- in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 137s] | [ 137s] 422 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 445 | debug!("pkgtype - {ret_string}"); [ 137s] | -------------------------------- in this macro invocation [ 137s] | [ 137s] = 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) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:803:9 [ 137s] | [ 137s] 803 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] 804 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 137s] 805 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 137s] | ------------------------------------------------------ in this macro invocation [ 137s] | [ 137s] = 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) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 137s] | [ 137s] 814 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] 815 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 137s] 816 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 137s] | ------------------------------------------------------ in this macro invocation [ 137s] | [ 137s] = 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) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 137s] | [ 137s] 814 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 822 | error!("Failed to get pid of app{:?}", CStr::from_ptr(appid)); [ 137s] | ------------------------------------------------------------- in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 137s] | [ 137s] 814 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 828 | error!("Failed to terminate app{:?}", CStr::from_ptr(appid)); [ 137s] | ------------------------------------------------------------ in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 137s] | [ 137s] 836 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 840 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 137s] | --------------------------------------------------------- in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 137s] | [ 137s] 836 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 848 | error!("Failed to get list for {:?}", CStr::from_ptr(pkgid)); [ 137s] | ------------------------------------------------------------ in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 137s] | [ 137s] 859 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 863 | warn!("cannot get user information from gumd, retry"); [ 137s] | ----------------------------------------------------- in this macro invocation [ 137s] | [ 137s] = 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) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 137s] | [ 137s] 859 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 871 | error!("cannot get user information from gumd, failed"); [ 137s] | ------------------------------------------------------- in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 137s] | [ 137s] 859 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 877 | error!("cannot get user type"); [ 137s] | ------------------------------ in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 137s] | [ 137s] 892 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 895 | error!("Failed to get the number of supplementary group IDs"); [ 137s] | ------------------------------------------------------------- in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 137s] | [ 137s] 892 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 901 | error!("Failed to get list of supplementary group IDs"); [ 137s] | ------------------------------------------------------- in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 137s] | [ 137s] 892 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 908 | error!("setgroups failed: {}", *__errno_location()); [ 137s] | --------------------------------------------------- in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 137s] | [ 137s] 928 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 942 | error!("getpwuid_r fail"); [ 137s] | ------------------------- in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 137s] | [ 137s] 928 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 949 | error!("Fail to get str, err({:?})", e); [ 137s] | --------------------------------------- in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 137s] | [ 137s] 928 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 957 | error!("Fail to get str, err({:?})", e); [ 137s] | --------------------------------------- in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 137s] | [ 137s] 928 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 966 | error!("Failed to set env for the user : {}", APPFW_UID); [ 137s] | -------------------------------------------------------- in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 137s] | [ 137s] 984 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 987 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 137s] | ----------------------------------------------------------------------------------- in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 137s] | [ 137s] 984 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 993 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 137s] | ---------------------------------------------------------------------------- in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 137s] | [ 137s] 984 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 1000 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 137s] | ---------------------------------------------------------------------------- in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/server/util.rs:1005:40 [ 137s] | [ 137s] 984 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 1005 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) } ); [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 137s] | [ 137s] 1081 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 1084 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 137s] | ----------------------------------------------------------------------------------- in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 137s] | [ 137s] 1081 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 1090 | error!("Failed get root path for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 137s] | --------------------------------------------------------------------------- in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 137s] | [ 137s] 1081 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 1098 | error!("Invalid path[{:?}]", Self::c_char_to_cstr(icon_path)); [ 137s] | ------------------------------------------------------------- in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:1109:9 [ 137s] | [ 137s] 1109 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 1119 | error!("Fail to get list for {:?}", CStr::from_ptr(pkgid)); [ 137s] | ---------------------------------------------------------- in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 137s] | [ 137s] 1129 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 1132 | error!("failed to open the fifo({}), errno({})", fifo_path, *__errno_location()); [ 137s] | -------------------------------------------------------------------------------- in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: unnecessary `unsafe` block [ 137s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 137s] | [ 137s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 137s] | ^^^^^^ unnecessary `unsafe` block [ 137s] | [ 137s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 137s] | [ 137s] 1129 | unsafe { [ 137s] | ------ because it's nested under this `unsafe` block [ 137s] ... [ 137s] 1155 | error!("failed to add io watch"); [ 137s] | -------------------------------- in this macro invocation [ 137s] | [ 137s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 137s] [ 137s] warning: constant `SD_LISTEN_FDS_START` is never used [ 137s] --> ./src/pkgmgr/server/mod.rs:28:7 [ 137s] | [ 137s] 28 | const SD_LISTEN_FDS_START: i32 = 3; [ 137s] | ^^^^^^^^^^^^^^^^^^^ [ 137s] | [ 137s] = note: `#[warn(dead_code)]` on by default [ 137s] [ 137s] warning: multiple variants are never constructed [ 137s] --> ./src/pkgmgr/server/mod.rs:43:5 [ 137s] | [ 137s] 42 | enum AUL_RETURN_VALUE { [ 137s] | ---------------- variants in this enum [ 137s] 43 | AUL_R_ENOMEM = -16, //< Out of memory (Since 5.5) [ 137s] | ^^^^^^^^^^^^ [ 137s] 44 | AUL_R_ENOENT = -15, //< App directory entry error [ 137s] | ^^^^^^^^^^^^ [ 137s] 45 | AUL_R_EREJECTED = -14, //< App disable for mode [ 137s] | ^^^^^^^^^^^^^^^ [ 137s] 46 | AUL_R_ENOAPP = -13, //< Failed to find app ID or pkg ID [ 137s] | ^^^^^^^^^^^^ [ 137s] 47 | AUL_R_EHIDDENFORGUEST = -11, //< App hidden for guest mode [ 137s] | ^^^^^^^^^^^^^^^^^^^^^ [ 137s] 48 | AUL_R_ENOLAUNCHPAD = -10, //< no launchpad [ 137s] | ^^^^^^^^^^^^^^^^^^ [ 137s] 49 | AUL_R_ETERMINATING = -9, //< application terminating [ 137s] | ^^^^^^^^^^^^^^^^^^ [ 137s] 50 | AUL_R_EILLACC = -8, //< Illegal Access [ 137s] | ^^^^^^^^^^^^^ [ 137s] 51 | AUL_R_LOCAL = -7, //< Launch by himself [ 137s] | ^^^^^^^^^^^ [ 137s] 52 | AUL_R_ETIMEOUT = -6, //< Timeout [ 137s] | ^^^^^^^^^^^^^^ [ 137s] 53 | AUL_R_ECANCELED = -5, //< Operation canceled [ 137s] | ^^^^^^^^^^^^^^^ [ 137s] 54 | AUL_R_EINVAL = -4, //< Invalid argument [ 137s] | ^^^^^^^^^^^^ [ 137s] 55 | AUL_R_ECOMM = -3, //< Comunication Error [ 137s] | ^^^^^^^^^^^ [ 137s] 56 | AUL_R_ENOINIT = -2, //< AUL handler NOT initialized [ 137s] | ^^^^^^^^^^^^^ [ 137s] 57 | AUL_R_ERROR = -1, //< General error [ 137s] | ^^^^^^^^^^^ [ 137s] [ 137s] warning: field `timer` is never read [ 137s] --> ./src/pkgmgr/server/mod.rs:63:5 [ 137s] | [ 137s] 61 | pub struct Server { [ 137s] | ------ field in this struct [ 137s] 62 | mainloop: *mut GMainLoop, [ 137s] 63 | timer: c_uint [ 137s] | ^^^^^ [ 137s] [ 137s] warning: variants `IO_ERROR`, `OUT_OF_MEMORY`, `INVALID_PARAMETER`, and `PERMISSION_DENIED` are never constructed [ 137s] --> ./src/pkgmgr/server/admin_service.rs:29:5 [ 137s] | [ 137s] 27 | enum RPC_PORT_ERROR { [ 137s] | -------------- variants in this enum [ 137s] 28 | NONE = 0, //< Successful [ 137s] 29 | IO_ERROR = -5, //< Internal I/O error [ 137s] | ^^^^^^^^ [ 137s] 30 | OUT_OF_MEMORY = -12, //< Out of memory [ 137s] | ^^^^^^^^^^^^^ [ 137s] 31 | INVALID_PARAMETER = -22, //< Invalid parameter [ 137s] | ^^^^^^^^^^^^^^^^^ [ 137s] 32 | PERMISSION_DENIED = -13, //< Permission denied [ 137s] | ^^^^^^^^^^^^^^^^^ [ 137s] [ 137s] warning: method `generate_request_id` is never used [ 137s] --> ./src/pkgmgr/server/admin_service.rs:2786:8 [ 137s] | [ 137s] 2713 | impl AdminService { [ 137s] | ----------------- method in this implementation [ 137s] ... [ 137s] 2786 | fn generate_request_id(&self) -> String { [ 137s] | ^^^^^^^^^^^^^^^^^^^ [ 137s] [ 137s] warning: field `request_type` is never read [ 137s] --> ./src/pkgmgr/server/backend_context.rs:7:5 [ 137s] | [ 137s] 6 | pub struct BackendContext { [ 137s] | -------------- field in this struct [ 137s] 7 | request_type: RequestType, [ 137s] | ^^^^^^^^^^^^ [ 137s] [ 137s] warning: type alias `GIOChannel` is never used [ 137s] --> ./src/pkgmgr/server/backend_queue.rs:14:6 [ 137s] | [ 137s] 14 | type GIOChannel = *mut c_void; [ 137s] | ^^^^^^^^^^ [ 137s] [ 137s] warning: type alias `GIOCondition` is never used [ 137s] --> ./src/pkgmgr/server/backend_queue.rs:15:6 [ 137s] | [ 137s] 15 | type GIOCondition = c_int; [ 137s] | ^^^^^^^^^^^^ [ 137s] [ 137s] warning: variants `EIO`, `ENOPKG`, `EPRIV`, `ETIMEOUT`, `EINVAL`, and `ECOMM` are never constructed [ 137s] --> ./src/pkgmgr/server/info_service.rs:22:5 [ 137s] | [ 137s] 20 | enum PKGMGR_RETURN_VALUE { [ 137s] | ------------------- variants in this enum [ 137s] 21 | ESYSTEM = -9, // Severe system error [ 137s] 22 | EIO = -8, // IO error [ 137s] | ^^^ [ 137s] 23 | ENOMEM = -7, // Out of memory [ 137s] 24 | ENOPKG = -6, // No such package [ 137s] | ^^^^^^ [ 137s] 25 | EPRIV = -5, // Privilege denied [ 137s] | ^^^^^ [ 137s] 26 | ETIMEOUT = -4, // Timeout [ 137s] | ^^^^^^^^ [ 137s] 27 | EINVAL = -3, // Invalid argument [ 137s] | ^^^^^^ [ 137s] 28 | ECOMM = -2, // Comunication Error [ 137s] | ^^^^^ [ 137s] [ 137s] warning: variants `EPRIV` and `ETIMEOUT` are never constructed [ 137s] --> ./src/pkgmgr/server/pkgmgr_return_value.rs:8:5 [ 137s] | [ 137s] 3 | pub enum PKGMGR_RETURN_VALUE { [ 137s] | ------------------- variants in this enum [ 137s] ... [ 137s] 8 | EPRIV = -5, // Privilege denied [ 137s] | ^^^^^ [ 137s] 9 | ETIMEOUT = -4, // Timeout [ 137s] | ^^^^^^^^ [ 137s] [ 137s] warning: variants `KILL`, `CHECK`, `ENABLE_APP_SPLASH_SCREEN`, `DISABLE_APP_SPLASH_SCREEN`, and `MIGRATE_EXTERNAL_IMAGE` are never constructed [ 137s] --> ./src/pkgmgr/server/request_type.rs:20:5 [ 137s] | [ 137s] 1 | pub enum RequestType { [ 137s] | ----------- variants in this enum [ 137s] ... [ 137s] 20 | KILL, [ 137s] | ^^^^ [ 137s] 21 | CHECK, [ 137s] | ^^^^^ [ 137s] ... [ 137s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 137s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 137s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 137s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 137s] ... [ 137s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 137s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 137s] [ 137s] warning: multiple variants are never constructed [ 137s] --> ./src/pkgmgr/server/signal.rs:10:2 [ 137s] | [ 137s] 9 | enum PKGMGR_REQ { [ 137s] | ---------- variants in this enum [ 137s] 10 | PERM = -1, [ 137s] | ^^^^ [ 137s] 11 | INVALID = 0, [ 137s] | ^^^^^^^ [ 137s] 12 | INSTALL = 1, [ 137s] | ^^^^^^^ [ 137s] 13 | UNINSTALL = 2, [ 137s] | ^^^^^^^^^ [ 137s] 14 | CLEAR = 3, [ 137s] | ^^^^^ [ 137s] 15 | MOVE = 4, [ 137s] | ^^^^ [ 137s] 16 | RECOVER = 5, [ 137s] | ^^^^^^^ [ 137s] 17 | REINSTALL = 6, [ 137s] | ^^^^^^^^^ [ 137s] 18 | GETSIZE = 7, [ 137s] | ^^^^^^^ [ 137s] 19 | UPGRADE = 8, [ 137s] | ^^^^^^^ [ 137s] 20 | SMACK = 9, [ 137s] | ^^^^^ [ 137s] 21 | MANIFEST_DIRECT_INSTALL = 10, [ 137s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 137s] ... [ 137s] 26 | MOUNT_INSTALL = 15, [ 137s] | ^^^^^^^^^^^^^ [ 137s] 27 | DISABLE_PKG = 16, [ 137s] | ^^^^^^^^^^^ [ 137s] 28 | ENABLE_PKG = 17, [ 137s] | ^^^^^^^^^^ [ 137s] 29 | MIGRATE_EXTIMG = 18, [ 137s] | ^^^^^^^^^^^^^^ [ 137s] 30 | RECOVER_DB = 19, [ 137s] | ^^^^^^^^^^ [ 137s] 31 | RES_COPY = 20, [ 137s] | ^^^^^^^^ [ 137s] 32 | RES_CREATE_DIR = 21, [ 137s] | ^^^^^^^^^^^^^^ [ 137s] 33 | RES_REMOVE = 22, [ 137s] | ^^^^^^^^^^ [ 137s] 34 | RES_UNINSTALL = 23 [ 137s] | ^^^^^^^^^^^^^ [ 137s] [ 137s] warning: constant `TZ_SYS_GLOBALAPP_USER` is never used [ 137s] --> ./src/pkgmgr/server/signal.rs:97:7 [ 137s] | [ 137s] 97 | const TZ_SYS_GLOBALAPP_USER: c_int = 22; [ 137s] | ^^^^^^^^^^^^^^^^^^^^^ [ 137s] [ 137s] warning: function `tzplatform_getuid` is never used [ 137s] --> ./src/pkgmgr/server/signal.rs:53:12 [ 137s] | [ 137s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 137s] | ^^^^^^^^^^^^^^^^^ [ 137s] [ 137s] warning: constant `XML_READER_TYPE_ELEMENT` is never used [ 137s] --> ./src/pkgmgr/server/util.rs:29:7 [ 137s] | [ 137s] 29 | const XML_READER_TYPE_ELEMENT: i32 = 1; [ 137s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 137s] [ 137s] warning: constant `XML_READER_TYPE_TEXT` is never used [ 137s] --> ./src/pkgmgr/server/util.rs:30:7 [ 137s] | [ 137s] 30 | const XML_READER_TYPE_TEXT: i32 = 3; [ 137s] | ^^^^^^^^^^^^^^^^^^^^ [ 137s] [ 137s] warning: constant `XML_READER_TYPE_END_ELEMENT` is never used [ 137s] --> ./src/pkgmgr/server/util.rs:31:7 [ 137s] | [ 137s] 31 | const XML_READER_TYPE_END_ELEMENT: i32 = 15; [ 137s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 137s] [ 137s] warning: type alias `GIOChannel` is never used [ 137s] --> ./src/pkgmgr/server/util.rs:33:6 [ 137s] | [ 137s] 33 | type GIOChannel = *mut c_void; [ 137s] | ^^^^^^^^^^ [ 137s] [ 137s] warning: variants `PMINFO_UI_APP`, `PMINFO_SVC_APP`, `PMINFO_WIDGET_APP`, `PMINFO_WATCH_APP`, and `PMINFO_COMPONENT_BASED_APP` are never constructed [ 137s] --> ./src/pkgmgr/server/util.rs:136:5 [ 137s] | [ 137s] 134 | enum PKGMGRINFO_APP_COMPONENT { [ 137s] | ------------------------ variants in this enum [ 137s] 135 | PMINFO_ALL_APP = 0, //< All Application [ 137s] 136 | PMINFO_UI_APP, //< UI Application [ 137s] | ^^^^^^^^^^^^^ [ 137s] 137 | PMINFO_SVC_APP, //< Service Application [ 137s] | ^^^^^^^^^^^^^^ [ 137s] 138 | PMINFO_WIDGET_APP, //< Widget Application [ 137s] | ^^^^^^^^^^^^^^^^^ [ 137s] 139 | PMINFO_WATCH_APP, //< Watch Application [ 137s] | ^^^^^^^^^^^^^^^^ [ 137s] 140 | PMINFO_COMPONENT_BASED_APP, //< Component-based Application (Since 5.5) [ 137s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 137s] [ 137s] warning: associated functions `EnableAppSplashScreen` and `DisableAppSplashScreen` are never used [ 137s] --> ./src/pkgmgr/server/util.rs:766:12 [ 137s] | [ 137s] 384 | impl Util { [ 137s] | --------- associated functions in this implementation [ 137s] ... [ 137s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 137s] | ^^^^^^^^^^^^^^^^^^^^^ [ 137s] ... [ 137s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 137s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 137s] [ 137s] warning: function `pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db` is never used [ 137s] --> ./src/pkgmgr/server/util.rs:204:8 [ 137s] | [ 137s] 204 | fn pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db( [ 137s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 137s] [ 137s] warning: unused `Result` that must be used [ 137s] --> ./src/main.rs:14:5 [ 137s] | [ 137s] 14 | pkgmgr::server::Server::run(&mut server); [ 137s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 137s] | [ 137s] = note: this `Result` may be an `Err` variant, which should be handled [ 137s] = note: `#[warn(unused_must_use)]` on by default [ 137s] help: use `let _ = ...` to ignore the resulting value [ 137s] | [ 137s] 14 | let _ = pkgmgr::server::Server::run(&mut server); [ 137s] | +++++++ [ 137s] [ 137s] warning: unused `Result` that must be used [ 137s] --> ./src/pkgmgr/server/mod.rs:93:9 [ 137s] | [ 137s] 93 | admin_service.run(); [ 137s] | ^^^^^^^^^^^^^^^^^^^ [ 137s] | [ 137s] = note: this `Result` may be an `Err` variant, which should be handled [ 137s] help: use `let _ = ...` to ignore the resulting value [ 137s] | [ 137s] 93 | let _ = admin_service.run(); [ 137s] | +++++++ [ 137s] [ 137s] warning: unused `Result` that must be used [ 137s] --> ./src/pkgmgr/server/mod.rs:95:9 [ 137s] | [ 137s] 95 | cache_service.run(); [ 137s] | ^^^^^^^^^^^^^^^^^^^ [ 137s] | [ 137s] = note: this `Result` may be an `Err` variant, which should be handled [ 137s] help: use `let _ = ...` to ignore the resulting value [ 137s] | [ 137s] 95 | let _ = cache_service.run(); [ 137s] | +++++++ [ 137s] [ 137s] warning: unused `Result` that must be used [ 137s] --> ./src/pkgmgr/server/mod.rs:97:9 [ 137s] | [ 137s] 97 | info_service.run(); [ 137s] | ^^^^^^^^^^^^^^^^^^ [ 137s] | [ 137s] = note: this `Result` may be an `Err` variant, which should be handled [ 137s] help: use `let _ = ...` to ignore the resulting value [ 137s] | [ 137s] 97 | let _ = info_service.run(); [ 137s] | +++++++ [ 137s] [ 137s] warning: unused `Result` that must be used [ 137s] --> ./src/pkgmgr/server/mod.rs:99:9 [ 137s] | [ 137s] 99 | delayed_result_service.run(); [ 137s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 137s] | [ 137s] = note: this `Result` may be an `Err` variant, which should be handled [ 137s] help: use `let _ = ...` to ignore the resulting value [ 137s] | [ 137s] 99 | let _ = delayed_result_service.run(); [ 137s] | +++++++ [ 137s] [ 137s] warning: unused `Result` that must be used [ 137s] --> ./src/pkgmgr/server/mod.rs:109:9 [ 137s] | [ 137s] 109 | admin_service.stop(); [ 137s] | ^^^^^^^^^^^^^^^^^^^^ [ 137s] | [ 137s] = note: this `Result` may be an `Err` variant, which should be handled [ 137s] help: use `let _ = ...` to ignore the resulting value [ 137s] | [ 137s] 109 | let _ = admin_service.stop(); [ 137s] | +++++++ [ 137s] [ 137s] warning: unused `Result` that must be used [ 137s] --> ./src/pkgmgr/server/mod.rs:110:9 [ 137s] | [ 137s] 110 | cache_service.stop(); [ 137s] | ^^^^^^^^^^^^^^^^^^^^ [ 137s] | [ 137s] = note: this `Result` may be an `Err` variant, which should be handled [ 137s] help: use `let _ = ...` to ignore the resulting value [ 137s] | [ 137s] 110 | let _ = cache_service.stop(); [ 137s] | +++++++ [ 137s] [ 137s] warning: unused `Result` that must be used [ 137s] --> ./src/pkgmgr/server/mod.rs:111:9 [ 137s] | [ 137s] 111 | info_service.stop(); [ 137s] | ^^^^^^^^^^^^^^^^^^^ [ 137s] | [ 137s] = note: this `Result` may be an `Err` variant, which should be handled [ 137s] help: use `let _ = ...` to ignore the resulting value [ 137s] | [ 137s] 111 | let _ = info_service.stop(); [ 137s] | +++++++ [ 137s] [ 137s] warning: unused `Result` that must be used [ 137s] --> ./src/pkgmgr/server/mod.rs:112:9 [ 137s] | [ 137s] 112 | delayed_result_service.stop(); [ 137s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 137s] | [ 137s] = note: this `Result` may be an `Err` variant, which should be handled [ 137s] help: use `let _ = ...` to ignore the resulting value [ 137s] | [ 137s] 112 | let _ = delayed_result_service.stop(); [ 137s] | +++++++ [ 137s] [ 137s] warning: unused return value of `std::mem::size_of` that must be used [ 137s] --> ./src/pkgmgr/server/backend_queue.rs:40:9 [ 137s] | [ 137s] 40 | mem::size_of::(); [ 137s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 137s] | [ 137s] help: use `let _ = ...` to ignore the resulting value [ 137s] | [ 137s] 40 | let _ = mem::size_of::(); [ 137s] | +++++++ [ 137s] [ 137s] warning: structure field `rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 137s] --> ./src/pkgmgr/server/info_service.rs:35:9 [ 137s] | [ 137s] 35 | pub rpc_port_stub_PkgMgr_create_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 137s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_create_cb` [ 137s] | [ 137s] = note: `#[warn(non_snake_case)]` on by default [ 137s] [ 137s] warning: structure field `rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 137s] --> ./src/pkgmgr/server/info_service.rs:36:9 [ 137s] | [ 137s] 36 | pub rpc_port_stub_PkgMgr_terminate_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 137s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_terminate_cb` [ 137s] [ 137s] warning: structure field `rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 137s] --> ./src/pkgmgr/server/info_service.rs:37:9 [ 137s] | [ 137s] 37 | pub rpc_port_stub_PkgMgr_GetSize_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, get_type: c_int, r... [ 137s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_cb` [ 137s] [ 137s] warning: structure field `rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 137s] --> ./src/pkgmgr/server/info_service.rs:38:9 [ 137s] | [ 137s] 38 | pub rpc_port_stub_PkgMgr_GetSizeSync_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, get_type: c_in... [ 137s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 137s] [ 137s] warning: structure field `rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 137s] --> ./src/pkgmgr/server/info_service.rs:39:9 [ 137s] | [ 137s] 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... [ 137s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 137s] [ 137s] warning: structure field `rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 137s] --> ./src/pkgmgr/server/info_service.rs:40:9 [ 137s] | [ 137s] 40 | pub rpc_port_stub_PkgMgr_Check_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, pid: *mut pid_t, use... [ 137s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_check_cb` [ 137s] [ 137s] warning: function `impl_rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 137s] --> ./src/pkgmgr/server/info_service.rs:43:19 [ 137s] | [ 137s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 137s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_create_cb` [ 137s] [ 137s] warning: function `impl_rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 137s] --> ./src/pkgmgr/server/info_service.rs:48:19 [ 137s] | [ 137s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 137s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_terminate_cb` [ 137s] [ 137s] warning: function `impl_rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 137s] --> ./src/pkgmgr/server/info_service.rs:52:19 [ 137s] | [ 137s] 52 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSize_cb( [ 137s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_cb` [ 137s] [ 137s] warning: function `impl_rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 137s] --> ./src/pkgmgr/server/info_service.rs:112:19 [ 137s] | [ 137s] 112 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSizeSync_cb( [ 137s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 137s] [ 137s] warning: function `impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 137s] --> ./src/pkgmgr/server/info_service.rs:194:19 [ 137s] | [ 137s] 194 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb( [ 137s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 137s] [ 137s] warning: function `impl_rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 137s] --> ./src/pkgmgr/server/info_service.rs:221:19 [ 137s] | [ 137s] 221 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_Check_cb( [ 137s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_check_cb` [ 137s] [ 137s] warning: method `IsPackageReadonly` should have a snake case name [ 137s] --> ./src/pkgmgr/server/util.rs:389:12 [ 137s] | [ 137s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 137s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly` [ 137s] [ 137s] warning: method `GetPackageType` should have a snake case name [ 137s] --> ./src/pkgmgr/server/util.rs:420:12 [ 137s] | [ 137s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 137s] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type` [ 137s] [ 137s] warning: variable `xmlReaderTypes_XML_READER_TYPE_ELEMENT` should have a snake case name [ 137s] --> ./src/pkgmgr/server/util.rs:473:17 [ 137s] | [ 137s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 137s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_element` [ 137s] [ 137s] warning: variable `xmlReaderTypes_XML_READER_TYPE_TEXT` should have a snake case name [ 137s] --> ./src/pkgmgr/server/util.rs:478:17 [ 137s] | [ 137s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 137s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_text` [ 137s] [ 137s] warning: variable `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` should have a snake case name [ 137s] --> ./src/pkgmgr/server/util.rs:483:17 [ 137s] | [ 137s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 137s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_end_element` [ 137s] [ 137s] warning: constant `type_map` should have an upper case name [ 137s] --> ./src/pkgmgr/server/util.rs:623:15 [ 137s] | [ 137s] 623 | const type_map : [[&str; 2]; 3] = [ [ 137s] | ^^^^^^^^ help: convert the identifier to upper case: `TYPE_MAP` [ 137s] | [ 137s] = note: `#[warn(non_upper_case_globals)]` on by default [ 137s] [ 137s] warning: method `GenerateRequestId` should have a snake case name [ 137s] --> ./src/pkgmgr/server/util.rs:646:12 [ 137s] | [ 137s] 646 | pub fn GenerateRequestId(pkgid: &str) -> Option { [ 137s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_request_id` [ 137s] [ 137s] warning: method `CreatePkgUpdateInfo` should have a snake case name [ 137s] --> ./src/pkgmgr/server/util.rs:657:12 [ 137s] | [ 137s] 657 | pub fn CreatePkgUpdateInfo(pkgid: *const c_char, version: *const c_char, update_type: c_int) -> *mut c_void { [ 137s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info` [ 137s] [ 137s] warning: method `DestroyPkgUpdateInfo` should have a snake case name [ 137s] --> ./src/pkgmgr/server/util.rs:680:12 [ 137s] | [ 137s] 680 | pub fn DestroyPkgUpdateInfo(handle: *mut c_void) -> c_int { [ 137s] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroy_pkg_update_info` [ 137s] [ 137s] warning: method `RegisterPkgUpdateInfo` should have a snake case name [ 137s] --> ./src/pkgmgr/server/util.rs:686:12 [ 137s] | [ 137s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 137s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `register_pkg_update_info` [ 137s] [ 137s] warning: method `UnregisterPkgUpdateInfo` should have a snake case name [ 137s] --> ./src/pkgmgr/server/util.rs:696:12 [ 137s] | [ 137s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 137s] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_pkg_update_info` [ 137s] [ 137s] warning: method `UnregisterAllPkgUpdateInfo` should have a snake case name [ 137s] --> ./src/pkgmgr/server/util.rs:706:12 [ 137s] | [ 137s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 137s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_all_pkg_update_info` [ 137s] [ 137s] warning: method `EnableApp` should have a snake case name [ 137s] --> ./src/pkgmgr/server/util.rs:728:12 [ 137s] | [ 137s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 137s] | ^^^^^^^^^ help: convert the identifier to snake case: `enable_app` [ 137s] [ 137s] warning: method `DisableApp` should have a snake case name [ 137s] --> ./src/pkgmgr/server/util.rs:738:12 [ 137s] | [ 137s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 137s] | ^^^^^^^^^^ help: convert the identifier to snake case: `disable_app` [ 137s] [ 137s] warning: method `EnableGlobalApp` should have a snake case name [ 137s] --> ./src/pkgmgr/server/util.rs:747:12 [ 137s] | [ 137s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 137s] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app` [ 137s] [ 137s] warning: method `DisableGlobalApp` should have a snake case name [ 137s] --> ./src/pkgmgr/server/util.rs:757:12 [ 137s] | [ 137s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 137s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app` [ 137s] [ 137s] warning: method `EnableAppSplashScreen` should have a snake case name [ 137s] --> ./src/pkgmgr/server/util.rs:766:12 [ 137s] | [ 137s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 137s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_app_splash_screen` [ 137s] [ 137s] warning: method `DisableAppSplashScreen` should have a snake case name [ 137s] --> ./src/pkgmgr/server/util.rs:775:12 [ 137s] | [ 137s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 137s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_app_splash_screen` [ 137s] [ 137s] warning: method `EnableGlobalAppSplashScreen` should have a snake case name [ 137s] --> ./src/pkgmgr/server/util.rs:784:12 [ 137s] | [ 137s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 137s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app_splash_screen` [ 137s] [ 137s] warning: method `DisableGlobalAppSplashScreen` should have a snake case name [ 137s] --> ./src/pkgmgr/server/util.rs:793:12 [ 137s] | [ 137s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 137s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app_splash_screen` [ 137s] [ 137s] warning: method `KillApp` should have a snake case name [ 137s] --> ./src/pkgmgr/server/util.rs:813:12 [ 137s] | [ 137s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 137s] | ^^^^^^^ help: convert the identifier to snake case: `kill_app` [ 137s] [ 137s] warning: method `KillAppsInPkg` should have a snake case name [ 137s] --> ./src/pkgmgr/server/util.rs:835:12 [ 137s] | [ 137s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 137s] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_apps_in_pkg` [ 137s] [ 137s] warning: method `IsAdminUser` should have a snake case name [ 137s] --> ./src/pkgmgr/server/util.rs:855:8 [ 137s] | [ 137s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 137s] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_admin_user` [ 137s] [ 199s] warning: 542 warnings emitted [ 199s] [ 199s] + export LD_LIBRARY_PATH=:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib [ 199s] + LD_LIBRARY_PATH=:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib [ 199s] ++ find /usr/lib64 -maxdepth 1 -name 'libstd-*.so' [ 199s] + __rust_std=/usr/lib64/libstd-3fecb5e5a54e748b.so [ 199s] + /usr/bin/rustc -C prefer-dynamic --extern std=/usr/lib64/libstd-3fecb5e5a54e748b.so -C codegen-units=1 -C debuginfo=2 -C opt-level=3 -C relocation-model=pic -C overflow-checks=on -C symbol-mangling-version=v0 -L/usr/lib64/rustlib -L/usr/lib64/rustlib/dylib --test --crate-type=bin --crate-name=unittests_rust_pkgmgr_server -L native=./tidl_pkgmgr_server -L native=./util_pkgmgr_server -l minizip --edition=2021 --extern libc=/usr/lib64/rustlib/dylib/liblibc.so --cap-lints warn ./src/main.rs [ 202s] warning: unused import: `boxed` [ 202s] --> ./src/pkgmgr/server/admin_service.rs:4:11 [ 202s] | [ 202s] 4 | use std::{boxed, str}; [ 202s] | ^^^^^ [ 202s] | [ 202s] = note: `#[warn(unused_imports)]` on by default [ 202s] [ 202s] warning: unused import: `std::mem` [ 202s] --> ./src/pkgmgr/server/admin_service.rs:6:5 [ 202s] | [ 202s] 6 | use std::mem; [ 202s] | ^^^^^^^^ [ 202s] [ 202s] warning: unused import: `std::ptr` [ 202s] --> ./src/pkgmgr/server/admin_service.rs:7:5 [ 202s] | [ 202s] 7 | use std::ptr; [ 202s] | ^^^^^^^^ [ 202s] [ 202s] warning: unused import: `malloc` [ 202s] --> ./src/pkgmgr/server/admin_service.rs:8:18 [ 202s] | [ 202s] 8 | use libc::{free, malloc, strlen}; [ 202s] | ^^^^^^ [ 202s] [ 202s] warning: unused import: `super::Server` [ 202s] --> ./src/pkgmgr/server/admin_service.rs:10:5 [ 202s] | [ 202s] 10 | use super::Server; [ 202s] | ^^^^^^^^^^^^^ [ 202s] [ 202s] warning: type `rpc_port_stub_array_string_h` should have an upper camel case name [ 202s] --> ./src/pkgmgr/server/admin_service.rs:23:6 [ 202s] | [ 202s] 23 | type rpc_port_stub_array_string_h = *mut c_void; [ 202s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RpcPortStubArrayStringH` [ 202s] | [ 202s] = note: `#[warn(non_camel_case_types)]` on by default [ 202s] [ 202s] warning: unused imports: `pid_t`, `uid_t` [ 202s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 202s] | [ 202s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 202s] | ^^^^^ ^^^^^ [ 202s] [ 202s] warning: unused imports: `c_int`, `c_void` [ 202s] --> ./src/pkgmgr/server/backend_context.rs:4:16 [ 202s] | [ 202s] 4 | use std::ffi::{c_int, c_void}; [ 202s] | ^^^^^ ^^^^^^ [ 202s] [ 202s] warning: unused import: `std::path::Path` [ 202s] --> ./src/pkgmgr/server/backend_queue.rs:10:5 [ 202s] | [ 202s] 10 | use std::path::Path; [ 202s] | ^^^^^^^^^^^^^^^ [ 202s] [ 202s] warning: denote infinite loops with `loop { ... }` [ 202s] --> ./src/pkgmgr/server/backend_queue.rs:50:9 [ 202s] | [ 202s] 50 | while true { [ 202s] | ^^^^^^^^^^ help: use `loop` [ 202s] | [ 202s] = note: `#[warn(while_true)]` on by default [ 202s] [ 202s] warning: unnecessary parentheses around `if` condition [ 202s] --> ./src/pkgmgr/server/backend_queue.rs:73:8 [ 202s] | [ 202s] 73 | if (mut_queue.is_queue_empty()) { [ 202s] | ^ ^ [ 202s] | [ 202s] = note: `#[warn(unused_parens)]` on by default [ 202s] help: remove these parentheses [ 202s] | [ 202s] 73 - if (mut_queue.is_queue_empty()) { [ 202s] 73 + if mut_queue.is_queue_empty() { [ 202s] | [ 202s] [ 202s] warning: unnecessary trailing semicolon [ 202s] --> ./src/pkgmgr/server/backend_queue.rs:297:17 [ 202s] | [ 202s] 297 | ; [ 202s] | ^ help: remove this semicolon [ 202s] | [ 202s] = note: `#[warn(redundant_semicolons)]` on by default [ 202s] [ 202s] warning: unused import: `super::Server` [ 202s] --> ./src/pkgmgr/server/cache_service.rs:1:5 [ 202s] | [ 202s] 1 | use super::Server; [ 202s] | ^^^^^^^^^^^^^ [ 202s] [ 202s] warning: unused import: `super::Server` [ 202s] --> ./src/pkgmgr/server/delayed_service.rs:1:5 [ 202s] | [ 202s] 1 | use super::Server; [ 202s] | ^^^^^^^^^^^^^ [ 202s] [ 202s] warning: unused import: `super::backend_context::*` [ 202s] --> ./src/pkgmgr/server/delayed_service.rs:4:5 [ 202s] | [ 202s] 4 | use super::backend_context::*; [ 202s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 202s] [ 202s] warning: unused import: `super::request_result::*` [ 202s] --> ./src/pkgmgr/server/delayed_service.rs:5:5 [ 202s] | [ 202s] 5 | use super::request_result::*; [ 202s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 202s] [ 202s] warning: unused import: `super::request_type::*` [ 202s] --> ./src/pkgmgr/server/delayed_service.rs:6:5 [ 202s] | [ 202s] 6 | use super::request_type::*; [ 202s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 202s] [ 202s] warning: unused import: `super::util::*` [ 202s] --> ./src/pkgmgr/server/delayed_service.rs:7:5 [ 202s] | [ 202s] 7 | use super::util::*; [ 202s] | ^^^^^^^^^^^^^^ [ 202s] [ 202s] warning: unused imports: `pid_t`, `uid_t` [ 202s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 202s] | [ 202s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 202s] | ^^^^^ ^^^^^ [ 202s] [ 202s] warning: unused import: `std::io::Error` [ 202s] --> ./src/pkgmgr/server/info_service.rs:3:5 [ 202s] | [ 202s] 3 | use std::io::Error; [ 202s] | ^^^^^^^^^^^^^^ [ 202s] [ 202s] warning: unused import: `std::mem` [ 202s] --> ./src/pkgmgr/server/info_service.rs:6:5 [ 202s] | [ 202s] 6 | use std::mem; [ 202s] | ^^^^^^^^ [ 202s] [ 202s] warning: unused import: `std::ptr` [ 202s] --> ./src/pkgmgr/server/info_service.rs:7:5 [ 202s] | [ 202s] 7 | use std::ptr; [ 202s] | ^^^^^^^^ [ 202s] [ 202s] warning: unused imports: `free`, `malloc`, `strlen` [ 202s] --> ./src/pkgmgr/server/info_service.rs:8:12 [ 202s] | [ 202s] 8 | use libc::{free, malloc, strlen, mkfifo}; [ 202s] | ^^^^ ^^^^^^ ^^^^^^ [ 202s] [ 202s] warning: unused import: `super::Server` [ 202s] --> ./src/pkgmgr/server/info_service.rs:10:5 [ 202s] | [ 202s] 10 | use super::Server; [ 202s] | ^^^^^^^^^^^^^ [ 202s] [ 202s] warning: unused import: `super::service::Service` [ 202s] --> ./src/pkgmgr/server/info_service.rs:13:5 [ 202s] | [ 202s] 13 | use super::service::Service; [ 202s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 202s] [ 202s] warning: unnecessary trailing semicolon [ 202s] --> ./src/pkgmgr/server/info_service.rs:49:5 [ 202s] | [ 202s] 49 | ; [ 202s] | ^ help: remove this semicolon [ 202s] [ 202s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 202s] --> ./src/pkgmgr/server/request_result.rs:7:5 [ 202s] | [ 202s] 7 | GETSIZE_SYNC(String, i32, i32), [ 202s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 202s] [ 202s] warning: variant `GET_GENERATE_LICENSE_RESULT` should have an upper camel case name [ 202s] --> ./src/pkgmgr/server/request_result.rs:8:5 [ 202s] | [ 202s] 8 | GET_GENERATE_LICENSE_RESULT(String, i32, CString, CString), [ 202s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetGenerateLicenseResult` [ 202s] [ 202s] warning: variant `MOUNT_INSTALL` should have an upper camel case name [ 202s] --> ./src/pkgmgr/server/request_type.rs:3:5 [ 202s] | [ 202s] 3 | MOUNT_INSTALL, [ 202s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MountInstall` [ 202s] [ 202s] warning: variant `ENABLE_PKG` should have an upper camel case name [ 202s] --> ./src/pkgmgr/server/request_type.rs:7:5 [ 202s] | [ 202s] 7 | ENABLE_PKG, [ 202s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnablePkg` [ 202s] [ 202s] warning: variant `DISABLE_PKG` should have an upper camel case name [ 202s] --> ./src/pkgmgr/server/request_type.rs:8:5 [ 202s] | [ 202s] 8 | DISABLE_PKG, [ 202s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisablePkg` [ 202s] [ 202s] warning: variant `REGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 202s] --> ./src/pkgmgr/server/request_type.rs:9:5 [ 202s] | [ 202s] 9 | REGISTER_PKG_UPDATE_INFO, [ 202s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterPkgUpdateInfo` [ 202s] [ 202s] warning: variant `UNREGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 202s] --> ./src/pkgmgr/server/request_type.rs:10:5 [ 202s] | [ 202s] 10 | UNREGISTER_PKG_UPDATE_INFO, [ 202s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterPkgUpdateInfo` [ 202s] [ 202s] warning: variant `UNREGISTER_ALL_PKG_UPDATE_INFO` should have an upper camel case name [ 202s] --> ./src/pkgmgr/server/request_type.rs:11:5 [ 202s] | [ 202s] 11 | UNREGISTER_ALL_PKG_UPDATE_INFO, [ 202s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterAllPkgUpdateInfo` [ 202s] [ 202s] warning: variant `ENABLE_APP` should have an upper camel case name [ 202s] --> ./src/pkgmgr/server/request_type.rs:12:5 [ 202s] | [ 202s] 12 | ENABLE_APP, [ 202s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableApp` [ 202s] [ 202s] warning: variant `DISABLE_APP` should have an upper camel case name [ 202s] --> ./src/pkgmgr/server/request_type.rs:13:5 [ 202s] | [ 202s] 13 | DISABLE_APP, [ 202s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableApp` [ 202s] [ 202s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 202s] --> ./src/pkgmgr/server/request_type.rs:15:5 [ 202s] | [ 202s] 15 | GETSIZE_SYNC, [ 202s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 202s] [ 202s] warning: variant `ENABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 202s] --> ./src/pkgmgr/server/request_type.rs:18:5 [ 202s] | [ 202s] 18 | ENABLE_GLOBAL_APP_FOR_UID, [ 202s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableGlobalAppForUid` [ 202s] [ 202s] warning: variant `DISABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 202s] --> ./src/pkgmgr/server/request_type.rs:19:5 [ 202s] | [ 202s] 19 | DISABLE_GLOBAL_APP_FOR_UID, [ 202s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableGlobalAppForUid` [ 202s] [ 202s] warning: variant `GENERATE_LICENSE_REQUEST` should have an upper camel case name [ 202s] --> ./src/pkgmgr/server/request_type.rs:22:5 [ 202s] | [ 202s] 22 | GENERATE_LICENSE_REQUEST, [ 202s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GenerateLicenseRequest` [ 202s] [ 202s] warning: variant `REGISTER_LICENSE` should have an upper camel case name [ 202s] --> ./src/pkgmgr/server/request_type.rs:23:5 [ 202s] | [ 202s] 23 | REGISTER_LICENSE, [ 202s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterLicense` [ 202s] [ 202s] warning: variant `DECRYPT_PACKAGE` should have an upper camel case name [ 202s] --> ./src/pkgmgr/server/request_type.rs:24:5 [ 202s] | [ 202s] 24 | DECRYPT_PACKAGE, [ 202s] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DecryptPackage` [ 202s] [ 202s] warning: variant `ENABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 202s] --> ./src/pkgmgr/server/request_type.rs:25:5 [ 202s] | [ 202s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 202s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableAppSplashScreen` [ 202s] [ 202s] warning: variant `DISABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 202s] --> ./src/pkgmgr/server/request_type.rs:26:5 [ 202s] | [ 202s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 202s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableAppSplashScreen` [ 202s] [ 202s] warning: variant `SET_APP_LABEL` should have an upper camel case name [ 202s] --> ./src/pkgmgr/server/request_type.rs:27:5 [ 202s] | [ 202s] 27 | SET_APP_LABEL, [ 202s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppLabel` [ 202s] [ 202s] warning: variant `SET_APP_ICON` should have an upper camel case name [ 202s] --> ./src/pkgmgr/server/request_type.rs:28:5 [ 202s] | [ 202s] 28 | SET_APP_ICON, [ 202s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppIcon` [ 202s] [ 202s] warning: variant `MIGRATE_EXTERNAL_IMAGE` should have an upper camel case name [ 202s] --> ./src/pkgmgr/server/request_type.rs:29:5 [ 202s] | [ 202s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 202s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MigrateExternalImage` [ 202s] [ 202s] warning: variant `RESOURCE_SHARE_COPY` should have an upper camel case name [ 202s] --> ./src/pkgmgr/server/request_type.rs:30:5 [ 202s] | [ 202s] 30 | RESOURCE_SHARE_COPY, [ 202s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCopy` [ 202s] [ 202s] warning: variant `RESOURCE_SHARE_CREATE_DIR` should have an upper camel case name [ 202s] --> ./src/pkgmgr/server/request_type.rs:31:5 [ 202s] | [ 202s] 31 | RESOURCE_SHARE_CREATE_DIR, [ 202s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCreateDir` [ 202s] [ 202s] warning: variant `RESOURCE_SHARE_REMOVE` should have an upper camel case name [ 202s] --> ./src/pkgmgr/server/request_type.rs:32:5 [ 202s] | [ 202s] 32 | RESOURCE_SHARE_REMOVE, [ 202s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareRemove` [ 202s] [ 202s] warning: variant `RESOURCE_SHARE_UNINSTALL` should have an upper camel case name [ 202s] --> ./src/pkgmgr/server/request_type.rs:33:5 [ 202s] | [ 202s] 33 | RESOURCE_SHARE_UNINSTALL, [ 202s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareUninstall` [ 202s] [ 202s] warning: variant `REMOVE_FILE` should have an upper camel case name [ 202s] --> ./src/pkgmgr/server/request_type.rs:34:5 [ 202s] | [ 202s] 34 | REMOVE_FILE, [ 202s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RemoveFile` [ 202s] [ 202s] warning: unused import: `CStr` [ 202s] --> ./src/pkgmgr/server/signal.rs:1:39 [ 202s] | [ 202s] 1 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 202s] | ^^^^ [ 202s] [ 202s] warning: unused import: `pid_t` [ 202s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 202s] | [ 202s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: unused imports: `CStr`, `CString`, `c_char`, `c_void` [ 202s] --> ./src/pkgmgr/server/signal.rs:39:20 [ 202s] | [ 202s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 202s] | ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^ [ 202s] [ 202s] warning: unused import: `pid_t` [ 202s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 202s] | [ 202s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: unused import: `std::cell::RefCell` [ 202s] --> ./src/pkgmgr/server/util.rs:1:5 [ 202s] | [ 202s] 1 | use std::cell::RefCell; [ 202s] | ^^^^^^^^^^^^^^^^^^ [ 202s] [ 202s] warning: unused import: `std::rc::Rc` [ 202s] --> ./src/pkgmgr/server/util.rs:8:5 [ 202s] | [ 202s] 8 | use std::rc::Rc; [ 202s] | ^^^^^^^^^^^ [ 202s] [ 202s] warning: type `xmlChar` should have an upper camel case name [ 202s] --> ./src/pkgmgr/server/util.rs:34:6 [ 202s] | [ 202s] 34 | type xmlChar = c_uchar; [ 202s] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlChar` [ 202s] [ 202s] warning: type `xmlTextReaderPtr` should have an upper camel case name [ 202s] --> ./src/pkgmgr/server/util.rs:35:6 [ 202s] | [ 202s] 35 | type xmlTextReaderPtr = *mut c_void; [ 202s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlTextReaderPtr` [ 202s] [ 202s] warning: unused imports: `CStr`, `CString` [ 202s] --> ./src/pkgmgr/server/util.rs:39:43 [ 202s] | [ 202s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 202s] | ^^^^ ^^^^^^^ [ 202s] [ 202s] warning: unused import: `pid_t` [ 202s] --> ./src/pkgmgr/server/util.rs:40:37 [ 202s] | [ 202s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: unnecessary parentheses around `if` condition [ 202s] --> ./src/pkgmgr/server/util.rs:474:24 [ 202s] | [ 202s] 474 | if (cur == depth + 1) { [ 202s] | ^ ^ [ 202s] | [ 202s] help: remove these parentheses [ 202s] | [ 202s] 474 - if (cur == depth + 1) { [ 202s] 474 + if cur == depth + 1 { [ 202s] | [ 202s] [ 202s] warning: unnecessary parentheses around `if` condition [ 202s] --> ./src/pkgmgr/server/util.rs:571:12 [ 202s] | [ 202s] 571 | if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 202s] | ^ ^ [ 202s] | [ 202s] help: remove these parentheses [ 202s] | [ 202s] 571 - if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 202s] 571 + if unzOpenCurrentFile(uf) != UNZ_OK as c_int { [ 202s] | [ 202s] [ 202s] warning: unused import: `std::ffi::CStr` [ 202s] --> ./src/pkgmgr/server/test/util_tests.rs:4:5 [ 202s] | [ 202s] 4 | use std::ffi::CStr; [ 202s] | ^^^^^^^^^^^^^^ [ 202s] [ 202s] warning: unused import: `std::mem` [ 202s] --> ./src/pkgmgr/server/test/util_tests.rs:6:5 [ 202s] | [ 202s] 6 | use std::mem; [ 202s] | ^^^^^^^^ [ 202s] [ 202s] warning: unused import: `mockall::predicate::*` [ 202s] --> ./src/pkgmgr/server/test/util_tests.rs:8:5 [ 202s] | [ 202s] 8 | use mockall::predicate::*; [ 202s] | ^^^^^^^^^^^^^^^^^^^^^ [ 202s] [ 202s] warning: unused import: `mockall::*` [ 202s] --> ./src/pkgmgr/server/test/util_tests.rs:9:5 [ 202s] | [ 202s] 9 | use mockall::*; [ 202s] | ^^^^^^^^^^ [ 202s] [ 202s] warning: unused import: `std::ffi::CString` [ 202s] --> ./src/pkgmgr/server/test/signal_tests.rs:2:5 [ 202s] | [ 202s] 2 | use std::ffi::CString; [ 202s] | ^^^^^^^^^^^^^^^^^ [ 202s] [ 202s] warning: unused import: `std::ffi::CStr` [ 202s] --> ./src/pkgmgr/server/test/signal_tests.rs:3:5 [ 202s] | [ 202s] 3 | use std::ffi::CStr; [ 202s] | ^^^^^^^^^^^^^^ [ 202s] [ 202s] warning: unused import: `std::ffi::c_char` [ 202s] --> ./src/pkgmgr/server/test/signal_tests.rs:4:5 [ 202s] | [ 202s] 4 | use std::ffi::c_char; [ 202s] | ^^^^^^^^^^^^^^^^ [ 202s] [ 202s] warning: unused import: `std::mem` [ 202s] --> ./src/pkgmgr/server/test/signal_tests.rs:5:5 [ 202s] | [ 202s] 5 | use std::mem; [ 202s] | ^^^^^^^^ [ 202s] [ 202s] warning: unused import: `mockall::predicate::*` [ 202s] --> ./src/pkgmgr/server/test/signal_tests.rs:6:5 [ 202s] | [ 202s] 6 | use mockall::predicate::*; [ 202s] | ^^^^^^^^^^^^^^^^^^^^^ [ 202s] [ 202s] warning: unused import: `mockall::*` [ 202s] --> ./src/pkgmgr/server/test/signal_tests.rs:7:5 [ 202s] | [ 202s] 7 | use mockall::*; [ 202s] | ^^^^^^^^^^ [ 202s] [ 202s] warning: unused import: `pid_t` [ 202s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 202s] | [ 202s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: unused import: `std::cell::RefCell` [ 202s] --> ./src/pkgmgr/server/mod.rs:22:5 [ 202s] | [ 202s] 22 | use std::cell::RefCell; [ 202s] | ^^^^^^^^^^^^^^^^^^ [ 202s] [ 202s] warning: unused import: `std::rc::Rc` [ 202s] --> ./src/pkgmgr/server/mod.rs:26:5 [ 202s] | [ 202s] 26 | use std::rc::Rc; [ 202s] | ^^^^^^^^^^^ [ 202s] [ 202s] warning: unused import: `std::process::Command` [ 202s] --> ./src/main.rs:9:5 [ 202s] | [ 202s] 9 | use std::process::Command; [ 202s] | ^^^^^^^^^^^^^^^^^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:5:26 [ 202s] | [ 202s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 202s] | ^^^^^ [ 202s] | [ 202s] = note: `#[warn(deprecated)]` on by default [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:5:33 [ 202s] | [ 202s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:20:20 [ 202s] | [ 202s] 20 | const GLOBAL_USER: uid_t = 201; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:322:25 [ 202s] | [ 202s] 322 | let mut caller_uid: uid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:443:25 [ 202s] | [ 202s] 443 | let mut caller_uid: uid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:548:25 [ 202s] | [ 202s] 548 | let mut caller_uid: uid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:595:25 [ 202s] | [ 202s] 595 | let mut caller_uid: uid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:718:25 [ 202s] | [ 202s] 718 | let mut caller_uid: uid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:801:25 [ 202s] | [ 202s] 801 | let mut caller_uid: uid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:853:25 [ 202s] | [ 202s] 853 | let mut caller_uid: uid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:937:25 [ 202s] | [ 202s] 937 | let mut caller_uid: uid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:990:25 [ 202s] | [ 202s] 990 | let mut caller_uid: uid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1015:76 [ 202s] | [ 202s] 1015 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, true) { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1072:25 [ 202s] | [ 202s] 1072 | let mut caller_uid: uid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1097:76 [ 202s] | [ 202s] 1097 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, false) { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1151:25 [ 202s] | [ 202s] 1151 | let mut caller_pid: pid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1152:25 [ 202s] | [ 202s] 1152 | let mut caller_uid: uid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1166:62 [ 202s] | [ 202s] 1166 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1196:66 [ 202s] | [ 202s] 1196 | let ret = Util::RegisterPkgUpdateInfo(handle, uid as uid_t); [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1215:25 [ 202s] | [ 202s] 1215 | let mut caller_pid: pid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1216:25 [ 202s] | [ 202s] 1216 | let mut caller_uid: uid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1230:62 [ 202s] | [ 202s] 1230 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1254:109 [ 202s] | [ 202s] 1254 | RequestResult::DELAYED(generated_req_key, Util::UnregisterPkgUpdateInfo(pkg_id.as_ptr(), uid as uid_t)) [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1270:25 [ 202s] | [ 202s] 1270 | let mut caller_pid: pid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1271:25 [ 202s] | [ 202s] 1271 | let mut caller_uid: uid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1303:95 [ 202s] | [ 202s] 1303 | RequestResult::DELAYED(generated_req_key, Util::UnregisterAllPkgUpdateInfo(uid as uid_t, caller_uid)) [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1312:45 [ 202s] | [ 202s] 1312 | fn handle_enable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1359:60 [ 202s] | [ 202s] 1359 | fn handle_enable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1371:40 [ 202s] | [ 202s] 1371 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1373:40 [ 202s] | [ 202s] 1373 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1380:36 [ 202s] | [ 202s] 1380 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1382:36 [ 202s] | [ 202s] 1382 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1392:36 [ 202s] | [ 202s] 1392 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1394:36 [ 202s] | [ 202s] 1394 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1400:28 [ 202s] | [ 202s] 1400 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1403:46 [ 202s] | [ 202s] 1403 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1404:59 [ 202s] | [ 202s] 1404 | Util::EnableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1405:32 [ 202s] | [ 202s] 1405 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1409:28 [ 202s] | [ 202s] 1409 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1415:46 [ 202s] | [ 202s] 1415 | fn handle_disable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1463:61 [ 202s] | [ 202s] 1463 | fn handle_disable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1475:40 [ 202s] | [ 202s] 1475 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1477:40 [ 202s] | [ 202s] 1477 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1484:36 [ 202s] | [ 202s] 1484 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1486:36 [ 202s] | [ 202s] 1486 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1496:36 [ 202s] | [ 202s] 1496 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1498:36 [ 202s] | [ 202s] 1498 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1504:28 [ 202s] | [ 202s] 1504 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1507:46 [ 202s] | [ 202s] 1507 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1508:60 [ 202s] | [ 202s] 1508 | Util::DisableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1509:32 [ 202s] | [ 202s] 1509 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1513:28 [ 202s] | [ 202s] 1513 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1535:25 [ 202s] | [ 202s] 1535 | let mut caller_uid: uid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1562:70 [ 202s] | [ 202s] 1562 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1588:25 [ 202s] | [ 202s] 1588 | let mut caller_uid: uid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1615:71 [ 202s] | [ 202s] 1615 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1673:74 [ 202s] | [ 202s] 1673 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1735:75 [ 202s] | [ 202s] 1735 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1765:25 [ 202s] | [ 202s] 1765 | let mut caller_uid: uid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1792:85 [ 202s] | [ 202s] 1792 | RequestResult::VAL(handle_enable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1818:25 [ 202s] | [ 202s] 1818 | let mut caller_uid: uid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1845:86 [ 202s] | [ 202s] 1845 | RequestResult::VAL(handle_disable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1863:40 [ 202s] | [ 202s] 1863 | Util::KillAppsInPkg(pkg_id, uid as uid_t) [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1873:25 [ 202s] | [ 202s] 1873 | let mut caller_pid: pid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1874:25 [ 202s] | [ 202s] 1874 | let mut caller_uid: uid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1985:25 [ 202s] | [ 202s] 1985 | let mut caller_pid: pid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:1986:25 [ 202s] | [ 202s] 1986 | let mut caller_uid: uid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:2035:25 [ 202s] | [ 202s] 2035 | let mut caller_pid: pid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:2036:25 [ 202s] | [ 202s] 2036 | let mut caller_uid: uid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:2083:54 [ 202s] | [ 202s] 2083 | Util::EnableGlobalAppSplashScreen(app_id, uid as uid_t) [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:2093:55 [ 202s] | [ 202s] 2093 | Util::DisableGlobalAppSplashScreen(app_id, uid as uid_t) [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:2105:25 [ 202s] | [ 202s] 2105 | let mut caller_pid: pid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:2106:25 [ 202s] | [ 202s] 2106 | let mut caller_uid: uid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:2137:102 [ 202s] | [ 202s] 2137 | RequestResult::DELAYED(generated_req_key, Util::update_app_label(app_id.as_ptr(), uid as uid_t , label.as_ptr())) [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:2155:25 [ 202s] | [ 202s] 2155 | let mut caller_pid: pid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:2156:25 [ 202s] | [ 202s] 2156 | let mut caller_uid: uid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:2187:101 [ 202s] | [ 202s] 2187 | RequestResult::DELAYED(generated_req_key, Util::update_app_icon(app_id.as_ptr(), uid as uid_t , icon_path.as_ptr())) [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:2312:25 [ 202s] | [ 202s] 2312 | let mut caller_uid: uid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:2313:25 [ 202s] | [ 202s] 2313 | let mut caller_pid: pid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:2383:25 [ 202s] | [ 202s] 2383 | let mut caller_uid: uid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:2384:25 [ 202s] | [ 202s] 2384 | let mut caller_pid: pid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:2453:25 [ 202s] | [ 202s] 2453 | let mut caller_uid: uid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:2454:25 [ 202s] | [ 202s] 2454 | let mut caller_pid: pid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:2532:25 [ 202s] | [ 202s] 2532 | let mut caller_uid: uid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:2622:41 [ 202s] | [ 202s] 2622 | if unsafe { check_valid_path(uid as uid_t, pkg_id, file_path) } != 0 { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:2681:19 [ 202s] | [ 202s] 2681 | pid: *mut pid_t, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/admin_service.rs:2682:19 [ 202s] | [ 202s] 2682 | uid: *mut uid_t [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 202s] | [ 202s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/backend_context.rs:3:33 [ 202s] | [ 202s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/cache_service.rs:12:26 [ 202s] | [ 202s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/cache_service.rs:12:33 [ 202s] | [ 202s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/cache_service.rs:23:14 [ 202s] | [ 202s] 23 | uid: uid_t, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/cache_service.rs:48:17 [ 202s] | [ 202s] 48 | target_uid: uid_t, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/cache_service.rs:53:25 [ 202s] | [ 202s] 53 | let mut caller_uid: uid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/cache_service.rs:106:19 [ 202s] | [ 202s] 106 | pid: *mut pid_t, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/cache_service.rs:107:19 [ 202s] | [ 202s] 107 | uid: *mut uid_t [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 202s] | [ 202s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/delayed_service.rs:13:33 [ 202s] | [ 202s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/info_service.rs:2:26 [ 202s] | [ 202s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/info_service.rs:2:33 [ 202s] | [ 202s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/info_service.rs:37:90 [ 202s] | [ 202s] 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... [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/info_service.rs:38:94 [ 202s] | [ 202s] 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... [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/info_service.rs:40:88 [ 202s] | [ 202s] 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... [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/info_service.rs:40:128 [ 202s] | [ 202s] 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... [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/info_service.rs:54:17 [ 202s] | [ 202s] 54 | target_uid: uid_t, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/info_service.rs:60:25 [ 202s] | [ 202s] 60 | let mut caller_pid: pid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/info_service.rs:61:25 [ 202s] | [ 202s] 61 | let mut caller_uid: uid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/info_service.rs:114:17 [ 202s] | [ 202s] 114 | target_uid: uid_t, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/info_service.rs:120:25 [ 202s] | [ 202s] 120 | let mut caller_pid: pid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/info_service.rs:121:25 [ 202s] | [ 202s] 121 | let mut caller_uid: uid_t = 0; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/info_service.rs:223:17 [ 202s] | [ 202s] 223 | target_uid: uid_t, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/info_service.rs:225:15 [ 202s] | [ 202s] 225 | pid: *mut pid_t, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/info_service.rs:228:43 [ 202s] | [ 202s] 228 | Util::check_app(pkg_id, target_uid as uid_t, pid) [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/info_service.rs:242:19 [ 202s] | [ 202s] 242 | pid: *mut pid_t, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/info_service.rs:243:19 [ 202s] | [ 202s] 243 | uid: *mut uid_t [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/signal.rs:2:26 [ 202s] | [ 202s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 202s] | [ 202s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/signal.rs:99:20 [ 202s] | [ 202s] 99 | const GLOBAL_USER: uid_t = 201; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/signal.rs:101:33 [ 202s] | [ 202s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/signal.rs:101:47 [ 202s] | [ 202s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/signal.rs:102:26 [ 202s] | [ 202s] 102 | let mut uid_vec: Vec = vec![]; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/signal.rs:110:28 [ 202s] | [ 202s] 110 | let mut uids: *mut uid_t = std::ptr::null_mut(); [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/signal.rs:124:14 [ 202s] | [ 202s] 124 | uid: uid_t, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/signal.rs:53:44 [ 202s] | [ 202s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/signal.rs:62:14 [ 202s] | [ 202s] 62 | uid: uid_t, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/signal.rs:86:14 [ 202s] | [ 202s] 86 | uid: uid_t, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/signal.rs:40:30 [ 202s] | [ 202s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 202s] | [ 202s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/signal.rs:44:45 [ 202s] | [ 202s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:4:26 [ 202s] | [ 202s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:4:33 [ 202s] | [ 202s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:22:21 [ 202s] | [ 202s] 22 | const REGULAR_USER: uid_t = 5000; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:23:20 [ 202s] | [ 202s] 23 | const GLOBAL_USER: uid_t = 201; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:25:18 [ 202s] | [ 202s] 25 | const APPFW_UID: uid_t = 301; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:307:36 [ 202s] | [ 202s] 307 | let uid : uid_t = user_data as uid_t; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:307:15 [ 202s] | [ 202s] 307 | let uid : uid_t = user_data as uid_t; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:326:81 [ 202s] | [ 202s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:326:93 [ 202s] | [ 202s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:326:25 [ 202s] | [ 202s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:326:37 [ 202s] | [ 202s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:389:57 [ 202s] | [ 202s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:420:55 [ 202s] | [ 202s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:686:62 [ 202s] | [ 202s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:696:63 [ 202s] | [ 202s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:706:44 [ 202s] | [ 202s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:706:63 [ 202s] | [ 202s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:728:49 [ 202s] | [ 202s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:738:50 [ 202s] | [ 202s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:747:55 [ 202s] | [ 202s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:757:56 [ 202s] | [ 202s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:766:61 [ 202s] | [ 202s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:775:62 [ 202s] | [ 202s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:784:67 [ 202s] | [ 202s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:793:68 [ 202s] | [ 202s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:802:54 [ 202s] | [ 202s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:802:64 [ 202s] | [ 202s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:813:47 [ 202s] | [ 202s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:835:53 [ 202s] | [ 202s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:855:25 [ 202s] | [ 202s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:983:69 [ 202s] | [ 202s] 983 | pub fn get_application_info_by_appid(appid: *const c_char, uid: uid_t) -> Option<(CString, bool)> { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:1012:41 [ 202s] | [ 202s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:1012:53 [ 202s] | [ 202s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:1029:71 [ 202s] | [ 202s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:1029:90 [ 202s] | [ 202s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:1076:56 [ 202s] | [ 202s] 1076 | pub fn update_app_label(appid: *const c_char, uid: uid_t, label: *const c_char) -> c_int { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:1080:55 [ 202s] | [ 202s] 1080 | pub fn update_app_icon(appid: *const c_char, uid: uid_t, icon_path: *const c_char) -> c_int { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:1108:49 [ 202s] | [ 202s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:1108:66 [ 202s] | [ 202s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:156:14 [ 202s] | [ 202s] 156 | uid: uid_t, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:166:14 [ 202s] | [ 202s] 166 | uid: uid_t, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:180:14 [ 202s] | [ 202s] 180 | uid: uid_t [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:185:14 [ 202s] | [ 202s] 185 | uid: uid_t [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:189:14 [ 202s] | [ 202s] 189 | uid: uid_t [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:194:14 [ 202s] | [ 202s] 194 | uid: uid_t, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:200:14 [ 202s] | [ 202s] 200 | uid: uid_t, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:206:14 [ 202s] | [ 202s] 206 | uid: uid_t, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:212:14 [ 202s] | [ 202s] 212 | uid: uid_t, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:218:14 [ 202s] | [ 202s] 218 | uid: uid_t, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:224:14 [ 202s] | [ 202s] 224 | uid: uid_t, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:237:32 [ 202s] | [ 202s] 237 | fn gum_user_get_sync(uid : uid_t, offline : c_int) -> *mut c_void; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:266:21 [ 202s] | [ 202s] 266 | caller_uid: uid_t [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:274:14 [ 202s] | [ 202s] 274 | uid: uid_t, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:40:30 [ 202s] | [ 202s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:40:37 [ 202s] | [ 202s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:46:18 [ 202s] | [ 202s] 46 | uid: uid_t, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:52:18 [ 202s] | [ 202s] 52 | uid: uid_t, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:67:18 [ 202s] | [ 202s] 67 | uid: uid_t, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:101:18 [ 202s] | [ 202s] 101 | uid: uid_t, [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:122:70 [ 202s] | [ 202s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:123:66 [ 202s] | [ 202s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:124:59 [ 202s] | [ 202s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/util.rs:125:97 [ 202s] | [ 202s] 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; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 202s] | [ 202s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 202s] | [ 202s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/test/signal_tests.rs:12:26 [ 202s] | [ 202s] 12 | let mut uid_vec: Vec = vec![]; [ 202s] | ^^^^^ [ 202s] [ 202s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 202s] --> ./src/pkgmgr/server/test/signal_tests.rs:19:26 [ 202s] | [ 202s] 19 | let mut uid_vec: Vec = vec![]; [ 202s] | ^^^^^ [ 202s] [ 205s] warning: unreachable expression [ 205s] --> ./src/pkgmgr/server/backend_queue.rs:64:5 [ 205s] | [ 205s] 61 | return G_SOURCE_CONTINUE; [ 205s] | ------------------------ any code following this expression is unreachable [ 205s] ... [ 205s] 64 | 1 [ 205s] | ^ unreachable expression [ 205s] | [ 205s] = note: `#[warn(unreachable_code)]` on by default [ 205s] [ 212s] warning: unused import: `super::super::super::server::service::Service` [ 212s] --> ./src/pkgmgr/server/test/info_service_tests.rs:3:5 [ 212s] | [ 212s] 3 | use super::super::super::server::service::Service; [ 212s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 212s] [ 212s] warning: unused variable: `context` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:297:5 [ 212s] | [ 212s] 297 | context: *mut c_void, [ 212s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 212s] | [ 212s] = note: `#[warn(unused_variables)]` on by default [ 212s] [ 212s] warning: unused variable: `context` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:306:5 [ 212s] | [ 212s] 306 | context: *mut c_void, [ 212s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 212s] [ 212s] warning: unused variable: `user_data` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:307:5 [ 212s] | [ 212s] 307 | user_data: *mut c_void, [ 212s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 212s] [ 212s] warning: unused variable: `ret` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:323:9 [ 212s] | [ 212s] 323 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 212s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 212s] [ 212s] warning: unused variable: `req_id` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:318:5 [ 212s] | [ 212s] 318 | req_id: *const c_char, [ 212s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/admin_service.rs:415:9 [ 212s] | [ 212s] 415 | let mut backend_context = BackendContext::new( [ 212s] | ----^^^^^^^^^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] | [ 212s] = note: `#[warn(unused_mut)]` on by default [ 212s] [ 212s] warning: unused variable: `ret` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:444:9 [ 212s] | [ 212s] 444 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 212s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 212s] [ 212s] warning: unused variable: `req_id` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:434:5 [ 212s] | [ 212s] 434 | req_id: *const c_char, [ 212s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/admin_service.rs:510:9 [ 212s] | [ 212s] 510 | let mut backend_context = BackendContext::new( [ 212s] | ----^^^^^^^^^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: unused variable: `ret` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:549:9 [ 212s] | [ 212s] 549 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 212s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/admin_service.rs:571:9 [ 212s] | [ 212s] 571 | let mut backend_context = BackendContext::new( [ 212s] | ----^^^^^^^^^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: unused variable: `ret` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:596:9 [ 212s] | [ 212s] 596 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 212s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 212s] [ 212s] warning: unused variable: `req_id` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:591:5 [ 212s] | [ 212s] 591 | req_id: *const c_char, [ 212s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/admin_service.rs:688:9 [ 212s] | [ 212s] 688 | let mut backend_context = BackendContext::new( [ 212s] | ----^^^^^^^^^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: unused variable: `ret` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:719:9 [ 212s] | [ 212s] 719 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 212s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 212s] [ 212s] warning: unused variable: `req_id` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:706:5 [ 212s] | [ 212s] 706 | req_id: *const c_char, [ 212s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/admin_service.rs:763:9 [ 212s] | [ 212s] 763 | let mut backend_context = BackendContext::new( [ 212s] | ----^^^^^^^^^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: unused variable: `ret` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:802:9 [ 212s] | [ 212s] 802 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 212s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/admin_service.rs:824:9 [ 212s] | [ 212s] 824 | let mut backend_context = BackendContext::new( [ 212s] | ----^^^^^^^^^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: unused variable: `ret` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:854:9 [ 212s] | [ 212s] 854 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 212s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/admin_service.rs:898:9 [ 212s] | [ 212s] 898 | let mut backend_context = BackendContext::new( [ 212s] | ----^^^^^^^^^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: unused variable: `ret` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:938:9 [ 212s] | [ 212s] 938 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 212s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/admin_service.rs:961:9 [ 212s] | [ 212s] 961 | let mut backend_context = BackendContext::new( [ 212s] | ----^^^^^^^^^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: unused variable: `ret` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:991:9 [ 212s] | [ 212s] 991 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 212s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/admin_service.rs:1038:17 [ 212s] | [ 212s] 1038 | let mut backend_context = BackendContext::new( [ 212s] | ----^^^^^^^^^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: unused variable: `ret` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:1073:9 [ 212s] | [ 212s] 1073 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 212s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/admin_service.rs:1123:17 [ 212s] | [ 212s] 1123 | let mut backend_context = BackendContext::new( [ 212s] | ----^^^^^^^^^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: unused variable: `pkg_id` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:1186:9 [ 212s] | [ 212s] 1186 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) }); [ 212s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/admin_service.rs:1180:9 [ 212s] | [ 212s] 1180 | let mut handle : *mut c_void = Util::CreatePkgUpdateInfo(pkg_id, version, update_type); [ 212s] | ----^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/admin_service.rs:1190:9 [ 212s] | [ 212s] 1190 | let mut backend_context = BackendContext::new( [ 212s] | ----^^^^^^^^^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/admin_service.rs:1248:9 [ 212s] | [ 212s] 1248 | let mut backend_context = BackendContext::new( [ 212s] | ----^^^^^^^^^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/admin_service.rs:1297:9 [ 212s] | [ 212s] 1297 | let mut backend_context = BackendContext::new( [ 212s] | ----^^^^^^^^^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: unused variable: `is_global` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:1321:17 [ 212s] | [ 212s] 1321 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 212s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 212s] [ 212s] warning: unused variable: `is_global` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:1368:17 [ 212s] | [ 212s] 1368 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 212s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 212s] [ 212s] warning: unused variable: `is_global` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:1424:17 [ 212s] | [ 212s] 1424 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 212s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 212s] [ 212s] warning: unused variable: `is_global` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:1472:17 [ 212s] | [ 212s] 1472 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 212s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 212s] [ 212s] warning: unused variable: `caller_uid` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:1535:13 [ 212s] | [ 212s] 1535 | let mut caller_uid: uid_t = 0; [ 212s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 212s] [ 212s] warning: unused variable: `context` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:1521:5 [ 212s] | [ 212s] 1521 | context: *mut c_void, [ 212s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/admin_service.rs:1535:9 [ 212s] | [ 212s] 1535 | let mut caller_uid: uid_t = 0; [ 212s] | ----^^^^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/admin_service.rs:1558:13 [ 212s] | [ 212s] 1558 | let mut backend_context = BackendContext::new( [ 212s] | ----^^^^^^^^^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: unused variable: `caller_uid` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:1588:13 [ 212s] | [ 212s] 1588 | let mut caller_uid: uid_t = 0; [ 212s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 212s] [ 212s] warning: unused variable: `context` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:1574:5 [ 212s] | [ 212s] 1574 | context: *mut c_void, [ 212s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/admin_service.rs:1588:9 [ 212s] | [ 212s] 1588 | let mut caller_uid: uid_t = 0; [ 212s] | ----^^^^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/admin_service.rs:1611:13 [ 212s] | [ 212s] 1611 | let mut backend_context = BackendContext::new( [ 212s] | ----^^^^^^^^^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: unused variable: `context` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:1627:5 [ 212s] | [ 212s] 1627 | context: *mut c_void, [ 212s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/admin_service.rs:1669:17 [ 212s] | [ 212s] 1669 | let mut backend_context = BackendContext::new( [ 212s] | ----^^^^^^^^^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: unused variable: `context` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:1689:5 [ 212s] | [ 212s] 1689 | context: *mut c_void, [ 212s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/admin_service.rs:1731:17 [ 212s] | [ 212s] 1731 | let mut backend_context = BackendContext::new( [ 212s] | ----^^^^^^^^^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: unused variable: `caller_uid` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:1765:13 [ 212s] | [ 212s] 1765 | let mut caller_uid: uid_t = 0; [ 212s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 212s] [ 212s] warning: unused variable: `context` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:1751:5 [ 212s] | [ 212s] 1751 | context: *mut c_void, [ 212s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/admin_service.rs:1765:9 [ 212s] | [ 212s] 1765 | let mut caller_uid: uid_t = 0; [ 212s] | ----^^^^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/admin_service.rs:1788:13 [ 212s] | [ 212s] 1788 | let mut backend_context = BackendContext::new( [ 212s] | ----^^^^^^^^^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: unused variable: `caller_uid` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:1818:13 [ 212s] | [ 212s] 1818 | let mut caller_uid: uid_t = 0; [ 212s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 212s] [ 212s] warning: unused variable: `context` [ 212s] --> ./src/pkgmgr/server/admin_service.rs:1804:5 [ 212s] | [ 212s] 1804 | context: *mut c_void, [ 212s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/admin_service.rs:1818:9 [ 212s] | [ 212s] 1818 | let mut caller_uid: uid_t = 0; [ 212s] | ----^^^^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 212s] warning: variable does not need to be mutable [ 212s] --> ./src/pkgmgr/server/admin_service.rs:1841:13 [ 212s] | [ 212s] 1841 | let mut backend_context = BackendContext::new( [ 212s] | ----^^^^^^^^^^^^^^^ [ 212s] | | [ 212s] | help: remove this `mut` [ 212s] [ 213s] warning: unused variable: `context` [ 213s] --> ./src/pkgmgr/server/admin_service.rs:1857:5 [ 213s] | [ 213s] 1857 | context: *mut c_void, [ 213s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 213s] [ 213s] warning: unused variable: `pid` [ 213s] --> ./src/pkgmgr/server/admin_service.rs:1860:5 [ 213s] | [ 213s] 1860 | pid: *mut c_int, [ 213s] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [ 213s] [ 213s] warning: unused variable: `user_data` [ 213s] --> ./src/pkgmgr/server/admin_service.rs:1861:5 [ 213s] | [ 213s] 1861 | user_data: *mut c_void, [ 213s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 213s] [ 213s] warning: variable does not need to be mutable [ 213s] --> ./src/pkgmgr/server/admin_service.rs:1900:9 [ 213s] | [ 213s] 1900 | let mut backend_context = BackendContext::new( [ 213s] | ----^^^^^^^^^^^^^^^ [ 213s] | | [ 213s] | help: remove this `mut` [ 213s] [ 213s] warning: unused variable: `context` [ 213s] --> ./src/pkgmgr/server/admin_service.rs:1932:5 [ 213s] | [ 213s] 1932 | context: *mut c_void, [ 213s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 213s] [ 213s] warning: variable does not need to be mutable [ 213s] --> ./src/pkgmgr/server/admin_service.rs:2012:9 [ 213s] | [ 213s] 2012 | let mut backend_context = BackendContext::new( [ 213s] | ----^^^^^^^^^^^^^^^ [ 213s] | | [ 213s] | help: remove this `mut` [ 213s] [ 213s] warning: variable does not need to be mutable [ 213s] --> ./src/pkgmgr/server/admin_service.rs:2063:9 [ 213s] | [ 213s] 2063 | let mut backend_context = BackendContext::new( [ 213s] | ----^^^^^^^^^^^^^^^ [ 213s] | | [ 213s] | help: remove this `mut` [ 213s] [ 213s] warning: unused variable: `context` [ 213s] --> ./src/pkgmgr/server/admin_service.rs:2078:5 [ 213s] | [ 213s] 2078 | context: *mut c_void, [ 213s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 213s] [ 213s] warning: unused variable: `user_data` [ 213s] --> ./src/pkgmgr/server/admin_service.rs:2081:5 [ 213s] | [ 213s] 2081 | user_data: *mut c_void, [ 213s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 213s] [ 213s] warning: unused variable: `context` [ 213s] --> ./src/pkgmgr/server/admin_service.rs:2088:5 [ 213s] | [ 213s] 2088 | context: *mut c_void, [ 213s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 213s] [ 213s] warning: unused variable: `user_data` [ 213s] --> ./src/pkgmgr/server/admin_service.rs:2091:5 [ 213s] | [ 213s] 2091 | user_data: *mut c_void, [ 213s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 213s] [ 213s] warning: variable does not need to be mutable [ 213s] --> ./src/pkgmgr/server/admin_service.rs:2133:9 [ 213s] | [ 213s] 2133 | let mut backend_context = BackendContext::new( [ 213s] | ----^^^^^^^^^^^^^^^ [ 213s] | | [ 213s] | help: remove this `mut` [ 213s] [ 213s] warning: variable does not need to be mutable [ 213s] --> ./src/pkgmgr/server/admin_service.rs:2183:9 [ 213s] | [ 213s] 2183 | let mut backend_context = BackendContext::new( [ 213s] | ----^^^^^^^^^^^^^^^ [ 213s] | | [ 213s] | help: remove this `mut` [ 213s] [ 213s] warning: unused variable: `context` [ 213s] --> ./src/pkgmgr/server/admin_service.rs:2198:5 [ 213s] | [ 213s] 2198 | context: *mut c_void, [ 213s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 213s] [ 213s] warning: unused variable: `uid` [ 213s] --> ./src/pkgmgr/server/admin_service.rs:2199:5 [ 213s] | [ 213s] 2199 | uid: c_int, [ 213s] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [ 213s] [ 213s] warning: unused variable: `pkg_id` [ 213s] --> ./src/pkgmgr/server/admin_service.rs:2200:5 [ 213s] | [ 213s] 2200 | pkg_id: *const c_char, [ 213s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 213s] [ 213s] warning: unused variable: `user_data` [ 213s] --> ./src/pkgmgr/server/admin_service.rs:2201:5 [ 213s] | [ 213s] 2201 | user_data: *mut c_void, [ 213s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 213s] [ 213s] warning: variable does not need to be mutable [ 213s] --> ./src/pkgmgr/server/admin_service.rs:2364:9 [ 213s] | [ 213s] 2364 | let mut backend_context = BackendContext::new( [ 213s] | ----^^^^^^^^^^^^^^^ [ 213s] | | [ 213s] | help: remove this `mut` [ 213s] [ 213s] warning: variable does not need to be mutable [ 213s] --> ./src/pkgmgr/server/admin_service.rs:2434:9 [ 213s] | [ 213s] 2434 | let mut backend_context = BackendContext::new( [ 213s] | ----^^^^^^^^^^^^^^^ [ 213s] | | [ 213s] | help: remove this `mut` [ 213s] [ 213s] warning: variable does not need to be mutable [ 213s] --> ./src/pkgmgr/server/admin_service.rs:2504:9 [ 213s] | [ 213s] 2504 | let mut backend_context = BackendContext::new( [ 213s] | ----^^^^^^^^^^^^^^^ [ 213s] | | [ 213s] | help: remove this `mut` [ 213s] [ 213s] warning: unused variable: `ret` [ 213s] --> ./src/pkgmgr/server/admin_service.rs:2533:9 [ 213s] | [ 213s] 2533 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 213s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 213s] [ 213s] warning: variable does not need to be mutable [ 213s] --> ./src/pkgmgr/server/admin_service.rs:2552:9 [ 213s] | [ 213s] 2552 | let mut backend_context = BackendContext::new( [ 213s] | ----^^^^^^^^^^^^^^^ [ 213s] | | [ 213s] | help: remove this `mut` [ 213s] [ 213s] warning: unused variable: `context` [ 213s] --> ./src/pkgmgr/server/admin_service.rs:2567:5 [ 213s] | [ 213s] 2567 | context: *mut c_void, [ 213s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 213s] [ 213s] warning: variable does not need to be mutable [ 213s] --> ./src/pkgmgr/server/admin_service.rs:2597:9 [ 213s] | [ 213s] 2597 | let mut backend_context = BackendContext::new( [ 213s] | ----^^^^^^^^^^^^^^^ [ 213s] | | [ 213s] | help: remove this `mut` [ 213s] [ 213s] warning: unused variable: `context` [ 213s] --> ./src/pkgmgr/server/admin_service.rs:2612:5 [ 213s] | [ 213s] 2612 | context: *mut c_void, [ 213s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 213s] [ 213s] warning: variable does not need to be mutable [ 213s] --> ./src/pkgmgr/server/admin_service.rs:2656:9 [ 213s] | [ 213s] 2656 | let mut backend_context = BackendContext::new( [ 213s] | ----^^^^^^^^^^^^^^^ [ 213s] | | [ 213s] | help: remove this `mut` [ 213s] [ 213s] warning: unused variable: `status` [ 213s] --> ./src/pkgmgr/server/backend_queue.rs:38:17 [ 213s] | [ 213s] 38 | let mut status: c_int; [ 213s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [ 213s] [ 213s] warning: unused variable: `io` [ 213s] --> ./src/pkgmgr/server/backend_queue.rs:30:33 [ 213s] | [ 213s] 30 | extern "C" fn signal_handler_cb(io: *mut glib_sys::GIOChannel, [ 213s] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [ 213s] [ 213s] warning: unused variable: `cond` [ 213s] --> ./src/pkgmgr/server/backend_queue.rs:31:9 [ 213s] | [ 213s] 31 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 213s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 213s] [ 213s] warning: variable does not need to be mutable [ 213s] --> ./src/pkgmgr/server/backend_queue.rs:71:9 [ 213s] | [ 213s] 71 | let mut mut_queue = queue.borrow_mut(); [ 213s] | ----^^^^^^^^^ [ 213s] | | [ 213s] | help: remove this `mut` [ 213s] [ 213s] warning: variable does not need to be mutable [ 213s] --> ./src/pkgmgr/server/backend_queue.rs:189:28 [ 213s] | [ 213s] 189 | pub fn push(&mut self, mut context: BackendContext) -> i32 { [ 213s] | ----^^^^^^^ [ 213s] | | [ 213s] | help: remove this `mut` [ 213s] [ 213s] warning: unused variable: `req_key` [ 213s] --> ./src/pkgmgr/server/backend_queue.rs:296:41 [ 213s] | [ 213s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 213s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_key` [ 213s] [ 213s] warning: unused variable: `ret` [ 213s] --> ./src/pkgmgr/server/backend_queue.rs:296:50 [ 213s] | [ 213s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 213s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 213s] [ 213s] warning: unused variable: `s` [ 213s] --> ./src/pkgmgr/server/backend_queue.rs:296:55 [ 213s] | [ 213s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 213s] | ^ help: if this is intentional, prefix it with an underscore: `_s` [ 213s] [ 213s] warning: variable does not need to be mutable [ 213s] --> ./src/pkgmgr/server/backend_queue.rs:278:25 [ 213s] | [ 213s] 278 | let mut backend: &mut Backend = backend.unwrap(); [ 213s] | ----^^^^^^^ [ 213s] | | [ 213s] | help: remove this `mut` [ 213s] [ 213s] warning: unused variable: `context` [ 213s] --> ./src/pkgmgr/server/cache_service.rs:31:5 [ 213s] | [ 213s] 31 | context: *mut c_void, [ 213s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 213s] [ 213s] warning: unused variable: `context` [ 213s] --> ./src/pkgmgr/server/cache_service.rs:40:5 [ 213s] | [ 213s] 40 | context: *mut c_void, [ 213s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 213s] [ 213s] warning: unused variable: `user_data` [ 213s] --> ./src/pkgmgr/server/cache_service.rs:41:5 [ 213s] | [ 213s] 41 | user_data: *mut c_void, [ 213s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 213s] [ 213s] warning: unused variable: `ret` [ 213s] --> ./src/pkgmgr/server/cache_service.rs:54:9 [ 213s] | [ 213s] 54 | let ret = unsafe { rpc_port_stub_PkgMgrForClearCache_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 213s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 213s] [ 213s] warning: value assigned to `pkg_type` is never read [ 213s] --> ./src/pkgmgr/server/cache_service.rs:63:13 [ 213s] | [ 213s] 63 | let mut pkg_type: String = String::new(); [ 213s] | ^^^^^^^^ [ 213s] | [ 213s] = help: maybe it is overwritten before being read? [ 213s] = note: `#[warn(unused_assignments)]` on by default [ 213s] [ 213s] warning: variable does not need to be mutable [ 213s] --> ./src/pkgmgr/server/cache_service.rs:83:9 [ 213s] | [ 213s] 83 | let mut backend_context = BackendContext::new( [ 213s] | ----^^^^^^^^^^^^^^^ [ 213s] | | [ 213s] | help: remove this `mut` [ 213s] [ 213s] warning: unused variable: `context` [ 213s] --> ./src/pkgmgr/server/delayed_service.rs:32:5 [ 213s] | [ 213s] 32 | context: *mut c_void, [ 213s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 213s] [ 213s] warning: unused variable: `context` [ 213s] --> ./src/pkgmgr/server/delayed_service.rs:41:5 [ 213s] | [ 213s] 41 | context: *mut c_void, [ 213s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 213s] [ 213s] warning: unused variable: `user_data` [ 213s] --> ./src/pkgmgr/server/delayed_service.rs:42:5 [ 213s] | [ 213s] 42 | user_data: *mut c_void, [ 213s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 213s] [ 213s] warning: unused variable: `context` [ 213s] --> ./src/pkgmgr/server/delayed_service.rs:48:5 [ 213s] | [ 213s] 48 | context: *mut c_void, [ 213s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 213s] [ 213s] warning: unused variable: `context` [ 213s] --> ./src/pkgmgr/server/info_service.rs:43:55 [ 213s] | [ 213s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 213s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 213s] [ 213s] warning: unused variable: `context` [ 213s] --> ./src/pkgmgr/server/info_service.rs:48:58 [ 213s] | [ 213s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 213s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 213s] [ 213s] warning: unused variable: `user_data` [ 213s] --> ./src/pkgmgr/server/info_service.rs:48:80 [ 213s] | [ 213s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 213s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 213s] [ 214s] warning: variable does not need to be mutable [ 214s] --> ./src/pkgmgr/server/info_service.rs:98:9 [ 214s] | [ 214s] 98 | let mut backend_context = BackendContext::new( [ 214s] | ----^^^^^^^^^^^^^^^ [ 214s] | | [ 214s] | help: remove this `mut` [ 214s] [ 214s] warning: variable does not need to be mutable [ 214s] --> ./src/pkgmgr/server/info_service.rs:160:9 [ 214s] | [ 214s] 160 | let mut backend_context = BackendContext::new( [ 214s] | ----^^^^^^^^^^^^^^^ [ 214s] | | [ 214s] | help: remove this `mut` [ 214s] [ 214s] warning: unused variable: `context` [ 214s] --> ./src/pkgmgr/server/info_service.rs:195:5 [ 214s] | [ 214s] 195 | context: *mut c_void, [ 214s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 214s] [ 214s] warning: unused variable: `context` [ 214s] --> ./src/pkgmgr/server/info_service.rs:222:5 [ 214s] | [ 214s] 222 | context: *mut c_void, [ 214s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 214s] [ 214s] warning: unused variable: `user_data` [ 214s] --> ./src/pkgmgr/server/info_service.rs:226:5 [ 214s] | [ 214s] 226 | user_data: *mut c_void [ 214s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 214s] [ 214s] warning: variable does not need to be mutable [ 214s] --> ./src/pkgmgr/server/signal.rs:144:13 [ 214s] | [ 214s] 144 | let mut c_req_type: c_int; [ 214s] | ----^^^^^^^^^^ [ 214s] | | [ 214s] | help: remove this `mut` [ 214s] [ 219s] warning: value assigned to `size_result` is never read [ 219s] --> ./src/pkgmgr/server/util.rs:351:17 [ 219s] | [ 219s] 351 | let mut size_result: i64 = -1; [ 219s] | ^^^^^^^^^^^ [ 219s] | [ 219s] = help: maybe it is overwritten before being read? [ 219s] [ 219s] warning: unused variable: `cond` [ 219s] --> ./src/pkgmgr/server/util.rs:341:9 [ 219s] | [ 219s] 341 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 219s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 219s] [ 219s] warning: value assigned to `ret` is never read [ 219s] --> ./src/pkgmgr/server/util.rs:425:21 [ 219s] | [ 219s] 425 | let mut ret: c_int = 0; [ 219s] | ^^^ [ 219s] | [ 219s] = help: maybe it is overwritten before being read? [ 219s] [ 219s] warning: unreachable pattern [ 219s] --> ./src/pkgmgr/server/util.rs:478:17 [ 219s] | [ 219s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 219s] | -------------------------------------- matches any value [ 219s] ... [ 219s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 219s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 219s] | [ 219s] = note: `#[warn(unreachable_patterns)]` on by default [ 219s] [ 219s] warning: unreachable pattern [ 219s] --> ./src/pkgmgr/server/util.rs:483:17 [ 219s] | [ 219s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 219s] | -------------------------------------- matches any value [ 219s] ... [ 219s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 219s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 219s] [ 219s] warning: unreachable pattern [ 219s] --> ./src/pkgmgr/server/util.rs:488:17 [ 219s] | [ 219s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 219s] | -------------------------------------- matches any value [ 219s] ... [ 219s] 488 | _ => { [ 219s] | ^ unreachable pattern [ 219s] [ 219s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 219s] --> ./src/pkgmgr/server/util.rs:473:17 [ 219s] | [ 219s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 219s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 219s] [ 219s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_TEXT` [ 219s] --> ./src/pkgmgr/server/util.rs:478:17 [ 219s] | [ 219s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 219s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_TEXT` [ 219s] [ 219s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 219s] --> ./src/pkgmgr/server/util.rs:483:17 [ 219s] | [ 219s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 219s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 219s] [ 219s] warning: variable does not need to be mutable [ 219s] --> ./src/pkgmgr/server/util.rs:519:13 [ 219s] | [ 219s] 519 | let mut attr = xmlTextReaderGetAttribute(reader, RES_TYPE_ATTRIBUTE_KEY.as_ptr()); [ 219s] | ----^^^^ [ 219s] | | [ 219s] | help: remove this `mut` [ 219s] [ 219s] warning: variable does not need to be mutable [ 219s] --> ./src/pkgmgr/server/util.rs:588:13 [ 219s] | [ 219s] 588 | let mut reader = [ 219s] | ----^^^^^^ [ 219s] | | [ 219s] | help: remove this `mut` [ 219s] [ 219s] warning: unused variable: `gid` [ 219s] --> ./src/pkgmgr/server/util.rs:891:52 [ 219s] | [ 219s] 891 | fn set_environment(mut envs: Vec<&mut String>, gid: libc::gid_t) -> bool { [ 219s] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:15:38 [ 219s] | [ 219s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `y` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:15:40 [ 219s] | [ 219s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 219s] [ 219s] warning: unused variable: `z` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:15:42 [ 219s] | [ 219s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:22:38 [ 219s] | [ 219s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `y` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:22:40 [ 219s] | [ 219s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 219s] [ 219s] warning: unused variable: `z` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:22:42 [ 219s] | [ 219s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:29:38 [ 219s] | [ 219s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `y` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:29:40 [ 219s] | [ 219s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 219s] [ 219s] warning: unused variable: `z` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:29:42 [ 219s] | [ 219s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:31:39 [ 219s] | [ 219s] 31 | ctx2.expect().times(1).returning(|x,y| 1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `y` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:31:41 [ 219s] | [ 219s] 31 | ctx2.expect().times(1).returning(|x,y| 1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:38:38 [ 219s] | [ 219s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `y` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:38:40 [ 219s] | [ 219s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 219s] [ 219s] warning: unused variable: `z` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:38:42 [ 219s] | [ 219s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:40:39 [ 219s] | [ 219s] 40 | ctx2.expect().times(1).returning(|x,y: *mut bool| { [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:45:40 [ 219s] | [ 219s] 45 | ctx_d.expect().times(1).returning(|x| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:52:38 [ 219s] | [ 219s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `y` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:52:40 [ 219s] | [ 219s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 219s] [ 219s] warning: unused variable: `z` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:52:42 [ 219s] | [ 219s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:54:39 [ 219s] | [ 219s] 54 | ctx2.expect().times(1).returning(|x,y: *mut bool| { [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:59:40 [ 219s] | [ 219s] 59 | ctx_d.expect().times(1).returning(|x| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:67:38 [ 219s] | [ 219s] 67 | ctx.expect().times(1).returning(|x,y| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `y` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:67:40 [ 219s] | [ 219s] 67 | ctx.expect().times(1).returning(|x,y| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:74:38 [ 219s] | [ 219s] 74 | ctx.expect().times(1).returning(|x,y| 1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `y` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:74:40 [ 219s] | [ 219s] 74 | ctx.expect().times(1).returning(|x,y| 1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:76:39 [ 219s] | [ 219s] 76 | ctx2.expect().times(1).returning(|x,y| -1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `y` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:76:41 [ 219s] | [ 219s] 76 | ctx2.expect().times(1).returning(|x,y| -1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:83:38 [ 219s] | [ 219s] 83 | ctx.expect().times(1).returning(|x,y| 1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `y` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:83:40 [ 219s] | [ 219s] 83 | ctx.expect().times(1).returning(|x,y| 1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:85:39 [ 219s] | [ 219s] 85 | ctx2.expect().times(1).returning(|x,y| 1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `y` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:85:41 [ 219s] | [ 219s] 85 | ctx2.expect().times(1).returning(|x,y| 1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:87:39 [ 219s] | [ 219s] 87 | ctx3.expect().times(1).returning(|x,y| 1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `y` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:87:41 [ 219s] | [ 219s] 87 | ctx3.expect().times(1).returning(|x,y| 1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:94:38 [ 219s] | [ 219s] 94 | ctx.expect().times(1).returning(|x,y| 1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `y` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:94:40 [ 219s] | [ 219s] 94 | ctx.expect().times(1).returning(|x,y| 1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:96:39 [ 219s] | [ 219s] 96 | ctx2.expect().times(1).returning(|x,y| 1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `y` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:96:41 [ 219s] | [ 219s] 96 | ctx2.expect().times(1).returning(|x,y| 1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:98:39 [ 219s] | [ 219s] 98 | ctx3.expect().times(1).returning(|x,y| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `y` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:98:41 [ 219s] | [ 219s] 98 | ctx3.expect().times(1).returning(|x,y| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:106:38 [ 219s] | [ 219s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `y` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:106:40 [ 219s] | [ 219s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 219s] [ 219s] warning: unused variable: `z` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:106:42 [ 219s] | [ 219s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:113:38 [ 219s] | [ 219s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `y` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:113:40 [ 219s] | [ 219s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 219s] [ 219s] warning: unused variable: `z` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:113:42 [ 219s] | [ 219s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:115:39 [ 219s] | [ 219s] 115 | ctx2.expect().times(1).returning(|x,y| 1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `y` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:115:41 [ 219s] | [ 219s] 115 | ctx2.expect().times(1).returning(|x,y| 1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:117:39 [ 219s] | [ 219s] 117 | ctx3.expect().times(1).returning(|x| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:124:38 [ 219s] | [ 219s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `y` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:124:40 [ 219s] | [ 219s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 219s] [ 219s] warning: unused variable: `z` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:124:42 [ 219s] | [ 219s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:126:39 [ 219s] | [ 219s] 126 | ctx2.expect().times(1).returning(|x,y| { [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:131:39 [ 219s] | [ 219s] 131 | ctx3.expect().times(1).returning(|x| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:138:38 [ 219s] | [ 219s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `y` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:138:40 [ 219s] | [ 219s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 219s] [ 219s] warning: unused variable: `z` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:138:42 [ 219s] | [ 219s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:140:39 [ 219s] | [ 219s] 140 | ctx2.expect().times(1).returning(|x,y| { [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:145:39 [ 219s] | [ 219s] 145 | ctx3.expect().times(1).returning(|x| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:153:38 [ 219s] | [ 219s] 153 | ctx.expect().times(1).returning(|x| 1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:160:38 [ 219s] | [ 219s] 160 | ctx.expect().times(1).returning(|x| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:162:39 [ 219s] | [ 219s] 162 | ctx2.expect().times(1).returning(|x,y| 1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `y` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:162:41 [ 219s] | [ 219s] 162 | ctx2.expect().times(1).returning(|x,y| 1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:164:40 [ 219s] | [ 219s] 164 | ctx_d.expect().times(1).returning(|x| -1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:171:38 [ 219s] | [ 219s] 171 | ctx.expect().times(1).returning(|x| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:173:39 [ 219s] | [ 219s] 173 | ctx2.expect().times(1).returning(|x,y| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `y` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:173:41 [ 219s] | [ 219s] 173 | ctx2.expect().times(1).returning(|x,y| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:175:39 [ 219s] | [ 219s] 175 | ctx3.expect().times(1).returning(|x,y| 1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `y` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:175:41 [ 219s] | [ 219s] 175 | ctx3.expect().times(1).returning(|x,y| 1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:177:40 [ 219s] | [ 219s] 177 | ctx_d.expect().times(1).returning(|x| -1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:184:38 [ 219s] | [ 219s] 184 | ctx.expect().times(1).returning(|x| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:186:39 [ 219s] | [ 219s] 186 | ctx2.expect().times(1).returning(|x,y| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `y` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:186:41 [ 219s] | [ 219s] 186 | ctx2.expect().times(1).returning(|x,y| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:188:39 [ 219s] | [ 219s] 188 | ctx3.expect().times(1).returning(|x,y| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `y` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:188:41 [ 219s] | [ 219s] 188 | ctx3.expect().times(1).returning(|x,y| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:190:39 [ 219s] | [ 219s] 190 | ctx4.expect().times(1).returning(|x,y| 1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `y` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:190:41 [ 219s] | [ 219s] 190 | ctx4.expect().times(1).returning(|x,y| 1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:192:40 [ 219s] | [ 219s] 192 | ctx_d.expect().times(1).returning(|x| -1); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:199:38 [ 219s] | [ 219s] 199 | ctx.expect().times(1).returning(|x| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:201:39 [ 219s] | [ 219s] 201 | ctx2.expect().times(1).returning(|x,y| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `y` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:201:41 [ 219s] | [ 219s] 201 | ctx2.expect().times(1).returning(|x,y| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:203:39 [ 219s] | [ 219s] 203 | ctx3.expect().times(1).returning(|x,y| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `y` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:203:41 [ 219s] | [ 219s] 203 | ctx3.expect().times(1).returning(|x,y| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 219s] [ 219s] warning: unused variable: `x` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:205:39 [ 219s] | [ 219s] 205 | ctx4.expect().times(1).returning(|x,y| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 219s] [ 219s] warning: unused variable: `y` [ 219s] --> ./src/pkgmgr/server/test/util_tests.rs:205:41 [ 219s] | [ 219s] 205 | ctx4.expect().times(1).returning(|x,y| 0); [ 219s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 219s] [ 220s] warning: unused variable: `x` [ 220s] --> ./src/pkgmgr/server/test/util_tests.rs:213:38 [ 220s] | [ 220s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 220s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 220s] [ 220s] warning: unused variable: `y` [ 220s] --> ./src/pkgmgr/server/test/util_tests.rs:213:40 [ 220s] | [ 220s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 220s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 220s] [ 220s] warning: unused variable: `z` [ 220s] --> ./src/pkgmgr/server/test/util_tests.rs:213:42 [ 220s] | [ 220s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 220s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 220s] [ 220s] warning: unused variable: `x` [ 220s] --> ./src/pkgmgr/server/test/util_tests.rs:220:38 [ 220s] | [ 220s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 220s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 220s] [ 220s] warning: unused variable: `y` [ 220s] --> ./src/pkgmgr/server/test/util_tests.rs:220:40 [ 220s] | [ 220s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 220s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 220s] [ 220s] warning: unused variable: `z` [ 220s] --> ./src/pkgmgr/server/test/util_tests.rs:220:42 [ 220s] | [ 220s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 220s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 220s] [ 220s] warning: unused variable: `x` [ 220s] --> ./src/pkgmgr/server/test/util_tests.rs:222:39 [ 220s] | [ 220s] 222 | ctx2.expect().times(1).returning(|x,y| 1); [ 220s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 220s] [ 220s] warning: unused variable: `y` [ 220s] --> ./src/pkgmgr/server/test/util_tests.rs:222:41 [ 220s] | [ 220s] 222 | ctx2.expect().times(1).returning(|x,y| 1); [ 220s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 220s] [ 220s] warning: unused variable: `x` [ 220s] --> ./src/pkgmgr/server/test/util_tests.rs:224:40 [ 220s] | [ 220s] 224 | ctx_d.expect().times(1).returning(|x| 0); [ 220s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 220s] [ 220s] warning: unused variable: `x` [ 220s] --> ./src/pkgmgr/server/test/util_tests.rs:231:38 [ 220s] | [ 220s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 220s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 220s] [ 220s] warning: unused variable: `y` [ 220s] --> ./src/pkgmgr/server/test/util_tests.rs:231:40 [ 220s] | [ 220s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 220s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 220s] [ 220s] warning: unused variable: `z` [ 220s] --> ./src/pkgmgr/server/test/util_tests.rs:231:42 [ 220s] | [ 220s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 220s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 220s] [ 220s] warning: unused variable: `x` [ 220s] --> ./src/pkgmgr/server/test/util_tests.rs:233:39 [ 220s] | [ 220s] 233 | ctx2.expect().times(1).returning(|x,y| 0); [ 220s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 220s] [ 220s] warning: unused variable: `y` [ 220s] --> ./src/pkgmgr/server/test/util_tests.rs:233:41 [ 220s] | [ 220s] 233 | ctx2.expect().times(1).returning(|x,y| 0); [ 220s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 220s] [ 220s] warning: unused variable: `x` [ 220s] --> ./src/pkgmgr/server/test/util_tests.rs:235:39 [ 220s] | [ 220s] 235 | ctx3.expect().times(1).returning(|x,y| 1); [ 220s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 220s] [ 220s] warning: unused variable: `y` [ 220s] --> ./src/pkgmgr/server/test/util_tests.rs:235:41 [ 220s] | [ 220s] 235 | ctx3.expect().times(1).returning(|x,y| 1); [ 220s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 220s] [ 220s] warning: unused variable: `x` [ 220s] --> ./src/pkgmgr/server/test/util_tests.rs:237:40 [ 220s] | [ 220s] 237 | ctx_d.expect().times(1).returning(|x| 0); [ 220s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 220s] [ 220s] warning: unused variable: `x` [ 220s] --> ./src/pkgmgr/server/test/util_tests.rs:244:38 [ 220s] | [ 220s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 220s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 220s] [ 220s] warning: unused variable: `y` [ 220s] --> ./src/pkgmgr/server/test/util_tests.rs:244:40 [ 220s] | [ 220s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 220s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 220s] [ 220s] warning: unused variable: `z` [ 220s] --> ./src/pkgmgr/server/test/util_tests.rs:244:42 [ 220s] | [ 220s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 220s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 220s] [ 220s] warning: unused variable: `x` [ 220s] --> ./src/pkgmgr/server/test/util_tests.rs:246:39 [ 220s] | [ 220s] 246 | ctx2.expect().times(1).returning(|x,y| { [ 220s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 220s] [ 220s] warning: unused variable: `x` [ 220s] --> ./src/pkgmgr/server/test/util_tests.rs:251:39 [ 220s] | [ 220s] 251 | ctx3.expect().times(1).returning(|x, y| { [ 220s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 220s] [ 220s] warning: unused variable: `x` [ 220s] --> ./src/pkgmgr/server/test/util_tests.rs:256:40 [ 220s] | [ 220s] 256 | ctx_d.expect().times(1).returning(|x| 0); [ 220s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 220s] [ 220s] warning: unused variable: `x` [ 220s] --> ./src/pkgmgr/server/test/util_tests.rs:264:38 [ 220s] | [ 220s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 220s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 220s] [ 220s] warning: unused variable: `y` [ 220s] --> ./src/pkgmgr/server/test/util_tests.rs:264:40 [ 220s] | [ 220s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 220s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 220s] [ 220s] warning: unused variable: `z` [ 220s] --> ./src/pkgmgr/server/test/util_tests.rs:264:42 [ 220s] | [ 220s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 220s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 220s] [ 220s] warning: unused variable: `e` [ 220s] --> ./src/pkgmgr/server/test/util_tests.rs:264:44 [ 220s] | [ 220s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 220s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 220s] [ 220s] warning: unused variable: `x` [ 220s] --> ./src/pkgmgr/server/test/util_tests.rs:271:38 [ 220s] | [ 220s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 220s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 220s] [ 220s] warning: unused variable: `z` [ 220s] --> ./src/pkgmgr/server/test/util_tests.rs:271:42 [ 220s] | [ 220s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 220s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 220s] [ 220s] warning: unused variable: `e` [ 220s] --> ./src/pkgmgr/server/test/util_tests.rs:271:44 [ 220s] | [ 220s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 220s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 220s] [ 220s] warning: unused variable: `x` [ 220s] --> ./src/pkgmgr/server/test/util_tests.rs:285:38 [ 220s] | [ 220s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 220s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 220s] [ 220s] warning: unused variable: `z` [ 220s] --> ./src/pkgmgr/server/test/util_tests.rs:285:42 [ 220s] | [ 220s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 220s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 220s] [ 220s] warning: unused variable: `e` [ 220s] --> ./src/pkgmgr/server/test/util_tests.rs:285:44 [ 220s] | [ 220s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 220s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 220s] [ 220s] warning: unused variable: `x` [ 220s] --> ./src/pkgmgr/server/test/signal_tests.rs:21:38 [ 220s] | [ 220s] 21 | ctx.expect().times(1).returning(|x| 0); [ 220s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 220s] [ 220s] warning: variable does not need to be mutable [ 220s] --> ./src/pkgmgr/server/test/signal_tests.rs:19:9 [ 220s] | [ 220s] 19 | let mut uid_vec: Vec = vec![]; [ 220s] | ----^^^^^^^ [ 220s] | | [ 220s] | help: remove this `mut` [ 220s] [ 220s] warning: variable does not need to be mutable [ 220s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:7:9 [ 220s] | [ 220s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 220s] | ----^^^^^^^^^^^^^ [ 220s] | | [ 220s] | help: remove this `mut` [ 220s] [ 220s] warning: variable does not need to be mutable [ 220s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:14:9 [ 220s] | [ 220s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 220s] | ----^^^^^^^^^^^^^ [ 220s] | | [ 220s] | help: remove this `mut` [ 220s] [ 220s] warning: variable does not need to be mutable [ 220s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:7:9 [ 220s] | [ 220s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 220s] | ----^^^^^^^^^^^^^ [ 220s] | | [ 220s] | help: remove this `mut` [ 220s] [ 220s] warning: variable does not need to be mutable [ 220s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:14:9 [ 220s] | [ 220s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 220s] | ----^^^^^^^^^^^^^ [ 220s] | | [ 220s] | help: remove this `mut` [ 220s] [ 220s] warning: variable does not need to be mutable [ 220s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:7:9 [ 220s] | [ 220s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 220s] | ----^^^^^^^^^^^^^ [ 220s] | | [ 220s] | help: remove this `mut` [ 220s] [ 220s] warning: variable does not need to be mutable [ 220s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:14:9 [ 220s] | [ 220s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 220s] | ----^^^^^^^^^^^^^ [ 220s] | | [ 220s] | help: remove this `mut` [ 220s] [ 220s] warning: variable does not need to be mutable [ 220s] --> ./src/pkgmgr/server/test/info_service_tests.rs:7:9 [ 220s] | [ 220s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 220s] | ----^^^^^^^^^^^^^ [ 220s] | | [ 220s] | help: remove this `mut` [ 220s] [ 220s] warning: variable does not need to be mutable [ 220s] --> ./src/pkgmgr/server/test/info_service_tests.rs:14:9 [ 220s] | [ 220s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 220s] | ----^^^^^^^^^^^^^ [ 220s] | | [ 220s] | help: remove this `mut` [ 220s] [ 220s] warning: variable does not need to be mutable [ 220s] --> ./src/pkgmgr/server/mod.rs:89:13 [ 220s] | [ 220s] 89 | let mut backend_queue = BackendQueue::new(self.mainloop); [ 220s] | ----^^^^^^^^^^^^^ [ 220s] | | [ 220s] | help: remove this `mut` [ 220s] [ 220s] warning: unnecessary `unsafe` block [ 220s] --> ./src/pkgmgr/server/admin_service.rs:995:32 [ 220s] | [ 220s] 993 | unsafe { [ 220s] | ------ because it's nested under this `unsafe` block [ 220s] 994 | match CString::new(generated_req_key.clone()) { [ 220s] 995 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 220s] | ^^^^^^ unnecessary `unsafe` block [ 220s] | [ 220s] = note: `#[warn(unused_unsafe)]` on by default [ 220s] [ 220s] warning: unnecessary `unsafe` block [ 220s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 220s] | [ 220s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 220s] | ^^^^^^ unnecessary `unsafe` block [ 220s] | [ 220s] ::: ./src/pkgmgr/server/admin_service.rs:993:5 [ 220s] | [ 220s] 993 | unsafe { [ 220s] | ------ because it's nested under this `unsafe` block [ 220s] ... [ 220s] 997 | error!("Fail to generate req key, err({:?})", e); [ 220s] | ------------------------------------------------ in this macro invocation [ 220s] | [ 220s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 220s] [ 220s] warning: unnecessary `unsafe` block [ 220s] --> ./src/pkgmgr/server/admin_service.rs:1023:46 [ 220s] | [ 220s] 993 | unsafe { [ 220s] | ------ because it's nested under this `unsafe` block [ 220s] ... [ 220s] 1023 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 220s] | ^^^^^^ unnecessary `unsafe` block [ 220s] [ 220s] warning: unnecessary `unsafe` block [ 220s] --> ./src/pkgmgr/server/admin_service.rs:1077:32 [ 220s] | [ 220s] 1075 | unsafe { [ 220s] | ------ because it's nested under this `unsafe` block [ 220s] 1076 | match CString::new(generated_req_key.clone()) { [ 220s] 1077 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 220s] | ^^^^^^ unnecessary `unsafe` block [ 220s] [ 220s] warning: unnecessary `unsafe` block [ 220s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 220s] | [ 220s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 220s] | ^^^^^^ unnecessary `unsafe` block [ 220s] | [ 220s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 220s] | [ 220s] 1075 | unsafe { [ 220s] | ------ because it's nested under this `unsafe` block [ 220s] ... [ 220s] 1079 | error!("Fail to generate req key, err({:?})", e); [ 220s] | ------------------------------------------------ in this macro invocation [ 220s] | [ 220s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 220s] [ 220s] warning: unnecessary `unsafe` block [ 220s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 220s] | [ 220s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 220s] | ^^^^^^ unnecessary `unsafe` block [ 220s] | [ 220s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 220s] | [ 220s] 1075 | unsafe { [ 220s] | ------ because it's nested under this `unsafe` block [ 220s] ... [ 220s] 1106 | debug!("push disable pkg {pkg_id}"); [ 220s] | ----------------------------------- in this macro invocation [ 220s] | [ 220s] = 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) [ 220s] [ 220s] warning: unnecessary `unsafe` block [ 220s] --> ./src/pkgmgr/server/admin_service.rs:1108:46 [ 220s] | [ 220s] 1075 | unsafe { [ 220s] | ------ because it's nested under this `unsafe` block [ 220s] ... [ 220s] 1108 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 220s] | ^^^^^^ unnecessary `unsafe` block [ 220s] [ 220s] warning: unnecessary `unsafe` block [ 220s] --> ./src/pkgmgr/server/admin_service.rs:1537:5 [ 220s] | [ 220s] 1537 | unsafe { [ 220s] | ^^^^^^ unnecessary `unsafe` block [ 220s] [ 220s] warning: unnecessary `unsafe` block [ 220s] --> ./src/pkgmgr/server/admin_service.rs:1590:5 [ 220s] | [ 220s] 1590 | unsafe { [ 220s] | ^^^^^^ unnecessary `unsafe` block [ 220s] [ 220s] warning: unnecessary `unsafe` block [ 220s] --> ./src/pkgmgr/server/admin_service.rs:1643:32 [ 220s] | [ 220s] 1641 | unsafe { [ 220s] | ------ because it's nested under this `unsafe` block [ 220s] 1642 | match CString::new(generated_req_key.clone()) { [ 220s] 1643 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 220s] | ^^^^^^ unnecessary `unsafe` block [ 220s] [ 220s] warning: unnecessary `unsafe` block [ 220s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 220s] | [ 220s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 220s] | ^^^^^^ unnecessary `unsafe` block [ 220s] | [ 220s] ::: ./src/pkgmgr/server/admin_service.rs:1641:5 [ 220s] | [ 220s] 1641 | unsafe { [ 220s] | ------ because it's nested under this `unsafe` block [ 220s] ... [ 220s] 1645 | error!("Fail to generate req key, err({:?})", e); [ 220s] | ------------------------------------------------ in this macro invocation [ 220s] | [ 220s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 220s] [ 220s] warning: unnecessary `unsafe` block [ 220s] --> ./src/pkgmgr/server/admin_service.rs:1657:42 [ 220s] | [ 220s] 1641 | unsafe { [ 220s] | ------ because it's nested under this `unsafe` block [ 220s] ... [ 220s] 1657 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 220s] | ^^^^^^ unnecessary `unsafe` block [ 220s] [ 220s] warning: unnecessary `unsafe` block [ 220s] --> ./src/pkgmgr/server/admin_service.rs:1705:32 [ 220s] | [ 220s] 1703 | unsafe { [ 220s] | ------ because it's nested under this `unsafe` block [ 220s] 1704 | match CString::new(generated_req_key.clone()) { [ 220s] 1705 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 220s] | ^^^^^^ unnecessary `unsafe` block [ 220s] [ 220s] warning: unnecessary `unsafe` block [ 220s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 220s] | [ 220s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 220s] | ^^^^^^ unnecessary `unsafe` block [ 220s] | [ 220s] ::: ./src/pkgmgr/server/admin_service.rs:1703:5 [ 220s] | [ 220s] 1703 | unsafe { [ 220s] | ------ because it's nested under this `unsafe` block [ 220s] ... [ 220s] 1707 | error!("Fail to generate req key, err({:?})", e); [ 220s] | ------------------------------------------------ in this macro invocation [ 220s] | [ 220s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 220s] [ 220s] warning: unnecessary `unsafe` block [ 220s] --> ./src/pkgmgr/server/admin_service.rs:1719:42 [ 220s] | [ 220s] 1703 | unsafe { [ 220s] | ------ because it's nested under this `unsafe` block [ 220s] ... [ 220s] 1719 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 220s] | ^^^^^^ unnecessary `unsafe` block [ 220s] [ 220s] warning: unnecessary `unsafe` block [ 220s] --> ./src/pkgmgr/server/admin_service.rs:1767:5 [ 220s] | [ 220s] 1767 | unsafe { [ 220s] | ^^^^^^ unnecessary `unsafe` block [ 220s] [ 220s] warning: unnecessary `unsafe` block [ 220s] --> ./src/pkgmgr/server/admin_service.rs:1820:5 [ 220s] | [ 220s] 1820 | unsafe { [ 220s] | ^^^^^^ unnecessary `unsafe` block [ 220s] [ 220s] warning: unnecessary `unsafe` block [ 220s] --> ./src/pkgmgr/server/admin_service.rs:2296:17 [ 220s] | [ 220s] 2294 | unsafe { [ 220s] | ------ because it's nested under this `unsafe` block [ 220s] 2295 | if !(*value.offset(i as isize)).is_null() { [ 220s] 2296 | unsafe { free(*value.offset(i as isize) as *mut _) }; [ 220s] | ^^^^^^ unnecessary `unsafe` block [ 220s] [ 220s] warning: unnecessary `unsafe` block [ 220s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 220s] | [ 220s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 220s] | ^^^^^^ unnecessary `unsafe` block [ 220s] | [ 220s] ::: ./src/pkgmgr/server/admin_service.rs:2793:9 [ 220s] | [ 220s] 2793 | unsafe { [ 220s] | ------ because it's nested under this `unsafe` block [ 220s] 2794 | let ret = rpc_port_stub_PkgMgrAdmin_register(&mut self.callbacks, self as *mut _ as *mut c_void); [ 220s] 2795 | debug!("admin service start : {ret}"); [ 220s] | ------------------------------------- in this macro invocation [ 220s] | [ 220s] = 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) [ 220s] [ 220s] warning: unnecessary `unsafe` block [ 220s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 220s] | [ 220s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 220s] | ^^^^^^ unnecessary `unsafe` block [ 220s] | [ 220s] ::: ./src/pkgmgr/server/admin_service.rs:2801:9 [ 220s] | [ 220s] 2801 | unsafe { [ 220s] | ------ because it's nested under this `unsafe` block [ 220s] 2802 | let ret = rpc_port_stub_PkgMgrAdmin_unregister(); [ 220s] 2803 | debug!("ret : {ret}"); [ 220s] | --------------------- in this macro invocation [ 220s] | [ 220s] = 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) [ 220s] [ 220s] warning: unnecessary `unsafe` block [ 220s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 220s] | [ 220s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 220s] | ^^^^^^ unnecessary `unsafe` block [ 220s] | [ 220s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 220s] | [ 220s] 204 | unsafe { [ 220s] | ------ because it's nested under this `unsafe` block [ 220s] ... [ 220s] 210 | error!("sigprocmask failed"); [ 220s] | ---------------------------- in this macro invocation [ 220s] | [ 220s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 220s] [ 220s] warning: unnecessary `unsafe` block [ 220s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 220s] | [ 220s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 220s] | ^^^^^^ unnecessary `unsafe` block [ 220s] | [ 220s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 220s] | [ 220s] 204 | unsafe { [ 220s] | ------ because it's nested under this `unsafe` block [ 220s] ... [ 220s] 216 | error!("signalfd failed"); [ 220s] | ------------------------- in this macro invocation [ 220s] | [ 220s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 220s] [ 220s] warning: unnecessary `unsafe` block [ 220s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 220s] | [ 220s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 220s] | ^^^^^^ unnecessary `unsafe` block [ 220s] | [ 220s] ::: ./src/pkgmgr/server/cache_service.rs:134:9 [ 220s] | [ 220s] 134 | unsafe { [ 220s] | ------ because it's nested under this `unsafe` block [ 220s] ... [ 220s] 139 | debug!("cache service start : {ret}"); [ 220s] | ------------------------------------- in this macro invocation [ 220s] | [ 220s] = 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) [ 220s] [ 220s] warning: unnecessary `unsafe` block [ 220s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 220s] | [ 220s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 220s] | ^^^^^^ unnecessary `unsafe` block [ 220s] | [ 220s] ::: ./src/pkgmgr/server/cache_service.rs:145:9 [ 220s] | [ 220s] 145 | unsafe { [ 220s] | ------ because it's nested under this `unsafe` block [ 220s] 146 | let ret = rpc_port_stub_PkgMgrForClearCache_unregister(); [ 220s] 147 | debug!("ret : {ret}"); [ 220s] | --------------------- in this macro invocation [ 220s] | [ 220s] = 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) [ 220s] [ 220s] warning: unnecessary `unsafe` block [ 220s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 220s] | [ 220s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 220s] | ^^^^^^ unnecessary `unsafe` block [ 220s] | [ 220s] ::: ./src/pkgmgr/server/delayed_service.rs:107:9 [ 220s] | [ 220s] 107 | unsafe { [ 220s] | ------ because it's nested under this `unsafe` block [ 220s] ... [ 220s] 112 | debug!("delayed result service start : {ret}"); [ 220s] | ---------------------------------------------- in this macro invocation [ 220s] | [ 220s] = 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) [ 220s] [ 220s] warning: unnecessary `unsafe` block [ 220s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 220s] | [ 220s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 220s] | ^^^^^^ unnecessary `unsafe` block [ 220s] | [ 220s] ::: ./src/pkgmgr/server/delayed_service.rs:118:9 [ 220s] | [ 220s] 118 | unsafe { [ 220s] | ------ because it's nested under this `unsafe` block [ 220s] 119 | let ret = rpc_port_stub_DelayedResult_unregister(); [ 220s] 120 | debug!("ret : {ret}"); [ 220s] | --------------------- in this macro invocation [ 220s] | [ 220s] = 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) [ 220s] [ 220s] warning: unnecessary `unsafe` block [ 220s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 220s] | [ 220s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 220s] | ^^^^^^ unnecessary `unsafe` block [ 220s] | [ 220s] ::: ./src/pkgmgr/server/info_service.rs:165:13 [ 220s] | [ 220s] 165 | unsafe { [ 220s] | ------ because it's nested under this `unsafe` block [ 220s] 166 | if mkfifo(fifo_path.as_ptr() as *const c_char, 0o600) < 0 { [ 220s] 167 | error!("Failed to mkfifo"); [ 220s] | -------------------------- in this macro invocation [ 220s] | [ 220s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 220s] [ 220s] warning: unnecessary `unsafe` block [ 220s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 220s] | [ 220s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 220s] | ^^^^^^ unnecessary `unsafe` block [ 220s] | [ 220s] ::: ./src/pkgmgr/server/info_service.rs:268:9 [ 220s] | [ 220s] 268 | unsafe { [ 220s] | ------ because it's nested under this `unsafe` block [ 220s] ... [ 220s] 273 | debug!("info service start : {ret}"); [ 220s] | ------------------------------------ in this macro invocation [ 220s] | [ 220s] = 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) [ 220s] [ 220s] warning: unnecessary `unsafe` block [ 220s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 220s] | [ 220s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 220s] | ^^^^^^ unnecessary `unsafe` block [ 220s] | [ 220s] ::: ./src/pkgmgr/server/info_service.rs:279:9 [ 220s] | [ 220s] 279 | unsafe { [ 220s] | ------ because it's nested under this `unsafe` block [ 220s] 280 | let ret = rpc_port_stub_PkgMgr_unregister(); [ 220s] 281 | debug!("ret : {ret}"); [ 220s] | --------------------- in this macro invocation [ 220s] | [ 220s] = 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) [ 220s] [ 220s] warning: unnecessary `unsafe` block [ 220s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 220s] | [ 220s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 220s] | ^^^^^^ unnecessary `unsafe` block [ 220s] | [ 220s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 220s] | [ 220s] 131 | unsafe { [ 220s] | ------ because it's nested under this `unsafe` block [ 220s] ... [ 220s] 134 | error!("Failure in creating the pkgmgr_installer object"); [ 220s] | --------------------------------------------------------- in this macro invocation [ 220s] | [ 220s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 220s] [ 220s] warning: unnecessary `unsafe` block [ 220s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 220s] | [ 220s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 220s] | ^^^^^^ unnecessary `unsafe` block [ 220s] | [ 220s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 220s] | [ 220s] 131 | unsafe { [ 220s] | ------ because it's nested under this `unsafe` block [ 220s] ... [ 220s] 139 | error!("pkgmgr_installer_set_uid fail"); [ 220s] | --------------------------------------- in this macro invocation [ 220s] | [ 220s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 220s] [ 220s] warning: unnecessary `unsafe` block [ 220s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 220s] | [ 220s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 220s] | ^^^^^^ unnecessary `unsafe` block [ 220s] | [ 220s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 220s] | [ 220s] 131 | unsafe { [ 220s] | ------ because it's nested under this `unsafe` block [ 220s] ... [ 220s] 154 | warn!("Unsupported req_type[{}]", req_type as c_int); [ 220s] | ---------------------------------------------------- in this macro invocation [ 220s] | [ 220s] = 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) [ 220s] [ 220s] warning: unnecessary `unsafe` block [ 220s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 220s] | [ 220s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 220s] | ^^^^^^ unnecessary `unsafe` block [ 220s] | [ 220s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 220s] | [ 220s] 131 | unsafe { [ 220s] | ------ because it's nested under this `unsafe` block [ 220s] ... [ 220s] 161 | error!("pkgmgr_installer_set_request_type fail"); [ 220s] | ------------------------------------------------ in this macro invocation [ 220s] | [ 220s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 220s] [ 220s] warning: unnecessary `unsafe` block [ 220s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 220s] | [ 220s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 220s] | ^^^^^^ unnecessary `unsafe` block [ 220s] | [ 220s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 220s] | [ 220s] 131 | unsafe { [ 220s] | ------ because it's nested under this `unsafe` block [ 220s] ... [ 220s] 168 | error!("pkgmgr_installer_set_session_id fail : {:?}", c_req_id); [ 220s] | --------------------------------------------------------------- in this macro invocation [ 220s] | [ 220s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 220s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 222s] | [ 222s] 309 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] 310 | if pkgmgrinfo_appinfo_get_appid(pkgmgrinfo_appinfo_h, &mut app_id) != 0 { [ 222s] 311 | error!("Failed get appid"); [ 222s] | -------------------------- in this macro invocation [ 222s] | [ 222s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 222s] | [ 222s] 309 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] ... [ 222s] 314 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 222s] | --------------------------------------------------------- in this macro invocation [ 222s] | [ 222s] = 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) [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/server/util.rs:326:46 [ 222s] | [ 222s] 325 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 222s] | [ 222s] 325 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] ... [ 222s] 329 | error!("Failed get appid"); [ 222s] | -------------------------- in this macro invocation [ 222s] | [ 222s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 222s] | [ 222s] 325 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] ... [ 222s] 333 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 222s] | --------------------------------------------------------- in this macro invocation [ 222s] | [ 222s] = 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) [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 222s] | [ 222s] 342 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] ... [ 222s] 355 | error!("getsize fd read failed: {:?}", Util::c_char_to_cstr((*err).message)); [ 222s] | ---------------------------------------------------------------------------- in this macro invocation [ 222s] | [ 222s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 222s] | [ 222s] 342 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] ... [ 222s] 361 | error!("empty result"); [ 222s] | ---------------------- in this macro invocation [ 222s] | [ 222s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 222s] | [ 222s] 390 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] ... [ 222s] 399 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 222s] | --------------------------------------------------------- in this macro invocation [ 222s] | [ 222s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 222s] | [ 222s] 390 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] ... [ 222s] 406 | error!("Fail to get is readonly"); [ 222s] | --------------------------------- in this macro invocation [ 222s] | [ 222s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 222s] | [ 222s] 422 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] ... [ 222s] 429 | error!("Not found package"); [ 222s] | --------------------------- in this macro invocation [ 222s] | [ 222s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 222s] | [ 222s] 422 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] ... [ 222s] 445 | debug!("pkgtype - {ret_string}"); [ 222s] | -------------------------------- in this macro invocation [ 222s] | [ 222s] = 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) [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:803:9 [ 222s] | [ 222s] 803 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] 804 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 222s] 805 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 222s] | ------------------------------------------------------ in this macro invocation [ 222s] | [ 222s] = 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) [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 222s] | [ 222s] 814 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] 815 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 222s] 816 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 222s] | ------------------------------------------------------ in this macro invocation [ 222s] | [ 222s] = 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) [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 222s] | [ 222s] 814 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] ... [ 222s] 822 | error!("Failed to get pid of app{:?}", CStr::from_ptr(appid)); [ 222s] | ------------------------------------------------------------- in this macro invocation [ 222s] | [ 222s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 222s] | [ 222s] 814 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] ... [ 222s] 828 | error!("Failed to terminate app{:?}", CStr::from_ptr(appid)); [ 222s] | ------------------------------------------------------------ in this macro invocation [ 222s] | [ 222s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 222s] | [ 222s] 836 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] ... [ 222s] 840 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 222s] | --------------------------------------------------------- in this macro invocation [ 222s] | [ 222s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 222s] | [ 222s] 836 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] ... [ 222s] 848 | error!("Failed to get list for {:?}", CStr::from_ptr(pkgid)); [ 222s] | ------------------------------------------------------------ in this macro invocation [ 222s] | [ 222s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 222s] | [ 222s] 859 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] ... [ 222s] 863 | warn!("cannot get user information from gumd, retry"); [ 222s] | ----------------------------------------------------- in this macro invocation [ 222s] | [ 222s] = 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) [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 222s] | [ 222s] 859 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] ... [ 222s] 871 | error!("cannot get user information from gumd, failed"); [ 222s] | ------------------------------------------------------- in this macro invocation [ 222s] | [ 222s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 222s] | [ 222s] 859 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] ... [ 222s] 877 | error!("cannot get user type"); [ 222s] | ------------------------------ in this macro invocation [ 222s] | [ 222s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 222s] | [ 222s] 892 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] ... [ 222s] 895 | error!("Failed to get the number of supplementary group IDs"); [ 222s] | ------------------------------------------------------------- in this macro invocation [ 222s] | [ 222s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 222s] | [ 222s] 892 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] ... [ 222s] 901 | error!("Failed to get list of supplementary group IDs"); [ 222s] | ------------------------------------------------------- in this macro invocation [ 222s] | [ 222s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 222s] | [ 222s] 892 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] ... [ 222s] 908 | error!("setgroups failed: {}", *__errno_location()); [ 222s] | --------------------------------------------------- in this macro invocation [ 222s] | [ 222s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 222s] | [ 222s] 928 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] ... [ 222s] 942 | error!("getpwuid_r fail"); [ 222s] | ------------------------- in this macro invocation [ 222s] | [ 222s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 222s] | [ 222s] 928 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] ... [ 222s] 949 | error!("Fail to get str, err({:?})", e); [ 222s] | --------------------------------------- in this macro invocation [ 222s] | [ 222s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 222s] | [ 222s] 928 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] ... [ 222s] 957 | error!("Fail to get str, err({:?})", e); [ 222s] | --------------------------------------- in this macro invocation [ 222s] | [ 222s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 222s] | [ 222s] 928 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] ... [ 222s] 966 | error!("Failed to set env for the user : {}", APPFW_UID); [ 222s] | -------------------------------------------------------- in this macro invocation [ 222s] | [ 222s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 222s] | [ 222s] 984 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] ... [ 222s] 987 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 222s] | ----------------------------------------------------------------------------------- in this macro invocation [ 222s] | [ 222s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 222s] | [ 222s] 984 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] ... [ 222s] 993 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 222s] | ---------------------------------------------------------------------------- in this macro invocation [ 222s] | [ 222s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 222s] | [ 222s] 984 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] ... [ 222s] 1000 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 222s] | ---------------------------------------------------------------------------- in this macro invocation [ 222s] | [ 222s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/server/util.rs:1005:40 [ 222s] | [ 222s] 984 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] ... [ 222s] 1005 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) } ); [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 222s] | [ 222s] 1081 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] ... [ 222s] 1084 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 222s] | ----------------------------------------------------------------------------------- in this macro invocation [ 222s] | [ 222s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 222s] | [ 222s] 1081 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] ... [ 222s] 1090 | error!("Failed get root path for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 222s] | --------------------------------------------------------------------------- in this macro invocation [ 222s] | [ 222s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 222s] | [ 222s] 1081 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] ... [ 222s] 1098 | error!("Invalid path[{:?}]", Self::c_char_to_cstr(icon_path)); [ 222s] | ------------------------------------------------------------- in this macro invocation [ 222s] | [ 222s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:1109:9 [ 222s] | [ 222s] 1109 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] ... [ 222s] 1119 | error!("Fail to get list for {:?}", CStr::from_ptr(pkgid)); [ 222s] | ---------------------------------------------------------- in this macro invocation [ 222s] | [ 222s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 222s] | [ 222s] 1129 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] ... [ 222s] 1132 | error!("failed to open the fifo({}), errno({})", fifo_path, *__errno_location()); [ 222s] | -------------------------------------------------------------------------------- in this macro invocation [ 222s] | [ 222s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 222s] [ 222s] warning: unnecessary `unsafe` block [ 222s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 222s] | [ 222s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 222s] | ^^^^^^ unnecessary `unsafe` block [ 222s] | [ 222s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 222s] | [ 222s] 1129 | unsafe { [ 222s] | ------ because it's nested under this `unsafe` block [ 222s] ... [ 222s] 1155 | error!("failed to add io watch"); [ 222s] | -------------------------------- in this macro invocation [ 222s] | [ 222s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 222s] [ 222s] warning: constant `SD_LISTEN_FDS_START` is never used [ 222s] --> ./src/pkgmgr/server/mod.rs:28:7 [ 222s] | [ 222s] 28 | const SD_LISTEN_FDS_START: i32 = 3; [ 222s] | ^^^^^^^^^^^^^^^^^^^ [ 222s] | [ 222s] = note: `#[warn(dead_code)]` on by default [ 222s] [ 222s] warning: multiple variants are never constructed [ 222s] --> ./src/pkgmgr/server/mod.rs:43:5 [ 222s] | [ 222s] 42 | enum AUL_RETURN_VALUE { [ 222s] | ---------------- variants in this enum [ 222s] 43 | AUL_R_ENOMEM = -16, //< Out of memory (Since 5.5) [ 222s] | ^^^^^^^^^^^^ [ 222s] 44 | AUL_R_ENOENT = -15, //< App directory entry error [ 222s] | ^^^^^^^^^^^^ [ 222s] 45 | AUL_R_EREJECTED = -14, //< App disable for mode [ 222s] | ^^^^^^^^^^^^^^^ [ 222s] 46 | AUL_R_ENOAPP = -13, //< Failed to find app ID or pkg ID [ 222s] | ^^^^^^^^^^^^ [ 222s] 47 | AUL_R_EHIDDENFORGUEST = -11, //< App hidden for guest mode [ 222s] | ^^^^^^^^^^^^^^^^^^^^^ [ 222s] 48 | AUL_R_ENOLAUNCHPAD = -10, //< no launchpad [ 222s] | ^^^^^^^^^^^^^^^^^^ [ 222s] 49 | AUL_R_ETERMINATING = -9, //< application terminating [ 222s] | ^^^^^^^^^^^^^^^^^^ [ 222s] 50 | AUL_R_EILLACC = -8, //< Illegal Access [ 222s] | ^^^^^^^^^^^^^ [ 222s] 51 | AUL_R_LOCAL = -7, //< Launch by himself [ 222s] | ^^^^^^^^^^^ [ 222s] 52 | AUL_R_ETIMEOUT = -6, //< Timeout [ 222s] | ^^^^^^^^^^^^^^ [ 222s] 53 | AUL_R_ECANCELED = -5, //< Operation canceled [ 222s] | ^^^^^^^^^^^^^^^ [ 222s] 54 | AUL_R_EINVAL = -4, //< Invalid argument [ 222s] | ^^^^^^^^^^^^ [ 222s] 55 | AUL_R_ECOMM = -3, //< Comunication Error [ 222s] | ^^^^^^^^^^^ [ 222s] 56 | AUL_R_ENOINIT = -2, //< AUL handler NOT initialized [ 222s] | ^^^^^^^^^^^^^ [ 222s] 57 | AUL_R_ERROR = -1, //< General error [ 222s] | ^^^^^^^^^^^ [ 222s] [ 222s] warning: field `timer` is never read [ 222s] --> ./src/pkgmgr/server/mod.rs:63:5 [ 222s] | [ 222s] 61 | pub struct Server { [ 222s] | ------ field in this struct [ 222s] 62 | mainloop: *mut GMainLoop, [ 222s] 63 | timer: c_uint [ 222s] | ^^^^^ [ 222s] [ 222s] warning: variants `IO_ERROR`, `OUT_OF_MEMORY`, `INVALID_PARAMETER`, and `PERMISSION_DENIED` are never constructed [ 222s] --> ./src/pkgmgr/server/admin_service.rs:29:5 [ 222s] | [ 222s] 27 | enum RPC_PORT_ERROR { [ 222s] | -------------- variants in this enum [ 222s] 28 | NONE = 0, //< Successful [ 222s] 29 | IO_ERROR = -5, //< Internal I/O error [ 222s] | ^^^^^^^^ [ 222s] 30 | OUT_OF_MEMORY = -12, //< Out of memory [ 222s] | ^^^^^^^^^^^^^ [ 222s] 31 | INVALID_PARAMETER = -22, //< Invalid parameter [ 222s] | ^^^^^^^^^^^^^^^^^ [ 222s] 32 | PERMISSION_DENIED = -13, //< Permission denied [ 222s] | ^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: method `generate_request_id` is never used [ 222s] --> ./src/pkgmgr/server/admin_service.rs:2786:8 [ 222s] | [ 222s] 2713 | impl AdminService { [ 222s] | ----------------- method in this implementation [ 222s] ... [ 222s] 2786 | fn generate_request_id(&self) -> String { [ 222s] | ^^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: field `request_type` is never read [ 222s] --> ./src/pkgmgr/server/backend_context.rs:7:5 [ 222s] | [ 222s] 6 | pub struct BackendContext { [ 222s] | -------------- field in this struct [ 222s] 7 | request_type: RequestType, [ 222s] | ^^^^^^^^^^^^ [ 222s] [ 222s] warning: type alias `GIOChannel` is never used [ 222s] --> ./src/pkgmgr/server/backend_queue.rs:14:6 [ 222s] | [ 222s] 14 | type GIOChannel = *mut c_void; [ 222s] | ^^^^^^^^^^ [ 222s] [ 222s] warning: type alias `GIOCondition` is never used [ 222s] --> ./src/pkgmgr/server/backend_queue.rs:15:6 [ 222s] | [ 222s] 15 | type GIOCondition = c_int; [ 222s] | ^^^^^^^^^^^^ [ 222s] [ 222s] warning: variants `EIO`, `ENOPKG`, `EPRIV`, `ETIMEOUT`, `EINVAL`, and `ECOMM` are never constructed [ 222s] --> ./src/pkgmgr/server/info_service.rs:22:5 [ 222s] | [ 222s] 20 | enum PKGMGR_RETURN_VALUE { [ 222s] | ------------------- variants in this enum [ 222s] 21 | ESYSTEM = -9, // Severe system error [ 222s] 22 | EIO = -8, // IO error [ 222s] | ^^^ [ 222s] 23 | ENOMEM = -7, // Out of memory [ 222s] 24 | ENOPKG = -6, // No such package [ 222s] | ^^^^^^ [ 222s] 25 | EPRIV = -5, // Privilege denied [ 222s] | ^^^^^ [ 222s] 26 | ETIMEOUT = -4, // Timeout [ 222s] | ^^^^^^^^ [ 222s] 27 | EINVAL = -3, // Invalid argument [ 222s] | ^^^^^^ [ 222s] 28 | ECOMM = -2, // Comunication Error [ 222s] | ^^^^^ [ 222s] [ 222s] warning: variants `EPRIV` and `ETIMEOUT` are never constructed [ 222s] --> ./src/pkgmgr/server/pkgmgr_return_value.rs:8:5 [ 222s] | [ 222s] 3 | pub enum PKGMGR_RETURN_VALUE { [ 222s] | ------------------- variants in this enum [ 222s] ... [ 222s] 8 | EPRIV = -5, // Privilege denied [ 222s] | ^^^^^ [ 222s] 9 | ETIMEOUT = -4, // Timeout [ 222s] | ^^^^^^^^ [ 222s] [ 222s] warning: variants `KILL`, `CHECK`, `ENABLE_APP_SPLASH_SCREEN`, `DISABLE_APP_SPLASH_SCREEN`, and `MIGRATE_EXTERNAL_IMAGE` are never constructed [ 222s] --> ./src/pkgmgr/server/request_type.rs:20:5 [ 222s] | [ 222s] 1 | pub enum RequestType { [ 222s] | ----------- variants in this enum [ 222s] ... [ 222s] 20 | KILL, [ 222s] | ^^^^ [ 222s] 21 | CHECK, [ 222s] | ^^^^^ [ 222s] ... [ 222s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 222s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 222s] ... [ 222s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: multiple variants are never constructed [ 222s] --> ./src/pkgmgr/server/signal.rs:10:2 [ 222s] | [ 222s] 9 | enum PKGMGR_REQ { [ 222s] | ---------- variants in this enum [ 222s] 10 | PERM = -1, [ 222s] | ^^^^ [ 222s] 11 | INVALID = 0, [ 222s] | ^^^^^^^ [ 222s] 12 | INSTALL = 1, [ 222s] | ^^^^^^^ [ 222s] 13 | UNINSTALL = 2, [ 222s] | ^^^^^^^^^ [ 222s] 14 | CLEAR = 3, [ 222s] | ^^^^^ [ 222s] 15 | MOVE = 4, [ 222s] | ^^^^ [ 222s] 16 | RECOVER = 5, [ 222s] | ^^^^^^^ [ 222s] 17 | REINSTALL = 6, [ 222s] | ^^^^^^^^^ [ 222s] 18 | GETSIZE = 7, [ 222s] | ^^^^^^^ [ 222s] 19 | UPGRADE = 8, [ 222s] | ^^^^^^^ [ 222s] 20 | SMACK = 9, [ 222s] | ^^^^^ [ 222s] 21 | MANIFEST_DIRECT_INSTALL = 10, [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 222s] ... [ 222s] 26 | MOUNT_INSTALL = 15, [ 222s] | ^^^^^^^^^^^^^ [ 222s] 27 | DISABLE_PKG = 16, [ 222s] | ^^^^^^^^^^^ [ 222s] 28 | ENABLE_PKG = 17, [ 222s] | ^^^^^^^^^^ [ 222s] 29 | MIGRATE_EXTIMG = 18, [ 222s] | ^^^^^^^^^^^^^^ [ 222s] 30 | RECOVER_DB = 19, [ 222s] | ^^^^^^^^^^ [ 222s] 31 | RES_COPY = 20, [ 222s] | ^^^^^^^^ [ 222s] 32 | RES_CREATE_DIR = 21, [ 222s] | ^^^^^^^^^^^^^^ [ 222s] 33 | RES_REMOVE = 22, [ 222s] | ^^^^^^^^^^ [ 222s] 34 | RES_UNINSTALL = 23 [ 222s] | ^^^^^^^^^^^^^ [ 222s] [ 222s] warning: constant `TZ_SYS_GLOBALAPP_USER` is never used [ 222s] --> ./src/pkgmgr/server/signal.rs:97:7 [ 222s] | [ 222s] 97 | const TZ_SYS_GLOBALAPP_USER: c_int = 22; [ 222s] | ^^^^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: function `tzplatform_getuid` is never used [ 222s] --> ./src/pkgmgr/server/signal.rs:53:12 [ 222s] | [ 222s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 222s] | ^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: function `sd_get_uids` is never used [ 222s] --> ./src/pkgmgr/server/signal.rs:44:16 [ 222s] | [ 222s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 222s] | ^^^^^^^^^^^ [ 222s] [ 222s] warning: constant `XML_READER_TYPE_ELEMENT` is never used [ 222s] --> ./src/pkgmgr/server/util.rs:29:7 [ 222s] | [ 222s] 29 | const XML_READER_TYPE_ELEMENT: i32 = 1; [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: constant `XML_READER_TYPE_TEXT` is never used [ 222s] --> ./src/pkgmgr/server/util.rs:30:7 [ 222s] | [ 222s] 30 | const XML_READER_TYPE_TEXT: i32 = 3; [ 222s] | ^^^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: constant `XML_READER_TYPE_END_ELEMENT` is never used [ 222s] --> ./src/pkgmgr/server/util.rs:31:7 [ 222s] | [ 222s] 31 | const XML_READER_TYPE_END_ELEMENT: i32 = 15; [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: type alias `GIOChannel` is never used [ 222s] --> ./src/pkgmgr/server/util.rs:33:6 [ 222s] | [ 222s] 33 | type GIOChannel = *mut c_void; [ 222s] | ^^^^^^^^^^ [ 222s] [ 222s] warning: variants `PMINFO_UI_APP`, `PMINFO_SVC_APP`, `PMINFO_WIDGET_APP`, `PMINFO_WATCH_APP`, and `PMINFO_COMPONENT_BASED_APP` are never constructed [ 222s] --> ./src/pkgmgr/server/util.rs:136:5 [ 222s] | [ 222s] 134 | enum PKGMGRINFO_APP_COMPONENT { [ 222s] | ------------------------ variants in this enum [ 222s] 135 | PMINFO_ALL_APP = 0, //< All Application [ 222s] 136 | PMINFO_UI_APP, //< UI Application [ 222s] | ^^^^^^^^^^^^^ [ 222s] 137 | PMINFO_SVC_APP, //< Service Application [ 222s] | ^^^^^^^^^^^^^^ [ 222s] 138 | PMINFO_WIDGET_APP, //< Widget Application [ 222s] | ^^^^^^^^^^^^^^^^^ [ 222s] 139 | PMINFO_WATCH_APP, //< Watch Application [ 222s] | ^^^^^^^^^^^^^^^^ [ 222s] 140 | PMINFO_COMPONENT_BASED_APP, //< Component-based Application (Since 5.5) [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: associated functions `EnableAppSplashScreen` and `DisableAppSplashScreen` are never used [ 222s] --> ./src/pkgmgr/server/util.rs:766:12 [ 222s] | [ 222s] 384 | impl Util { [ 222s] | --------- associated functions in this implementation [ 222s] ... [ 222s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 222s] | ^^^^^^^^^^^^^^^^^^^^^ [ 222s] ... [ 222s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: function `pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db` is never used [ 222s] --> ./src/pkgmgr/server/util.rs:204:8 [ 222s] | [ 222s] 204 | fn pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db( [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: function `pkgmgrinfo_pkginfo_get_usr_pkginfo` is never used [ 222s] --> ./src/pkgmgr/server/util.rs:44:16 [ 222s] | [ 222s] 44 | pub fn pkgmgrinfo_pkginfo_get_usr_pkginfo( [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: function `pkgmgrinfo_pkginfo_get_usr_disabled_pkginfo` is never used [ 222s] --> ./src/pkgmgr/server/util.rs:50:16 [ 222s] | [ 222s] 50 | pub fn pkgmgrinfo_pkginfo_get_usr_disabled_pkginfo( [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: function `pkgmgrinfo_pkginfo_is_readonly` is never used [ 222s] --> ./src/pkgmgr/server/util.rs:56:16 [ 222s] | [ 222s] 56 | pub fn pkgmgrinfo_pkginfo_is_readonly( [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: function `pkgmgrinfo_pkginfo_destroy_pkginfo` is never used [ 222s] --> ./src/pkgmgr/server/util.rs:61:16 [ 222s] | [ 222s] 61 | pub fn pkgmgrinfo_pkginfo_destroy_pkginfo( [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: function `pkgmgrinfo_pkginfo_get_usr_all_pkginfo` is never used [ 222s] --> ./src/pkgmgr/server/util.rs:65:16 [ 222s] | [ 222s] 65 | pub fn pkgmgrinfo_pkginfo_get_usr_all_pkginfo( [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: function `pkgmgrinfo_pkginfo_get_type` is never used [ 222s] --> ./src/pkgmgr/server/util.rs:71:16 [ 222s] | [ 222s] 71 | pub fn pkgmgrinfo_pkginfo_get_type( [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: function `pkgmgrinfo_updateinfo_create` is never used [ 222s] --> ./src/pkgmgr/server/util.rs:76:16 [ 222s] | [ 222s] 76 | pub fn pkgmgrinfo_updateinfo_create( [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: function `pkgmgrinfo_updateinfo_set_pkgid` is never used [ 222s] --> ./src/pkgmgr/server/util.rs:80:16 [ 222s] | [ 222s] 80 | pub fn pkgmgrinfo_updateinfo_set_pkgid( [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: function `pkgmgrinfo_updateinfo_set_version` is never used [ 222s] --> ./src/pkgmgr/server/util.rs:85:16 [ 222s] | [ 222s] 85 | pub fn pkgmgrinfo_updateinfo_set_version( [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: function `pkgmgrinfo_updateinfo_set_type` is never used [ 222s] --> ./src/pkgmgr/server/util.rs:90:16 [ 222s] | [ 222s] 90 | pub fn pkgmgrinfo_updateinfo_set_type( [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: function `pkgmgrinfo_updateinfo_destroy` is never used [ 222s] --> ./src/pkgmgr/server/util.rs:95:16 [ 222s] | [ 222s] 95 | pub fn pkgmgrinfo_updateinfo_destroy( [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: function `pkgmgrinfo_appinfo_get_usr_all_appinfo` is never used [ 222s] --> ./src/pkgmgr/server/util.rs:99:16 [ 222s] | [ 222s] 99 | pub fn pkgmgrinfo_appinfo_get_usr_all_appinfo( [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: function `pkgmgrinfo_appinfo_is_global` is never used [ 222s] --> ./src/pkgmgr/server/util.rs:105:16 [ 222s] | [ 222s] 105 | pub fn pkgmgrinfo_appinfo_is_global( [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: function `pkgmgrinfo_appinfo_get_pkgid` is never used [ 222s] --> ./src/pkgmgr/server/util.rs:110:16 [ 222s] | [ 222s] 110 | pub fn pkgmgrinfo_appinfo_get_pkgid( [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: function `pkgmgrinfo_appinfo_destroy_appinfo` is never used [ 222s] --> ./src/pkgmgr/server/util.rs:115:16 [ 222s] | [ 222s] 115 | pub fn pkgmgrinfo_appinfo_destroy_appinfo( [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: function `aul_app_is_running_for_uid` is never used [ 222s] --> ./src/pkgmgr/server/util.rs:122:16 [ 222s] | [ 222s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: function `aul_app_get_pid_for_uid` is never used [ 222s] --> ./src/pkgmgr/server/util.rs:123:16 [ 222s] | [ 222s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: function `aul_terminate_pid_for_uid` is never used [ 222s] --> ./src/pkgmgr/server/util.rs:124:16 [ 222s] | [ 222s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: function `aul_app_get_pkgid_bypid_for_uid` is never used [ 222s] --> ./src/pkgmgr/server/util.rs:125:16 [ 222s] | [ 222s] 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; [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: unused `Result` that must be used [ 222s] --> ./src/main.rs:14:5 [ 222s] | [ 222s] 14 | pkgmgr::server::Server::run(&mut server); [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 222s] | [ 222s] = note: this `Result` may be an `Err` variant, which should be handled [ 222s] = note: `#[warn(unused_must_use)]` on by default [ 222s] help: use `let _ = ...` to ignore the resulting value [ 222s] | [ 222s] 14 | let _ = pkgmgr::server::Server::run(&mut server); [ 222s] | +++++++ [ 222s] [ 222s] warning: unused `Result` that must be used [ 222s] --> ./src/pkgmgr/server/mod.rs:93:9 [ 222s] | [ 222s] 93 | admin_service.run(); [ 222s] | ^^^^^^^^^^^^^^^^^^^ [ 222s] | [ 222s] = note: this `Result` may be an `Err` variant, which should be handled [ 222s] help: use `let _ = ...` to ignore the resulting value [ 222s] | [ 222s] 93 | let _ = admin_service.run(); [ 222s] | +++++++ [ 222s] [ 222s] warning: unused `Result` that must be used [ 222s] --> ./src/pkgmgr/server/mod.rs:95:9 [ 222s] | [ 222s] 95 | cache_service.run(); [ 222s] | ^^^^^^^^^^^^^^^^^^^ [ 222s] | [ 222s] = note: this `Result` may be an `Err` variant, which should be handled [ 222s] help: use `let _ = ...` to ignore the resulting value [ 222s] | [ 222s] 95 | let _ = cache_service.run(); [ 222s] | +++++++ [ 222s] [ 222s] warning: unused `Result` that must be used [ 222s] --> ./src/pkgmgr/server/mod.rs:97:9 [ 222s] | [ 222s] 97 | info_service.run(); [ 222s] | ^^^^^^^^^^^^^^^^^^ [ 222s] | [ 222s] = note: this `Result` may be an `Err` variant, which should be handled [ 222s] help: use `let _ = ...` to ignore the resulting value [ 222s] | [ 222s] 97 | let _ = info_service.run(); [ 222s] | +++++++ [ 222s] [ 222s] warning: unused `Result` that must be used [ 222s] --> ./src/pkgmgr/server/mod.rs:99:9 [ 222s] | [ 222s] 99 | delayed_result_service.run(); [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 222s] | [ 222s] = note: this `Result` may be an `Err` variant, which should be handled [ 222s] help: use `let _ = ...` to ignore the resulting value [ 222s] | [ 222s] 99 | let _ = delayed_result_service.run(); [ 222s] | +++++++ [ 222s] [ 222s] warning: unused `Result` that must be used [ 222s] --> ./src/pkgmgr/server/mod.rs:109:9 [ 222s] | [ 222s] 109 | admin_service.stop(); [ 222s] | ^^^^^^^^^^^^^^^^^^^^ [ 222s] | [ 222s] = note: this `Result` may be an `Err` variant, which should be handled [ 222s] help: use `let _ = ...` to ignore the resulting value [ 222s] | [ 222s] 109 | let _ = admin_service.stop(); [ 222s] | +++++++ [ 222s] [ 222s] warning: unused `Result` that must be used [ 222s] --> ./src/pkgmgr/server/mod.rs:110:9 [ 222s] | [ 222s] 110 | cache_service.stop(); [ 222s] | ^^^^^^^^^^^^^^^^^^^^ [ 222s] | [ 222s] = note: this `Result` may be an `Err` variant, which should be handled [ 222s] help: use `let _ = ...` to ignore the resulting value [ 222s] | [ 222s] 110 | let _ = cache_service.stop(); [ 222s] | +++++++ [ 222s] [ 222s] warning: unused `Result` that must be used [ 222s] --> ./src/pkgmgr/server/mod.rs:111:9 [ 222s] | [ 222s] 111 | info_service.stop(); [ 222s] | ^^^^^^^^^^^^^^^^^^^ [ 222s] | [ 222s] = note: this `Result` may be an `Err` variant, which should be handled [ 222s] help: use `let _ = ...` to ignore the resulting value [ 222s] | [ 222s] 111 | let _ = info_service.stop(); [ 222s] | +++++++ [ 222s] [ 222s] warning: unused `Result` that must be used [ 222s] --> ./src/pkgmgr/server/mod.rs:112:9 [ 222s] | [ 222s] 112 | delayed_result_service.stop(); [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 222s] | [ 222s] = note: this `Result` may be an `Err` variant, which should be handled [ 222s] help: use `let _ = ...` to ignore the resulting value [ 222s] | [ 222s] 112 | let _ = delayed_result_service.stop(); [ 222s] | +++++++ [ 222s] [ 222s] warning: unused return value of `std::mem::size_of` that must be used [ 222s] --> ./src/pkgmgr/server/backend_queue.rs:40:9 [ 222s] | [ 222s] 40 | mem::size_of::(); [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 222s] | [ 222s] help: use `let _ = ...` to ignore the resulting value [ 222s] | [ 222s] 40 | let _ = mem::size_of::(); [ 222s] | +++++++ [ 222s] [ 222s] warning: structure field `rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 222s] --> ./src/pkgmgr/server/info_service.rs:35:9 [ 222s] | [ 222s] 35 | pub rpc_port_stub_PkgMgr_create_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_create_cb` [ 222s] | [ 222s] = note: `#[warn(non_snake_case)]` on by default [ 222s] [ 222s] warning: structure field `rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 222s] --> ./src/pkgmgr/server/info_service.rs:36:9 [ 222s] | [ 222s] 36 | pub rpc_port_stub_PkgMgr_terminate_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_terminate_cb` [ 222s] [ 222s] warning: structure field `rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 222s] --> ./src/pkgmgr/server/info_service.rs:37:9 [ 222s] | [ 222s] 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... [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_cb` [ 222s] [ 222s] warning: structure field `rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 222s] --> ./src/pkgmgr/server/info_service.rs:38:9 [ 222s] | [ 222s] 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... [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 222s] [ 222s] warning: structure field `rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 222s] --> ./src/pkgmgr/server/info_service.rs:39:9 [ 222s] | [ 222s] 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... [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 222s] [ 222s] warning: structure field `rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 222s] --> ./src/pkgmgr/server/info_service.rs:40:9 [ 222s] | [ 222s] 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... [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_check_cb` [ 222s] [ 222s] warning: function `impl_rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 222s] --> ./src/pkgmgr/server/info_service.rs:43:19 [ 222s] | [ 222s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_create_cb` [ 222s] [ 222s] warning: function `impl_rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 222s] --> ./src/pkgmgr/server/info_service.rs:48:19 [ 222s] | [ 222s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_terminate_cb` [ 222s] [ 222s] warning: function `impl_rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 222s] --> ./src/pkgmgr/server/info_service.rs:52:19 [ 222s] | [ 222s] 52 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSize_cb( [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_cb` [ 222s] [ 222s] warning: function `impl_rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 222s] --> ./src/pkgmgr/server/info_service.rs:112:19 [ 222s] | [ 222s] 112 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSizeSync_cb( [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 222s] [ 222s] warning: function `impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 222s] --> ./src/pkgmgr/server/info_service.rs:194:19 [ 222s] | [ 222s] 194 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb( [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 222s] [ 222s] warning: function `impl_rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 222s] --> ./src/pkgmgr/server/info_service.rs:221:19 [ 222s] | [ 222s] 221 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_Check_cb( [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_check_cb` [ 222s] [ 222s] warning: method `IsPackageReadonly` should have a snake case name [ 222s] --> ./src/pkgmgr/server/util.rs:389:12 [ 222s] | [ 222s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 222s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly` [ 222s] [ 222s] warning: method `GetPackageType` should have a snake case name [ 222s] --> ./src/pkgmgr/server/util.rs:420:12 [ 222s] | [ 222s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 222s] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type` [ 222s] [ 222s] warning: variable `xmlReaderTypes_XML_READER_TYPE_ELEMENT` should have a snake case name [ 222s] --> ./src/pkgmgr/server/util.rs:473:17 [ 222s] | [ 222s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_element` [ 222s] [ 222s] warning: variable `xmlReaderTypes_XML_READER_TYPE_TEXT` should have a snake case name [ 222s] --> ./src/pkgmgr/server/util.rs:478:17 [ 222s] | [ 222s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_text` [ 222s] [ 222s] warning: variable `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` should have a snake case name [ 222s] --> ./src/pkgmgr/server/util.rs:483:17 [ 222s] | [ 222s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_end_element` [ 222s] [ 222s] warning: constant `type_map` should have an upper case name [ 222s] --> ./src/pkgmgr/server/util.rs:623:15 [ 222s] | [ 222s] 623 | const type_map : [[&str; 2]; 3] = [ [ 222s] | ^^^^^^^^ help: convert the identifier to upper case: `TYPE_MAP` [ 222s] | [ 222s] = note: `#[warn(non_upper_case_globals)]` on by default [ 222s] [ 222s] warning: method `GenerateRequestId` should have a snake case name [ 222s] --> ./src/pkgmgr/server/util.rs:646:12 [ 222s] | [ 222s] 646 | pub fn GenerateRequestId(pkgid: &str) -> Option { [ 222s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_request_id` [ 222s] [ 222s] warning: method `CreatePkgUpdateInfo` should have a snake case name [ 222s] --> ./src/pkgmgr/server/util.rs:657:12 [ 222s] | [ 222s] 657 | pub fn CreatePkgUpdateInfo(pkgid: *const c_char, version: *const c_char, update_type: c_int) -> *mut c_void { [ 222s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info` [ 222s] [ 222s] warning: method `DestroyPkgUpdateInfo` should have a snake case name [ 222s] --> ./src/pkgmgr/server/util.rs:680:12 [ 222s] | [ 222s] 680 | pub fn DestroyPkgUpdateInfo(handle: *mut c_void) -> c_int { [ 222s] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroy_pkg_update_info` [ 222s] [ 222s] warning: method `RegisterPkgUpdateInfo` should have a snake case name [ 222s] --> ./src/pkgmgr/server/util.rs:686:12 [ 222s] | [ 222s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 222s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `register_pkg_update_info` [ 222s] [ 222s] warning: method `UnregisterPkgUpdateInfo` should have a snake case name [ 222s] --> ./src/pkgmgr/server/util.rs:696:12 [ 222s] | [ 222s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_pkg_update_info` [ 222s] [ 222s] warning: method `UnregisterAllPkgUpdateInfo` should have a snake case name [ 222s] --> ./src/pkgmgr/server/util.rs:706:12 [ 222s] | [ 222s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_all_pkg_update_info` [ 222s] [ 222s] warning: method `EnableApp` should have a snake case name [ 222s] --> ./src/pkgmgr/server/util.rs:728:12 [ 222s] | [ 222s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 222s] | ^^^^^^^^^ help: convert the identifier to snake case: `enable_app` [ 222s] [ 222s] warning: method `DisableApp` should have a snake case name [ 222s] --> ./src/pkgmgr/server/util.rs:738:12 [ 222s] | [ 222s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 222s] | ^^^^^^^^^^ help: convert the identifier to snake case: `disable_app` [ 222s] [ 222s] warning: method `EnableGlobalApp` should have a snake case name [ 222s] --> ./src/pkgmgr/server/util.rs:747:12 [ 222s] | [ 222s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 222s] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app` [ 222s] [ 222s] warning: method `DisableGlobalApp` should have a snake case name [ 222s] --> ./src/pkgmgr/server/util.rs:757:12 [ 222s] | [ 222s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 222s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app` [ 222s] [ 222s] warning: method `EnableAppSplashScreen` should have a snake case name [ 222s] --> ./src/pkgmgr/server/util.rs:766:12 [ 222s] | [ 222s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 222s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_app_splash_screen` [ 222s] [ 222s] warning: method `DisableAppSplashScreen` should have a snake case name [ 222s] --> ./src/pkgmgr/server/util.rs:775:12 [ 222s] | [ 222s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_app_splash_screen` [ 222s] [ 222s] warning: method `EnableGlobalAppSplashScreen` should have a snake case name [ 222s] --> ./src/pkgmgr/server/util.rs:784:12 [ 222s] | [ 222s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app_splash_screen` [ 222s] [ 222s] warning: method `DisableGlobalAppSplashScreen` should have a snake case name [ 222s] --> ./src/pkgmgr/server/util.rs:793:12 [ 222s] | [ 222s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app_splash_screen` [ 222s] [ 222s] warning: method `KillApp` should have a snake case name [ 222s] --> ./src/pkgmgr/server/util.rs:813:12 [ 222s] | [ 222s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 222s] | ^^^^^^^ help: convert the identifier to snake case: `kill_app` [ 222s] [ 222s] warning: method `KillAppsInPkg` should have a snake case name [ 222s] --> ./src/pkgmgr/server/util.rs:835:12 [ 222s] | [ 222s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 222s] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_apps_in_pkg` [ 222s] [ 222s] warning: method `IsAdminUser` should have a snake case name [ 222s] --> ./src/pkgmgr/server/util.rs:855:8 [ 222s] | [ 222s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 222s] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_admin_user` [ 222s] [ 223s] warning: function `IsPackageReadonly_test_return_None_from_disable1` should have a snake case name [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:13:4 [ 223s] | [ 223s] 13 | fn IsPackageReadonly_test_return_None_from_disable1() { [ 223s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_disable1` [ 223s] [ 223s] warning: getting the inner pointer of a temporary `CString` [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:16:77 [ 223s] | [ 223s] 16 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, false)); [ 223s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 223s] | | [ 223s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 223s] | [ 223s] = 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 [ 223s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 223s] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [ 223s] [ 223s] warning: function `IsPackageReadonly_test_return_None_from_disable2` should have a snake case name [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:20:4 [ 223s] | [ 223s] 20 | fn IsPackageReadonly_test_return_None_from_disable2() { [ 223s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_disable2` [ 223s] [ 223s] warning: getting the inner pointer of a temporary `CString` [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:23:77 [ 223s] | [ 223s] 23 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 223s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 223s] | | [ 223s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 223s] | [ 223s] = 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 [ 223s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 223s] [ 223s] warning: function `IsPackageReadonly_test_return_None_from_readonly` should have a snake case name [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:27:4 [ 223s] | [ 223s] 27 | fn IsPackageReadonly_test_return_None_from_readonly() { [ 223s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_readonly` [ 223s] [ 223s] warning: getting the inner pointer of a temporary `CString` [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:32:77 [ 223s] | [ 223s] 32 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 223s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 223s] | | [ 223s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 223s] | [ 223s] = 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 [ 223s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 223s] [ 223s] warning: function `IsPackageReadonly_test_return_someTrue_from_readonly` should have a snake case name [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:36:4 [ 223s] | [ 223s] 36 | fn IsPackageReadonly_test_return_someTrue_from_readonly() { [ 223s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_some_true_from_readonly` [ 223s] [ 223s] warning: getting the inner pointer of a temporary `CString` [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:46:83 [ 223s] | [ 223s] 46 | assert_eq!(Some(true), Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 223s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 223s] | | [ 223s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 223s] | [ 223s] = 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 [ 223s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 223s] [ 223s] warning: function `IsPackageReadonly_test_return_someFalse_from_readonly` should have a snake case name [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:50:4 [ 223s] | [ 223s] 50 | fn IsPackageReadonly_test_return_someFalse_from_readonly() { [ 223s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_some_false_from_readonly` [ 223s] [ 223s] warning: getting the inner pointer of a temporary `CString` [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:60:84 [ 223s] | [ 223s] 60 | assert_eq!(Some(false), Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 223s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 223s] | | [ 223s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 223s] | [ 223s] = 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 [ 223s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 223s] [ 223s] warning: function `KillApp_test_return_0_from_running` should have a snake case name [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:65:4 [ 223s] | [ 223s] 65 | fn KillApp_test_return_0_from_running() { [ 223s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_0_from_running` [ 223s] [ 223s] warning: getting the inner pointer of a temporary `CString` [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:68:64 [ 223s] | [ 223s] 68 | assert_eq!(0, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 223s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 223s] | | [ 223s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 223s] | [ 223s] = 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 [ 223s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 223s] [ 223s] warning: function `KillApp_test_return_minus_from_getpid` should have a snake case name [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:72:4 [ 223s] | [ 223s] 72 | fn KillApp_test_return_minus_from_getpid() { [ 223s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_minus_from_getpid` [ 223s] [ 223s] warning: getting the inner pointer of a temporary `CString` [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:77:65 [ 223s] | [ 223s] 77 | assert_eq!(-1, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 223s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 223s] | | [ 223s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 223s] | [ 223s] = 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 [ 223s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 223s] [ 223s] warning: function `KillApp_test_return_minus_from_terminate` should have a snake case name [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:81:4 [ 223s] | [ 223s] 81 | fn KillApp_test_return_minus_from_terminate() { [ 223s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_minus_from_terminate` [ 223s] [ 223s] warning: getting the inner pointer of a temporary `CString` [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:88:65 [ 223s] | [ 223s] 88 | assert_eq!(-1, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 223s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 223s] | | [ 223s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 223s] | [ 223s] = 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 [ 223s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 223s] [ 223s] warning: function `KillApp_test_return_0_from_end` should have a snake case name [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:92:4 [ 223s] | [ 223s] 92 | fn KillApp_test_return_0_from_end() { [ 223s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_0_from_end` [ 223s] [ 223s] warning: getting the inner pointer of a temporary `CString` [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:99:64 [ 223s] | [ 223s] 99 | assert_eq!(0, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 223s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 223s] | | [ 223s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 223s] | [ 223s] = 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 [ 223s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 223s] [ 223s] warning: function `GetPackageType_test_return_new_from_all` should have a snake case name [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:104:4 [ 223s] | [ 223s] 104 | fn GetPackageType_test_return_new_from_all() { [ 223s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_new_from_all` [ 223s] [ 223s] warning: getting the inner pointer of a temporary `CString` [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:107:83 [ 223s] | [ 223s] 107 | assert_eq!(String::new(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 223s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 223s] | | [ 223s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 223s] | [ 223s] = 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 [ 223s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 223s] [ 223s] warning: function `GetPackageType_test_return_new_from_type` should have a snake case name [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:111:4 [ 223s] | [ 223s] 111 | fn GetPackageType_test_return_new_from_type() { [ 223s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_new_from_type` [ 223s] [ 223s] warning: getting the inner pointer of a temporary `CString` [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:118:83 [ 223s] | [ 223s] 118 | assert_eq!(String::new(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 223s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 223s] | | [ 223s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 223s] | [ 223s] = 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 [ 223s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 223s] [ 223s] warning: function `GetPackageType_test_return_rpk_from_end` should have a snake case name [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:122:4 [ 223s] | [ 223s] 122 | fn GetPackageType_test_return_rpk_from_end() { [ 223s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_rpk_from_end` [ 223s] [ 223s] warning: getting the inner pointer of a temporary `CString` [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:132:87 [ 223s] | [ 223s] 132 | assert_eq!("rpk".to_string(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 223s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 223s] | | [ 223s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 223s] | [ 223s] = 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 [ 223s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 223s] [ 223s] warning: function `GetPackageType_test_return_newtype_from_end` should have a snake case name [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:136:4 [ 223s] | [ 223s] 136 | fn GetPackageType_test_return_newtype_from_end() { [ 223s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_newtype_from_end` [ 223s] [ 223s] warning: getting the inner pointer of a temporary `CString` [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:146:87 [ 223s] | [ 223s] 146 | assert_eq!("ABC".to_string(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 223s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 223s] | | [ 223s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 223s] | [ 223s] = 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 [ 223s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 223s] [ 223s] warning: function `CreatePkgUpdateInfo_test_return_null1` should have a snake case name [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:151:4 [ 223s] | [ 223s] 151 | fn CreatePkgUpdateInfo_test_return_null1() { [ 223s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null1` [ 223s] [ 223s] warning: getting the inner pointer of a temporary `CString` [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:154:95 [ 223s] | [ 223s] 154 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 223s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 223s] | | [ 223s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 223s] | [ 223s] = 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 [ 223s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 223s] [ 223s] warning: getting the inner pointer of a temporary `CString` [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:154:138 [ 223s] | [ 223s] 154 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 223s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 223s] | | [ 223s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 223s] | [ 223s] = 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 [ 223s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 223s] [ 223s] warning: function `CreatePkgUpdateInfo_test_return_null2` should have a snake case name [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:158:4 [ 223s] | [ 223s] 158 | fn CreatePkgUpdateInfo_test_return_null2() { [ 223s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null2` [ 223s] [ 223s] warning: getting the inner pointer of a temporary `CString` [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:165:95 [ 223s] | [ 223s] 165 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 223s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 223s] | | [ 223s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 223s] | [ 223s] = 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 [ 223s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 223s] [ 223s] warning: getting the inner pointer of a temporary `CString` [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:165:138 [ 223s] | [ 223s] 165 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 223s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 223s] | | [ 223s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 223s] | [ 223s] = 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 [ 223s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 223s] [ 223s] warning: function `CreatePkgUpdateInfo_test_return_null3` should have a snake case name [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:169:4 [ 223s] | [ 223s] 169 | fn CreatePkgUpdateInfo_test_return_null3() { [ 223s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null3` [ 223s] [ 223s] warning: getting the inner pointer of a temporary `CString` [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:178:95 [ 223s] | [ 223s] 178 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 223s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 223s] | | [ 223s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 223s] | [ 223s] = 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 [ 223s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 223s] [ 223s] warning: getting the inner pointer of a temporary `CString` [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:178:138 [ 223s] | [ 223s] 178 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 223s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 223s] | | [ 223s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 223s] | [ 223s] = 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 [ 223s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 223s] [ 223s] warning: function `CreatePkgUpdateInfo_test_return_null4` should have a snake case name [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:182:4 [ 223s] | [ 223s] 182 | fn CreatePkgUpdateInfo_test_return_null4() { [ 223s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null4` [ 223s] [ 223s] warning: getting the inner pointer of a temporary `CString` [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:193:95 [ 223s] | [ 223s] 193 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 223s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 223s] | | [ 223s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 223s] | [ 223s] = 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 [ 223s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 223s] [ 223s] warning: getting the inner pointer of a temporary `CString` [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:193:138 [ 223s] | [ 223s] 193 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 223s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 223s] | | [ 223s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 223s] | [ 223s] = 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 [ 223s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 223s] [ 223s] warning: function `CreatePkgUpdateInfo_test_return_handle` should have a snake case name [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:197:4 [ 223s] | [ 223s] 197 | fn CreatePkgUpdateInfo_test_return_handle() { [ 223s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_handle` [ 223s] [ 223s] warning: getting the inner pointer of a temporary `CString` [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:206:95 [ 223s] | [ 223s] 206 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 223s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 223s] | | [ 223s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 223s] | [ 223s] = 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 [ 223s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 223s] [ 223s] warning: getting the inner pointer of a temporary `CString` [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:206:138 [ 223s] | [ 223s] 206 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 223s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 223s] | | [ 223s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 223s] | [ 223s] = 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 [ 223s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 223s] [ 223s] warning: function `getapplicationinfobyappid_test_return_None_from_appinfo` should have a snake case name [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:211:4 [ 223s] | [ 223s] 211 | fn getapplicationinfobyappid_test_return_None_from_appinfo() { [ 223s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_appinfo` [ 223s] [ 223s] warning: getting the inner pointer of a temporary `CString` [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:214:89 [ 223s] | [ 223s] 214 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 223s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 223s] | | [ 223s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 223s] | [ 223s] = 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 [ 223s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 223s] [ 223s] warning: function `getapplicationinfobyappid_test_return_None_from_global` should have a snake case name [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:218:4 [ 223s] | [ 223s] 218 | fn getapplicationinfobyappid_test_return_None_from_global() { [ 223s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_global` [ 223s] [ 223s] warning: getting the inner pointer of a temporary `CString` [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:225:89 [ 223s] | [ 223s] 225 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 223s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 223s] | | [ 223s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 223s] | [ 223s] = 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 [ 223s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 223s] [ 223s] warning: function `getapplicationinfobyappid_test_return_None_from_pkgid` should have a snake case name [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:229:4 [ 223s] | [ 223s] 229 | fn getapplicationinfobyappid_test_return_None_from_pkgid() { [ 223s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_pkgid` [ 223s] [ 223s] warning: getting the inner pointer of a temporary `CString` [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:238:89 [ 223s] | [ 223s] 238 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 223s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 223s] | | [ 223s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 223s] | [ 223s] = 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 [ 223s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 223s] [ 223s] warning: function `getapplicationinfobyappid_test_return_Some_from_end` should have a snake case name [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:242:4 [ 223s] | [ 223s] 242 | fn getapplicationinfobyappid_test_return_Some_from_end() { [ 223s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `getapplicationinfobyappid_test_return_some_from_end` [ 223s] [ 223s] warning: getting the inner pointer of a temporary `CString` [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:257:127 [ 223s] | [ 223s] 257 | assert_eq!(Some((CString::new("aaa").unwrap(), true)), Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 223s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 223s] | | [ 223s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 223s] | [ 223s] = 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 [ 223s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 223s] [ 223s] warning: function `get_pkgid_bypid_for_uid_test_return_None` should have a snake case name [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:262:4 [ 223s] | [ 223s] 262 | fn get_pkgid_bypid_for_uid_test_return_None() { [ 223s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_pkgid_bypid_for_uid_test_return_none` [ 223s] [ 223s] warning: function `get_pkgid_bypid_for_uid_test_return_Some` should have a snake case name [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:269:4 [ 223s] | [ 223s] 269 | fn get_pkgid_bypid_for_uid_test_return_Some() { [ 223s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `get_pkgid_bypid_for_uid_test_return_some` [ 223s] [ 223s] warning: function `get_pkgid_bypid_for_uid_test_return_None_from_end` should have a snake case name [ 223s] --> ./src/pkgmgr/server/test/util_tests.rs:283:4 [ 223s] | [ 223s] 283 | fn get_pkgid_bypid_for_uid_test_return_None_from_end() { [ 223s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_pkgid_bypid_for_uid_test_return_none_from_end` [ 223s] [ 367s] warning: 735 warnings emitted [ 367s] [ 367s] + exit 0 [ 367s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sTeJvM [ 367s] + umask 022 [ 367s] + cd /home/abuild/rpmbuild/BUILD [ 367s] + cd pkgmgr-server-1.0.15 [ 367s] + LANG=C [ 367s] + export LANG [ 367s] + unset DISPLAY [ 367s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64 [ 367s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64 [ 367s] + /bin/make DESTDIR=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64 INSTALL_ROOT=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64 install [ 367s] /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 [ 367s] /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 [ 367s] /bin/make -f CMakeFiles/Makefile2 all [ 367s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 367s] /bin/make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/depend [ 367s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 367s] 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= [ 367s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 367s] /bin/make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build [ 367s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 367s] make[2]: Nothing to be done for 'tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build'. [ 367s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 367s] [ 50%] Built target tidl_pkgmgr_server [ 367s] /bin/make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/depend [ 367s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 367s] 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= [ 367s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 367s] /bin/make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build [ 367s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 367s] make[2]: Nothing to be done for 'util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build'. [ 367s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 367s] [100%] Built target util_pkgmgr_server [ 367s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 367s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/CMakeFiles 0 [ 367s] /bin/make -f CMakeFiles/Makefile2 preinstall [ 367s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 367s] make[1]: Nothing to be done for 'preinstall'. [ 367s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 367s] Install the project... [ 367s] /usr/bin/cmake -P cmake_install.cmake [ 367s] -- Install configuration: "" [ 367s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64/usr/lib/systemd/system/package-manager.service [ 367s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64/usr/lib/systemd/system/package-manager.socket [ 367s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64/usr/lib64/libtidl_pkgmgr_server.so [ 367s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64/usr/lib64/libutil_pkgmgr_server.so [ 367s] + rm -f /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64/usr/share/info/dir [ 367s] + find /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64 -regex '.*\.la$' [ 367s] + xargs rm -f -- [ 367s] + find /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64 -regex '.*\.a$' [ 367s] + xargs rm -f -- [ 367s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64/usr/lib/systemd/system/basic.target.wants [ 367s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64/usr/lib/systemd/system/sockets.target.wants [ 367s] + ln -sf ../package-manager.socket /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64/usr/lib/systemd/system/sockets.target.wants/package-manager.socket [ 367s] + install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64/usr/bin [ 367s] + install -m 0755 ./rust_pkgmgr_server /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64/usr/bin/pkgmgr-server [ 367s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64/etc/package-manager/server [ 367s] + _target= [ 367s] + _symlinks=0 [ 367s] + _files=() [ 367s] + fdupes -q -n -r /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64 [ 367s] + read _file [ 367s] + /usr/lib/rpm/find-debuginfo.sh -j8 --build-id-seed 1.0.15-1 --unique-debug-src-base pkgmgr-server-1.0.15-1.riscv64 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 367s] 1+0 records in [ 367s] 1+0 records out [ 367s] 1+0 records in [ 367s] 1+0 records out [ 367s] 1+0 records in [ 367s] 1+0 records out [ 367s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64/usr/lib64/libtidl_pkgmgr_server.so [ 367s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64/usr/lib64/libutil_pkgmgr_server.so [ 367s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64/usr/bin/pkgmgr-server [ 367s] 0+0 records in [ 367s] 0+0 records out [ 367s] 0+0 records in [ 367s] 0+0 records out [ 368s] 0+0 records in [ 368s] 0+0 records out [ 368s] 797 blocks [ 368s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/pkgmgr-server-debuginfo.manifest [ 368s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/pkgmgr-server-debugsource.manifest [ 368s] + /usr/lib/rpm/check-buildroot [ 368s] + /usr/lib/rpm//brp-compress [ 368s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 368s] + /usr/lib/rpm/brp-python-hardlink [ 368s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64 [ 368s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/isu.list [ 368s] ~/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64 ~/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 368s] ~/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 368s] + /etc/hal/rootstrap/hal-rootstrap-checker.sh 0 /home/abuild/rpmbuild/SOURCES [ 368s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.NCjqhX [ 368s] + umask 022 [ 368s] + cd /home/abuild/rpmbuild/BUILD [ 368s] + cd pkgmgr-server-1.0.15 [ 368s] + export LD_LIBRARY_PATH=./util_pkgmgr_server/:./tidl_pkgmgr_server/:/usr/lib64/rustlib/dylib [ 368s] + LD_LIBRARY_PATH=./util_pkgmgr_server/:./tidl_pkgmgr_server/:/usr/lib64/rustlib/dylib [ 368s] + RUST_BACKTRACE=1 [ 368s] + RUST_TEST_THREADS=1 [ 368s] + ./unittests_rust_pkgmgr_server [ 368s] [ 368s] running 35 tests [ 369s] test pkgmgr::server::test::admin_service_tests::run_test ... ok [ 369s] test pkgmgr::server::test::admin_service_tests::stop_test ... ok [ 369s] test pkgmgr::server::test::cache_service_tests::run_test ... ok [ 369s] test pkgmgr::server::test::cache_service_tests::stop_test ... ok [ 370s] test pkgmgr::server::test::delayed_service_tests::run_test ... ok [ 370s] test pkgmgr::server::test::delayed_service_tests::stop_test ... ok [ 371s] test pkgmgr::server::test::info_service_tests::run_test ... ok [ 371s] test pkgmgr::server::test::info_service_tests::stop_test ... ok [ 371s] test pkgmgr::server::test::signal_tests::get_uid_list_test_return_uidvec1 ... ok [ 371s] test pkgmgr::server::test::signal_tests::get_uid_list_test_return_uidvec2 ... ok [ 371s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_handle ... ok [ 371s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null1 ... ok [ 371s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null2 ... ok [ 371s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null3 ... ok [ 371s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null4 ... ok [ 371s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_new_from_all ... ok [ 371s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_new_from_type ... ok [ 371s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_newtype_from_end ... ok [ 371s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_rpk_from_end ... ok [ 371s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_disable1 ... ok [ 371s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_disable2 ... ok [ 371s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_readonly ... ok [ 371s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_someFalse_from_readonly ... ok [ 371s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_someTrue_from_readonly ... ok [ 371s] test pkgmgr::server::test::util_tests::KillApp_test_return_0_from_end ... ok [ 371s] test pkgmgr::server::test::util_tests::KillApp_test_return_0_from_running ... ok [ 371s] test pkgmgr::server::test::util_tests::KillApp_test_return_minus_from_getpid ... ok [ 371s] test pkgmgr::server::test::util_tests::KillApp_test_return_minus_from_terminate ... ok [ 371s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_None ... ok [ 371s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_None_from_end ... ok [ 371s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_Some ... ok [ 371s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_appinfo ... ok [ 371s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_global ... ok [ 371s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_pkgid ... ok [ 371s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_Some_from_end ... ok [ 371s] [ 371s] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.54s [ 371s] [ 371s] + exit 0 [ 371s] Processing files: pkgmgr-server-1.0.15-1.riscv64 [ 371s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIiAvPgoJPC9y [ 371s] ZXF1ZXN0PgoJPGFzc2lnbj4KCQk8ZmlsZXN5c3RlbSBwYXRoPSIvdXNyL2Jpbi9w [ 371s] a2dtZ3Itc2VydmVyIiBsYWJlbD0iU3lzdGVtIiBleGVjX2xhYmVsPSJub25lIiAv [ 371s] PgoJCTxmaWxlc3lzdGVtIHBhdGg9Ii92YXIvbGliL3BhY2thZ2UtbWFuYWdlciIg [ 371s] bGFiZWw9IlN5c3RlbSIgLz4KCTwvYXNzaWduPgo8L21hbmlmZXN0Pgo= [ 371s] [ 371s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.PT6All [ 371s] + umask 022 [ 371s] + cd /home/abuild/rpmbuild/BUILD [ 371s] + cd pkgmgr-server-1.0.15 [ 371s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64/usr/share/licenses/pkgmgr-server [ 371s] + export LC_ALL=C [ 371s] + LC_ALL=C [ 371s] + export LICENSEDIR [ 371s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64/usr/share/licenses/pkgmgr-server [ 371s] + cp -pr LICENSE /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64/usr/share/licenses/pkgmgr-server [ 371s] + exit 0 [ 371s] Provides: libtidl_pkgmgr_server.so()(64bit) libutil_pkgmgr_server.so()(64bit) pkgmgr-server = 1.0.15-1 pkgmgr-server(riscv-64) = 1.0.15-1 [ 371s] Requires(interp): /bin/sh [ 371s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 371s] Requires(post): /bin/sh [ 371s] Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libaul.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcapi-base-common.so.0()(64bit) libdlog.so.0()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgum.so.0()(64bit) libminizip.so.1()(64bit) libpkgmgr-info.so.0()(64bit) libpkgmgr_installer.so.0()(64bit) libpkgmgr_parser.so.0()(64bit) librpc-port.so.1()(64bit) libstd-3fecb5e5a54e748b.so()(64bit) libsystemd.so.0()(64bit) libsystemd.so.0(LIBSYSTEMD_209)(64bit) libtidl_pkgmgr_server.so()(64bit) libtzplatform-config-2.0.so.2()(64bit) libtzplatform-config-2.0.so.2(TPC)(64bit) libutil_pkgmgr_server.so()(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libxml2.so.2(LIBXML2_2.5.0)(64bit) libxml2.so.2(LIBXML2_2.6.0)(64bit) [ 371s] Processing files: pkgmgr-server-debugsource-1.0.15-1.riscv64 [ 371s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 371s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 371s] [ 371s] Provides: pkgmgr-server-debugsource = 1.0.15-1 pkgmgr-server-debugsource(riscv-64) = 1.0.15-1 [ 371s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 371s] Processing files: pkgmgr-server-debuginfo-1.0.15-1.riscv64 [ 371s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 371s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 371s] [ 371s] Provides: pkgmgr-server-debuginfo = 1.0.15-1 pkgmgr-server-debuginfo(riscv-64) = 1.0.15-1 [ 371s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 371s] Recommends: pkgmgr-server-debugsource(riscv-64) = 1.0.15-1 [ 371s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64 [ 371s] Wrote: /home/abuild/rpmbuild/SRPMS/pkgmgr-server-1.0.15-1.src.rpm [ 371s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/pkgmgr-server-1.0.15-1.riscv64.rpm [ 371s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/pkgmgr-server-debugsource-1.0.15-1.riscv64.rpm [ 373s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/pkgmgr-server-debuginfo-1.0.15-1.riscv64.rpm [ 373s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ZJGckW [ 373s] + umask 022 [ 373s] + cd /home/abuild/rpmbuild/BUILD [ 373s] + cd pkgmgr-server-1.0.15 [ 373s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64 [ 373s] + exit 0 [ 373s] ... checking for files with abuild user/group [ 373s] ... creating baselibs [ 373s] [ 373s] ip-192-168-56-113 finished "build pkgmgr-server.spec" at Mon Dec 16 09:43:38 UTC 2024. [ 373s]