[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.19 [ 0s] Using BUILD_ARCH=x86_64:i686:i586:i486:i386:noarch [ 0s] [ 0s] [ 0s] ip-192-168-56-173 started "build pkgmgr-server.spec" at Tue Dec 31 22:20:35 UTC 2024. [ 0s] [ 0s] [ 0s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_x_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_x_standard/x86_64/RPMS --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X/tizen-base-x_20241231.004008/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X/tizen-base-x_20241231.004008/repos/standard/debug/ /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_x_standard/pkgmgr-server-1.0.15-1/pkgmgr-server.spec build ... [ 0s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.19/.srcfiles.cache ... [ 0s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.19/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_x_standard/x86_64/RPMS [ 1s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X/tizen-base-x_20241231.004008/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-X/tizen-base-x_20241231.004008/repos/standard/debug/ [ 2s] expanding package dependencies... [ 3s] copying qemu [ 3s] [ 3s] calculating packages to download... [ 5s] reordering...cycle: gio-branding-upstream -> libgio [ 5s] breaking dependency libgio -> gio-branding-upstream [ 5s] cycle: pkgmgr-info -> pkgmgr-info-parser [ 5s] breaking dependency pkgmgr-info -> pkgmgr-info-parser [ 5s] cycle: libgum -> gumd [ 5s] breaking dependency libgum -> gumd [ 5s] cycle: glibc-devel -> libxcrypt-devel [ 5s] breaking dependency libxcrypt-devel -> glibc-devel [ 5s] cycle: rust -> rust-devel [ 5s] breaking dependency rust-devel -> rust [ 5s] cycle: libsoftokn3 -> nss [ 5s] breaking dependency nss -> libsoftokn3 [ 5s] reordering done [ 6s] deleting coregl [ 6s] deleting dbus-devel [ 6s] deleting ecore-audio [ 6s] deleting ecore-audio-devel [ 6s] deleting ecore-buffer [ 6s] deleting ecore-buffer-devel [ 6s] deleting ecore-con [ 6s] deleting ecore-con-devel [ 6s] deleting ecore-core [ 6s] deleting ecore-core-devel [ 6s] deleting ecore-devel [ 6s] deleting ecore-evas [ 6s] deleting ecore-evas-devel [ 6s] deleting ecore-fb [ 6s] deleting ecore-fb-devel [ 6s] deleting ecore-file [ 6s] deleting ecore-file-devel [ 6s] deleting ecore-imf [ 6s] deleting ecore-imf-devel [ 6s] deleting ecore-imf-evas [ 6s] deleting ecore-imf-evas-devel [ 7s] deleting ecore-input [ 7s] deleting ecore-input-devel [ 7s] deleting ecore-input-evas [ 7s] deleting ecore-input-evas-devel [ 7s] deleting ecore-ipc [ 7s] deleting ecore-ipc-devel [ 7s] deleting ecore-wayland [ 7s] /sbin/ldconfig: relative path `0' used to build cache [ 7s] warning: %postun(ecore-wayland-1.25.1-0.x86_64) scriptlet failed, exit status 1 [ 7s] deleting ecore-wayland-devel [ 7s] deleting ecore-wl2 [ 7s] deleting ecore-wl2-devel [ 7s] deleting ector [ 8s] deleting ector-devel [ 8s] deleting edje [ 8s] deleting edje-devel [ 8s] deleting edje-tools [ 8s] deleting eet [ 8s] deleting eet-devel [ 8s] deleting eeze [ 8s] deleting eeze-devel [ 8s] deleting efl [ 8s] deleting efl-devel [ 8s] deleting efreet [ 9s] deleting efreet-devel [ 9s] deleting eina [ 9s] deleting eina-devel [ 9s] deleting eio [ 9s] deleting eio-devel [ 9s] deleting eldbus [ 9s] deleting eldbus-devel [ 9s] deleting elementary [ 9s] deleting elementary-devel [ 9s] deleting embryo [ 10s] deleting embryo-devel [ 10s] deleting emile [ 10s] deleting emile-devel [ 10s] deleting emotion [ 10s] deleting emotion-devel [ 10s] deleting eo [ 10s] deleting eo-devel [ 10s] deleting ethumb [ 10s] deleting ethumb-devel [ 10s] deleting evas [ 11s] deleting evas-devel [ 11s] deleting fontconfig [ 11s] deleting fontconfig-devel [ 11s] deleting freetype2-devel [ 11s] deleting fribidi [ 11s] deleting fribidi-devel [ 11s] deleting giflib [ 11s] deleting gtest [ 11s] /sbin/ldconfig: relative path `0' used to build cache [ 11s] warning: %postun(gtest-1.15.2-0.x86_64) scriptlet failed, exit status 1 [ 12s] deleting gtest-devel [ 12s] deleting hal-api-common [ 12s] deleting hal-api-tbm [ 12s] /var/tmp/rpm-tmp.LURhfM: line 2: /usr/bin/hal-compatibility-checker: No such file or directory [ 12s] warning: %postun(hal-api-tbm-1.0.0-1.x86_64) scriptlet failed, exit status 127 [ 12s] deleting hal-api-tdm [ 12s] /var/tmp/rpm-tmp.Yp0gIc: line 2: /usr/bin/hal-compatibility-checker: No such file or directory [ 12s] warning: %postun(hal-api-tdm-0.3.1-1.x86_64) scriptlet failed, exit status 127 [ 12s] deleting harfbuzz-devel [ 12s] deleting libdrm [ 12s] deleting libfreetype [ 13s] deleting libharfbuzz [ 13s] deleting libhyphen [ 13s] deleting libicu [ 13s] deleting libicu-devel [ 13s] deleting libjpeg [ 13s] deleting libjpeg-devel [ 13s] deleting libogg [ 14s] deleting libogg-devel [ 14s] deleting libpng [ 14s] deleting libpng-devel [ 14s] deleting libsndfile [ 14s] deleting libsndfile-devel [ 14s] deleting libtbm [ 14s] /sbin/ldconfig: relative path `0' used to build cache [ 14s] warning: %postun(libtbm-4.5.5-1.x86_64) scriptlet failed, exit status 1 [ 14s] deleting libtbm-devel [ 14s] deleting libtdm [ 14s] /sbin/ldconfig: relative path `0' used to build cache [ 14s] warning: %postun(libtdm-3.2.0-0.x86_64) scriptlet failed, exit status 1 [ 14s] deleting libtdm-client [ 14s] deleting libtdm-client-devel [ 14s] deleting libtdm-devel [ 14s] deleting libtiff [ 14s] deleting libtpl-egl [ 15s] deleting libuuid-devel [ 15s] deleting libvorbis [ 15s] deleting libvorbis-devel [ 15s] deleting libvorbisenc [ 15s] deleting libvorbisfile [ 15s] deleting libwayland-client [ 15s] deleting libwayland-cursor [ 15s] deleting libwayland-egl [ 15s] deleting libwayland-egl-tizen [ 16s] deleting libwayland-egl-tizen-devel [ 16s] deleting libwayland-extension-client [ 16s] deleting libwayland-server [ 16s] deleting libwayland-tbm-client [ 16s] deleting libwayland-tbm-devel [ 16s] deleting libwayland-tbm-server [ 16s] deleting libwebp [ 16s] deleting libxkbcommon [ 17s] deleting libxkbcommon-devel [ 17s] deleting lottie-player [ 17s] deleting lottie-player-devel [ 17s] deleting lua [ 17s] deleting lua-devel [ 17s] deleting opus [ 17s] deleting opus-devel [ 17s] deleting pixman [ 17s] deleting thorvg [ 17s] deleting thorvg-devel [ 17s] deleting tizen-core [ 17s] deleting tizen-core-devel [ 17s] deleting ttrace-devel [ 17s] deleting wayland-devel [ 17s] deleting wayland-extension-client-devel [ 17s] [1/242] cumulate default-ac-domains-0.1-1.1 [ 17s] [2/242] keeping dlog-config-persistent-logs-9.0.1-1 [ 17s] [3/242] keeping libmagic-data-5.45-1.13 [ 17s] [4/242] keeping pcre2-syntax-10.40-1 [ 17s] [5/242] keeping python3-pyparsing-3.1.1-1.1 [ 17s] [6/242] keeping python3-six-1.16.0-1.1 [ 17s] [7/242] cumulate rust-std-static-1.74.0-1 [ 17s] [8/242] keeping setup-0.9-1.6 [ 17s] [9/242] keeping filesystem-3.1-1.1 [ 17s] [10/242] keeping python3-packaging-23.2-1.1 [ 17s] [11/242] keeping glibc-2.40-1.3 [ 17s] [12/242] keeping bash-3.2.57-1.1 [ 17s] [13/242] keeping capi-base-common-0.4.82-1 [ 17s] [14/242] keeping cpio-2.8-1.1 [ 17s] [15/242] keeping diffutils-3.10-1.1 [ 17s] [16/242] cumulate fdupes-2.2.1-1.13 [ 17s] [17/242] keeping findutils-4.3.8-1.13 [ 17s] [18/242] keeping gdbm-1.8.3-1.14 [ 17s] [19/242] keeping hostname-3.23-1.1 [ 17s] [20/242] keeping iniparser-4.1-1.1 [ 17s] [21/242] keeping libatomic-14.2.0-1.13 [ 17s] [22/242] keeping libattr-2.5.1-1.13 [ 17s] [23/242] keeping libblkid-2.39.3-1.11 [ 17s] [24/242] keeping libbz2-1.0.8-1.13 [ 17s] [25/242] keeping libexpat-2.6.2-1.13 [ 17s] [26/242] keeping libffi-3.4.2-2.1 [ 17s] [27/242] keeping libfreebl3-3.98-1.15 [ 17s] [28/242] keeping libgcc-14.2.0-1.13 [ 17s] [29/242] keeping libgomp-14.2.0-1.13 [ 17s] [30/242] keeping libitm-14.2.0-1.13 [ 18s] [31/242] cumulate libjson-0.17-0 [ 18s] [32/242] keeping libltdl-2.4.7-1.14 [ 18s] [33/242] keeping liblua-5.1.5-1.11 [ 18s] [34/242] keeping liblzma-5.6.3-1.6 [ 18s] [35/242] keeping libopenssl11-1.1.1w-1.12 [ 18s] [36/242] keeping libopenssl3-3.0.13-1.14 [ 18s] [37/242] keeping libpcre-8.45-1.12 [ 18s] [38/242] keeping libpopt-1.16-1.11 [ 18s] [39/242] keeping libpython3_121_0-3.12.0-1.11 [ 18s] [40/242] keeping libquadmath-14.2.0-1.13 [ 18s] [41/242] keeping libsmack-1.3.1-1.11 [ 18s] [42/242] keeping libsmartcols-2.39.3-1.11 [ 18s] [43/242] keeping libsqlite-3.48.0-1.7 [ 18s] [44/242] keeping libuuid-2.39.3-1.11 [ 18s] [45/242] keeping libxcrypt-4.4.36-1.12 [ 18s] [46/242] keeping libzstd1-1.5.6-1.7 [ 18s] [47/242] keeping m4-1.4.19-1.1 [ 18s] [48/242] keeping net-tools-2.0_20121208git-1.11 [ 18s] [49/242] keeping nspr-4.35-1.11 [ 18s] [50/242] keeping patch-2.7.6-1.11 [ 18s] [51/242] keeping pkg-config-0.29.2-1.12 [ 18s] [52/242] keeping sed-4.1c-1.11 [ 18s] [53/242] keeping update-alternatives-1.22.2-1.1 [ 18s] [54/242] keeping which-2.17-1.1 [ 18s] [55/242] cumulate xdgmime-0.0.17-1.1 [ 18s] [56/242] keeping zlib-1.3.1-1.6 [ 18s] [57/242] keeping pcre2-10.40-1 [ 18s] [58/242] keeping pcre2-utf16-10.40-1 [ 18s] [59/242] keeping pcre2-utf32-10.40-1 [ 18s] [60/242] keeping build-compare-2023.06.18-1.6 [ 18s] [61/242] keeping hal-rootstrap-checker-0.1.0-2.1 [ 18s] [62/242] cumulate vconf-internal-keys-devel-0.0.191-0 [ 18s] [63/242] keeping binutils-libs-2.43-1.14 [ 18s] [64/242] keeping capi-base-common-devel-0.4.82-1 [ 18s] [65/242] keeping coreutils-6.9-14.6 [ 18s] [66/242] keeping cpp-14.2.0-1.13 [ 18s] [67/242] keeping gawk-3.1.5-1.1 [ 18s] [68/242] keeping gcc-c++-14.2.0-1.13 [ 18s] [69/242] keeping grep-2.5.2-1.11 [ 18s] [70/242] keeping libacl-2.3.2-1.13 [ 18s] [71/242] keeping libblkid-devel-2.39.3-1.11 [ 18s] [72/242] keeping libcap-2.69-1.12 [ 18s] [73/242] keeping libelf-0.189-1.13 [ 18s] [74/242] keeping libffi-devel-3.4.2-2.1 [ 18s] [75/242] keeping libgfortran-14.2.0-1.13 [ 18s] [76/242] keeping libglib-2.80.5-0 [ 18s] [77/242] keeping libmount-2.39.3-1.11 [ 18s] [78/242] keeping libstdc++-14.2.0-1.13 [ 18s] [79/242] cumulate libunwind-1.6.2-1.6 [ 18s] [80/242] keeping make-4.4-1.12 [ 18s] [81/242] cumulate minizip-1.3.1-1.6 [ 18s] [82/242] keeping nss-certs-3.98-1.15 [ 18s] [83/242] cumulate rust-std-shared-1.74.0-1 [ 18s] [84/242] keeping smack-1.3.1-1.11 [ 18s] [85/242] cumulate sqlite-3.48.0-1.7 [ 18s] [86/242] cumulate tidl-2.5.0-1 [ 18s] [87/242] cumulate unzip-610c25-1.6 [ 18s] [88/242] cumulate xdgmime-devel-0.0.17-1.1 [ 18s] [89/242] cumulate xz-devel-5.6.3-1.6 [ 18s] [90/242] keeping bzip2-1.0.8-1.13 [ 18s] [91/242] keeping libfdisk-2.39.3-1.11 [ 18s] [92/242] keeping libmagic-5.45-1.13 [ 18s] [93/242] keeping libxml2-2.12.5-1.11 [ 18s] [94/242] keeping shadow-utils-4.1.4.2-7.6 [ 18s] [95/242] keeping xz-5.6.3-1.6 [ 18s] [96/242] keeping libkmod-31-1.1 [ 18s] [97/242] keeping perl-5.38.0-1.12 [ 18s] [98/242] keeping pcre2-devel-10.40-1 [ 18s] [99/242] keeping build-mkbaselibs-20120927-1.1 [ 18s] [100/242] keeping libstdc++-devel-14.2.0-1.13 [ 18s] [101/242] keeping linux-glibc-devel-6.6-1.13 [ 18s] [102/242] keeping acl-2.3.2-1.13 [ 18s] [103/242] keeping file-5.45-1.13 [ 18s] [104/242] keeping libcap-tools-2.69-1.12 [ 18s] [105/242] keeping libgmodule-2.80.5-0 [ 18s] [106/242] keeping libgthread-2.80.5-0 [ 18s] [107/242] cumulate minizip-devel-1.3.1-1.6 [ 18s] [108/242] keeping tar-1.17-1.1 [ 18s] [109/242] keeping terminfo-base-full-6.4-1.14 [ 18s] [110/242] keeping autoconf-2.71-1.14 [ 18s] [111/242] keeping glibc-locale-2.40-1.3 [ 18s] [112/242] keeping gzip-1.3.12-1.11 [ 18s] [113/242] keeping libcc1-14.2.0-1.13 [ 18s] [114/242] keeping libgobject-2.80.5-0 [ 18s] [115/242] keeping libhwasan-14.2.0-1.13 [ 18s] [116/242] keeping libmount-devel-2.39.3-1.11 [ 18s] [117/242] keeping libubsan-14.2.0-1.13 [ 18s] [118/242] cumulate tizen-platform-config-5.0-1 [ 18s] [119/242] keeping binutils-2.43-1.14 [ 18s] [120/242] cumulate gettext-runtime-0.21.1-2.12 [ 18s] [121/242] keeping pam-1.1.6-1.12 [ 18s] [122/242] keeping tzdata-2023c-1.1 [ 18s] [123/242] keeping dlog-9.0.1-1 [ 18s] [124/242] cumulate cynara-db-migration-0.19.6-1 [ 18s] [125/242] keeping libdw-0.189-1.13 [ 18s] [126/242] keeping ttrace-1.1.0-1 [ 18s] [127/242] keeping libarchive-3.7.2-1.12 [ 18s] [128/242] keeping shared-mime-info-1.7-0 [ 18s] [129/242] keeping dlog-logger-9.0.1-1 [ 18s] [130/242] cumulate libtzplatform-config-5.0-1 [ 18s] [131/242] keeping automake-1.16.5-1.14 [ 18s] [132/242] keeping libasm-0.189-1.13 [ 18s] [133/242] cumulate libncurses5-6.4-1.14 [ 18s] [134/242] keeping libncurses6-6.4-1.14 [ 18s] [135/242] keeping build-20120927-1.1 [ 18s] [136/242] keeping libgirepository2-2.80.5-0 [ 18s] [137/242] keeping libsystemd-244-0 [ 18s] [138/242] keeping security-config-1.0-1 [ 18s] [139/242] cumulate gettext-tools-0.21.1-2.12 [ 18s] [140/242] keeping gcc-14.2.0-1.13 [ 18s] [141/242] keeping libncurses-6.4-1.14 [ 18s] [142/242] keeping dbus-libs-1.12.20-3 [ 18s] [143/242] keeping less-668-1.1 [ 18s] [144/242] keeping libreadline-5.2-1.12 [ 18s] [145/242] cumulate libtzplatform-config-devel-5.0-1 [ 18s] [146/242] keeping libtool-2.4.7-1.14 [ 18s] [147/242] cumulate ncurses-devel-6.4-1.14 [ 18s] [148/242] keeping elfutils-0.189-1.13 [ 18s] [149/242] keeping libdlog-9.0.1-1 [ 18s] [150/242] keeping cmake-3.25.2-1.13 [ 18s] [151/242] keeping capi-system-resource-1.0.0-0 [ 18s] [152/242] cumulate readline-devel-5.2-1.12 [ 18s] [153/242] keeping libdlog-devel-9.0.1-1 [ 18s] [154/242] cumulate libxml2-tools-2.12.5-1.11 [ 18s] [155/242] cumulate parcel-0.17.3-0 [ 18s] [156/242] cumulate libcynara-commons-0.19.6-1 [ 18s] [157/242] cumulate capi-system-info-0.5.2-1 [ 18s] [158/242] keeping python3-base-3.12.0-1.11 [ 18s] [159/242] keeping util-linux-2.39.3-1.11 [ 18s] [160/242] keeping systemd-244-0 [ 18s] [161/242] keeping python3-3.12.0-1.1 [ 18s] [162/242] cumulate capi-system-resource-devel-1.0.0-0 [ 18s] [163/242] cumulate parcel-devel-0.17.3-0 [ 18s] [164/242] cumulate pkgmgr-0.20.21-0 [ 18s] [165/242] keeping systemd-devel-244-0 [ 18s] [166/242] keeping util-linux-su-2.39.3-1.11 [ 18s] [167/242] cumulate libcynara-creds-commons-0.19.6-1 [ 18s] [168/242] cumulate libcynara-session-0.19.6-1 [ 18s] [169/242] cumulate libcynara-client-0.19.6-1 [ 18s] [170/242] keeping python3-setuptools-69.0.2-1.6 [ 18s] [171/242] cumulate pkgmgr-types-devel-0.20.21-0 [ 18s] [172/242] cumulate libcynara-creds-socket-0.19.6-1 [ 18s] [173/242] cumulate dbus-1.12.20-3 [ 18s] [174/242] keeping libxcrypt-devel-4.4.36-1.12 [ 18s] [175/242] keeping nss-3.98-1.15 [ 18s] [176/242] cumulate rust-devel-1.74.0-1 [ 18s] [177/242] keeping libgio-2.80.5-0 [ 18s] [178/242] keeping gio-branding-upstream-2.80.5-0 [ 18s] [179/242] cumulate libjson-glib-1.8.0-0 [ 18s] [180/242] keeping glibc-devel-2.40-1.3 [ 18s] [181/242] keeping libsoftokn3-3.98-1.15 [ 18s] [182/242] cumulate rust-1.74.0-1 [ 18s] [183/242] keeping glib2-tools-2.80.5-0 [ 18s] [184/242] cumulate libgum-1.0.8-0 [ 18s] [185/242] cumulate libsyscommon-5.0.0-0 [ 18s] [186/242] cumulate buxton2-1.8.10-0 [ 18s] [187/242] keeping rpm-4.14.1.1-1.14 [ 18s] [188/242] cumulate rust-anstyle-0.3.5-1 [ 18s] [189/242] cumulate rust-cfg-if-1.0.0-1 [ 18s] [190/242] cumulate rust-downcast-0.11.0-1 [ 18s] [191/242] cumulate rust-either-1.8.1-1 [ 18s] [192/242] cumulate rust-libc-0.2.139-1 [ 18s] [193/242] cumulate rust-libm-0.2.6-1 [ 18s] [194/242] cumulate rust-minizip-sys-0.1.2-1 [ 18s] [195/242] cumulate rust-normalize-line-endings-0.3.0-1 [ 18s] [196/242] cumulate rust-scopeguard-1.1.0-1 [ 18s] [197/242] cumulate rust-termtree-0.4.1-1 [ 18s] [198/242] cumulate rust-unicode-ident-1.0.6-1 [ 18s] [199/242] keeping zlib-devel-1.3.1-1.6 [ 18s] [200/242] cumulate rust-difflib-0.4.0-1 [ 18s] [201/242] cumulate rust-fragile-2.0.0-1 [ 18s] [202/242] cumulate rust-predicates-core-1.0.6-1 [ 18s] [203/242] cumulate rust-regex-syntax-0.6.28-1 [ 18s] [204/242] cumulate sqlite-devel-3.48.0-1.7 [ 18s] [205/242] cumulate vconf-compat-1.8.10-0 [ 18s] [206/242] cumulate bundle-0.17.3-0 [ 18s] [207/242] cumulate gumd-1.0.8-0 [ 18s] [208/242] keeping rpm-build-4.14.1.1-1.14 [ 18s] [209/242] cumulate bundle-devel-0.17.3-0 [ 18s] [210/242] cumulate rust-lock_api-0.4.9-1 [ 18s] [211/242] cumulate rust-num-traits-0.2.15-1 [ 18s] [212/242] cumulate rust-glib-sys-0.17.10-1 [ 18s] [213/242] cumulate rust-itertools-0.10.5-1 [ 19s] [214/242] cumulate rust-proc-macro2-1.0.51-1 [ 19s] [215/242] cumulate rust-regex-1.7.1-1 [ 19s] [216/242] cumulate rust-predicates-tree-1.0.9-1 [ 19s] [217/242] cumulate libxml2-devel-2.12.5-1.11 [ 19s] [218/242] cumulate libstorage-1.0.0-0 [ 19s] [219/242] keeping glib2-devel-2.80.5-0 [ 19s] [220/242] cumulate pkgmgr-info-0.28.5-1 [ 19s] [221/242] cumulate libgum-devel-1.0.8-0 [ 19s] [222/242] cumulate pkgmgr-info-devel-0.28.5-1 [ 19s] [223/242] cumulate rust-float-cmp-0.9.0-1 [ 19s] [224/242] cumulate rust-spin-0.9.5-1 [ 19s] [225/242] cumulate vconf-compat-devel-1.8.10-0 [ 19s] [226/242] cumulate pkgmgr-info-parser-0.28.5-1 [ 19s] [227/242] cumulate rust-quote-1.0.23-1 [ 19s] [228/242] cumulate aul-0.67.1-1 [ 19s] [229/242] cumulate rust-lazy_static-1.4.0-1 [ 19s] [230/242] cumulate pkgmgr-info-parser-devel-0.28.5-1 [ 19s] [231/242] cumulate rust-syn-1.0.107-1 [ 19s] [232/242] cumulate aul-devel-0.67.1-1 [ 19s] [233/242] cumulate rust-predicates-3.0.4-1 [ 19s] [234/242] cumulate rpc-port-1.19.2-0 [ 19s] [235/242] cumulate rpc-port-devel-1.19.2-0 [ 19s] [236/242] cumulate rust-mockall_derive-0.11.4-1 [ 19s] [237/242] cumulate rust-mockall_double-0.3.0-1 [ 19s] [238/242] cumulate pkgmgr-client-0.20.21-0 [ 19s] [239/242] cumulate pkgmgr-installer-0.20.21-0 [ 19s] [240/242] cumulate pkgmgr-installer-devel-0.20.21-0 [ 19s] [241/242] cumulate pkgmgr-client-devel-0.20.21-0 [ 19s] [242/242] cumulate rust-mockall-0.11.4-1 [ 19s] now installing cumulated packages [ 19s] Preparing... ######################################## [ 19s] Updating / installing... [ 20s] rust-std-shared-1.74.0-1 ######################################## [ 20s] parcel-0.17.3-0 ######################################## [ 20s] capi-system-info-0.5.2-1 ######################################## [ 20s] pkgmgr-0.20.21-0 ######################################## [ 20s] /var/tmp/rpm-tmp.L28kYg: line 9: /etc/tizen-platform.conf: No such file or directory [ 20s] warning: %post(pkgmgr-0.20.21-0.x86_64) scriptlet failed, exit status 1 [ 20s] rust-cfg-if-1.0.0-1 ######################################## [ 20s] tizen-platform-config-5.0-1 ######################################## [ 20s] ln: creating symbolic link `/opt/etc/skel/media/Shared/media_shared': File exists [ 20s] libtzplatform-config-5.0-1 ######################################## [ 20s] minizip-1.3.1-1.6 ######################################## [ 20s] rust-unicode-ident-1.0.6-1 ######################################## [ 21s] rust-proc-macro2-1.0.51-1 ######################################## [ 21s] rust-quote-1.0.23-1 ######################################## [ 21s] rust-syn-1.0.107-1 ######################################## [ 21s] rust-predicates-core-1.0.6-1 ######################################## [ 21s] xdgmime-0.0.17-1.1 ######################################## [ 22s] xdgmime-devel-0.0.17-1.1 ######################################## [ 22s] rust-mockall_derive-0.11.4-1 ######################################## [ 22s] libtzplatform-config-devel-5.0-1 ######################################## [ 22s] pkgmgr-types-devel-0.20.21-0 ######################################## [ 22s] parcel-devel-0.17.3-0 ######################################## [ 28s] rust-devel-1.74.0-1 ######################################## [ 28s] rust-anstyle-0.3.5-1 ######################################## [ 29s] rust-downcast-0.11.0-1 ######################################## [ 29s] rust-either-1.8.1-1 ######################################## [ 29s] rust-itertools-0.10.5-1 ######################################## [ 29s] rust-libc-0.2.139-1 ######################################## [ 29s] rust-libm-0.2.6-1 ######################################## [ 30s] rust-num-traits-0.2.15-1 ######################################## [ 30s] rust-float-cmp-0.9.0-1 ######################################## [ 30s] rust-normalize-line-endings-0.3.0-1 ######################################## [ 30s] rust-scopeguard-1.1.0-1 ######################################## [ 30s] rust-lock_api-0.4.9-1 ######################################## [ 30s] rust-spin-0.9.5-1 ######################################## [ 30s] rust-lazy_static-1.4.0-1 ######################################## [ 31s] rust-termtree-0.4.1-1 ######################################## [ 31s] rust-predicates-tree-1.0.9-1 ######################################## [ 31s] rust-difflib-0.4.0-1 ######################################## [ 31s] rust-fragile-2.0.0-1 ######################################## [ 32s] rust-regex-syntax-0.6.28-1 ######################################## [ 32s] rust-regex-1.7.1-1 ######################################## [ 33s] rust-predicates-3.0.4-1 ######################################## [ 33s] libjson-glib-1.8.0-0 ######################################## [ 33s] bundle-0.17.3-0 ######################################## [ 34s] bundle-devel-0.17.3-0 ######################################## [ 34s] capi-system-resource-devel-1.0.0-0 ######################################## [ 34s] libxml2-tools-2.12.5-1.11 ######################################## [ 34s] libncurses5-6.4-1.14 ######################################## [ 34s] ncurses-devel-6.4-1.14 ######################################## [ 34s] readline-devel-5.2-1.12 ######################################## [ 34s] cynara-db-migration-0.19.6-1 ######################################## [ 34s] gettext-runtime-0.21.1-2.12 ######################################## [ 34s] xz-devel-5.6.3-1.6 ######################################## [ 34s] libxml2-devel-2.12.5-1.11 ######################################## [ 34s] sqlite-3.48.0-1.7 ######################################## [ 34s] libunwind-1.6.2-1.6 ######################################## [ 35s] vconf-internal-keys-devel-0.0.191-0 ######################################## [ 35s] libjson-0.17-0 ######################################## [ 35s] libsyscommon-5.0.0-0 ######################################## [ 39s] rust-std-static-1.74.0-1 ######################################## [ 39s] default-ac-domains-0.1-1.1 ######################################## [ 39s] libcynara-commons-0.19.6-1 ######################################## [ 39s] libcynara-client-0.19.6-1 ######################################## [ 39s] libcynara-session-0.19.6-1 ######################################## [ 39s] dbus-1.12.20-3 ######################################## [ 40s] libgum-1.0.8-0 ######################################## [ 40s] gumd-1.0.8-0 ######################################## [ 40s] buxton2-1.8.10-0 ######################################## [ 41s] vconf-compat-1.8.10-0 ######################################## [ 41s] libstorage-1.0.0-0 ######################################## [ 41s] vconf-compat-devel-1.8.10-0 ######################################## [ 41s] libcynara-creds-commons-0.19.6-1 ######################################## [ 41s] libcynara-creds-socket-0.19.6-1 ######################################## [ 41s] pkgmgr-info-parser-0.28.5-1 ######################################## [ 41s] pkgmgr-info-0.28.5-1 ######################################## [ 42s] aul-0.67.1-1 ######################################## [ 42s] rpc-port-1.19.2-0 ######################################## [ 42s] pkgmgr-client-0.20.21-0 ######################################## [ 42s] pkgmgr-installer-0.20.21-0 ######################################## [ 42s] pkgmgr-info-devel-0.28.5-1 ######################################## [ 42s] pkgmgr-info-parser-devel-0.28.5-1 ######################################## [ 42s] pkgmgr-installer-devel-0.20.21-0 ######################################## [ 42s] pkgmgr-client-devel-0.20.21-0 ######################################## [ 42s] rpc-port-devel-1.19.2-0 ######################################## [ 42s] aul-devel-0.67.1-1 ######################################## [ 42s] libgum-devel-1.0.8-0 ######################################## [ 44s] rust-1.74.0-1 ######################################## [ 44s] sqlite-devel-3.48.0-1.7 ######################################## [ 44s] gettext-tools-0.21.1-2.12 ######################################## [ 44s] rust-mockall-0.11.4-1 ######################################## [ 44s] rust-glib-sys-0.17.10-1 ######################################## [ 45s] rust-mockall_double-0.3.0-1 ######################################## [ 45s] minizip-devel-1.3.1-1.6 ######################################## [ 45s] rust-minizip-sys-0.1.2-1 ######################################## [ 45s] unzip-610c25-1.6 ######################################## [ 45s] tidl-2.5.0-1 ######################################## [ 45s] fdupes-2.2.1-1.13 ######################################## [ 45s] Running capi-system-info %posttrans script [ 45s] I/O warning : failed to load external entity "/etc/config/model-config.xml" [ 45s] iniparser: cannot open /etc/info.ini [ 46s] Running pkgmgr %posttrans script [ 46s] /var/tmp/rpm-tmp.5V07Bg: line 5: pkg_initdb: command not found [ 46s] /var/tmp/rpm-tmp.5V07Bg: line 6: install_preload_pkg: command not found [ 46s] /var/tmp/rpm-tmp.5V07Bg: line 13: pkgcmd: command not found [ 46s] /var/tmp/rpm-tmp.5V07Bg: line 15: /etc/package-manager/pkgmgr-label-initial-image.sh: No such file or directory [ 46s] Running buxton2 %posttrans script [ 46s] chmod: cannot access `/etc/buxton2/*': No such file or directory [ 46s] /etc/buxton2/*: No such file or directory [ 46s] chmod: cannot access `/var/lib/buxton2/*': No such file or directory [ 46s] /var/lib/buxton2/*: No such file or directory [ 47s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.19/etc/nsswitch.conf... [ 47s] now finalizing build dir... [ 48s] ----------------------------------------------------------------- [ 48s] ----- building pkgmgr-server.spec (user abuild) [ 48s] ----------------------------------------------------------------- [ 48s] ----------------------------------------------------------------- [ 48s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_costomized_smp_mflags -j20' --define '_srcdefattr (-,root,root)' --nosignature --target=x86_64 --define '_build_create_debug 1' -ba /home/abuild/rpmbuild/SOURCES/pkgmgr-server.spec [ 48s] Building target platforms: x86_64 [ 48s] Building for target x86_64 [ 48s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JB488O [ 48s] + umask 022 [ 48s] + cd /home/abuild/rpmbuild/BUILD [ 48s] + cd /home/abuild/rpmbuild/BUILD [ 48s] + rm -rf pkgmgr-server-1.0.15 [ 48s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/pkgmgr-server-1.0.15.tar.gz [ 48s] + /bin/tar -xof - [ 48s] + STATUS=0 [ 48s] + '[' 0 -ne 0 ']' [ 48s] + cd pkgmgr-server-1.0.15 [ 48s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 48s] + cp /home/abuild/rpmbuild/SOURCES/pkgmgr-server.manifest . [ 48s] + tidlc -s -l C -e -i ./tidl_pkgmgr_server/PkgMgr.tidl -o tidl_pkgmgr_server [ 48s] + mv tidl_pkgmgr_server.c tidl_pkgmgr_server.h ./tidl_pkgmgr_server/ [ 48s] + exit 0 [ 48s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.JjoWE3 [ 48s] + umask 022 [ 48s] + cd /home/abuild/rpmbuild/BUILD [ 48s] + cd pkgmgr-server-1.0.15 [ 48s] + ref=/usr/lib/rpm [ 48s] + mints=0 [ 48s] + case $(uname -m) in [ 48s] ++ uname -m [ 48s] + for s in guess sub [ 48s] ++ find -maxdepth 8 -name config.guess [ 48s] + for s in guess sub [ 48s] ++ find -maxdepth 8 -name config.sub [ 48s] + LANG=C [ 48s] + export LANG [ 48s] + unset DISPLAY [ 48s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g' [ 48s] + export CFLAGS [ 48s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g' [ 48s] + export CXXFLAGS [ 48s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -I%_fmoddir' [ 48s] + export FFLAGS [ 48s] + LDFLAGS= [ 48s] + export LDFLAGS [ 48s] + export 'CFLAGS=-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN_DEBUG_ENABLE' [ 48s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN_DEBUG_ENABLE' [ 48s] + export 'CXXFLAGS=-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN_DEBUG_ENABLE' [ 48s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN_DEBUG_ENABLE' [ 48s] + export 'FFLAGS=-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 48s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 48s] ++ awk 'BEGIN {FS="."}{print $1}' [ 48s] ++ echo 1.0.15 [ 48s] + MAJORVER=1 [ 48s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN_DEBUG_ENABLE' [ 48s] + export CFLAGS [ 48s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN_DEBUG_ENABLE' [ 48s] + export CXXFLAGS [ 48s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 48s] + export FFLAGS [ 48s] + /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 . [ 48s] -- The C compiler identification is GNU 14.2.0 [ 48s] -- The CXX compiler identification is GNU 14.2.0 [ 48s] -- Detecting C compiler ABI info [ 48s] -- Detecting C compiler ABI info - done [ 48s] -- Check for working C compiler: /bin/cc - skipped [ 48s] -- Detecting C compile features [ 48s] -- Detecting C compile features - done [ 48s] -- Detecting CXX compiler ABI info [ 49s] -- Detecting CXX compiler ABI info - done [ 49s] -- Check for working CXX compiler: /bin/c++ - skipped [ 49s] -- Detecting CXX compile features [ 49s] -- Detecting CXX compile features - done [ 49s] -- Found PkgConfig: /bin/pkg-config (found version "0.29.2") [ 49s] -- Checking for module 'rpc-port' [ 49s] -- Found rpc-port, version [ 49s] -- Checking for module 'dlog' [ 49s] -- Found dlog, version 1.0 [ 49s] -- Checking for module 'gio-2.0' [ 49s] -- Found gio-2.0, version 2.80.5 [ 49s] -- Checking for module 'glib-2.0' [ 49s] -- Found glib-2.0, version 2.80.5 [ 49s] -- Checking for module 'capi-base-common' [ 49s] -- Found capi-base-common, version 0.4.82 [ 50s] -- Checking for module 'pkgmgr' [ 50s] -- Found pkgmgr, version 0.20.21 [ 50s] -- Checking for module 'libtzplatform-config' [ 50s] -- Found libtzplatform-config, version 2.0 [ 50s] -- Configuring done [ 50s] -- Generating done [ 50s] CMake Warning: [ 50s] Manually-specified variables were not used by the project: [ 50s] [ 50s] FULLVER [ 50s] INCLUDE_INSTALL_DIR [ 50s] LIB_SUFFIX [ 50s] MAJORVER [ 50s] SHARE_INSTALL_PREFIX [ 50s] SYSCONF_INSTALL_DIR [ 50s] [ 50s] [ 50s] -- Build files have been written to: /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 50s] + make -j8 [ 50s] /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 [ 50s] /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 [ 50s] make -f CMakeFiles/Makefile2 all [ 50s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 50s] make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/depend [ 50s] make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/depend [ 50s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 50s] 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= [ 50s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 50s] 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= [ 50s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 50s] make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build [ 50s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 50s] make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build [ 50s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 50s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 50s] [ 25%] Building C object tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o [ 50s] cd /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server && /bin/cc -DLIBDIR=\"/usr/lib64\" -Dtidl_pkgmgr_server_EXPORTS -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server/SYSTEM -I/usr/include/rpc-port -I/usr/include/dlog -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -fPIC -I/usr/include/rpc-port -I/usr/include/dlog -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -MD -MT tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o -MF CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o.d -o CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o -c /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server/tidl_pkgmgr_server.c [ 50s] [ 50%] Building C object util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o [ 50s] cd /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server && /bin/cc -DLIBDIR=\"/usr/lib64\" -Dutil_pkgmgr_server_EXPORTS -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server/SYSTEM -I/usr/include/rpc-port -I/usr/include/dlog -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -fPIC -I/usr/include/rpc-port -I/usr/include/dlog -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/ -MD -MT util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o -MF CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o.d -o CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o -c /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server/util_pkgmgr_server.c [ 51s] [ 75%] Linking C shared library libutil_pkgmgr_server.so [ 51s] 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 [ 51s] /bin/cc -fPIC -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -shared -Wl,-soname,libutil_pkgmgr_server.so -o libutil_pkgmgr_server.so CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o -lrpc-port -ldlog -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lglib-2.0 -lcapi-base-common -lpkgmgr-client -ltzplatform-config-2.0 -ldl [ 51s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 51s] [ 75%] Built target util_pkgmgr_server [ 53s] [100%] Linking C shared library libtidl_pkgmgr_server.so [ 53s] 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 [ 53s] /bin/cc -fPIC -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -shared -Wl,-soname,libtidl_pkgmgr_server.so -o libtidl_pkgmgr_server.so CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o -lrpc-port -ldlog -lglib-2.0 -lcapi-base-common -ldl [ 53s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 53s] [100%] Built target tidl_pkgmgr_server [ 53s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 53s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/CMakeFiles 0 [ 53s] + export LD_LIBRARY_PATH=:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib [ 53s] + LD_LIBRARY_PATH=:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib [ 53s] ++ find /usr/lib64 -maxdepth 1 -name 'libstd-*.so' [ 53s] + __rust_std=/usr/lib64/libstd-fcf70ff533b679b2.so [ 53s] + /usr/bin/rustc -C prefer-dynamic --extern std=/usr/lib64/libstd-fcf70ff533b679b2.so -C codegen-units=1 -C debuginfo=2 -C opt-level=3 -C relocation-model=pic -C overflow-checks=on -C symbol-mangling-version=v0 -L/usr/lib64/rustlib -L/usr/lib64/rustlib/dylib --crate-type=bin --crate-name=rust_pkgmgr_server -L native=./tidl_pkgmgr_server -L native=./util_pkgmgr_server -l minizip --edition=2021 --extern libc=/usr/lib64/rustlib/dylib/liblibc.so ./src/main.rs [ 53s] warning: unused import: `boxed` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:4:11 [ 53s] | [ 53s] 4 | use std::{boxed, str}; [ 53s] | ^^^^^ [ 53s] | [ 53s] = note: `#[warn(unused_imports)]` on by default [ 53s] [ 53s] warning: unused import: `std::mem` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:6:5 [ 53s] | [ 53s] 6 | use std::mem; [ 53s] | ^^^^^^^^ [ 53s] [ 53s] warning: unused import: `std::ptr` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:7:5 [ 53s] | [ 53s] 7 | use std::ptr; [ 53s] | ^^^^^^^^ [ 53s] [ 53s] warning: unused import: `malloc` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:8:18 [ 53s] | [ 53s] 8 | use libc::{free, malloc, strlen}; [ 53s] | ^^^^^^ [ 53s] [ 53s] warning: unused import: `super::Server` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:10:5 [ 53s] | [ 53s] 10 | use super::Server; [ 53s] | ^^^^^^^^^^^^^ [ 53s] [ 53s] warning: type `rpc_port_stub_array_string_h` should have an upper camel case name [ 53s] --> ./src/pkgmgr/server/admin_service.rs:23:6 [ 53s] | [ 53s] 23 | type rpc_port_stub_array_string_h = *mut c_void; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RpcPortStubArrayStringH` [ 53s] | [ 53s] = note: `#[warn(non_camel_case_types)]` on by default [ 53s] [ 53s] warning: unused imports: `pid_t`, `uid_t` [ 53s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 53s] | [ 53s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 53s] | ^^^^^ ^^^^^ [ 53s] [ 53s] warning: unused imports: `c_int`, `c_void` [ 53s] --> ./src/pkgmgr/server/backend_context.rs:4:16 [ 53s] | [ 53s] 4 | use std::ffi::{c_int, c_void}; [ 53s] | ^^^^^ ^^^^^^ [ 53s] [ 53s] warning: unused import: `std::path::Path` [ 53s] --> ./src/pkgmgr/server/backend_queue.rs:10:5 [ 53s] | [ 53s] 10 | use std::path::Path; [ 53s] | ^^^^^^^^^^^^^^^ [ 53s] [ 53s] warning: denote infinite loops with `loop { ... }` [ 53s] --> ./src/pkgmgr/server/backend_queue.rs:50:9 [ 53s] | [ 53s] 50 | while true { [ 53s] | ^^^^^^^^^^ help: use `loop` [ 53s] | [ 53s] = note: `#[warn(while_true)]` on by default [ 53s] [ 53s] warning: unnecessary parentheses around `if` condition [ 53s] --> ./src/pkgmgr/server/backend_queue.rs:73:8 [ 53s] | [ 53s] 73 | if (mut_queue.is_queue_empty()) { [ 53s] | ^ ^ [ 53s] | [ 53s] = note: `#[warn(unused_parens)]` on by default [ 53s] help: remove these parentheses [ 53s] | [ 53s] 73 - if (mut_queue.is_queue_empty()) { [ 53s] 73 + if mut_queue.is_queue_empty() { [ 53s] | [ 53s] [ 53s] warning: unnecessary trailing semicolon [ 53s] --> ./src/pkgmgr/server/backend_queue.rs:297:17 [ 53s] | [ 53s] 297 | ; [ 53s] | ^ help: remove this semicolon [ 53s] | [ 53s] = note: `#[warn(redundant_semicolons)]` on by default [ 53s] [ 53s] warning: unused import: `super::Server` [ 53s] --> ./src/pkgmgr/server/cache_service.rs:1:5 [ 53s] | [ 53s] 1 | use super::Server; [ 53s] | ^^^^^^^^^^^^^ [ 53s] [ 53s] warning: unused import: `super::Server` [ 53s] --> ./src/pkgmgr/server/delayed_service.rs:1:5 [ 53s] | [ 53s] 1 | use super::Server; [ 53s] | ^^^^^^^^^^^^^ [ 53s] [ 53s] warning: unused import: `super::backend_context::*` [ 53s] --> ./src/pkgmgr/server/delayed_service.rs:4:5 [ 53s] | [ 53s] 4 | use super::backend_context::*; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 53s] [ 53s] warning: unused import: `super::request_result::*` [ 53s] --> ./src/pkgmgr/server/delayed_service.rs:5:5 [ 53s] | [ 53s] 5 | use super::request_result::*; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 53s] [ 53s] warning: unused import: `super::request_type::*` [ 53s] --> ./src/pkgmgr/server/delayed_service.rs:6:5 [ 53s] | [ 53s] 6 | use super::request_type::*; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 53s] [ 53s] warning: unused import: `super::util::*` [ 53s] --> ./src/pkgmgr/server/delayed_service.rs:7:5 [ 53s] | [ 53s] 7 | use super::util::*; [ 53s] | ^^^^^^^^^^^^^^ [ 53s] [ 53s] warning: unused imports: `pid_t`, `uid_t` [ 53s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 53s] | [ 53s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 53s] | ^^^^^ ^^^^^ [ 53s] [ 53s] warning: unused import: `std::io::Error` [ 53s] --> ./src/pkgmgr/server/info_service.rs:3:5 [ 53s] | [ 53s] 3 | use std::io::Error; [ 53s] | ^^^^^^^^^^^^^^ [ 53s] [ 53s] warning: unused import: `std::mem` [ 53s] --> ./src/pkgmgr/server/info_service.rs:6:5 [ 53s] | [ 53s] 6 | use std::mem; [ 53s] | ^^^^^^^^ [ 53s] [ 53s] warning: unused import: `std::ptr` [ 53s] --> ./src/pkgmgr/server/info_service.rs:7:5 [ 53s] | [ 53s] 7 | use std::ptr; [ 53s] | ^^^^^^^^ [ 53s] [ 53s] warning: unused imports: `free`, `malloc`, `strlen` [ 53s] --> ./src/pkgmgr/server/info_service.rs:8:12 [ 53s] | [ 53s] 8 | use libc::{free, malloc, strlen, mkfifo}; [ 53s] | ^^^^ ^^^^^^ ^^^^^^ [ 53s] [ 53s] warning: unused import: `super::Server` [ 53s] --> ./src/pkgmgr/server/info_service.rs:10:5 [ 53s] | [ 53s] 10 | use super::Server; [ 53s] | ^^^^^^^^^^^^^ [ 53s] [ 53s] warning: unused import: `super::service::Service` [ 53s] --> ./src/pkgmgr/server/info_service.rs:13:5 [ 53s] | [ 53s] 13 | use super::service::Service; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 53s] [ 53s] warning: unnecessary trailing semicolon [ 53s] --> ./src/pkgmgr/server/info_service.rs:49:5 [ 53s] | [ 53s] 49 | ; [ 53s] | ^ help: remove this semicolon [ 53s] [ 53s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 53s] --> ./src/pkgmgr/server/request_result.rs:7:5 [ 53s] | [ 53s] 7 | GETSIZE_SYNC(String, i32, i32), [ 53s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 53s] [ 53s] warning: variant `GET_GENERATE_LICENSE_RESULT` should have an upper camel case name [ 53s] --> ./src/pkgmgr/server/request_result.rs:8:5 [ 53s] | [ 53s] 8 | GET_GENERATE_LICENSE_RESULT(String, i32, CString, CString), [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetGenerateLicenseResult` [ 53s] [ 53s] warning: variant `MOUNT_INSTALL` should have an upper camel case name [ 53s] --> ./src/pkgmgr/server/request_type.rs:3:5 [ 53s] | [ 53s] 3 | MOUNT_INSTALL, [ 53s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MountInstall` [ 53s] [ 53s] warning: variant `ENABLE_PKG` should have an upper camel case name [ 53s] --> ./src/pkgmgr/server/request_type.rs:7:5 [ 53s] | [ 53s] 7 | ENABLE_PKG, [ 53s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnablePkg` [ 53s] [ 53s] warning: variant `DISABLE_PKG` should have an upper camel case name [ 53s] --> ./src/pkgmgr/server/request_type.rs:8:5 [ 53s] | [ 53s] 8 | DISABLE_PKG, [ 53s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisablePkg` [ 53s] [ 53s] warning: variant `REGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 53s] --> ./src/pkgmgr/server/request_type.rs:9:5 [ 53s] | [ 53s] 9 | REGISTER_PKG_UPDATE_INFO, [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterPkgUpdateInfo` [ 53s] [ 53s] warning: variant `UNREGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 53s] --> ./src/pkgmgr/server/request_type.rs:10:5 [ 53s] | [ 53s] 10 | UNREGISTER_PKG_UPDATE_INFO, [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterPkgUpdateInfo` [ 53s] [ 53s] warning: variant `UNREGISTER_ALL_PKG_UPDATE_INFO` should have an upper camel case name [ 53s] --> ./src/pkgmgr/server/request_type.rs:11:5 [ 53s] | [ 53s] 11 | UNREGISTER_ALL_PKG_UPDATE_INFO, [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterAllPkgUpdateInfo` [ 53s] [ 53s] warning: variant `ENABLE_APP` should have an upper camel case name [ 53s] --> ./src/pkgmgr/server/request_type.rs:12:5 [ 53s] | [ 53s] 12 | ENABLE_APP, [ 53s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableApp` [ 53s] [ 53s] warning: variant `DISABLE_APP` should have an upper camel case name [ 53s] --> ./src/pkgmgr/server/request_type.rs:13:5 [ 53s] | [ 53s] 13 | DISABLE_APP, [ 53s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableApp` [ 53s] [ 53s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 53s] --> ./src/pkgmgr/server/request_type.rs:15:5 [ 53s] | [ 53s] 15 | GETSIZE_SYNC, [ 53s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 53s] [ 53s] warning: variant `ENABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 53s] --> ./src/pkgmgr/server/request_type.rs:18:5 [ 53s] | [ 53s] 18 | ENABLE_GLOBAL_APP_FOR_UID, [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableGlobalAppForUid` [ 53s] [ 53s] warning: variant `DISABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 53s] --> ./src/pkgmgr/server/request_type.rs:19:5 [ 53s] | [ 53s] 19 | DISABLE_GLOBAL_APP_FOR_UID, [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableGlobalAppForUid` [ 53s] [ 53s] warning: variant `GENERATE_LICENSE_REQUEST` should have an upper camel case name [ 53s] --> ./src/pkgmgr/server/request_type.rs:22:5 [ 53s] | [ 53s] 22 | GENERATE_LICENSE_REQUEST, [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GenerateLicenseRequest` [ 53s] [ 53s] warning: variant `REGISTER_LICENSE` should have an upper camel case name [ 53s] --> ./src/pkgmgr/server/request_type.rs:23:5 [ 53s] | [ 53s] 23 | REGISTER_LICENSE, [ 53s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterLicense` [ 53s] [ 53s] warning: variant `DECRYPT_PACKAGE` should have an upper camel case name [ 53s] --> ./src/pkgmgr/server/request_type.rs:24:5 [ 53s] | [ 53s] 24 | DECRYPT_PACKAGE, [ 53s] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DecryptPackage` [ 53s] [ 53s] warning: variant `ENABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 53s] --> ./src/pkgmgr/server/request_type.rs:25:5 [ 53s] | [ 53s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableAppSplashScreen` [ 53s] [ 53s] warning: variant `DISABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 53s] --> ./src/pkgmgr/server/request_type.rs:26:5 [ 53s] | [ 53s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableAppSplashScreen` [ 53s] [ 53s] warning: variant `SET_APP_LABEL` should have an upper camel case name [ 53s] --> ./src/pkgmgr/server/request_type.rs:27:5 [ 53s] | [ 53s] 27 | SET_APP_LABEL, [ 53s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppLabel` [ 53s] [ 53s] warning: variant `SET_APP_ICON` should have an upper camel case name [ 53s] --> ./src/pkgmgr/server/request_type.rs:28:5 [ 53s] | [ 53s] 28 | SET_APP_ICON, [ 53s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppIcon` [ 53s] [ 53s] warning: variant `MIGRATE_EXTERNAL_IMAGE` should have an upper camel case name [ 53s] --> ./src/pkgmgr/server/request_type.rs:29:5 [ 53s] | [ 53s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MigrateExternalImage` [ 53s] [ 53s] warning: variant `RESOURCE_SHARE_COPY` should have an upper camel case name [ 53s] --> ./src/pkgmgr/server/request_type.rs:30:5 [ 53s] | [ 53s] 30 | RESOURCE_SHARE_COPY, [ 53s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCopy` [ 53s] [ 53s] warning: variant `RESOURCE_SHARE_CREATE_DIR` should have an upper camel case name [ 53s] --> ./src/pkgmgr/server/request_type.rs:31:5 [ 53s] | [ 53s] 31 | RESOURCE_SHARE_CREATE_DIR, [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCreateDir` [ 53s] [ 53s] warning: variant `RESOURCE_SHARE_REMOVE` should have an upper camel case name [ 53s] --> ./src/pkgmgr/server/request_type.rs:32:5 [ 53s] | [ 53s] 32 | RESOURCE_SHARE_REMOVE, [ 53s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareRemove` [ 53s] [ 53s] warning: variant `RESOURCE_SHARE_UNINSTALL` should have an upper camel case name [ 53s] --> ./src/pkgmgr/server/request_type.rs:33:5 [ 53s] | [ 53s] 33 | RESOURCE_SHARE_UNINSTALL, [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareUninstall` [ 53s] [ 53s] warning: variant `REMOVE_FILE` should have an upper camel case name [ 53s] --> ./src/pkgmgr/server/request_type.rs:34:5 [ 53s] | [ 53s] 34 | REMOVE_FILE, [ 53s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RemoveFile` [ 53s] [ 53s] warning: unused import: `CStr` [ 53s] --> ./src/pkgmgr/server/signal.rs:1:39 [ 53s] | [ 53s] 1 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 53s] | ^^^^ [ 53s] [ 53s] warning: unused import: `pid_t` [ 53s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 53s] | [ 53s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: unused imports: `CStr`, `CString`, `c_char`, `c_void` [ 53s] --> ./src/pkgmgr/server/signal.rs:39:20 [ 53s] | [ 53s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 53s] | ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^ [ 53s] [ 53s] warning: unused import: `pid_t` [ 53s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 53s] | [ 53s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: unused import: `std::cell::RefCell` [ 53s] --> ./src/pkgmgr/server/util.rs:1:5 [ 53s] | [ 53s] 1 | use std::cell::RefCell; [ 53s] | ^^^^^^^^^^^^^^^^^^ [ 53s] [ 53s] warning: unused import: `std::rc::Rc` [ 53s] --> ./src/pkgmgr/server/util.rs:8:5 [ 53s] | [ 53s] 8 | use std::rc::Rc; [ 53s] | ^^^^^^^^^^^ [ 53s] [ 53s] warning: type `xmlChar` should have an upper camel case name [ 53s] --> ./src/pkgmgr/server/util.rs:34:6 [ 53s] | [ 53s] 34 | type xmlChar = c_uchar; [ 53s] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlChar` [ 53s] [ 53s] warning: type `xmlTextReaderPtr` should have an upper camel case name [ 53s] --> ./src/pkgmgr/server/util.rs:35:6 [ 53s] | [ 53s] 35 | type xmlTextReaderPtr = *mut c_void; [ 53s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlTextReaderPtr` [ 53s] [ 53s] warning: unused imports: `CStr`, `CString` [ 53s] --> ./src/pkgmgr/server/util.rs:39:43 [ 53s] | [ 53s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 53s] | ^^^^ ^^^^^^^ [ 53s] [ 53s] warning: unused import: `pid_t` [ 53s] --> ./src/pkgmgr/server/util.rs:40:37 [ 53s] | [ 53s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: unnecessary parentheses around `if` condition [ 53s] --> ./src/pkgmgr/server/util.rs:474:24 [ 53s] | [ 53s] 474 | if (cur == depth + 1) { [ 53s] | ^ ^ [ 53s] | [ 53s] help: remove these parentheses [ 53s] | [ 53s] 474 - if (cur == depth + 1) { [ 53s] 474 + if cur == depth + 1 { [ 53s] | [ 53s] [ 53s] warning: unnecessary parentheses around `if` condition [ 53s] --> ./src/pkgmgr/server/util.rs:571:12 [ 53s] | [ 53s] 571 | if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 53s] | ^ ^ [ 53s] | [ 53s] help: remove these parentheses [ 53s] | [ 53s] 571 - if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 53s] 571 + if unzOpenCurrentFile(uf) != UNZ_OK as c_int { [ 53s] | [ 53s] [ 53s] warning: unused import: `super::super::super::server::signal::*` [ 53s] --> ./src/pkgmgr/server/test/signal_tests.rs:1:5 [ 53s] | [ 53s] 1 | use super::super::super::server::signal::*; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 53s] | [ 53s] help: consider adding a `#[cfg(test)]` to the containing module [ 53s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 53s] | [ 53s] 3 | pub mod signal_tests; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^ [ 53s] [ 53s] warning: unused import: `std::ffi::CString` [ 53s] --> ./src/pkgmgr/server/test/signal_tests.rs:2:5 [ 53s] | [ 53s] 2 | use std::ffi::CString; [ 53s] | ^^^^^^^^^^^^^^^^^ [ 53s] | [ 53s] help: consider adding a `#[cfg(test)]` to the containing module [ 53s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 53s] | [ 53s] 3 | pub mod signal_tests; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^ [ 53s] [ 53s] warning: unused import: `std::ffi::CStr` [ 53s] --> ./src/pkgmgr/server/test/signal_tests.rs:3:5 [ 53s] | [ 53s] 3 | use std::ffi::CStr; [ 53s] | ^^^^^^^^^^^^^^ [ 53s] | [ 53s] help: consider adding a `#[cfg(test)]` to the containing module [ 53s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 53s] | [ 53s] 3 | pub mod signal_tests; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^ [ 53s] [ 53s] warning: unused import: `std::ffi::c_char` [ 53s] --> ./src/pkgmgr/server/test/signal_tests.rs:4:5 [ 53s] | [ 53s] 4 | use std::ffi::c_char; [ 53s] | ^^^^^^^^^^^^^^^^ [ 53s] | [ 53s] help: consider adding a `#[cfg(test)]` to the containing module [ 53s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 53s] | [ 53s] 3 | pub mod signal_tests; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^ [ 53s] [ 53s] warning: unused import: `std::mem` [ 53s] --> ./src/pkgmgr/server/test/signal_tests.rs:5:5 [ 53s] | [ 53s] 5 | use std::mem; [ 53s] | ^^^^^^^^ [ 53s] | [ 53s] help: consider adding a `#[cfg(test)]` to the containing module [ 53s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 53s] | [ 53s] 3 | pub mod signal_tests; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^ [ 53s] [ 53s] warning: unused import: `mockall::predicate::*` [ 53s] --> ./src/pkgmgr/server/test/signal_tests.rs:6:5 [ 53s] | [ 53s] 6 | use mockall::predicate::*; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^ [ 53s] | [ 53s] help: consider adding a `#[cfg(test)]` to the containing module [ 53s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 53s] | [ 53s] 3 | pub mod signal_tests; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^ [ 53s] [ 53s] warning: unused import: `mockall::*` [ 53s] --> ./src/pkgmgr/server/test/signal_tests.rs:7:5 [ 53s] | [ 53s] 7 | use mockall::*; [ 53s] | ^^^^^^^^^^ [ 53s] | [ 53s] help: consider adding a `#[cfg(test)]` to the containing module [ 53s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 53s] | [ 53s] 3 | pub mod signal_tests; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^ [ 53s] [ 53s] warning: unused imports: `pid_t`, `uid_t` [ 53s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 53s] | [ 53s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 53s] | ^^^^^ ^^^^^ [ 53s] | [ 53s] help: consider adding a `#[cfg(test)]` to the containing module [ 53s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 53s] | [ 53s] 3 | pub mod signal_tests; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^ [ 53s] [ 53s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 53s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:1:5 [ 53s] | [ 53s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 53s] | [ 53s] help: consider adding a `#[cfg(test)]` to the containing module [ 53s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 53s] | [ 53s] 4 | pub mod admin_service_tests; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 53s] [ 53s] warning: unused import: `super::super::super::server::admin_service::AdminService` [ 53s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:2:5 [ 53s] | [ 53s] 2 | use super::super::super::server::admin_service::AdminService; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 53s] | [ 53s] help: consider adding a `#[cfg(test)]` to the containing module [ 53s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 53s] | [ 53s] 4 | pub mod admin_service_tests; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 53s] [ 53s] warning: unused import: `super::super::super::server::service::Service` [ 53s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:3:5 [ 53s] | [ 53s] 3 | use super::super::super::server::service::Service; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 53s] | [ 53s] help: consider adding a `#[cfg(test)]` to the containing module [ 53s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 53s] | [ 53s] 4 | pub mod admin_service_tests; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 53s] [ 53s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 53s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:1:5 [ 53s] | [ 53s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 53s] | [ 53s] help: consider adding a `#[cfg(test)]` to the containing module [ 53s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 53s] | [ 53s] 5 | pub mod cache_service_tests; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 53s] [ 53s] warning: unused import: `super::super::super::server::cache_service::CacheService` [ 53s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:2:5 [ 53s] | [ 53s] 2 | use super::super::super::server::cache_service::CacheService; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 53s] | [ 53s] help: consider adding a `#[cfg(test)]` to the containing module [ 53s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 53s] | [ 53s] 5 | pub mod cache_service_tests; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 53s] [ 53s] warning: unused import: `super::super::super::server::service::Service` [ 53s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:3:5 [ 53s] | [ 53s] 3 | use super::super::super::server::service::Service; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 53s] | [ 53s] help: consider adding a `#[cfg(test)]` to the containing module [ 53s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 53s] | [ 53s] 5 | pub mod cache_service_tests; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 53s] [ 53s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 53s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:1:5 [ 53s] | [ 53s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 53s] | [ 53s] help: consider adding a `#[cfg(test)]` to the containing module [ 53s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 53s] | [ 53s] 6 | pub mod delayed_service_tests; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 53s] [ 53s] warning: unused import: `super::super::super::server::delayed_service::DelayedService` [ 53s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:2:5 [ 53s] | [ 53s] 2 | use super::super::super::server::delayed_service::DelayedService; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 53s] | [ 53s] help: consider adding a `#[cfg(test)]` to the containing module [ 53s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 53s] | [ 53s] 6 | pub mod delayed_service_tests; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 53s] [ 53s] warning: unused import: `super::super::super::server::service::Service` [ 53s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:3:5 [ 53s] | [ 53s] 3 | use super::super::super::server::service::Service; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 53s] | [ 53s] help: consider adding a `#[cfg(test)]` to the containing module [ 53s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 53s] | [ 53s] 6 | pub mod delayed_service_tests; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 53s] [ 53s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 53s] --> ./src/pkgmgr/server/test/info_service_tests.rs:1:5 [ 53s] | [ 53s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 53s] | [ 53s] help: consider adding a `#[cfg(test)]` to the containing module [ 53s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 53s] | [ 53s] 7 | pub mod info_service_tests; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 53s] [ 53s] warning: unused import: `super::super::super::server::info_service::InfoService` [ 53s] --> ./src/pkgmgr/server/test/info_service_tests.rs:2:5 [ 53s] | [ 53s] 2 | use super::super::super::server::info_service::InfoService; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 53s] | [ 53s] help: consider adding a `#[cfg(test)]` to the containing module [ 53s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 53s] | [ 53s] 7 | pub mod info_service_tests; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 53s] [ 53s] warning: unused import: `super::super::super::server::service::Service` [ 53s] --> ./src/pkgmgr/server/test/info_service_tests.rs:3:5 [ 53s] | [ 53s] 3 | use super::super::super::server::service::Service; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 53s] | [ 53s] help: consider adding a `#[cfg(test)]` to the containing module [ 53s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 53s] | [ 53s] 7 | pub mod info_service_tests; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 53s] [ 53s] warning: unused import: `std::cell::RefCell` [ 53s] --> ./src/pkgmgr/server/mod.rs:22:5 [ 53s] | [ 53s] 22 | use std::cell::RefCell; [ 53s] | ^^^^^^^^^^^^^^^^^^ [ 53s] [ 53s] warning: unused import: `std::rc::Rc` [ 53s] --> ./src/pkgmgr/server/mod.rs:26:5 [ 53s] | [ 53s] 26 | use std::rc::Rc; [ 53s] | ^^^^^^^^^^^ [ 53s] [ 53s] warning: unused import: `std::process::Command` [ 53s] --> ./src/main.rs:9:5 [ 53s] | [ 53s] 9 | use std::process::Command; [ 53s] | ^^^^^^^^^^^^^^^^^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:5:26 [ 53s] | [ 53s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 53s] | ^^^^^ [ 53s] | [ 53s] = note: `#[warn(deprecated)]` on by default [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:5:33 [ 53s] | [ 53s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:20:20 [ 53s] | [ 53s] 20 | const GLOBAL_USER: uid_t = 201; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:322:25 [ 53s] | [ 53s] 322 | let mut caller_uid: uid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:443:25 [ 53s] | [ 53s] 443 | let mut caller_uid: uid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:548:25 [ 53s] | [ 53s] 548 | let mut caller_uid: uid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:595:25 [ 53s] | [ 53s] 595 | let mut caller_uid: uid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:718:25 [ 53s] | [ 53s] 718 | let mut caller_uid: uid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:801:25 [ 53s] | [ 53s] 801 | let mut caller_uid: uid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:853:25 [ 53s] | [ 53s] 853 | let mut caller_uid: uid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:937:25 [ 53s] | [ 53s] 937 | let mut caller_uid: uid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:990:25 [ 53s] | [ 53s] 990 | let mut caller_uid: uid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1015:76 [ 53s] | [ 53s] 1015 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, true) { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1072:25 [ 53s] | [ 53s] 1072 | let mut caller_uid: uid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1097:76 [ 53s] | [ 53s] 1097 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, false) { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1151:25 [ 53s] | [ 53s] 1151 | let mut caller_pid: pid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1152:25 [ 53s] | [ 53s] 1152 | let mut caller_uid: uid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1166:62 [ 53s] | [ 53s] 1166 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1196:66 [ 53s] | [ 53s] 1196 | let ret = Util::RegisterPkgUpdateInfo(handle, uid as uid_t); [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1215:25 [ 53s] | [ 53s] 1215 | let mut caller_pid: pid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1216:25 [ 53s] | [ 53s] 1216 | let mut caller_uid: uid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1230:62 [ 53s] | [ 53s] 1230 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1254:109 [ 53s] | [ 53s] 1254 | RequestResult::DELAYED(generated_req_key, Util::UnregisterPkgUpdateInfo(pkg_id.as_ptr(), uid as uid_t)) [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1270:25 [ 53s] | [ 53s] 1270 | let mut caller_pid: pid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1271:25 [ 53s] | [ 53s] 1271 | let mut caller_uid: uid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1303:95 [ 53s] | [ 53s] 1303 | RequestResult::DELAYED(generated_req_key, Util::UnregisterAllPkgUpdateInfo(uid as uid_t, caller_uid)) [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1312:45 [ 53s] | [ 53s] 1312 | fn handle_enable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1359:60 [ 53s] | [ 53s] 1359 | fn handle_enable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1371:40 [ 53s] | [ 53s] 1371 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1373:40 [ 53s] | [ 53s] 1373 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1380:36 [ 53s] | [ 53s] 1380 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1382:36 [ 53s] | [ 53s] 1382 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1392:36 [ 53s] | [ 53s] 1392 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1394:36 [ 53s] | [ 53s] 1394 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1400:28 [ 53s] | [ 53s] 1400 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1403:46 [ 53s] | [ 53s] 1403 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1404:59 [ 53s] | [ 53s] 1404 | Util::EnableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1405:32 [ 53s] | [ 53s] 1405 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1409:28 [ 53s] | [ 53s] 1409 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1415:46 [ 53s] | [ 53s] 1415 | fn handle_disable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1463:61 [ 53s] | [ 53s] 1463 | fn handle_disable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1475:40 [ 53s] | [ 53s] 1475 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1477:40 [ 53s] | [ 53s] 1477 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1484:36 [ 53s] | [ 53s] 1484 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1486:36 [ 53s] | [ 53s] 1486 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1496:36 [ 53s] | [ 53s] 1496 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1498:36 [ 53s] | [ 53s] 1498 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1504:28 [ 53s] | [ 53s] 1504 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1507:46 [ 53s] | [ 53s] 1507 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1508:60 [ 53s] | [ 53s] 1508 | Util::DisableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1509:32 [ 53s] | [ 53s] 1509 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1513:28 [ 53s] | [ 53s] 1513 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1535:25 [ 53s] | [ 53s] 1535 | let mut caller_uid: uid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1562:70 [ 53s] | [ 53s] 1562 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1588:25 [ 53s] | [ 53s] 1588 | let mut caller_uid: uid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1615:71 [ 53s] | [ 53s] 1615 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1673:74 [ 53s] | [ 53s] 1673 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1735:75 [ 53s] | [ 53s] 1735 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1765:25 [ 53s] | [ 53s] 1765 | let mut caller_uid: uid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1792:85 [ 53s] | [ 53s] 1792 | RequestResult::VAL(handle_enable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1818:25 [ 53s] | [ 53s] 1818 | let mut caller_uid: uid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1845:86 [ 53s] | [ 53s] 1845 | RequestResult::VAL(handle_disable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1863:40 [ 53s] | [ 53s] 1863 | Util::KillAppsInPkg(pkg_id, uid as uid_t) [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1873:25 [ 53s] | [ 53s] 1873 | let mut caller_pid: pid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1874:25 [ 53s] | [ 53s] 1874 | let mut caller_uid: uid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1985:25 [ 53s] | [ 53s] 1985 | let mut caller_pid: pid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1986:25 [ 53s] | [ 53s] 1986 | let mut caller_uid: uid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2035:25 [ 53s] | [ 53s] 2035 | let mut caller_pid: pid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2036:25 [ 53s] | [ 53s] 2036 | let mut caller_uid: uid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2083:54 [ 53s] | [ 53s] 2083 | Util::EnableGlobalAppSplashScreen(app_id, uid as uid_t) [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2093:55 [ 53s] | [ 53s] 2093 | Util::DisableGlobalAppSplashScreen(app_id, uid as uid_t) [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2105:25 [ 53s] | [ 53s] 2105 | let mut caller_pid: pid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2106:25 [ 53s] | [ 53s] 2106 | let mut caller_uid: uid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2137:102 [ 53s] | [ 53s] 2137 | RequestResult::DELAYED(generated_req_key, Util::update_app_label(app_id.as_ptr(), uid as uid_t , label.as_ptr())) [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2155:25 [ 53s] | [ 53s] 2155 | let mut caller_pid: pid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2156:25 [ 53s] | [ 53s] 2156 | let mut caller_uid: uid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2187:101 [ 53s] | [ 53s] 2187 | RequestResult::DELAYED(generated_req_key, Util::update_app_icon(app_id.as_ptr(), uid as uid_t , icon_path.as_ptr())) [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2312:25 [ 53s] | [ 53s] 2312 | let mut caller_uid: uid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2313:25 [ 53s] | [ 53s] 2313 | let mut caller_pid: pid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2383:25 [ 53s] | [ 53s] 2383 | let mut caller_uid: uid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2384:25 [ 53s] | [ 53s] 2384 | let mut caller_pid: pid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2453:25 [ 53s] | [ 53s] 2453 | let mut caller_uid: uid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2454:25 [ 53s] | [ 53s] 2454 | let mut caller_pid: pid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2532:25 [ 53s] | [ 53s] 2532 | let mut caller_uid: uid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2622:41 [ 53s] | [ 53s] 2622 | if unsafe { check_valid_path(uid as uid_t, pkg_id, file_path) } != 0 { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2681:19 [ 53s] | [ 53s] 2681 | pid: *mut pid_t, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2682:19 [ 53s] | [ 53s] 2682 | uid: *mut uid_t [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 53s] | [ 53s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/backend_context.rs:3:33 [ 53s] | [ 53s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/cache_service.rs:12:26 [ 53s] | [ 53s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/cache_service.rs:12:33 [ 53s] | [ 53s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/cache_service.rs:23:14 [ 53s] | [ 53s] 23 | uid: uid_t, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/cache_service.rs:48:17 [ 53s] | [ 53s] 48 | target_uid: uid_t, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/cache_service.rs:53:25 [ 53s] | [ 53s] 53 | let mut caller_uid: uid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/cache_service.rs:106:19 [ 53s] | [ 53s] 106 | pid: *mut pid_t, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/cache_service.rs:107:19 [ 53s] | [ 53s] 107 | uid: *mut uid_t [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 53s] | [ 53s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/delayed_service.rs:13:33 [ 53s] | [ 53s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/info_service.rs:2:26 [ 53s] | [ 53s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/info_service.rs:2:33 [ 53s] | [ 53s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/info_service.rs:37:90 [ 53s] | [ 53s] 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... [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/info_service.rs:38:94 [ 53s] | [ 53s] 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... [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/info_service.rs:40:88 [ 53s] | [ 53s] 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... [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/info_service.rs:40:128 [ 53s] | [ 53s] 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... [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/info_service.rs:54:17 [ 53s] | [ 53s] 54 | target_uid: uid_t, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/info_service.rs:60:25 [ 53s] | [ 53s] 60 | let mut caller_pid: pid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/info_service.rs:61:25 [ 53s] | [ 53s] 61 | let mut caller_uid: uid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/info_service.rs:114:17 [ 53s] | [ 53s] 114 | target_uid: uid_t, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/info_service.rs:120:25 [ 53s] | [ 53s] 120 | let mut caller_pid: pid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/info_service.rs:121:25 [ 53s] | [ 53s] 121 | let mut caller_uid: uid_t = 0; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/info_service.rs:223:17 [ 53s] | [ 53s] 223 | target_uid: uid_t, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/info_service.rs:225:15 [ 53s] | [ 53s] 225 | pid: *mut pid_t, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/info_service.rs:228:43 [ 53s] | [ 53s] 228 | Util::check_app(pkg_id, target_uid as uid_t, pid) [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/info_service.rs:242:19 [ 53s] | [ 53s] 242 | pid: *mut pid_t, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/info_service.rs:243:19 [ 53s] | [ 53s] 243 | uid: *mut uid_t [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/signal.rs:2:26 [ 53s] | [ 53s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 53s] | [ 53s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/signal.rs:99:20 [ 53s] | [ 53s] 99 | const GLOBAL_USER: uid_t = 201; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/signal.rs:101:33 [ 53s] | [ 53s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/signal.rs:101:47 [ 53s] | [ 53s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/signal.rs:102:26 [ 53s] | [ 53s] 102 | let mut uid_vec: Vec = vec![]; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/signal.rs:110:28 [ 53s] | [ 53s] 110 | let mut uids: *mut uid_t = std::ptr::null_mut(); [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/signal.rs:124:14 [ 53s] | [ 53s] 124 | uid: uid_t, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/signal.rs:53:44 [ 53s] | [ 53s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/signal.rs:62:14 [ 53s] | [ 53s] 62 | uid: uid_t, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/signal.rs:86:14 [ 53s] | [ 53s] 86 | uid: uid_t, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/signal.rs:40:30 [ 53s] | [ 53s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 53s] | [ 53s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/signal.rs:44:45 [ 53s] | [ 53s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:4:26 [ 53s] | [ 53s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:4:33 [ 53s] | [ 53s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:22:21 [ 53s] | [ 53s] 22 | const REGULAR_USER: uid_t = 5000; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:23:20 [ 53s] | [ 53s] 23 | const GLOBAL_USER: uid_t = 201; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:25:18 [ 53s] | [ 53s] 25 | const APPFW_UID: uid_t = 301; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:307:36 [ 53s] | [ 53s] 307 | let uid : uid_t = user_data as uid_t; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:307:15 [ 53s] | [ 53s] 307 | let uid : uid_t = user_data as uid_t; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:326:81 [ 53s] | [ 53s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:326:93 [ 53s] | [ 53s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:326:25 [ 53s] | [ 53s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:326:37 [ 53s] | [ 53s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:389:57 [ 53s] | [ 53s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:420:55 [ 53s] | [ 53s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:686:62 [ 53s] | [ 53s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:696:63 [ 53s] | [ 53s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:706:44 [ 53s] | [ 53s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:706:63 [ 53s] | [ 53s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:728:49 [ 53s] | [ 53s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:738:50 [ 53s] | [ 53s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:747:55 [ 53s] | [ 53s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:757:56 [ 53s] | [ 53s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:766:61 [ 53s] | [ 53s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:775:62 [ 53s] | [ 53s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:784:67 [ 53s] | [ 53s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:793:68 [ 53s] | [ 53s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:802:54 [ 53s] | [ 53s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:802:64 [ 53s] | [ 53s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:813:47 [ 53s] | [ 53s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:835:53 [ 53s] | [ 53s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:855:25 [ 53s] | [ 53s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:983:69 [ 53s] | [ 53s] 983 | pub fn get_application_info_by_appid(appid: *const c_char, uid: uid_t) -> Option<(CString, bool)> { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:1012:41 [ 53s] | [ 53s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:1012:53 [ 53s] | [ 53s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:1029:71 [ 53s] | [ 53s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:1029:90 [ 53s] | [ 53s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:1076:56 [ 53s] | [ 53s] 1076 | pub fn update_app_label(appid: *const c_char, uid: uid_t, label: *const c_char) -> c_int { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:1080:55 [ 53s] | [ 53s] 1080 | pub fn update_app_icon(appid: *const c_char, uid: uid_t, icon_path: *const c_char) -> c_int { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:1108:49 [ 53s] | [ 53s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:1108:66 [ 53s] | [ 53s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:156:14 [ 53s] | [ 53s] 156 | uid: uid_t, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:166:14 [ 53s] | [ 53s] 166 | uid: uid_t, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:180:14 [ 53s] | [ 53s] 180 | uid: uid_t [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:185:14 [ 53s] | [ 53s] 185 | uid: uid_t [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:189:14 [ 53s] | [ 53s] 189 | uid: uid_t [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:194:14 [ 53s] | [ 53s] 194 | uid: uid_t, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:200:14 [ 53s] | [ 53s] 200 | uid: uid_t, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:206:14 [ 53s] | [ 53s] 206 | uid: uid_t, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:212:14 [ 53s] | [ 53s] 212 | uid: uid_t, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:218:14 [ 53s] | [ 53s] 218 | uid: uid_t, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:224:14 [ 53s] | [ 53s] 224 | uid: uid_t, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:237:32 [ 53s] | [ 53s] 237 | fn gum_user_get_sync(uid : uid_t, offline : c_int) -> *mut c_void; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:266:21 [ 53s] | [ 53s] 266 | caller_uid: uid_t [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:274:14 [ 53s] | [ 53s] 274 | uid: uid_t, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:40:30 [ 53s] | [ 53s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:40:37 [ 53s] | [ 53s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:46:18 [ 53s] | [ 53s] 46 | uid: uid_t, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:52:18 [ 53s] | [ 53s] 52 | uid: uid_t, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:67:18 [ 53s] | [ 53s] 67 | uid: uid_t, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:101:18 [ 53s] | [ 53s] 101 | uid: uid_t, [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:122:70 [ 53s] | [ 53s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:123:66 [ 53s] | [ 53s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:124:59 [ 53s] | [ 53s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/util.rs:125:97 [ 53s] | [ 53s] 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; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 53s] | [ 53s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 53s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 53s] | [ 53s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 53s] | ^^^^^ [ 53s] [ 53s] warning: unreachable expression [ 53s] --> ./src/pkgmgr/server/backend_queue.rs:64:5 [ 53s] | [ 53s] 61 | return G_SOURCE_CONTINUE; [ 53s] | ------------------------ any code following this expression is unreachable [ 53s] ... [ 53s] 64 | 1 [ 53s] | ^ unreachable expression [ 53s] | [ 53s] = note: `#[warn(unreachable_code)]` on by default [ 53s] [ 53s] warning: unused variable: `context` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:297:5 [ 53s] | [ 53s] 297 | context: *mut c_void, [ 53s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 53s] | [ 53s] = note: `#[warn(unused_variables)]` on by default [ 53s] [ 53s] warning: unused variable: `context` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:306:5 [ 53s] | [ 53s] 306 | context: *mut c_void, [ 53s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 53s] [ 53s] warning: unused variable: `user_data` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:307:5 [ 53s] | [ 53s] 307 | user_data: *mut c_void, [ 53s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 53s] [ 53s] warning: unused variable: `ret` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:323:9 [ 53s] | [ 53s] 323 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 53s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 53s] [ 53s] warning: unused variable: `req_id` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:318:5 [ 53s] | [ 53s] 318 | req_id: *const c_char, [ 53s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:415:9 [ 53s] | [ 53s] 415 | let mut backend_context = BackendContext::new( [ 53s] | ----^^^^^^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] | [ 53s] = note: `#[warn(unused_mut)]` on by default [ 53s] [ 53s] warning: unused variable: `ret` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:444:9 [ 53s] | [ 53s] 444 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 53s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 53s] [ 53s] warning: unused variable: `req_id` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:434:5 [ 53s] | [ 53s] 434 | req_id: *const c_char, [ 53s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:510:9 [ 53s] | [ 53s] 510 | let mut backend_context = BackendContext::new( [ 53s] | ----^^^^^^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: unused variable: `ret` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:549:9 [ 53s] | [ 53s] 549 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 53s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:571:9 [ 53s] | [ 53s] 571 | let mut backend_context = BackendContext::new( [ 53s] | ----^^^^^^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: unused variable: `ret` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:596:9 [ 53s] | [ 53s] 596 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 53s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 53s] [ 53s] warning: unused variable: `req_id` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:591:5 [ 53s] | [ 53s] 591 | req_id: *const c_char, [ 53s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:688:9 [ 53s] | [ 53s] 688 | let mut backend_context = BackendContext::new( [ 53s] | ----^^^^^^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: unused variable: `ret` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:719:9 [ 53s] | [ 53s] 719 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 53s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 53s] [ 53s] warning: unused variable: `req_id` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:706:5 [ 53s] | [ 53s] 706 | req_id: *const c_char, [ 53s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:763:9 [ 53s] | [ 53s] 763 | let mut backend_context = BackendContext::new( [ 53s] | ----^^^^^^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: unused variable: `ret` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:802:9 [ 53s] | [ 53s] 802 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 53s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:824:9 [ 53s] | [ 53s] 824 | let mut backend_context = BackendContext::new( [ 53s] | ----^^^^^^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: unused variable: `ret` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:854:9 [ 53s] | [ 53s] 854 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 53s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:898:9 [ 53s] | [ 53s] 898 | let mut backend_context = BackendContext::new( [ 53s] | ----^^^^^^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: unused variable: `ret` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:938:9 [ 53s] | [ 53s] 938 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 53s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:961:9 [ 53s] | [ 53s] 961 | let mut backend_context = BackendContext::new( [ 53s] | ----^^^^^^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: unused variable: `ret` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:991:9 [ 53s] | [ 53s] 991 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 53s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1038:17 [ 53s] | [ 53s] 1038 | let mut backend_context = BackendContext::new( [ 53s] | ----^^^^^^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: unused variable: `ret` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1073:9 [ 53s] | [ 53s] 1073 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 53s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1123:17 [ 53s] | [ 53s] 1123 | let mut backend_context = BackendContext::new( [ 53s] | ----^^^^^^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: unused variable: `pkg_id` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1186:9 [ 53s] | [ 53s] 1186 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) }); [ 53s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1180:9 [ 53s] | [ 53s] 1180 | let mut handle : *mut c_void = Util::CreatePkgUpdateInfo(pkg_id, version, update_type); [ 53s] | ----^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1190:9 [ 53s] | [ 53s] 1190 | let mut backend_context = BackendContext::new( [ 53s] | ----^^^^^^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1248:9 [ 53s] | [ 53s] 1248 | let mut backend_context = BackendContext::new( [ 53s] | ----^^^^^^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1297:9 [ 53s] | [ 53s] 1297 | let mut backend_context = BackendContext::new( [ 53s] | ----^^^^^^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: unused variable: `is_global` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1321:17 [ 53s] | [ 53s] 1321 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 53s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 53s] [ 53s] warning: unused variable: `is_global` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1368:17 [ 53s] | [ 53s] 1368 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 53s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 53s] [ 53s] warning: unused variable: `is_global` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1424:17 [ 53s] | [ 53s] 1424 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 53s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 53s] [ 53s] warning: unused variable: `is_global` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1472:17 [ 53s] | [ 53s] 1472 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 53s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 53s] [ 53s] warning: unused variable: `caller_uid` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1535:13 [ 53s] | [ 53s] 1535 | let mut caller_uid: uid_t = 0; [ 53s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 53s] [ 53s] warning: unused variable: `context` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1521:5 [ 53s] | [ 53s] 1521 | context: *mut c_void, [ 53s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1535:9 [ 53s] | [ 53s] 1535 | let mut caller_uid: uid_t = 0; [ 53s] | ----^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1558:13 [ 53s] | [ 53s] 1558 | let mut backend_context = BackendContext::new( [ 53s] | ----^^^^^^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: unused variable: `caller_uid` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1588:13 [ 53s] | [ 53s] 1588 | let mut caller_uid: uid_t = 0; [ 53s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 53s] [ 53s] warning: unused variable: `context` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1574:5 [ 53s] | [ 53s] 1574 | context: *mut c_void, [ 53s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1588:9 [ 53s] | [ 53s] 1588 | let mut caller_uid: uid_t = 0; [ 53s] | ----^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1611:13 [ 53s] | [ 53s] 1611 | let mut backend_context = BackendContext::new( [ 53s] | ----^^^^^^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: unused variable: `context` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1627:5 [ 53s] | [ 53s] 1627 | context: *mut c_void, [ 53s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1669:17 [ 53s] | [ 53s] 1669 | let mut backend_context = BackendContext::new( [ 53s] | ----^^^^^^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: unused variable: `context` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1689:5 [ 53s] | [ 53s] 1689 | context: *mut c_void, [ 53s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1731:17 [ 53s] | [ 53s] 1731 | let mut backend_context = BackendContext::new( [ 53s] | ----^^^^^^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: unused variable: `caller_uid` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1765:13 [ 53s] | [ 53s] 1765 | let mut caller_uid: uid_t = 0; [ 53s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 53s] [ 53s] warning: unused variable: `context` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1751:5 [ 53s] | [ 53s] 1751 | context: *mut c_void, [ 53s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1765:9 [ 53s] | [ 53s] 1765 | let mut caller_uid: uid_t = 0; [ 53s] | ----^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1788:13 [ 53s] | [ 53s] 1788 | let mut backend_context = BackendContext::new( [ 53s] | ----^^^^^^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: unused variable: `caller_uid` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1818:13 [ 53s] | [ 53s] 1818 | let mut caller_uid: uid_t = 0; [ 53s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 53s] [ 53s] warning: unused variable: `context` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1804:5 [ 53s] | [ 53s] 1804 | context: *mut c_void, [ 53s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1818:9 [ 53s] | [ 53s] 1818 | let mut caller_uid: uid_t = 0; [ 53s] | ----^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1841:13 [ 53s] | [ 53s] 1841 | let mut backend_context = BackendContext::new( [ 53s] | ----^^^^^^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: unused variable: `context` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1857:5 [ 53s] | [ 53s] 1857 | context: *mut c_void, [ 53s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 53s] [ 53s] warning: unused variable: `pid` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1860:5 [ 53s] | [ 53s] 1860 | pid: *mut c_int, [ 53s] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [ 53s] [ 53s] warning: unused variable: `user_data` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1861:5 [ 53s] | [ 53s] 1861 | user_data: *mut c_void, [ 53s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1900:9 [ 53s] | [ 53s] 1900 | let mut backend_context = BackendContext::new( [ 53s] | ----^^^^^^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: unused variable: `context` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:1932:5 [ 53s] | [ 53s] 1932 | context: *mut c_void, [ 53s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2012:9 [ 53s] | [ 53s] 2012 | let mut backend_context = BackendContext::new( [ 53s] | ----^^^^^^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2063:9 [ 53s] | [ 53s] 2063 | let mut backend_context = BackendContext::new( [ 53s] | ----^^^^^^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: unused variable: `context` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2078:5 [ 53s] | [ 53s] 2078 | context: *mut c_void, [ 53s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 53s] [ 53s] warning: unused variable: `user_data` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2081:5 [ 53s] | [ 53s] 2081 | user_data: *mut c_void, [ 53s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 53s] [ 53s] warning: unused variable: `context` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2088:5 [ 53s] | [ 53s] 2088 | context: *mut c_void, [ 53s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 53s] [ 53s] warning: unused variable: `user_data` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2091:5 [ 53s] | [ 53s] 2091 | user_data: *mut c_void, [ 53s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2133:9 [ 53s] | [ 53s] 2133 | let mut backend_context = BackendContext::new( [ 53s] | ----^^^^^^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2183:9 [ 53s] | [ 53s] 2183 | let mut backend_context = BackendContext::new( [ 53s] | ----^^^^^^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: unused variable: `context` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2198:5 [ 53s] | [ 53s] 2198 | context: *mut c_void, [ 53s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 53s] [ 53s] warning: unused variable: `uid` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2199:5 [ 53s] | [ 53s] 2199 | uid: c_int, [ 53s] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [ 53s] [ 53s] warning: unused variable: `pkg_id` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2200:5 [ 53s] | [ 53s] 2200 | pkg_id: *const c_char, [ 53s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 53s] [ 53s] warning: unused variable: `user_data` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2201:5 [ 53s] | [ 53s] 2201 | user_data: *mut c_void, [ 53s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2364:9 [ 53s] | [ 53s] 2364 | let mut backend_context = BackendContext::new( [ 53s] | ----^^^^^^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2434:9 [ 53s] | [ 53s] 2434 | let mut backend_context = BackendContext::new( [ 53s] | ----^^^^^^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2504:9 [ 53s] | [ 53s] 2504 | let mut backend_context = BackendContext::new( [ 53s] | ----^^^^^^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: unused variable: `ret` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2533:9 [ 53s] | [ 53s] 2533 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 53s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2552:9 [ 53s] | [ 53s] 2552 | let mut backend_context = BackendContext::new( [ 53s] | ----^^^^^^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: unused variable: `context` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2567:5 [ 53s] | [ 53s] 2567 | context: *mut c_void, [ 53s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2597:9 [ 53s] | [ 53s] 2597 | let mut backend_context = BackendContext::new( [ 53s] | ----^^^^^^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: unused variable: `context` [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2612:5 [ 53s] | [ 53s] 2612 | context: *mut c_void, [ 53s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/admin_service.rs:2656:9 [ 53s] | [ 53s] 2656 | let mut backend_context = BackendContext::new( [ 53s] | ----^^^^^^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: unused variable: `status` [ 53s] --> ./src/pkgmgr/server/backend_queue.rs:38:17 [ 53s] | [ 53s] 38 | let mut status: c_int; [ 53s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [ 53s] [ 53s] warning: unused variable: `io` [ 53s] --> ./src/pkgmgr/server/backend_queue.rs:30:33 [ 53s] | [ 53s] 30 | extern "C" fn signal_handler_cb(io: *mut glib_sys::GIOChannel, [ 53s] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [ 53s] [ 53s] warning: unused variable: `cond` [ 53s] --> ./src/pkgmgr/server/backend_queue.rs:31:9 [ 53s] | [ 53s] 31 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 53s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/backend_queue.rs:71:9 [ 53s] | [ 53s] 71 | let mut mut_queue = queue.borrow_mut(); [ 53s] | ----^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/backend_queue.rs:189:28 [ 53s] | [ 53s] 189 | pub fn push(&mut self, mut context: BackendContext) -> i32 { [ 53s] | ----^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: unused variable: `req_key` [ 53s] --> ./src/pkgmgr/server/backend_queue.rs:296:41 [ 53s] | [ 53s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 53s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_key` [ 53s] [ 53s] warning: unused variable: `ret` [ 53s] --> ./src/pkgmgr/server/backend_queue.rs:296:50 [ 53s] | [ 53s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 53s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 53s] [ 53s] warning: unused variable: `s` [ 53s] --> ./src/pkgmgr/server/backend_queue.rs:296:55 [ 53s] | [ 53s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 53s] | ^ help: if this is intentional, prefix it with an underscore: `_s` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/backend_queue.rs:278:25 [ 53s] | [ 53s] 278 | let mut backend: &mut Backend = backend.unwrap(); [ 53s] | ----^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: unused variable: `context` [ 53s] --> ./src/pkgmgr/server/cache_service.rs:31:5 [ 53s] | [ 53s] 31 | context: *mut c_void, [ 53s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 53s] [ 53s] warning: unused variable: `context` [ 53s] --> ./src/pkgmgr/server/cache_service.rs:40:5 [ 53s] | [ 53s] 40 | context: *mut c_void, [ 53s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 53s] [ 53s] warning: unused variable: `user_data` [ 53s] --> ./src/pkgmgr/server/cache_service.rs:41:5 [ 53s] | [ 53s] 41 | user_data: *mut c_void, [ 53s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 53s] [ 53s] warning: unused variable: `ret` [ 53s] --> ./src/pkgmgr/server/cache_service.rs:54:9 [ 53s] | [ 53s] 54 | let ret = unsafe { rpc_port_stub_PkgMgrForClearCache_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 53s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 53s] [ 53s] warning: value assigned to `pkg_type` is never read [ 53s] --> ./src/pkgmgr/server/cache_service.rs:63:13 [ 53s] | [ 53s] 63 | let mut pkg_type: String = String::new(); [ 53s] | ^^^^^^^^ [ 53s] | [ 53s] = help: maybe it is overwritten before being read? [ 53s] = note: `#[warn(unused_assignments)]` on by default [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/cache_service.rs:83:9 [ 53s] | [ 53s] 83 | let mut backend_context = BackendContext::new( [ 53s] | ----^^^^^^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: unused variable: `context` [ 53s] --> ./src/pkgmgr/server/delayed_service.rs:32:5 [ 53s] | [ 53s] 32 | context: *mut c_void, [ 53s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 53s] [ 53s] warning: unused variable: `context` [ 53s] --> ./src/pkgmgr/server/delayed_service.rs:41:5 [ 53s] | [ 53s] 41 | context: *mut c_void, [ 53s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 53s] [ 53s] warning: unused variable: `user_data` [ 53s] --> ./src/pkgmgr/server/delayed_service.rs:42:5 [ 53s] | [ 53s] 42 | user_data: *mut c_void, [ 53s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 53s] [ 53s] warning: unused variable: `context` [ 53s] --> ./src/pkgmgr/server/delayed_service.rs:48:5 [ 53s] | [ 53s] 48 | context: *mut c_void, [ 53s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 53s] [ 53s] warning: unused variable: `context` [ 53s] --> ./src/pkgmgr/server/info_service.rs:43:55 [ 53s] | [ 53s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 53s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 53s] [ 53s] warning: unused variable: `context` [ 53s] --> ./src/pkgmgr/server/info_service.rs:48:58 [ 53s] | [ 53s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 53s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 53s] [ 53s] warning: unused variable: `user_data` [ 53s] --> ./src/pkgmgr/server/info_service.rs:48:80 [ 53s] | [ 53s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 53s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/info_service.rs:98:9 [ 53s] | [ 53s] 98 | let mut backend_context = BackendContext::new( [ 53s] | ----^^^^^^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/info_service.rs:160:9 [ 53s] | [ 53s] 160 | let mut backend_context = BackendContext::new( [ 53s] | ----^^^^^^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 53s] warning: unused variable: `context` [ 53s] --> ./src/pkgmgr/server/info_service.rs:195:5 [ 53s] | [ 53s] 195 | context: *mut c_void, [ 53s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 53s] [ 53s] warning: unused variable: `context` [ 53s] --> ./src/pkgmgr/server/info_service.rs:222:5 [ 53s] | [ 53s] 222 | context: *mut c_void, [ 53s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 53s] [ 53s] warning: unused variable: `user_data` [ 53s] --> ./src/pkgmgr/server/info_service.rs:226:5 [ 53s] | [ 53s] 226 | user_data: *mut c_void [ 53s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 53s] [ 53s] warning: variable does not need to be mutable [ 53s] --> ./src/pkgmgr/server/signal.rs:144:13 [ 53s] | [ 53s] 144 | let mut c_req_type: c_int; [ 53s] | ----^^^^^^^^^^ [ 53s] | | [ 53s] | help: remove this `mut` [ 53s] [ 54s] warning: value assigned to `size_result` is never read [ 54s] --> ./src/pkgmgr/server/util.rs:351:17 [ 54s] | [ 54s] 351 | let mut size_result: i64 = -1; [ 54s] | ^^^^^^^^^^^ [ 54s] | [ 54s] = help: maybe it is overwritten before being read? [ 54s] [ 54s] warning: unused variable: `cond` [ 54s] --> ./src/pkgmgr/server/util.rs:341:9 [ 54s] | [ 54s] 341 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 54s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 54s] [ 54s] warning: value assigned to `ret` is never read [ 54s] --> ./src/pkgmgr/server/util.rs:425:21 [ 54s] | [ 54s] 425 | let mut ret: c_int = 0; [ 54s] | ^^^ [ 54s] | [ 54s] = help: maybe it is overwritten before being read? [ 54s] [ 54s] warning: unreachable pattern [ 54s] --> ./src/pkgmgr/server/util.rs:478:17 [ 54s] | [ 54s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 54s] | -------------------------------------- matches any value [ 54s] ... [ 54s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 54s] | [ 54s] = note: `#[warn(unreachable_patterns)]` on by default [ 54s] [ 54s] warning: unreachable pattern [ 54s] --> ./src/pkgmgr/server/util.rs:483:17 [ 54s] | [ 54s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 54s] | -------------------------------------- matches any value [ 54s] ... [ 54s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 54s] [ 54s] warning: unreachable pattern [ 54s] --> ./src/pkgmgr/server/util.rs:488:17 [ 54s] | [ 54s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 54s] | -------------------------------------- matches any value [ 54s] ... [ 54s] 488 | _ => { [ 54s] | ^ unreachable pattern [ 54s] [ 54s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 54s] --> ./src/pkgmgr/server/util.rs:473:17 [ 54s] | [ 54s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 54s] [ 54s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_TEXT` [ 54s] --> ./src/pkgmgr/server/util.rs:478:17 [ 54s] | [ 54s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_TEXT` [ 54s] [ 54s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 54s] --> ./src/pkgmgr/server/util.rs:483:17 [ 54s] | [ 54s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 54s] [ 54s] warning: variable does not need to be mutable [ 54s] --> ./src/pkgmgr/server/util.rs:519:13 [ 54s] | [ 54s] 519 | let mut attr = xmlTextReaderGetAttribute(reader, RES_TYPE_ATTRIBUTE_KEY.as_ptr()); [ 54s] | ----^^^^ [ 54s] | | [ 54s] | help: remove this `mut` [ 54s] [ 54s] warning: variable does not need to be mutable [ 54s] --> ./src/pkgmgr/server/util.rs:588:13 [ 54s] | [ 54s] 588 | let mut reader = [ 54s] | ----^^^^^^ [ 54s] | | [ 54s] | help: remove this `mut` [ 54s] [ 54s] warning: unused variable: `gid` [ 54s] --> ./src/pkgmgr/server/util.rs:891:52 [ 54s] | [ 54s] 891 | fn set_environment(mut envs: Vec<&mut String>, gid: libc::gid_t) -> bool { [ 54s] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [ 54s] [ 54s] warning: variable does not need to be mutable [ 54s] --> ./src/pkgmgr/server/mod.rs:89:13 [ 54s] | [ 54s] 89 | let mut backend_queue = BackendQueue::new(self.mainloop); [ 54s] | ----^^^^^^^^^^^^^ [ 54s] | | [ 54s] | help: remove this `mut` [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/server/admin_service.rs:995:32 [ 54s] | [ 54s] 993 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] 994 | match CString::new(generated_req_key.clone()) { [ 54s] 995 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] = note: `#[warn(unused_unsafe)]` on by default [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/admin_service.rs:993:5 [ 54s] | [ 54s] 993 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 997 | error!("Fail to generate req key, err({:?})", e); [ 54s] | ------------------------------------------------ in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/server/admin_service.rs:1023:46 [ 54s] | [ 54s] 993 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 1023 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/server/admin_service.rs:1077:32 [ 54s] | [ 54s] 1075 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] 1076 | match CString::new(generated_req_key.clone()) { [ 54s] 1077 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 54s] | [ 54s] 1075 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 1079 | error!("Fail to generate req key, err({:?})", e); [ 54s] | ------------------------------------------------ in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 54s] | [ 54s] 1075 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 1106 | debug!("push disable pkg {pkg_id}"); [ 54s] | ----------------------------------- in this macro invocation [ 54s] | [ 54s] = 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) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/server/admin_service.rs:1108:46 [ 54s] | [ 54s] 1075 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 1108 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/server/admin_service.rs:1537:5 [ 54s] | [ 54s] 1537 | unsafe { [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/server/admin_service.rs:1590:5 [ 54s] | [ 54s] 1590 | unsafe { [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/server/admin_service.rs:1643:32 [ 54s] | [ 54s] 1641 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] 1642 | match CString::new(generated_req_key.clone()) { [ 54s] 1643 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/admin_service.rs:1641:5 [ 54s] | [ 54s] 1641 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 1645 | error!("Fail to generate req key, err({:?})", e); [ 54s] | ------------------------------------------------ in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/server/admin_service.rs:1657:42 [ 54s] | [ 54s] 1641 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 1657 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/server/admin_service.rs:1705:32 [ 54s] | [ 54s] 1703 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] 1704 | match CString::new(generated_req_key.clone()) { [ 54s] 1705 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/admin_service.rs:1703:5 [ 54s] | [ 54s] 1703 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 1707 | error!("Fail to generate req key, err({:?})", e); [ 54s] | ------------------------------------------------ in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/server/admin_service.rs:1719:42 [ 54s] | [ 54s] 1703 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 1719 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/server/admin_service.rs:1767:5 [ 54s] | [ 54s] 1767 | unsafe { [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/server/admin_service.rs:1820:5 [ 54s] | [ 54s] 1820 | unsafe { [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/server/admin_service.rs:2296:17 [ 54s] | [ 54s] 2294 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] 2295 | if !(*value.offset(i as isize)).is_null() { [ 54s] 2296 | unsafe { free(*value.offset(i as isize) as *mut _) }; [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/admin_service.rs:2793:9 [ 54s] | [ 54s] 2793 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] 2794 | let ret = rpc_port_stub_PkgMgrAdmin_register(&mut self.callbacks, self as *mut _ as *mut c_void); [ 54s] 2795 | debug!("admin service start : {ret}"); [ 54s] | ------------------------------------- in this macro invocation [ 54s] | [ 54s] = 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) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/admin_service.rs:2801:9 [ 54s] | [ 54s] 2801 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] 2802 | let ret = rpc_port_stub_PkgMgrAdmin_unregister(); [ 54s] 2803 | debug!("ret : {ret}"); [ 54s] | --------------------- in this macro invocation [ 54s] | [ 54s] = 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) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 54s] | [ 54s] 204 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 210 | error!("sigprocmask failed"); [ 54s] | ---------------------------- in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 54s] | [ 54s] 204 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 216 | error!("signalfd failed"); [ 54s] | ------------------------- in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/cache_service.rs:134:9 [ 54s] | [ 54s] 134 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 139 | debug!("cache service start : {ret}"); [ 54s] | ------------------------------------- in this macro invocation [ 54s] | [ 54s] = 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) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/cache_service.rs:145:9 [ 54s] | [ 54s] 145 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] 146 | let ret = rpc_port_stub_PkgMgrForClearCache_unregister(); [ 54s] 147 | debug!("ret : {ret}"); [ 54s] | --------------------- in this macro invocation [ 54s] | [ 54s] = 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) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/delayed_service.rs:107:9 [ 54s] | [ 54s] 107 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 112 | debug!("delayed result service start : {ret}"); [ 54s] | ---------------------------------------------- in this macro invocation [ 54s] | [ 54s] = 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) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/delayed_service.rs:118:9 [ 54s] | [ 54s] 118 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] 119 | let ret = rpc_port_stub_DelayedResult_unregister(); [ 54s] 120 | debug!("ret : {ret}"); [ 54s] | --------------------- in this macro invocation [ 54s] | [ 54s] = 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) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/info_service.rs:165:13 [ 54s] | [ 54s] 165 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] 166 | if mkfifo(fifo_path.as_ptr() as *const c_char, 0o600) < 0 { [ 54s] 167 | error!("Failed to mkfifo"); [ 54s] | -------------------------- in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/info_service.rs:268:9 [ 54s] | [ 54s] 268 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 273 | debug!("info service start : {ret}"); [ 54s] | ------------------------------------ in this macro invocation [ 54s] | [ 54s] = 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) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/info_service.rs:279:9 [ 54s] | [ 54s] 279 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] 280 | let ret = rpc_port_stub_PkgMgr_unregister(); [ 54s] 281 | debug!("ret : {ret}"); [ 54s] | --------------------- in this macro invocation [ 54s] | [ 54s] = 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) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 54s] | [ 54s] 131 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 134 | error!("Failure in creating the pkgmgr_installer object"); [ 54s] | --------------------------------------------------------- in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 54s] | [ 54s] 131 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 139 | error!("pkgmgr_installer_set_uid fail"); [ 54s] | --------------------------------------- in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 54s] | [ 54s] 131 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 154 | warn!("Unsupported req_type[{}]", req_type as c_int); [ 54s] | ---------------------------------------------------- in this macro invocation [ 54s] | [ 54s] = 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) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 54s] | [ 54s] 131 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 161 | error!("pkgmgr_installer_set_request_type fail"); [ 54s] | ------------------------------------------------ in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 54s] | [ 54s] 131 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 168 | error!("pkgmgr_installer_set_session_id fail : {:?}", c_req_id); [ 54s] | --------------------------------------------------------------- in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 54s] | [ 54s] 309 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] 310 | if pkgmgrinfo_appinfo_get_appid(pkgmgrinfo_appinfo_h, &mut app_id) != 0 { [ 54s] 311 | error!("Failed get appid"); [ 54s] | -------------------------- in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 54s] | [ 54s] 309 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 314 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 54s] | --------------------------------------------------------- in this macro invocation [ 54s] | [ 54s] = 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) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/server/util.rs:326:46 [ 54s] | [ 54s] 325 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 54s] | [ 54s] 325 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 329 | error!("Failed get appid"); [ 54s] | -------------------------- in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 54s] | [ 54s] 325 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 333 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 54s] | --------------------------------------------------------- in this macro invocation [ 54s] | [ 54s] = 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) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 54s] | [ 54s] 342 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 355 | error!("getsize fd read failed: {:?}", Util::c_char_to_cstr((*err).message)); [ 54s] | ---------------------------------------------------------------------------- in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 54s] | [ 54s] 342 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 361 | error!("empty result"); [ 54s] | ---------------------- in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 54s] | [ 54s] 390 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 399 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 54s] | --------------------------------------------------------- in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 54s] | [ 54s] 390 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 406 | error!("Fail to get is readonly"); [ 54s] | --------------------------------- in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 54s] | [ 54s] 422 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 429 | error!("Not found package"); [ 54s] | --------------------------- in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 54s] | [ 54s] 422 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 445 | debug!("pkgtype - {ret_string}"); [ 54s] | -------------------------------- in this macro invocation [ 54s] | [ 54s] = 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) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:803:9 [ 54s] | [ 54s] 803 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] 804 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 54s] 805 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 54s] | ------------------------------------------------------ in this macro invocation [ 54s] | [ 54s] = 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) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 54s] | [ 54s] 814 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] 815 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 54s] 816 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 54s] | ------------------------------------------------------ in this macro invocation [ 54s] | [ 54s] = 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) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 54s] | [ 54s] 814 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 822 | error!("Failed to get pid of app{:?}", CStr::from_ptr(appid)); [ 54s] | ------------------------------------------------------------- in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 54s] | [ 54s] 814 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 828 | error!("Failed to terminate app{:?}", CStr::from_ptr(appid)); [ 54s] | ------------------------------------------------------------ in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 54s] | [ 54s] 836 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 840 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 54s] | --------------------------------------------------------- in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 54s] | [ 54s] 836 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 848 | error!("Failed to get list for {:?}", CStr::from_ptr(pkgid)); [ 54s] | ------------------------------------------------------------ in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 54s] | [ 54s] 859 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 863 | warn!("cannot get user information from gumd, retry"); [ 54s] | ----------------------------------------------------- in this macro invocation [ 54s] | [ 54s] = 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) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 54s] | [ 54s] 859 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 871 | error!("cannot get user information from gumd, failed"); [ 54s] | ------------------------------------------------------- in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 54s] | [ 54s] 859 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 877 | error!("cannot get user type"); [ 54s] | ------------------------------ in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 54s] | [ 54s] 892 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 895 | error!("Failed to get the number of supplementary group IDs"); [ 54s] | ------------------------------------------------------------- in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 54s] | [ 54s] 892 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 901 | error!("Failed to get list of supplementary group IDs"); [ 54s] | ------------------------------------------------------- in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 54s] | [ 54s] 892 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 908 | error!("setgroups failed: {}", *__errno_location()); [ 54s] | --------------------------------------------------- in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 54s] | [ 54s] 928 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 942 | error!("getpwuid_r fail"); [ 54s] | ------------------------- in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 54s] | [ 54s] 928 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 949 | error!("Fail to get str, err({:?})", e); [ 54s] | --------------------------------------- in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 54s] | [ 54s] 928 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 957 | error!("Fail to get str, err({:?})", e); [ 54s] | --------------------------------------- in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 54s] | [ 54s] 928 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 966 | error!("Failed to set env for the user : {}", APPFW_UID); [ 54s] | -------------------------------------------------------- in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 54s] | [ 54s] 984 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 987 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 54s] | ----------------------------------------------------------------------------------- in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 54s] | [ 54s] 984 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 993 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 54s] | ---------------------------------------------------------------------------- in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 54s] | [ 54s] 984 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 1000 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 54s] | ---------------------------------------------------------------------------- in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/server/util.rs:1005:40 [ 54s] | [ 54s] 984 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 1005 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) } ); [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 54s] | [ 54s] 1081 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 1084 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 54s] | ----------------------------------------------------------------------------------- in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 54s] | [ 54s] 1081 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 1090 | error!("Failed get root path for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 54s] | --------------------------------------------------------------------------- in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 54s] | [ 54s] 1081 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 1098 | error!("Invalid path[{:?}]", Self::c_char_to_cstr(icon_path)); [ 54s] | ------------------------------------------------------------- in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:1109:9 [ 54s] | [ 54s] 1109 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 1119 | error!("Fail to get list for {:?}", CStr::from_ptr(pkgid)); [ 54s] | ---------------------------------------------------------- in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 54s] | [ 54s] 1129 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 1132 | error!("failed to open the fifo({}), errno({})", fifo_path, *__errno_location()); [ 54s] | -------------------------------------------------------------------------------- in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: unnecessary `unsafe` block [ 54s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 54s] | [ 54s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 54s] | ^^^^^^ unnecessary `unsafe` block [ 54s] | [ 54s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 54s] | [ 54s] 1129 | unsafe { [ 54s] | ------ because it's nested under this `unsafe` block [ 54s] ... [ 54s] 1155 | error!("failed to add io watch"); [ 54s] | -------------------------------- in this macro invocation [ 54s] | [ 54s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 54s] [ 54s] warning: constant `SD_LISTEN_FDS_START` is never used [ 54s] --> ./src/pkgmgr/server/mod.rs:28:7 [ 54s] | [ 54s] 28 | const SD_LISTEN_FDS_START: i32 = 3; [ 54s] | ^^^^^^^^^^^^^^^^^^^ [ 54s] | [ 54s] = note: `#[warn(dead_code)]` on by default [ 54s] [ 54s] warning: multiple variants are never constructed [ 54s] --> ./src/pkgmgr/server/mod.rs:43:5 [ 54s] | [ 54s] 42 | enum AUL_RETURN_VALUE { [ 54s] | ---------------- variants in this enum [ 54s] 43 | AUL_R_ENOMEM = -16, //< Out of memory (Since 5.5) [ 54s] | ^^^^^^^^^^^^ [ 54s] 44 | AUL_R_ENOENT = -15, //< App directory entry error [ 54s] | ^^^^^^^^^^^^ [ 54s] 45 | AUL_R_EREJECTED = -14, //< App disable for mode [ 54s] | ^^^^^^^^^^^^^^^ [ 54s] 46 | AUL_R_ENOAPP = -13, //< Failed to find app ID or pkg ID [ 54s] | ^^^^^^^^^^^^ [ 54s] 47 | AUL_R_EHIDDENFORGUEST = -11, //< App hidden for guest mode [ 54s] | ^^^^^^^^^^^^^^^^^^^^^ [ 54s] 48 | AUL_R_ENOLAUNCHPAD = -10, //< no launchpad [ 54s] | ^^^^^^^^^^^^^^^^^^ [ 54s] 49 | AUL_R_ETERMINATING = -9, //< application terminating [ 54s] | ^^^^^^^^^^^^^^^^^^ [ 54s] 50 | AUL_R_EILLACC = -8, //< Illegal Access [ 54s] | ^^^^^^^^^^^^^ [ 54s] 51 | AUL_R_LOCAL = -7, //< Launch by himself [ 54s] | ^^^^^^^^^^^ [ 54s] 52 | AUL_R_ETIMEOUT = -6, //< Timeout [ 54s] | ^^^^^^^^^^^^^^ [ 54s] 53 | AUL_R_ECANCELED = -5, //< Operation canceled [ 54s] | ^^^^^^^^^^^^^^^ [ 54s] 54 | AUL_R_EINVAL = -4, //< Invalid argument [ 54s] | ^^^^^^^^^^^^ [ 54s] 55 | AUL_R_ECOMM = -3, //< Comunication Error [ 54s] | ^^^^^^^^^^^ [ 54s] 56 | AUL_R_ENOINIT = -2, //< AUL handler NOT initialized [ 54s] | ^^^^^^^^^^^^^ [ 54s] 57 | AUL_R_ERROR = -1, //< General error [ 54s] | ^^^^^^^^^^^ [ 54s] [ 54s] warning: field `timer` is never read [ 54s] --> ./src/pkgmgr/server/mod.rs:63:5 [ 54s] | [ 54s] 61 | pub struct Server { [ 54s] | ------ field in this struct [ 54s] 62 | mainloop: *mut GMainLoop, [ 54s] 63 | timer: c_uint [ 54s] | ^^^^^ [ 54s] [ 54s] warning: variants `IO_ERROR`, `OUT_OF_MEMORY`, `INVALID_PARAMETER`, and `PERMISSION_DENIED` are never constructed [ 54s] --> ./src/pkgmgr/server/admin_service.rs:29:5 [ 54s] | [ 54s] 27 | enum RPC_PORT_ERROR { [ 54s] | -------------- variants in this enum [ 54s] 28 | NONE = 0, //< Successful [ 54s] 29 | IO_ERROR = -5, //< Internal I/O error [ 54s] | ^^^^^^^^ [ 54s] 30 | OUT_OF_MEMORY = -12, //< Out of memory [ 54s] | ^^^^^^^^^^^^^ [ 54s] 31 | INVALID_PARAMETER = -22, //< Invalid parameter [ 54s] | ^^^^^^^^^^^^^^^^^ [ 54s] 32 | PERMISSION_DENIED = -13, //< Permission denied [ 54s] | ^^^^^^^^^^^^^^^^^ [ 54s] [ 54s] warning: method `generate_request_id` is never used [ 54s] --> ./src/pkgmgr/server/admin_service.rs:2786:8 [ 54s] | [ 54s] 2713 | impl AdminService { [ 54s] | ----------------- method in this implementation [ 54s] ... [ 54s] 2786 | fn generate_request_id(&self) -> String { [ 54s] | ^^^^^^^^^^^^^^^^^^^ [ 54s] [ 54s] warning: field `request_type` is never read [ 54s] --> ./src/pkgmgr/server/backend_context.rs:7:5 [ 54s] | [ 54s] 6 | pub struct BackendContext { [ 54s] | -------------- field in this struct [ 54s] 7 | request_type: RequestType, [ 54s] | ^^^^^^^^^^^^ [ 54s] [ 54s] warning: type alias `GIOChannel` is never used [ 54s] --> ./src/pkgmgr/server/backend_queue.rs:14:6 [ 54s] | [ 54s] 14 | type GIOChannel = *mut c_void; [ 54s] | ^^^^^^^^^^ [ 54s] [ 54s] warning: type alias `GIOCondition` is never used [ 54s] --> ./src/pkgmgr/server/backend_queue.rs:15:6 [ 54s] | [ 54s] 15 | type GIOCondition = c_int; [ 54s] | ^^^^^^^^^^^^ [ 54s] [ 54s] warning: variants `EIO`, `ENOPKG`, `EPRIV`, `ETIMEOUT`, `EINVAL`, and `ECOMM` are never constructed [ 54s] --> ./src/pkgmgr/server/info_service.rs:22:5 [ 54s] | [ 54s] 20 | enum PKGMGR_RETURN_VALUE { [ 54s] | ------------------- variants in this enum [ 54s] 21 | ESYSTEM = -9, // Severe system error [ 54s] 22 | EIO = -8, // IO error [ 54s] | ^^^ [ 54s] 23 | ENOMEM = -7, // Out of memory [ 54s] 24 | ENOPKG = -6, // No such package [ 54s] | ^^^^^^ [ 54s] 25 | EPRIV = -5, // Privilege denied [ 54s] | ^^^^^ [ 54s] 26 | ETIMEOUT = -4, // Timeout [ 54s] | ^^^^^^^^ [ 54s] 27 | EINVAL = -3, // Invalid argument [ 54s] | ^^^^^^ [ 54s] 28 | ECOMM = -2, // Comunication Error [ 54s] | ^^^^^ [ 54s] [ 54s] warning: variants `EPRIV` and `ETIMEOUT` are never constructed [ 54s] --> ./src/pkgmgr/server/pkgmgr_return_value.rs:8:5 [ 54s] | [ 54s] 3 | pub enum PKGMGR_RETURN_VALUE { [ 54s] | ------------------- variants in this enum [ 54s] ... [ 54s] 8 | EPRIV = -5, // Privilege denied [ 54s] | ^^^^^ [ 54s] 9 | ETIMEOUT = -4, // Timeout [ 54s] | ^^^^^^^^ [ 54s] [ 54s] warning: variants `KILL`, `CHECK`, `ENABLE_APP_SPLASH_SCREEN`, `DISABLE_APP_SPLASH_SCREEN`, and `MIGRATE_EXTERNAL_IMAGE` are never constructed [ 54s] --> ./src/pkgmgr/server/request_type.rs:20:5 [ 54s] | [ 54s] 1 | pub enum RequestType { [ 54s] | ----------- variants in this enum [ 54s] ... [ 54s] 20 | KILL, [ 54s] | ^^^^ [ 54s] 21 | CHECK, [ 54s] | ^^^^^ [ 54s] ... [ 54s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 54s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 54s] ... [ 54s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 54s] [ 54s] warning: multiple variants are never constructed [ 54s] --> ./src/pkgmgr/server/signal.rs:10:2 [ 54s] | [ 54s] 9 | enum PKGMGR_REQ { [ 54s] | ---------- variants in this enum [ 54s] 10 | PERM = -1, [ 54s] | ^^^^ [ 54s] 11 | INVALID = 0, [ 54s] | ^^^^^^^ [ 54s] 12 | INSTALL = 1, [ 54s] | ^^^^^^^ [ 54s] 13 | UNINSTALL = 2, [ 54s] | ^^^^^^^^^ [ 54s] 14 | CLEAR = 3, [ 54s] | ^^^^^ [ 54s] 15 | MOVE = 4, [ 54s] | ^^^^ [ 54s] 16 | RECOVER = 5, [ 54s] | ^^^^^^^ [ 54s] 17 | REINSTALL = 6, [ 54s] | ^^^^^^^^^ [ 54s] 18 | GETSIZE = 7, [ 54s] | ^^^^^^^ [ 54s] 19 | UPGRADE = 8, [ 54s] | ^^^^^^^ [ 54s] 20 | SMACK = 9, [ 54s] | ^^^^^ [ 54s] 21 | MANIFEST_DIRECT_INSTALL = 10, [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 54s] ... [ 54s] 26 | MOUNT_INSTALL = 15, [ 54s] | ^^^^^^^^^^^^^ [ 54s] 27 | DISABLE_PKG = 16, [ 54s] | ^^^^^^^^^^^ [ 54s] 28 | ENABLE_PKG = 17, [ 54s] | ^^^^^^^^^^ [ 54s] 29 | MIGRATE_EXTIMG = 18, [ 54s] | ^^^^^^^^^^^^^^ [ 54s] 30 | RECOVER_DB = 19, [ 54s] | ^^^^^^^^^^ [ 54s] 31 | RES_COPY = 20, [ 54s] | ^^^^^^^^ [ 54s] 32 | RES_CREATE_DIR = 21, [ 54s] | ^^^^^^^^^^^^^^ [ 54s] 33 | RES_REMOVE = 22, [ 54s] | ^^^^^^^^^^ [ 54s] 34 | RES_UNINSTALL = 23 [ 54s] | ^^^^^^^^^^^^^ [ 54s] [ 54s] warning: constant `TZ_SYS_GLOBALAPP_USER` is never used [ 54s] --> ./src/pkgmgr/server/signal.rs:97:7 [ 54s] | [ 54s] 97 | const TZ_SYS_GLOBALAPP_USER: c_int = 22; [ 54s] | ^^^^^^^^^^^^^^^^^^^^^ [ 54s] [ 54s] warning: function `tzplatform_getuid` is never used [ 54s] --> ./src/pkgmgr/server/signal.rs:53:12 [ 54s] | [ 54s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 54s] | ^^^^^^^^^^^^^^^^^ [ 54s] [ 54s] warning: constant `XML_READER_TYPE_ELEMENT` is never used [ 54s] --> ./src/pkgmgr/server/util.rs:29:7 [ 54s] | [ 54s] 29 | const XML_READER_TYPE_ELEMENT: i32 = 1; [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 54s] [ 54s] warning: constant `XML_READER_TYPE_TEXT` is never used [ 54s] --> ./src/pkgmgr/server/util.rs:30:7 [ 54s] | [ 54s] 30 | const XML_READER_TYPE_TEXT: i32 = 3; [ 54s] | ^^^^^^^^^^^^^^^^^^^^ [ 54s] [ 54s] warning: constant `XML_READER_TYPE_END_ELEMENT` is never used [ 54s] --> ./src/pkgmgr/server/util.rs:31:7 [ 54s] | [ 54s] 31 | const XML_READER_TYPE_END_ELEMENT: i32 = 15; [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 54s] [ 54s] warning: type alias `GIOChannel` is never used [ 54s] --> ./src/pkgmgr/server/util.rs:33:6 [ 54s] | [ 54s] 33 | type GIOChannel = *mut c_void; [ 54s] | ^^^^^^^^^^ [ 54s] [ 54s] warning: variants `PMINFO_UI_APP`, `PMINFO_SVC_APP`, `PMINFO_WIDGET_APP`, `PMINFO_WATCH_APP`, and `PMINFO_COMPONENT_BASED_APP` are never constructed [ 54s] --> ./src/pkgmgr/server/util.rs:136:5 [ 54s] | [ 54s] 134 | enum PKGMGRINFO_APP_COMPONENT { [ 54s] | ------------------------ variants in this enum [ 54s] 135 | PMINFO_ALL_APP = 0, //< All Application [ 54s] 136 | PMINFO_UI_APP, //< UI Application [ 54s] | ^^^^^^^^^^^^^ [ 54s] 137 | PMINFO_SVC_APP, //< Service Application [ 54s] | ^^^^^^^^^^^^^^ [ 54s] 138 | PMINFO_WIDGET_APP, //< Widget Application [ 54s] | ^^^^^^^^^^^^^^^^^ [ 54s] 139 | PMINFO_WATCH_APP, //< Watch Application [ 54s] | ^^^^^^^^^^^^^^^^ [ 54s] 140 | PMINFO_COMPONENT_BASED_APP, //< Component-based Application (Since 5.5) [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 54s] [ 54s] warning: associated functions `EnableAppSplashScreen` and `DisableAppSplashScreen` are never used [ 54s] --> ./src/pkgmgr/server/util.rs:766:12 [ 54s] | [ 54s] 384 | impl Util { [ 54s] | --------- associated functions in this implementation [ 54s] ... [ 54s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 54s] | ^^^^^^^^^^^^^^^^^^^^^ [ 54s] ... [ 54s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 54s] [ 54s] warning: function `pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db` is never used [ 54s] --> ./src/pkgmgr/server/util.rs:204:8 [ 54s] | [ 54s] 204 | fn pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db( [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 54s] [ 54s] warning: unused `Result` that must be used [ 54s] --> ./src/main.rs:14:5 [ 54s] | [ 54s] 14 | pkgmgr::server::Server::run(&mut server); [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 54s] | [ 54s] = note: this `Result` may be an `Err` variant, which should be handled [ 54s] = note: `#[warn(unused_must_use)]` on by default [ 54s] help: use `let _ = ...` to ignore the resulting value [ 54s] | [ 54s] 14 | let _ = pkgmgr::server::Server::run(&mut server); [ 54s] | +++++++ [ 54s] [ 54s] warning: unused `Result` that must be used [ 54s] --> ./src/pkgmgr/server/mod.rs:93:9 [ 54s] | [ 54s] 93 | admin_service.run(); [ 54s] | ^^^^^^^^^^^^^^^^^^^ [ 54s] | [ 54s] = note: this `Result` may be an `Err` variant, which should be handled [ 54s] help: use `let _ = ...` to ignore the resulting value [ 54s] | [ 54s] 93 | let _ = admin_service.run(); [ 54s] | +++++++ [ 54s] [ 54s] warning: unused `Result` that must be used [ 54s] --> ./src/pkgmgr/server/mod.rs:95:9 [ 54s] | [ 54s] 95 | cache_service.run(); [ 54s] | ^^^^^^^^^^^^^^^^^^^ [ 54s] | [ 54s] = note: this `Result` may be an `Err` variant, which should be handled [ 54s] help: use `let _ = ...` to ignore the resulting value [ 54s] | [ 54s] 95 | let _ = cache_service.run(); [ 54s] | +++++++ [ 54s] [ 54s] warning: unused `Result` that must be used [ 54s] --> ./src/pkgmgr/server/mod.rs:97:9 [ 54s] | [ 54s] 97 | info_service.run(); [ 54s] | ^^^^^^^^^^^^^^^^^^ [ 54s] | [ 54s] = note: this `Result` may be an `Err` variant, which should be handled [ 54s] help: use `let _ = ...` to ignore the resulting value [ 54s] | [ 54s] 97 | let _ = info_service.run(); [ 54s] | +++++++ [ 54s] [ 54s] warning: unused `Result` that must be used [ 54s] --> ./src/pkgmgr/server/mod.rs:99:9 [ 54s] | [ 54s] 99 | delayed_result_service.run(); [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 54s] | [ 54s] = note: this `Result` may be an `Err` variant, which should be handled [ 54s] help: use `let _ = ...` to ignore the resulting value [ 54s] | [ 54s] 99 | let _ = delayed_result_service.run(); [ 54s] | +++++++ [ 54s] [ 54s] warning: unused `Result` that must be used [ 54s] --> ./src/pkgmgr/server/mod.rs:109:9 [ 54s] | [ 54s] 109 | admin_service.stop(); [ 54s] | ^^^^^^^^^^^^^^^^^^^^ [ 54s] | [ 54s] = note: this `Result` may be an `Err` variant, which should be handled [ 54s] help: use `let _ = ...` to ignore the resulting value [ 54s] | [ 54s] 109 | let _ = admin_service.stop(); [ 54s] | +++++++ [ 54s] [ 54s] warning: unused `Result` that must be used [ 54s] --> ./src/pkgmgr/server/mod.rs:110:9 [ 54s] | [ 54s] 110 | cache_service.stop(); [ 54s] | ^^^^^^^^^^^^^^^^^^^^ [ 54s] | [ 54s] = note: this `Result` may be an `Err` variant, which should be handled [ 54s] help: use `let _ = ...` to ignore the resulting value [ 54s] | [ 54s] 110 | let _ = cache_service.stop(); [ 54s] | +++++++ [ 54s] [ 54s] warning: unused `Result` that must be used [ 54s] --> ./src/pkgmgr/server/mod.rs:111:9 [ 54s] | [ 54s] 111 | info_service.stop(); [ 54s] | ^^^^^^^^^^^^^^^^^^^ [ 54s] | [ 54s] = note: this `Result` may be an `Err` variant, which should be handled [ 54s] help: use `let _ = ...` to ignore the resulting value [ 54s] | [ 54s] 111 | let _ = info_service.stop(); [ 54s] | +++++++ [ 54s] [ 54s] warning: unused `Result` that must be used [ 54s] --> ./src/pkgmgr/server/mod.rs:112:9 [ 54s] | [ 54s] 112 | delayed_result_service.stop(); [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 54s] | [ 54s] = note: this `Result` may be an `Err` variant, which should be handled [ 54s] help: use `let _ = ...` to ignore the resulting value [ 54s] | [ 54s] 112 | let _ = delayed_result_service.stop(); [ 54s] | +++++++ [ 54s] [ 54s] warning: unused return value of `std::mem::size_of` that must be used [ 54s] --> ./src/pkgmgr/server/backend_queue.rs:40:9 [ 54s] | [ 54s] 40 | mem::size_of::(); [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 54s] | [ 54s] help: use `let _ = ...` to ignore the resulting value [ 54s] | [ 54s] 40 | let _ = mem::size_of::(); [ 54s] | +++++++ [ 54s] [ 54s] warning: structure field `rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 54s] --> ./src/pkgmgr/server/info_service.rs:35:9 [ 54s] | [ 54s] 35 | pub rpc_port_stub_PkgMgr_create_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_create_cb` [ 54s] | [ 54s] = note: `#[warn(non_snake_case)]` on by default [ 54s] [ 54s] warning: structure field `rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 54s] --> ./src/pkgmgr/server/info_service.rs:36:9 [ 54s] | [ 54s] 36 | pub rpc_port_stub_PkgMgr_terminate_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_terminate_cb` [ 54s] [ 54s] warning: structure field `rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 54s] --> ./src/pkgmgr/server/info_service.rs:37:9 [ 54s] | [ 54s] 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... [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_cb` [ 54s] [ 54s] warning: structure field `rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 54s] --> ./src/pkgmgr/server/info_service.rs:38:9 [ 54s] | [ 54s] 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... [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 54s] [ 54s] warning: structure field `rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 54s] --> ./src/pkgmgr/server/info_service.rs:39:9 [ 54s] | [ 54s] 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... [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 54s] [ 54s] warning: structure field `rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 54s] --> ./src/pkgmgr/server/info_service.rs:40:9 [ 54s] | [ 54s] 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... [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_check_cb` [ 54s] [ 54s] warning: function `impl_rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 54s] --> ./src/pkgmgr/server/info_service.rs:43:19 [ 54s] | [ 54s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_create_cb` [ 54s] [ 54s] warning: function `impl_rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 54s] --> ./src/pkgmgr/server/info_service.rs:48:19 [ 54s] | [ 54s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_terminate_cb` [ 54s] [ 54s] warning: function `impl_rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 54s] --> ./src/pkgmgr/server/info_service.rs:52:19 [ 54s] | [ 54s] 52 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSize_cb( [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_cb` [ 54s] [ 54s] warning: function `impl_rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 54s] --> ./src/pkgmgr/server/info_service.rs:112:19 [ 54s] | [ 54s] 112 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSizeSync_cb( [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 54s] [ 54s] warning: function `impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 54s] --> ./src/pkgmgr/server/info_service.rs:194:19 [ 54s] | [ 54s] 194 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb( [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 54s] [ 54s] warning: function `impl_rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 54s] --> ./src/pkgmgr/server/info_service.rs:221:19 [ 54s] | [ 54s] 221 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_Check_cb( [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_check_cb` [ 54s] [ 54s] warning: method `IsPackageReadonly` should have a snake case name [ 54s] --> ./src/pkgmgr/server/util.rs:389:12 [ 54s] | [ 54s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 54s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly` [ 54s] [ 54s] warning: method `GetPackageType` should have a snake case name [ 54s] --> ./src/pkgmgr/server/util.rs:420:12 [ 54s] | [ 54s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 54s] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type` [ 54s] [ 54s] warning: variable `xmlReaderTypes_XML_READER_TYPE_ELEMENT` should have a snake case name [ 54s] --> ./src/pkgmgr/server/util.rs:473:17 [ 54s] | [ 54s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_element` [ 54s] [ 54s] warning: variable `xmlReaderTypes_XML_READER_TYPE_TEXT` should have a snake case name [ 54s] --> ./src/pkgmgr/server/util.rs:478:17 [ 54s] | [ 54s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_text` [ 54s] [ 54s] warning: variable `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` should have a snake case name [ 54s] --> ./src/pkgmgr/server/util.rs:483:17 [ 54s] | [ 54s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_end_element` [ 54s] [ 54s] warning: constant `type_map` should have an upper case name [ 54s] --> ./src/pkgmgr/server/util.rs:623:15 [ 54s] | [ 54s] 623 | const type_map : [[&str; 2]; 3] = [ [ 54s] | ^^^^^^^^ help: convert the identifier to upper case: `TYPE_MAP` [ 54s] | [ 54s] = note: `#[warn(non_upper_case_globals)]` on by default [ 54s] [ 54s] warning: method `GenerateRequestId` should have a snake case name [ 54s] --> ./src/pkgmgr/server/util.rs:646:12 [ 54s] | [ 54s] 646 | pub fn GenerateRequestId(pkgid: &str) -> Option { [ 54s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_request_id` [ 54s] [ 54s] warning: method `CreatePkgUpdateInfo` should have a snake case name [ 54s] --> ./src/pkgmgr/server/util.rs:657:12 [ 54s] | [ 54s] 657 | pub fn CreatePkgUpdateInfo(pkgid: *const c_char, version: *const c_char, update_type: c_int) -> *mut c_void { [ 54s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info` [ 54s] [ 54s] warning: method `DestroyPkgUpdateInfo` should have a snake case name [ 54s] --> ./src/pkgmgr/server/util.rs:680:12 [ 54s] | [ 54s] 680 | pub fn DestroyPkgUpdateInfo(handle: *mut c_void) -> c_int { [ 54s] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroy_pkg_update_info` [ 54s] [ 54s] warning: method `RegisterPkgUpdateInfo` should have a snake case name [ 54s] --> ./src/pkgmgr/server/util.rs:686:12 [ 54s] | [ 54s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 54s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `register_pkg_update_info` [ 54s] [ 54s] warning: method `UnregisterPkgUpdateInfo` should have a snake case name [ 54s] --> ./src/pkgmgr/server/util.rs:696:12 [ 54s] | [ 54s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_pkg_update_info` [ 54s] [ 54s] warning: method `UnregisterAllPkgUpdateInfo` should have a snake case name [ 54s] --> ./src/pkgmgr/server/util.rs:706:12 [ 54s] | [ 54s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_all_pkg_update_info` [ 54s] [ 54s] warning: method `EnableApp` should have a snake case name [ 54s] --> ./src/pkgmgr/server/util.rs:728:12 [ 54s] | [ 54s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 54s] | ^^^^^^^^^ help: convert the identifier to snake case: `enable_app` [ 54s] [ 54s] warning: method `DisableApp` should have a snake case name [ 54s] --> ./src/pkgmgr/server/util.rs:738:12 [ 54s] | [ 54s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 54s] | ^^^^^^^^^^ help: convert the identifier to snake case: `disable_app` [ 54s] [ 54s] warning: method `EnableGlobalApp` should have a snake case name [ 54s] --> ./src/pkgmgr/server/util.rs:747:12 [ 54s] | [ 54s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 54s] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app` [ 54s] [ 54s] warning: method `DisableGlobalApp` should have a snake case name [ 54s] --> ./src/pkgmgr/server/util.rs:757:12 [ 54s] | [ 54s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 54s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app` [ 54s] [ 54s] warning: method `EnableAppSplashScreen` should have a snake case name [ 54s] --> ./src/pkgmgr/server/util.rs:766:12 [ 54s] | [ 54s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 54s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_app_splash_screen` [ 54s] [ 54s] warning: method `DisableAppSplashScreen` should have a snake case name [ 54s] --> ./src/pkgmgr/server/util.rs:775:12 [ 54s] | [ 54s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_app_splash_screen` [ 54s] [ 54s] warning: method `EnableGlobalAppSplashScreen` should have a snake case name [ 54s] --> ./src/pkgmgr/server/util.rs:784:12 [ 54s] | [ 54s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app_splash_screen` [ 54s] [ 54s] warning: method `DisableGlobalAppSplashScreen` should have a snake case name [ 54s] --> ./src/pkgmgr/server/util.rs:793:12 [ 54s] | [ 54s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 54s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app_splash_screen` [ 54s] [ 54s] warning: method `KillApp` should have a snake case name [ 54s] --> ./src/pkgmgr/server/util.rs:813:12 [ 54s] | [ 54s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 54s] | ^^^^^^^ help: convert the identifier to snake case: `kill_app` [ 54s] [ 54s] warning: method `KillAppsInPkg` should have a snake case name [ 54s] --> ./src/pkgmgr/server/util.rs:835:12 [ 54s] | [ 54s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 54s] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_apps_in_pkg` [ 54s] [ 54s] warning: method `IsAdminUser` should have a snake case name [ 54s] --> ./src/pkgmgr/server/util.rs:855:8 [ 54s] | [ 54s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 54s] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_admin_user` [ 54s] [ 64s] warning: 542 warnings emitted [ 64s] [ 64s] + export LD_LIBRARY_PATH=:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib [ 64s] + LD_LIBRARY_PATH=:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib [ 64s] ++ find /usr/lib64 -maxdepth 1 -name 'libstd-*.so' [ 64s] + __rust_std=/usr/lib64/libstd-fcf70ff533b679b2.so [ 64s] + /usr/bin/rustc -C prefer-dynamic --extern std=/usr/lib64/libstd-fcf70ff533b679b2.so -C codegen-units=1 -C debuginfo=2 -C opt-level=3 -C relocation-model=pic -C overflow-checks=on -C symbol-mangling-version=v0 -L/usr/lib64/rustlib -L/usr/lib64/rustlib/dylib --test --crate-type=bin --crate-name=unittests_rust_pkgmgr_server -L native=./tidl_pkgmgr_server -L native=./util_pkgmgr_server -l minizip --edition=2021 --extern libc=/usr/lib64/rustlib/dylib/liblibc.so --cap-lints warn ./src/main.rs [ 64s] warning: unused import: `boxed` [ 64s] --> ./src/pkgmgr/server/admin_service.rs:4:11 [ 64s] | [ 64s] 4 | use std::{boxed, str}; [ 64s] | ^^^^^ [ 64s] | [ 64s] = note: `#[warn(unused_imports)]` on by default [ 64s] [ 64s] warning: unused import: `std::mem` [ 64s] --> ./src/pkgmgr/server/admin_service.rs:6:5 [ 64s] | [ 64s] 6 | use std::mem; [ 64s] | ^^^^^^^^ [ 64s] [ 64s] warning: unused import: `std::ptr` [ 64s] --> ./src/pkgmgr/server/admin_service.rs:7:5 [ 64s] | [ 64s] 7 | use std::ptr; [ 64s] | ^^^^^^^^ [ 64s] [ 64s] warning: unused import: `malloc` [ 64s] --> ./src/pkgmgr/server/admin_service.rs:8:18 [ 64s] | [ 64s] 8 | use libc::{free, malloc, strlen}; [ 64s] | ^^^^^^ [ 64s] [ 64s] warning: unused import: `super::Server` [ 64s] --> ./src/pkgmgr/server/admin_service.rs:10:5 [ 64s] | [ 64s] 10 | use super::Server; [ 64s] | ^^^^^^^^^^^^^ [ 64s] [ 64s] warning: type `rpc_port_stub_array_string_h` should have an upper camel case name [ 64s] --> ./src/pkgmgr/server/admin_service.rs:23:6 [ 64s] | [ 64s] 23 | type rpc_port_stub_array_string_h = *mut c_void; [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RpcPortStubArrayStringH` [ 64s] | [ 64s] = note: `#[warn(non_camel_case_types)]` on by default [ 64s] [ 64s] warning: unused imports: `pid_t`, `uid_t` [ 64s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 64s] | [ 64s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 64s] | ^^^^^ ^^^^^ [ 64s] [ 64s] warning: unused imports: `c_int`, `c_void` [ 64s] --> ./src/pkgmgr/server/backend_context.rs:4:16 [ 64s] | [ 64s] 4 | use std::ffi::{c_int, c_void}; [ 64s] | ^^^^^ ^^^^^^ [ 64s] [ 64s] warning: unused import: `std::path::Path` [ 64s] --> ./src/pkgmgr/server/backend_queue.rs:10:5 [ 64s] | [ 64s] 10 | use std::path::Path; [ 64s] | ^^^^^^^^^^^^^^^ [ 64s] [ 64s] warning: denote infinite loops with `loop { ... }` [ 64s] --> ./src/pkgmgr/server/backend_queue.rs:50:9 [ 64s] | [ 64s] 50 | while true { [ 64s] | ^^^^^^^^^^ help: use `loop` [ 64s] | [ 64s] = note: `#[warn(while_true)]` on by default [ 64s] [ 64s] warning: unnecessary parentheses around `if` condition [ 64s] --> ./src/pkgmgr/server/backend_queue.rs:73:8 [ 64s] | [ 64s] 73 | if (mut_queue.is_queue_empty()) { [ 64s] | ^ ^ [ 64s] | [ 64s] = note: `#[warn(unused_parens)]` on by default [ 64s] help: remove these parentheses [ 64s] | [ 64s] 73 - if (mut_queue.is_queue_empty()) { [ 64s] 73 + if mut_queue.is_queue_empty() { [ 64s] | [ 64s] [ 64s] warning: unnecessary trailing semicolon [ 64s] --> ./src/pkgmgr/server/backend_queue.rs:297:17 [ 64s] | [ 64s] 297 | ; [ 64s] | ^ help: remove this semicolon [ 64s] | [ 64s] = note: `#[warn(redundant_semicolons)]` on by default [ 64s] [ 64s] warning: unused import: `super::Server` [ 64s] --> ./src/pkgmgr/server/cache_service.rs:1:5 [ 64s] | [ 64s] 1 | use super::Server; [ 64s] | ^^^^^^^^^^^^^ [ 64s] [ 64s] warning: unused import: `super::Server` [ 64s] --> ./src/pkgmgr/server/delayed_service.rs:1:5 [ 64s] | [ 64s] 1 | use super::Server; [ 64s] | ^^^^^^^^^^^^^ [ 64s] [ 64s] warning: unused import: `super::backend_context::*` [ 64s] --> ./src/pkgmgr/server/delayed_service.rs:4:5 [ 64s] | [ 64s] 4 | use super::backend_context::*; [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 64s] [ 64s] warning: unused import: `super::request_result::*` [ 64s] --> ./src/pkgmgr/server/delayed_service.rs:5:5 [ 64s] | [ 64s] 5 | use super::request_result::*; [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 64s] [ 64s] warning: unused import: `super::request_type::*` [ 64s] --> ./src/pkgmgr/server/delayed_service.rs:6:5 [ 64s] | [ 64s] 6 | use super::request_type::*; [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 64s] [ 64s] warning: unused import: `super::util::*` [ 64s] --> ./src/pkgmgr/server/delayed_service.rs:7:5 [ 64s] | [ 64s] 7 | use super::util::*; [ 64s] | ^^^^^^^^^^^^^^ [ 64s] [ 64s] warning: unused imports: `pid_t`, `uid_t` [ 64s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 64s] | [ 64s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 64s] | ^^^^^ ^^^^^ [ 64s] [ 64s] warning: unused import: `std::io::Error` [ 64s] --> ./src/pkgmgr/server/info_service.rs:3:5 [ 64s] | [ 64s] 3 | use std::io::Error; [ 64s] | ^^^^^^^^^^^^^^ [ 64s] [ 64s] warning: unused import: `std::mem` [ 64s] --> ./src/pkgmgr/server/info_service.rs:6:5 [ 64s] | [ 64s] 6 | use std::mem; [ 64s] | ^^^^^^^^ [ 64s] [ 64s] warning: unused import: `std::ptr` [ 64s] --> ./src/pkgmgr/server/info_service.rs:7:5 [ 64s] | [ 64s] 7 | use std::ptr; [ 64s] | ^^^^^^^^ [ 64s] [ 64s] warning: unused imports: `free`, `malloc`, `strlen` [ 64s] --> ./src/pkgmgr/server/info_service.rs:8:12 [ 64s] | [ 64s] 8 | use libc::{free, malloc, strlen, mkfifo}; [ 64s] | ^^^^ ^^^^^^ ^^^^^^ [ 64s] [ 64s] warning: unused import: `super::Server` [ 64s] --> ./src/pkgmgr/server/info_service.rs:10:5 [ 64s] | [ 64s] 10 | use super::Server; [ 64s] | ^^^^^^^^^^^^^ [ 64s] [ 64s] warning: unused import: `super::service::Service` [ 64s] --> ./src/pkgmgr/server/info_service.rs:13:5 [ 64s] | [ 64s] 13 | use super::service::Service; [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 64s] [ 64s] warning: unnecessary trailing semicolon [ 64s] --> ./src/pkgmgr/server/info_service.rs:49:5 [ 64s] | [ 64s] 49 | ; [ 64s] | ^ help: remove this semicolon [ 64s] [ 64s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 64s] --> ./src/pkgmgr/server/request_result.rs:7:5 [ 64s] | [ 64s] 7 | GETSIZE_SYNC(String, i32, i32), [ 64s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 64s] [ 64s] warning: variant `GET_GENERATE_LICENSE_RESULT` should have an upper camel case name [ 64s] --> ./src/pkgmgr/server/request_result.rs:8:5 [ 64s] | [ 64s] 8 | GET_GENERATE_LICENSE_RESULT(String, i32, CString, CString), [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetGenerateLicenseResult` [ 64s] [ 64s] warning: variant `MOUNT_INSTALL` should have an upper camel case name [ 64s] --> ./src/pkgmgr/server/request_type.rs:3:5 [ 64s] | [ 64s] 3 | MOUNT_INSTALL, [ 64s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MountInstall` [ 64s] [ 64s] warning: variant `ENABLE_PKG` should have an upper camel case name [ 64s] --> ./src/pkgmgr/server/request_type.rs:7:5 [ 64s] | [ 64s] 7 | ENABLE_PKG, [ 64s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnablePkg` [ 64s] [ 64s] warning: variant `DISABLE_PKG` should have an upper camel case name [ 64s] --> ./src/pkgmgr/server/request_type.rs:8:5 [ 64s] | [ 64s] 8 | DISABLE_PKG, [ 64s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisablePkg` [ 64s] [ 64s] warning: variant `REGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 64s] --> ./src/pkgmgr/server/request_type.rs:9:5 [ 64s] | [ 64s] 9 | REGISTER_PKG_UPDATE_INFO, [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterPkgUpdateInfo` [ 64s] [ 64s] warning: variant `UNREGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 64s] --> ./src/pkgmgr/server/request_type.rs:10:5 [ 64s] | [ 64s] 10 | UNREGISTER_PKG_UPDATE_INFO, [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterPkgUpdateInfo` [ 64s] [ 64s] warning: variant `UNREGISTER_ALL_PKG_UPDATE_INFO` should have an upper camel case name [ 64s] --> ./src/pkgmgr/server/request_type.rs:11:5 [ 64s] | [ 64s] 11 | UNREGISTER_ALL_PKG_UPDATE_INFO, [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterAllPkgUpdateInfo` [ 64s] [ 64s] warning: variant `ENABLE_APP` should have an upper camel case name [ 64s] --> ./src/pkgmgr/server/request_type.rs:12:5 [ 64s] | [ 64s] 12 | ENABLE_APP, [ 64s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableApp` [ 64s] [ 64s] warning: variant `DISABLE_APP` should have an upper camel case name [ 64s] --> ./src/pkgmgr/server/request_type.rs:13:5 [ 64s] | [ 64s] 13 | DISABLE_APP, [ 64s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableApp` [ 64s] [ 64s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 64s] --> ./src/pkgmgr/server/request_type.rs:15:5 [ 64s] | [ 64s] 15 | GETSIZE_SYNC, [ 64s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 64s] [ 64s] warning: variant `ENABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 64s] --> ./src/pkgmgr/server/request_type.rs:18:5 [ 64s] | [ 64s] 18 | ENABLE_GLOBAL_APP_FOR_UID, [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableGlobalAppForUid` [ 64s] [ 64s] warning: variant `DISABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 64s] --> ./src/pkgmgr/server/request_type.rs:19:5 [ 64s] | [ 64s] 19 | DISABLE_GLOBAL_APP_FOR_UID, [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableGlobalAppForUid` [ 64s] [ 64s] warning: variant `GENERATE_LICENSE_REQUEST` should have an upper camel case name [ 64s] --> ./src/pkgmgr/server/request_type.rs:22:5 [ 64s] | [ 64s] 22 | GENERATE_LICENSE_REQUEST, [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GenerateLicenseRequest` [ 64s] [ 64s] warning: variant `REGISTER_LICENSE` should have an upper camel case name [ 64s] --> ./src/pkgmgr/server/request_type.rs:23:5 [ 64s] | [ 64s] 23 | REGISTER_LICENSE, [ 64s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterLicense` [ 64s] [ 64s] warning: variant `DECRYPT_PACKAGE` should have an upper camel case name [ 64s] --> ./src/pkgmgr/server/request_type.rs:24:5 [ 64s] | [ 64s] 24 | DECRYPT_PACKAGE, [ 64s] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DecryptPackage` [ 64s] [ 64s] warning: variant `ENABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 64s] --> ./src/pkgmgr/server/request_type.rs:25:5 [ 64s] | [ 64s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableAppSplashScreen` [ 64s] [ 64s] warning: variant `DISABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 64s] --> ./src/pkgmgr/server/request_type.rs:26:5 [ 64s] | [ 64s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableAppSplashScreen` [ 64s] [ 64s] warning: variant `SET_APP_LABEL` should have an upper camel case name [ 64s] --> ./src/pkgmgr/server/request_type.rs:27:5 [ 64s] | [ 64s] 27 | SET_APP_LABEL, [ 64s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppLabel` [ 64s] [ 64s] warning: variant `SET_APP_ICON` should have an upper camel case name [ 64s] --> ./src/pkgmgr/server/request_type.rs:28:5 [ 64s] | [ 64s] 28 | SET_APP_ICON, [ 64s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppIcon` [ 64s] [ 64s] warning: variant `MIGRATE_EXTERNAL_IMAGE` should have an upper camel case name [ 64s] --> ./src/pkgmgr/server/request_type.rs:29:5 [ 64s] | [ 64s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MigrateExternalImage` [ 64s] [ 64s] warning: variant `RESOURCE_SHARE_COPY` should have an upper camel case name [ 64s] --> ./src/pkgmgr/server/request_type.rs:30:5 [ 64s] | [ 64s] 30 | RESOURCE_SHARE_COPY, [ 64s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCopy` [ 64s] [ 64s] warning: variant `RESOURCE_SHARE_CREATE_DIR` should have an upper camel case name [ 64s] --> ./src/pkgmgr/server/request_type.rs:31:5 [ 64s] | [ 64s] 31 | RESOURCE_SHARE_CREATE_DIR, [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCreateDir` [ 64s] [ 64s] warning: variant `RESOURCE_SHARE_REMOVE` should have an upper camel case name [ 64s] --> ./src/pkgmgr/server/request_type.rs:32:5 [ 64s] | [ 64s] 32 | RESOURCE_SHARE_REMOVE, [ 64s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareRemove` [ 64s] [ 64s] warning: variant `RESOURCE_SHARE_UNINSTALL` should have an upper camel case name [ 64s] --> ./src/pkgmgr/server/request_type.rs:33:5 [ 64s] | [ 64s] 33 | RESOURCE_SHARE_UNINSTALL, [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareUninstall` [ 64s] [ 64s] warning: variant `REMOVE_FILE` should have an upper camel case name [ 64s] --> ./src/pkgmgr/server/request_type.rs:34:5 [ 64s] | [ 64s] 34 | REMOVE_FILE, [ 64s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RemoveFile` [ 64s] [ 64s] warning: unused import: `CStr` [ 64s] --> ./src/pkgmgr/server/signal.rs:1:39 [ 64s] | [ 64s] 1 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 64s] | ^^^^ [ 64s] [ 64s] warning: unused import: `pid_t` [ 64s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 64s] | [ 64s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: unused imports: `CStr`, `CString`, `c_char`, `c_void` [ 64s] --> ./src/pkgmgr/server/signal.rs:39:20 [ 64s] | [ 64s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 64s] | ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^ [ 64s] [ 64s] warning: unused import: `pid_t` [ 64s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 64s] | [ 64s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: unused import: `std::cell::RefCell` [ 64s] --> ./src/pkgmgr/server/util.rs:1:5 [ 64s] | [ 64s] 1 | use std::cell::RefCell; [ 64s] | ^^^^^^^^^^^^^^^^^^ [ 64s] [ 64s] warning: unused import: `std::rc::Rc` [ 64s] --> ./src/pkgmgr/server/util.rs:8:5 [ 64s] | [ 64s] 8 | use std::rc::Rc; [ 64s] | ^^^^^^^^^^^ [ 64s] [ 64s] warning: type `xmlChar` should have an upper camel case name [ 64s] --> ./src/pkgmgr/server/util.rs:34:6 [ 64s] | [ 64s] 34 | type xmlChar = c_uchar; [ 64s] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlChar` [ 64s] [ 64s] warning: type `xmlTextReaderPtr` should have an upper camel case name [ 64s] --> ./src/pkgmgr/server/util.rs:35:6 [ 64s] | [ 64s] 35 | type xmlTextReaderPtr = *mut c_void; [ 64s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlTextReaderPtr` [ 64s] [ 64s] warning: unused imports: `CStr`, `CString` [ 64s] --> ./src/pkgmgr/server/util.rs:39:43 [ 64s] | [ 64s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 64s] | ^^^^ ^^^^^^^ [ 64s] [ 64s] warning: unused import: `pid_t` [ 64s] --> ./src/pkgmgr/server/util.rs:40:37 [ 64s] | [ 64s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: unnecessary parentheses around `if` condition [ 64s] --> ./src/pkgmgr/server/util.rs:474:24 [ 64s] | [ 64s] 474 | if (cur == depth + 1) { [ 64s] | ^ ^ [ 64s] | [ 64s] help: remove these parentheses [ 64s] | [ 64s] 474 - if (cur == depth + 1) { [ 64s] 474 + if cur == depth + 1 { [ 64s] | [ 64s] [ 64s] warning: unnecessary parentheses around `if` condition [ 64s] --> ./src/pkgmgr/server/util.rs:571:12 [ 64s] | [ 64s] 571 | if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 64s] | ^ ^ [ 64s] | [ 64s] help: remove these parentheses [ 64s] | [ 64s] 571 - if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 64s] 571 + if unzOpenCurrentFile(uf) != UNZ_OK as c_int { [ 64s] | [ 64s] [ 64s] warning: unused import: `std::ffi::CStr` [ 64s] --> ./src/pkgmgr/server/test/util_tests.rs:4:5 [ 64s] | [ 64s] 4 | use std::ffi::CStr; [ 64s] | ^^^^^^^^^^^^^^ [ 64s] [ 64s] warning: unused import: `std::mem` [ 64s] --> ./src/pkgmgr/server/test/util_tests.rs:6:5 [ 64s] | [ 64s] 6 | use std::mem; [ 64s] | ^^^^^^^^ [ 64s] [ 64s] warning: unused import: `mockall::predicate::*` [ 64s] --> ./src/pkgmgr/server/test/util_tests.rs:8:5 [ 64s] | [ 64s] 8 | use mockall::predicate::*; [ 64s] | ^^^^^^^^^^^^^^^^^^^^^ [ 64s] [ 64s] warning: unused import: `mockall::*` [ 64s] --> ./src/pkgmgr/server/test/util_tests.rs:9:5 [ 64s] | [ 64s] 9 | use mockall::*; [ 64s] | ^^^^^^^^^^ [ 64s] [ 64s] warning: unused import: `std::ffi::CString` [ 64s] --> ./src/pkgmgr/server/test/signal_tests.rs:2:5 [ 64s] | [ 64s] 2 | use std::ffi::CString; [ 64s] | ^^^^^^^^^^^^^^^^^ [ 64s] [ 64s] warning: unused import: `std::ffi::CStr` [ 64s] --> ./src/pkgmgr/server/test/signal_tests.rs:3:5 [ 64s] | [ 64s] 3 | use std::ffi::CStr; [ 64s] | ^^^^^^^^^^^^^^ [ 64s] [ 64s] warning: unused import: `std::ffi::c_char` [ 64s] --> ./src/pkgmgr/server/test/signal_tests.rs:4:5 [ 64s] | [ 64s] 4 | use std::ffi::c_char; [ 64s] | ^^^^^^^^^^^^^^^^ [ 64s] [ 64s] warning: unused import: `std::mem` [ 64s] --> ./src/pkgmgr/server/test/signal_tests.rs:5:5 [ 64s] | [ 64s] 5 | use std::mem; [ 64s] | ^^^^^^^^ [ 64s] [ 64s] warning: unused import: `mockall::predicate::*` [ 64s] --> ./src/pkgmgr/server/test/signal_tests.rs:6:5 [ 64s] | [ 64s] 6 | use mockall::predicate::*; [ 64s] | ^^^^^^^^^^^^^^^^^^^^^ [ 64s] [ 64s] warning: unused import: `mockall::*` [ 64s] --> ./src/pkgmgr/server/test/signal_tests.rs:7:5 [ 64s] | [ 64s] 7 | use mockall::*; [ 64s] | ^^^^^^^^^^ [ 64s] [ 64s] warning: unused import: `pid_t` [ 64s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 64s] | [ 64s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: unused import: `std::cell::RefCell` [ 64s] --> ./src/pkgmgr/server/mod.rs:22:5 [ 64s] | [ 64s] 22 | use std::cell::RefCell; [ 64s] | ^^^^^^^^^^^^^^^^^^ [ 64s] [ 64s] warning: unused import: `std::rc::Rc` [ 64s] --> ./src/pkgmgr/server/mod.rs:26:5 [ 64s] | [ 64s] 26 | use std::rc::Rc; [ 64s] | ^^^^^^^^^^^ [ 64s] [ 64s] warning: unused import: `std::process::Command` [ 64s] --> ./src/main.rs:9:5 [ 64s] | [ 64s] 9 | use std::process::Command; [ 64s] | ^^^^^^^^^^^^^^^^^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:5:26 [ 64s] | [ 64s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 64s] | ^^^^^ [ 64s] | [ 64s] = note: `#[warn(deprecated)]` on by default [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:5:33 [ 64s] | [ 64s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:20:20 [ 64s] | [ 64s] 20 | const GLOBAL_USER: uid_t = 201; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:322:25 [ 64s] | [ 64s] 322 | let mut caller_uid: uid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:443:25 [ 64s] | [ 64s] 443 | let mut caller_uid: uid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:548:25 [ 64s] | [ 64s] 548 | let mut caller_uid: uid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:595:25 [ 64s] | [ 64s] 595 | let mut caller_uid: uid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:718:25 [ 64s] | [ 64s] 718 | let mut caller_uid: uid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:801:25 [ 64s] | [ 64s] 801 | let mut caller_uid: uid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:853:25 [ 64s] | [ 64s] 853 | let mut caller_uid: uid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:937:25 [ 64s] | [ 64s] 937 | let mut caller_uid: uid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:990:25 [ 64s] | [ 64s] 990 | let mut caller_uid: uid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1015:76 [ 64s] | [ 64s] 1015 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, true) { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1072:25 [ 64s] | [ 64s] 1072 | let mut caller_uid: uid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1097:76 [ 64s] | [ 64s] 1097 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, false) { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1151:25 [ 64s] | [ 64s] 1151 | let mut caller_pid: pid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1152:25 [ 64s] | [ 64s] 1152 | let mut caller_uid: uid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1166:62 [ 64s] | [ 64s] 1166 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1196:66 [ 64s] | [ 64s] 1196 | let ret = Util::RegisterPkgUpdateInfo(handle, uid as uid_t); [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1215:25 [ 64s] | [ 64s] 1215 | let mut caller_pid: pid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1216:25 [ 64s] | [ 64s] 1216 | let mut caller_uid: uid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1230:62 [ 64s] | [ 64s] 1230 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1254:109 [ 64s] | [ 64s] 1254 | RequestResult::DELAYED(generated_req_key, Util::UnregisterPkgUpdateInfo(pkg_id.as_ptr(), uid as uid_t)) [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1270:25 [ 64s] | [ 64s] 1270 | let mut caller_pid: pid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1271:25 [ 64s] | [ 64s] 1271 | let mut caller_uid: uid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1303:95 [ 64s] | [ 64s] 1303 | RequestResult::DELAYED(generated_req_key, Util::UnregisterAllPkgUpdateInfo(uid as uid_t, caller_uid)) [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1312:45 [ 64s] | [ 64s] 1312 | fn handle_enable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1359:60 [ 64s] | [ 64s] 1359 | fn handle_enable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1371:40 [ 64s] | [ 64s] 1371 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1373:40 [ 64s] | [ 64s] 1373 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1380:36 [ 64s] | [ 64s] 1380 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1382:36 [ 64s] | [ 64s] 1382 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1392:36 [ 64s] | [ 64s] 1392 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1394:36 [ 64s] | [ 64s] 1394 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1400:28 [ 64s] | [ 64s] 1400 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1403:46 [ 64s] | [ 64s] 1403 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1404:59 [ 64s] | [ 64s] 1404 | Util::EnableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1405:32 [ 64s] | [ 64s] 1405 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1409:28 [ 64s] | [ 64s] 1409 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1415:46 [ 64s] | [ 64s] 1415 | fn handle_disable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1463:61 [ 64s] | [ 64s] 1463 | fn handle_disable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1475:40 [ 64s] | [ 64s] 1475 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1477:40 [ 64s] | [ 64s] 1477 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1484:36 [ 64s] | [ 64s] 1484 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1486:36 [ 64s] | [ 64s] 1486 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1496:36 [ 64s] | [ 64s] 1496 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1498:36 [ 64s] | [ 64s] 1498 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1504:28 [ 64s] | [ 64s] 1504 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1507:46 [ 64s] | [ 64s] 1507 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1508:60 [ 64s] | [ 64s] 1508 | Util::DisableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1509:32 [ 64s] | [ 64s] 1509 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1513:28 [ 64s] | [ 64s] 1513 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1535:25 [ 64s] | [ 64s] 1535 | let mut caller_uid: uid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1562:70 [ 64s] | [ 64s] 1562 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1588:25 [ 64s] | [ 64s] 1588 | let mut caller_uid: uid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1615:71 [ 64s] | [ 64s] 1615 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1673:74 [ 64s] | [ 64s] 1673 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1735:75 [ 64s] | [ 64s] 1735 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1765:25 [ 64s] | [ 64s] 1765 | let mut caller_uid: uid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1792:85 [ 64s] | [ 64s] 1792 | RequestResult::VAL(handle_enable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1818:25 [ 64s] | [ 64s] 1818 | let mut caller_uid: uid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1845:86 [ 64s] | [ 64s] 1845 | RequestResult::VAL(handle_disable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1863:40 [ 64s] | [ 64s] 1863 | Util::KillAppsInPkg(pkg_id, uid as uid_t) [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1873:25 [ 64s] | [ 64s] 1873 | let mut caller_pid: pid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1874:25 [ 64s] | [ 64s] 1874 | let mut caller_uid: uid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1985:25 [ 64s] | [ 64s] 1985 | let mut caller_pid: pid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1986:25 [ 64s] | [ 64s] 1986 | let mut caller_uid: uid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:2035:25 [ 64s] | [ 64s] 2035 | let mut caller_pid: pid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:2036:25 [ 64s] | [ 64s] 2036 | let mut caller_uid: uid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:2083:54 [ 64s] | [ 64s] 2083 | Util::EnableGlobalAppSplashScreen(app_id, uid as uid_t) [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:2093:55 [ 64s] | [ 64s] 2093 | Util::DisableGlobalAppSplashScreen(app_id, uid as uid_t) [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:2105:25 [ 64s] | [ 64s] 2105 | let mut caller_pid: pid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:2106:25 [ 64s] | [ 64s] 2106 | let mut caller_uid: uid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:2137:102 [ 64s] | [ 64s] 2137 | RequestResult::DELAYED(generated_req_key, Util::update_app_label(app_id.as_ptr(), uid as uid_t , label.as_ptr())) [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:2155:25 [ 64s] | [ 64s] 2155 | let mut caller_pid: pid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:2156:25 [ 64s] | [ 64s] 2156 | let mut caller_uid: uid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:2187:101 [ 64s] | [ 64s] 2187 | RequestResult::DELAYED(generated_req_key, Util::update_app_icon(app_id.as_ptr(), uid as uid_t , icon_path.as_ptr())) [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:2312:25 [ 64s] | [ 64s] 2312 | let mut caller_uid: uid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:2313:25 [ 64s] | [ 64s] 2313 | let mut caller_pid: pid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:2383:25 [ 64s] | [ 64s] 2383 | let mut caller_uid: uid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:2384:25 [ 64s] | [ 64s] 2384 | let mut caller_pid: pid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:2453:25 [ 64s] | [ 64s] 2453 | let mut caller_uid: uid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:2454:25 [ 64s] | [ 64s] 2454 | let mut caller_pid: pid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:2532:25 [ 64s] | [ 64s] 2532 | let mut caller_uid: uid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:2622:41 [ 64s] | [ 64s] 2622 | if unsafe { check_valid_path(uid as uid_t, pkg_id, file_path) } != 0 { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:2681:19 [ 64s] | [ 64s] 2681 | pid: *mut pid_t, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/admin_service.rs:2682:19 [ 64s] | [ 64s] 2682 | uid: *mut uid_t [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 64s] | [ 64s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/backend_context.rs:3:33 [ 64s] | [ 64s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/cache_service.rs:12:26 [ 64s] | [ 64s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/cache_service.rs:12:33 [ 64s] | [ 64s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/cache_service.rs:23:14 [ 64s] | [ 64s] 23 | uid: uid_t, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/cache_service.rs:48:17 [ 64s] | [ 64s] 48 | target_uid: uid_t, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/cache_service.rs:53:25 [ 64s] | [ 64s] 53 | let mut caller_uid: uid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/cache_service.rs:106:19 [ 64s] | [ 64s] 106 | pid: *mut pid_t, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/cache_service.rs:107:19 [ 64s] | [ 64s] 107 | uid: *mut uid_t [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 64s] | [ 64s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/delayed_service.rs:13:33 [ 64s] | [ 64s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/info_service.rs:2:26 [ 64s] | [ 64s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/info_service.rs:2:33 [ 64s] | [ 64s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/info_service.rs:37:90 [ 64s] | [ 64s] 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... [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/info_service.rs:38:94 [ 64s] | [ 64s] 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... [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/info_service.rs:40:88 [ 64s] | [ 64s] 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... [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/info_service.rs:40:128 [ 64s] | [ 64s] 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... [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/info_service.rs:54:17 [ 64s] | [ 64s] 54 | target_uid: uid_t, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/info_service.rs:60:25 [ 64s] | [ 64s] 60 | let mut caller_pid: pid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/info_service.rs:61:25 [ 64s] | [ 64s] 61 | let mut caller_uid: uid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/info_service.rs:114:17 [ 64s] | [ 64s] 114 | target_uid: uid_t, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/info_service.rs:120:25 [ 64s] | [ 64s] 120 | let mut caller_pid: pid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/info_service.rs:121:25 [ 64s] | [ 64s] 121 | let mut caller_uid: uid_t = 0; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/info_service.rs:223:17 [ 64s] | [ 64s] 223 | target_uid: uid_t, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/info_service.rs:225:15 [ 64s] | [ 64s] 225 | pid: *mut pid_t, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/info_service.rs:228:43 [ 64s] | [ 64s] 228 | Util::check_app(pkg_id, target_uid as uid_t, pid) [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/info_service.rs:242:19 [ 64s] | [ 64s] 242 | pid: *mut pid_t, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/info_service.rs:243:19 [ 64s] | [ 64s] 243 | uid: *mut uid_t [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/signal.rs:2:26 [ 64s] | [ 64s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 64s] | [ 64s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/signal.rs:99:20 [ 64s] | [ 64s] 99 | const GLOBAL_USER: uid_t = 201; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/signal.rs:101:33 [ 64s] | [ 64s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/signal.rs:101:47 [ 64s] | [ 64s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/signal.rs:102:26 [ 64s] | [ 64s] 102 | let mut uid_vec: Vec = vec![]; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/signal.rs:110:28 [ 64s] | [ 64s] 110 | let mut uids: *mut uid_t = std::ptr::null_mut(); [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/signal.rs:124:14 [ 64s] | [ 64s] 124 | uid: uid_t, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/signal.rs:53:44 [ 64s] | [ 64s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/signal.rs:62:14 [ 64s] | [ 64s] 62 | uid: uid_t, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/signal.rs:86:14 [ 64s] | [ 64s] 86 | uid: uid_t, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/signal.rs:40:30 [ 64s] | [ 64s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 64s] | [ 64s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/signal.rs:44:45 [ 64s] | [ 64s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:4:26 [ 64s] | [ 64s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:4:33 [ 64s] | [ 64s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:22:21 [ 64s] | [ 64s] 22 | const REGULAR_USER: uid_t = 5000; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:23:20 [ 64s] | [ 64s] 23 | const GLOBAL_USER: uid_t = 201; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:25:18 [ 64s] | [ 64s] 25 | const APPFW_UID: uid_t = 301; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:307:36 [ 64s] | [ 64s] 307 | let uid : uid_t = user_data as uid_t; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:307:15 [ 64s] | [ 64s] 307 | let uid : uid_t = user_data as uid_t; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:326:81 [ 64s] | [ 64s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:326:93 [ 64s] | [ 64s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:326:25 [ 64s] | [ 64s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:326:37 [ 64s] | [ 64s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:389:57 [ 64s] | [ 64s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:420:55 [ 64s] | [ 64s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:686:62 [ 64s] | [ 64s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:696:63 [ 64s] | [ 64s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:706:44 [ 64s] | [ 64s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:706:63 [ 64s] | [ 64s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:728:49 [ 64s] | [ 64s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:738:50 [ 64s] | [ 64s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:747:55 [ 64s] | [ 64s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:757:56 [ 64s] | [ 64s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:766:61 [ 64s] | [ 64s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:775:62 [ 64s] | [ 64s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:784:67 [ 64s] | [ 64s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:793:68 [ 64s] | [ 64s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:802:54 [ 64s] | [ 64s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:802:64 [ 64s] | [ 64s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:813:47 [ 64s] | [ 64s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:835:53 [ 64s] | [ 64s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:855:25 [ 64s] | [ 64s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:983:69 [ 64s] | [ 64s] 983 | pub fn get_application_info_by_appid(appid: *const c_char, uid: uid_t) -> Option<(CString, bool)> { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:1012:41 [ 64s] | [ 64s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:1012:53 [ 64s] | [ 64s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:1029:71 [ 64s] | [ 64s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:1029:90 [ 64s] | [ 64s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:1076:56 [ 64s] | [ 64s] 1076 | pub fn update_app_label(appid: *const c_char, uid: uid_t, label: *const c_char) -> c_int { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:1080:55 [ 64s] | [ 64s] 1080 | pub fn update_app_icon(appid: *const c_char, uid: uid_t, icon_path: *const c_char) -> c_int { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:1108:49 [ 64s] | [ 64s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:1108:66 [ 64s] | [ 64s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:156:14 [ 64s] | [ 64s] 156 | uid: uid_t, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:166:14 [ 64s] | [ 64s] 166 | uid: uid_t, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:180:14 [ 64s] | [ 64s] 180 | uid: uid_t [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:185:14 [ 64s] | [ 64s] 185 | uid: uid_t [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:189:14 [ 64s] | [ 64s] 189 | uid: uid_t [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:194:14 [ 64s] | [ 64s] 194 | uid: uid_t, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:200:14 [ 64s] | [ 64s] 200 | uid: uid_t, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:206:14 [ 64s] | [ 64s] 206 | uid: uid_t, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:212:14 [ 64s] | [ 64s] 212 | uid: uid_t, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:218:14 [ 64s] | [ 64s] 218 | uid: uid_t, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:224:14 [ 64s] | [ 64s] 224 | uid: uid_t, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:237:32 [ 64s] | [ 64s] 237 | fn gum_user_get_sync(uid : uid_t, offline : c_int) -> *mut c_void; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:266:21 [ 64s] | [ 64s] 266 | caller_uid: uid_t [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:274:14 [ 64s] | [ 64s] 274 | uid: uid_t, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:40:30 [ 64s] | [ 64s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:40:37 [ 64s] | [ 64s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:46:18 [ 64s] | [ 64s] 46 | uid: uid_t, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:52:18 [ 64s] | [ 64s] 52 | uid: uid_t, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:67:18 [ 64s] | [ 64s] 67 | uid: uid_t, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:101:18 [ 64s] | [ 64s] 101 | uid: uid_t, [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:122:70 [ 64s] | [ 64s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:123:66 [ 64s] | [ 64s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:124:59 [ 64s] | [ 64s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/util.rs:125:97 [ 64s] | [ 64s] 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; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 64s] | [ 64s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 64s] | [ 64s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/test/signal_tests.rs:12:26 [ 64s] | [ 64s] 12 | let mut uid_vec: Vec = vec![]; [ 64s] | ^^^^^ [ 64s] [ 64s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 64s] --> ./src/pkgmgr/server/test/signal_tests.rs:19:26 [ 64s] | [ 64s] 19 | let mut uid_vec: Vec = vec![]; [ 64s] | ^^^^^ [ 64s] [ 65s] warning: unreachable expression [ 65s] --> ./src/pkgmgr/server/backend_queue.rs:64:5 [ 65s] | [ 65s] 61 | return G_SOURCE_CONTINUE; [ 65s] | ------------------------ any code following this expression is unreachable [ 65s] ... [ 65s] 64 | 1 [ 65s] | ^ unreachable expression [ 65s] | [ 65s] = note: `#[warn(unreachable_code)]` on by default [ 65s] [ 65s] warning: unused import: `super::super::super::server::service::Service` [ 65s] --> ./src/pkgmgr/server/test/info_service_tests.rs:3:5 [ 65s] | [ 65s] 3 | use super::super::super::server::service::Service; [ 65s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 65s] [ 65s] warning: unused variable: `context` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:297:5 [ 65s] | [ 65s] 297 | context: *mut c_void, [ 65s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 65s] | [ 65s] = note: `#[warn(unused_variables)]` on by default [ 65s] [ 65s] warning: unused variable: `context` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:306:5 [ 65s] | [ 65s] 306 | context: *mut c_void, [ 65s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 65s] [ 65s] warning: unused variable: `user_data` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:307:5 [ 65s] | [ 65s] 307 | user_data: *mut c_void, [ 65s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 65s] [ 65s] warning: unused variable: `ret` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:323:9 [ 65s] | [ 65s] 323 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 65s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 65s] [ 65s] warning: unused variable: `req_id` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:318:5 [ 65s] | [ 65s] 318 | req_id: *const c_char, [ 65s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:415:9 [ 65s] | [ 65s] 415 | let mut backend_context = BackendContext::new( [ 65s] | ----^^^^^^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] | [ 65s] = note: `#[warn(unused_mut)]` on by default [ 65s] [ 65s] warning: unused variable: `ret` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:444:9 [ 65s] | [ 65s] 444 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 65s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 65s] [ 65s] warning: unused variable: `req_id` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:434:5 [ 65s] | [ 65s] 434 | req_id: *const c_char, [ 65s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:510:9 [ 65s] | [ 65s] 510 | let mut backend_context = BackendContext::new( [ 65s] | ----^^^^^^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: unused variable: `ret` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:549:9 [ 65s] | [ 65s] 549 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 65s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:571:9 [ 65s] | [ 65s] 571 | let mut backend_context = BackendContext::new( [ 65s] | ----^^^^^^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: unused variable: `ret` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:596:9 [ 65s] | [ 65s] 596 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 65s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 65s] [ 65s] warning: unused variable: `req_id` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:591:5 [ 65s] | [ 65s] 591 | req_id: *const c_char, [ 65s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:688:9 [ 65s] | [ 65s] 688 | let mut backend_context = BackendContext::new( [ 65s] | ----^^^^^^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: unused variable: `ret` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:719:9 [ 65s] | [ 65s] 719 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 65s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 65s] [ 65s] warning: unused variable: `req_id` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:706:5 [ 65s] | [ 65s] 706 | req_id: *const c_char, [ 65s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:763:9 [ 65s] | [ 65s] 763 | let mut backend_context = BackendContext::new( [ 65s] | ----^^^^^^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: unused variable: `ret` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:802:9 [ 65s] | [ 65s] 802 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 65s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:824:9 [ 65s] | [ 65s] 824 | let mut backend_context = BackendContext::new( [ 65s] | ----^^^^^^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: unused variable: `ret` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:854:9 [ 65s] | [ 65s] 854 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 65s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:898:9 [ 65s] | [ 65s] 898 | let mut backend_context = BackendContext::new( [ 65s] | ----^^^^^^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: unused variable: `ret` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:938:9 [ 65s] | [ 65s] 938 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 65s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:961:9 [ 65s] | [ 65s] 961 | let mut backend_context = BackendContext::new( [ 65s] | ----^^^^^^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: unused variable: `ret` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:991:9 [ 65s] | [ 65s] 991 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 65s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1038:17 [ 65s] | [ 65s] 1038 | let mut backend_context = BackendContext::new( [ 65s] | ----^^^^^^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: unused variable: `ret` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1073:9 [ 65s] | [ 65s] 1073 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 65s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 65s] [ 65s] warning: variable does not need to be mutable [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1123:17 [ 65s] | [ 65s] 1123 | let mut backend_context = BackendContext::new( [ 65s] | ----^^^^^^^^^^^^^^^ [ 65s] | | [ 65s] | help: remove this `mut` [ 65s] [ 65s] warning: unused variable: `pkg_id` [ 65s] --> ./src/pkgmgr/server/admin_service.rs:1186:9 [ 65s] | [ 65s] 1186 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) }); [ 65s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 65s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1180:9 [ 66s] | [ 66s] 1180 | let mut handle : *mut c_void = Util::CreatePkgUpdateInfo(pkg_id, version, update_type); [ 66s] | ----^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1190:9 [ 66s] | [ 66s] 1190 | let mut backend_context = BackendContext::new( [ 66s] | ----^^^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1248:9 [ 66s] | [ 66s] 1248 | let mut backend_context = BackendContext::new( [ 66s] | ----^^^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1297:9 [ 66s] | [ 66s] 1297 | let mut backend_context = BackendContext::new( [ 66s] | ----^^^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: unused variable: `is_global` [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1321:17 [ 66s] | [ 66s] 1321 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 66s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 66s] [ 66s] warning: unused variable: `is_global` [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1368:17 [ 66s] | [ 66s] 1368 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 66s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 66s] [ 66s] warning: unused variable: `is_global` [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1424:17 [ 66s] | [ 66s] 1424 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 66s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 66s] [ 66s] warning: unused variable: `is_global` [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1472:17 [ 66s] | [ 66s] 1472 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 66s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 66s] [ 66s] warning: unused variable: `caller_uid` [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1535:13 [ 66s] | [ 66s] 1535 | let mut caller_uid: uid_t = 0; [ 66s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 66s] [ 66s] warning: unused variable: `context` [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1521:5 [ 66s] | [ 66s] 1521 | context: *mut c_void, [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1535:9 [ 66s] | [ 66s] 1535 | let mut caller_uid: uid_t = 0; [ 66s] | ----^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1558:13 [ 66s] | [ 66s] 1558 | let mut backend_context = BackendContext::new( [ 66s] | ----^^^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: unused variable: `caller_uid` [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1588:13 [ 66s] | [ 66s] 1588 | let mut caller_uid: uid_t = 0; [ 66s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 66s] [ 66s] warning: unused variable: `context` [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1574:5 [ 66s] | [ 66s] 1574 | context: *mut c_void, [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1588:9 [ 66s] | [ 66s] 1588 | let mut caller_uid: uid_t = 0; [ 66s] | ----^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1611:13 [ 66s] | [ 66s] 1611 | let mut backend_context = BackendContext::new( [ 66s] | ----^^^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: unused variable: `context` [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1627:5 [ 66s] | [ 66s] 1627 | context: *mut c_void, [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1669:17 [ 66s] | [ 66s] 1669 | let mut backend_context = BackendContext::new( [ 66s] | ----^^^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: unused variable: `context` [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1689:5 [ 66s] | [ 66s] 1689 | context: *mut c_void, [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1731:17 [ 66s] | [ 66s] 1731 | let mut backend_context = BackendContext::new( [ 66s] | ----^^^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: unused variable: `caller_uid` [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1765:13 [ 66s] | [ 66s] 1765 | let mut caller_uid: uid_t = 0; [ 66s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 66s] [ 66s] warning: unused variable: `context` [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1751:5 [ 66s] | [ 66s] 1751 | context: *mut c_void, [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1765:9 [ 66s] | [ 66s] 1765 | let mut caller_uid: uid_t = 0; [ 66s] | ----^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1788:13 [ 66s] | [ 66s] 1788 | let mut backend_context = BackendContext::new( [ 66s] | ----^^^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: unused variable: `caller_uid` [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1818:13 [ 66s] | [ 66s] 1818 | let mut caller_uid: uid_t = 0; [ 66s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 66s] [ 66s] warning: unused variable: `context` [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1804:5 [ 66s] | [ 66s] 1804 | context: *mut c_void, [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1818:9 [ 66s] | [ 66s] 1818 | let mut caller_uid: uid_t = 0; [ 66s] | ----^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1841:13 [ 66s] | [ 66s] 1841 | let mut backend_context = BackendContext::new( [ 66s] | ----^^^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: unused variable: `context` [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1857:5 [ 66s] | [ 66s] 1857 | context: *mut c_void, [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 66s] [ 66s] warning: unused variable: `pid` [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1860:5 [ 66s] | [ 66s] 1860 | pid: *mut c_int, [ 66s] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [ 66s] [ 66s] warning: unused variable: `user_data` [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1861:5 [ 66s] | [ 66s] 1861 | user_data: *mut c_void, [ 66s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1900:9 [ 66s] | [ 66s] 1900 | let mut backend_context = BackendContext::new( [ 66s] | ----^^^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: unused variable: `context` [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1932:5 [ 66s] | [ 66s] 1932 | context: *mut c_void, [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/admin_service.rs:2012:9 [ 66s] | [ 66s] 2012 | let mut backend_context = BackendContext::new( [ 66s] | ----^^^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/admin_service.rs:2063:9 [ 66s] | [ 66s] 2063 | let mut backend_context = BackendContext::new( [ 66s] | ----^^^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: unused variable: `context` [ 66s] --> ./src/pkgmgr/server/admin_service.rs:2078:5 [ 66s] | [ 66s] 2078 | context: *mut c_void, [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 66s] [ 66s] warning: unused variable: `user_data` [ 66s] --> ./src/pkgmgr/server/admin_service.rs:2081:5 [ 66s] | [ 66s] 2081 | user_data: *mut c_void, [ 66s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 66s] [ 66s] warning: unused variable: `context` [ 66s] --> ./src/pkgmgr/server/admin_service.rs:2088:5 [ 66s] | [ 66s] 2088 | context: *mut c_void, [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 66s] [ 66s] warning: unused variable: `user_data` [ 66s] --> ./src/pkgmgr/server/admin_service.rs:2091:5 [ 66s] | [ 66s] 2091 | user_data: *mut c_void, [ 66s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/admin_service.rs:2133:9 [ 66s] | [ 66s] 2133 | let mut backend_context = BackendContext::new( [ 66s] | ----^^^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/admin_service.rs:2183:9 [ 66s] | [ 66s] 2183 | let mut backend_context = BackendContext::new( [ 66s] | ----^^^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: unused variable: `context` [ 66s] --> ./src/pkgmgr/server/admin_service.rs:2198:5 [ 66s] | [ 66s] 2198 | context: *mut c_void, [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 66s] [ 66s] warning: unused variable: `uid` [ 66s] --> ./src/pkgmgr/server/admin_service.rs:2199:5 [ 66s] | [ 66s] 2199 | uid: c_int, [ 66s] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [ 66s] [ 66s] warning: unused variable: `pkg_id` [ 66s] --> ./src/pkgmgr/server/admin_service.rs:2200:5 [ 66s] | [ 66s] 2200 | pkg_id: *const c_char, [ 66s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 66s] [ 66s] warning: unused variable: `user_data` [ 66s] --> ./src/pkgmgr/server/admin_service.rs:2201:5 [ 66s] | [ 66s] 2201 | user_data: *mut c_void, [ 66s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/admin_service.rs:2364:9 [ 66s] | [ 66s] 2364 | let mut backend_context = BackendContext::new( [ 66s] | ----^^^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/admin_service.rs:2434:9 [ 66s] | [ 66s] 2434 | let mut backend_context = BackendContext::new( [ 66s] | ----^^^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/admin_service.rs:2504:9 [ 66s] | [ 66s] 2504 | let mut backend_context = BackendContext::new( [ 66s] | ----^^^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: unused variable: `ret` [ 66s] --> ./src/pkgmgr/server/admin_service.rs:2533:9 [ 66s] | [ 66s] 2533 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 66s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/admin_service.rs:2552:9 [ 66s] | [ 66s] 2552 | let mut backend_context = BackendContext::new( [ 66s] | ----^^^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: unused variable: `context` [ 66s] --> ./src/pkgmgr/server/admin_service.rs:2567:5 [ 66s] | [ 66s] 2567 | context: *mut c_void, [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/admin_service.rs:2597:9 [ 66s] | [ 66s] 2597 | let mut backend_context = BackendContext::new( [ 66s] | ----^^^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: unused variable: `context` [ 66s] --> ./src/pkgmgr/server/admin_service.rs:2612:5 [ 66s] | [ 66s] 2612 | context: *mut c_void, [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/admin_service.rs:2656:9 [ 66s] | [ 66s] 2656 | let mut backend_context = BackendContext::new( [ 66s] | ----^^^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: unused variable: `status` [ 66s] --> ./src/pkgmgr/server/backend_queue.rs:38:17 [ 66s] | [ 66s] 38 | let mut status: c_int; [ 66s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [ 66s] [ 66s] warning: unused variable: `io` [ 66s] --> ./src/pkgmgr/server/backend_queue.rs:30:33 [ 66s] | [ 66s] 30 | extern "C" fn signal_handler_cb(io: *mut glib_sys::GIOChannel, [ 66s] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [ 66s] [ 66s] warning: unused variable: `cond` [ 66s] --> ./src/pkgmgr/server/backend_queue.rs:31:9 [ 66s] | [ 66s] 31 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 66s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/backend_queue.rs:71:9 [ 66s] | [ 66s] 71 | let mut mut_queue = queue.borrow_mut(); [ 66s] | ----^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/backend_queue.rs:189:28 [ 66s] | [ 66s] 189 | pub fn push(&mut self, mut context: BackendContext) -> i32 { [ 66s] | ----^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: unused variable: `req_key` [ 66s] --> ./src/pkgmgr/server/backend_queue.rs:296:41 [ 66s] | [ 66s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_key` [ 66s] [ 66s] warning: unused variable: `ret` [ 66s] --> ./src/pkgmgr/server/backend_queue.rs:296:50 [ 66s] | [ 66s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 66s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 66s] [ 66s] warning: unused variable: `s` [ 66s] --> ./src/pkgmgr/server/backend_queue.rs:296:55 [ 66s] | [ 66s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_s` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/backend_queue.rs:278:25 [ 66s] | [ 66s] 278 | let mut backend: &mut Backend = backend.unwrap(); [ 66s] | ----^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: unused variable: `context` [ 66s] --> ./src/pkgmgr/server/cache_service.rs:31:5 [ 66s] | [ 66s] 31 | context: *mut c_void, [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 66s] [ 66s] warning: unused variable: `context` [ 66s] --> ./src/pkgmgr/server/cache_service.rs:40:5 [ 66s] | [ 66s] 40 | context: *mut c_void, [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 66s] [ 66s] warning: unused variable: `user_data` [ 66s] --> ./src/pkgmgr/server/cache_service.rs:41:5 [ 66s] | [ 66s] 41 | user_data: *mut c_void, [ 66s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 66s] [ 66s] warning: unused variable: `ret` [ 66s] --> ./src/pkgmgr/server/cache_service.rs:54:9 [ 66s] | [ 66s] 54 | let ret = unsafe { rpc_port_stub_PkgMgrForClearCache_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 66s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 66s] [ 66s] warning: value assigned to `pkg_type` is never read [ 66s] --> ./src/pkgmgr/server/cache_service.rs:63:13 [ 66s] | [ 66s] 63 | let mut pkg_type: String = String::new(); [ 66s] | ^^^^^^^^ [ 66s] | [ 66s] = help: maybe it is overwritten before being read? [ 66s] = note: `#[warn(unused_assignments)]` on by default [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/cache_service.rs:83:9 [ 66s] | [ 66s] 83 | let mut backend_context = BackendContext::new( [ 66s] | ----^^^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: unused variable: `context` [ 66s] --> ./src/pkgmgr/server/delayed_service.rs:32:5 [ 66s] | [ 66s] 32 | context: *mut c_void, [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 66s] [ 66s] warning: unused variable: `context` [ 66s] --> ./src/pkgmgr/server/delayed_service.rs:41:5 [ 66s] | [ 66s] 41 | context: *mut c_void, [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 66s] [ 66s] warning: unused variable: `user_data` [ 66s] --> ./src/pkgmgr/server/delayed_service.rs:42:5 [ 66s] | [ 66s] 42 | user_data: *mut c_void, [ 66s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 66s] [ 66s] warning: unused variable: `context` [ 66s] --> ./src/pkgmgr/server/delayed_service.rs:48:5 [ 66s] | [ 66s] 48 | context: *mut c_void, [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 66s] [ 66s] warning: unused variable: `context` [ 66s] --> ./src/pkgmgr/server/info_service.rs:43:55 [ 66s] | [ 66s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 66s] [ 66s] warning: unused variable: `context` [ 66s] --> ./src/pkgmgr/server/info_service.rs:48:58 [ 66s] | [ 66s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 66s] [ 66s] warning: unused variable: `user_data` [ 66s] --> ./src/pkgmgr/server/info_service.rs:48:80 [ 66s] | [ 66s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 66s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/info_service.rs:98:9 [ 66s] | [ 66s] 98 | let mut backend_context = BackendContext::new( [ 66s] | ----^^^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/info_service.rs:160:9 [ 66s] | [ 66s] 160 | let mut backend_context = BackendContext::new( [ 66s] | ----^^^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: unused variable: `context` [ 66s] --> ./src/pkgmgr/server/info_service.rs:195:5 [ 66s] | [ 66s] 195 | context: *mut c_void, [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 66s] [ 66s] warning: unused variable: `context` [ 66s] --> ./src/pkgmgr/server/info_service.rs:222:5 [ 66s] | [ 66s] 222 | context: *mut c_void, [ 66s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 66s] [ 66s] warning: unused variable: `user_data` [ 66s] --> ./src/pkgmgr/server/info_service.rs:226:5 [ 66s] | [ 66s] 226 | user_data: *mut c_void [ 66s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/signal.rs:144:13 [ 66s] | [ 66s] 144 | let mut c_req_type: c_int; [ 66s] | ----^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: value assigned to `size_result` is never read [ 66s] --> ./src/pkgmgr/server/util.rs:351:17 [ 66s] | [ 66s] 351 | let mut size_result: i64 = -1; [ 66s] | ^^^^^^^^^^^ [ 66s] | [ 66s] = help: maybe it is overwritten before being read? [ 66s] [ 66s] warning: unused variable: `cond` [ 66s] --> ./src/pkgmgr/server/util.rs:341:9 [ 66s] | [ 66s] 341 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 66s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 66s] [ 66s] warning: value assigned to `ret` is never read [ 66s] --> ./src/pkgmgr/server/util.rs:425:21 [ 66s] | [ 66s] 425 | let mut ret: c_int = 0; [ 66s] | ^^^ [ 66s] | [ 66s] = help: maybe it is overwritten before being read? [ 66s] [ 66s] warning: unreachable pattern [ 66s] --> ./src/pkgmgr/server/util.rs:478:17 [ 66s] | [ 66s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 66s] | -------------------------------------- matches any value [ 66s] ... [ 66s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 66s] | [ 66s] = note: `#[warn(unreachable_patterns)]` on by default [ 66s] [ 66s] warning: unreachable pattern [ 66s] --> ./src/pkgmgr/server/util.rs:483:17 [ 66s] | [ 66s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 66s] | -------------------------------------- matches any value [ 66s] ... [ 66s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 66s] [ 66s] warning: unreachable pattern [ 66s] --> ./src/pkgmgr/server/util.rs:488:17 [ 66s] | [ 66s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 66s] | -------------------------------------- matches any value [ 66s] ... [ 66s] 488 | _ => { [ 66s] | ^ unreachable pattern [ 66s] [ 66s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 66s] --> ./src/pkgmgr/server/util.rs:473:17 [ 66s] | [ 66s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 66s] [ 66s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_TEXT` [ 66s] --> ./src/pkgmgr/server/util.rs:478:17 [ 66s] | [ 66s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_TEXT` [ 66s] [ 66s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 66s] --> ./src/pkgmgr/server/util.rs:483:17 [ 66s] | [ 66s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 66s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/util.rs:519:13 [ 66s] | [ 66s] 519 | let mut attr = xmlTextReaderGetAttribute(reader, RES_TYPE_ATTRIBUTE_KEY.as_ptr()); [ 66s] | ----^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/util.rs:588:13 [ 66s] | [ 66s] 588 | let mut reader = [ 66s] | ----^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: unused variable: `gid` [ 66s] --> ./src/pkgmgr/server/util.rs:891:52 [ 66s] | [ 66s] 891 | fn set_environment(mut envs: Vec<&mut String>, gid: libc::gid_t) -> bool { [ 66s] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:15:38 [ 66s] | [ 66s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:15:40 [ 66s] | [ 66s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `z` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:15:42 [ 66s] | [ 66s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:22:38 [ 66s] | [ 66s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:22:40 [ 66s] | [ 66s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `z` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:22:42 [ 66s] | [ 66s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:29:38 [ 66s] | [ 66s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:29:40 [ 66s] | [ 66s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `z` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:29:42 [ 66s] | [ 66s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:31:39 [ 66s] | [ 66s] 31 | ctx2.expect().times(1).returning(|x,y| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:31:41 [ 66s] | [ 66s] 31 | ctx2.expect().times(1).returning(|x,y| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:38:38 [ 66s] | [ 66s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:38:40 [ 66s] | [ 66s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `z` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:38:42 [ 66s] | [ 66s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:40:39 [ 66s] | [ 66s] 40 | ctx2.expect().times(1).returning(|x,y: *mut bool| { [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:45:40 [ 66s] | [ 66s] 45 | ctx_d.expect().times(1).returning(|x| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:52:38 [ 66s] | [ 66s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:52:40 [ 66s] | [ 66s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `z` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:52:42 [ 66s] | [ 66s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:54:39 [ 66s] | [ 66s] 54 | ctx2.expect().times(1).returning(|x,y: *mut bool| { [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:59:40 [ 66s] | [ 66s] 59 | ctx_d.expect().times(1).returning(|x| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:67:38 [ 66s] | [ 66s] 67 | ctx.expect().times(1).returning(|x,y| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:67:40 [ 66s] | [ 66s] 67 | ctx.expect().times(1).returning(|x,y| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:74:38 [ 66s] | [ 66s] 74 | ctx.expect().times(1).returning(|x,y| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:74:40 [ 66s] | [ 66s] 74 | ctx.expect().times(1).returning(|x,y| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:76:39 [ 66s] | [ 66s] 76 | ctx2.expect().times(1).returning(|x,y| -1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:76:41 [ 66s] | [ 66s] 76 | ctx2.expect().times(1).returning(|x,y| -1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:83:38 [ 66s] | [ 66s] 83 | ctx.expect().times(1).returning(|x,y| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:83:40 [ 66s] | [ 66s] 83 | ctx.expect().times(1).returning(|x,y| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:85:39 [ 66s] | [ 66s] 85 | ctx2.expect().times(1).returning(|x,y| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:85:41 [ 66s] | [ 66s] 85 | ctx2.expect().times(1).returning(|x,y| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:87:39 [ 66s] | [ 66s] 87 | ctx3.expect().times(1).returning(|x,y| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:87:41 [ 66s] | [ 66s] 87 | ctx3.expect().times(1).returning(|x,y| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:94:38 [ 66s] | [ 66s] 94 | ctx.expect().times(1).returning(|x,y| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:94:40 [ 66s] | [ 66s] 94 | ctx.expect().times(1).returning(|x,y| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:96:39 [ 66s] | [ 66s] 96 | ctx2.expect().times(1).returning(|x,y| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:96:41 [ 66s] | [ 66s] 96 | ctx2.expect().times(1).returning(|x,y| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:98:39 [ 66s] | [ 66s] 98 | ctx3.expect().times(1).returning(|x,y| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:98:41 [ 66s] | [ 66s] 98 | ctx3.expect().times(1).returning(|x,y| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:106:38 [ 66s] | [ 66s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:106:40 [ 66s] | [ 66s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `z` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:106:42 [ 66s] | [ 66s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:113:38 [ 66s] | [ 66s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:113:40 [ 66s] | [ 66s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `z` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:113:42 [ 66s] | [ 66s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:115:39 [ 66s] | [ 66s] 115 | ctx2.expect().times(1).returning(|x,y| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:115:41 [ 66s] | [ 66s] 115 | ctx2.expect().times(1).returning(|x,y| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:117:39 [ 66s] | [ 66s] 117 | ctx3.expect().times(1).returning(|x| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:124:38 [ 66s] | [ 66s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:124:40 [ 66s] | [ 66s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `z` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:124:42 [ 66s] | [ 66s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:126:39 [ 66s] | [ 66s] 126 | ctx2.expect().times(1).returning(|x,y| { [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:131:39 [ 66s] | [ 66s] 131 | ctx3.expect().times(1).returning(|x| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:138:38 [ 66s] | [ 66s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:138:40 [ 66s] | [ 66s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `z` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:138:42 [ 66s] | [ 66s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:140:39 [ 66s] | [ 66s] 140 | ctx2.expect().times(1).returning(|x,y| { [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:145:39 [ 66s] | [ 66s] 145 | ctx3.expect().times(1).returning(|x| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:153:38 [ 66s] | [ 66s] 153 | ctx.expect().times(1).returning(|x| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:160:38 [ 66s] | [ 66s] 160 | ctx.expect().times(1).returning(|x| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:162:39 [ 66s] | [ 66s] 162 | ctx2.expect().times(1).returning(|x,y| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:162:41 [ 66s] | [ 66s] 162 | ctx2.expect().times(1).returning(|x,y| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:164:40 [ 66s] | [ 66s] 164 | ctx_d.expect().times(1).returning(|x| -1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:171:38 [ 66s] | [ 66s] 171 | ctx.expect().times(1).returning(|x| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:173:39 [ 66s] | [ 66s] 173 | ctx2.expect().times(1).returning(|x,y| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:173:41 [ 66s] | [ 66s] 173 | ctx2.expect().times(1).returning(|x,y| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:175:39 [ 66s] | [ 66s] 175 | ctx3.expect().times(1).returning(|x,y| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:175:41 [ 66s] | [ 66s] 175 | ctx3.expect().times(1).returning(|x,y| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:177:40 [ 66s] | [ 66s] 177 | ctx_d.expect().times(1).returning(|x| -1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:184:38 [ 66s] | [ 66s] 184 | ctx.expect().times(1).returning(|x| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:186:39 [ 66s] | [ 66s] 186 | ctx2.expect().times(1).returning(|x,y| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:186:41 [ 66s] | [ 66s] 186 | ctx2.expect().times(1).returning(|x,y| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:188:39 [ 66s] | [ 66s] 188 | ctx3.expect().times(1).returning(|x,y| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:188:41 [ 66s] | [ 66s] 188 | ctx3.expect().times(1).returning(|x,y| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:190:39 [ 66s] | [ 66s] 190 | ctx4.expect().times(1).returning(|x,y| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:190:41 [ 66s] | [ 66s] 190 | ctx4.expect().times(1).returning(|x,y| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:192:40 [ 66s] | [ 66s] 192 | ctx_d.expect().times(1).returning(|x| -1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:199:38 [ 66s] | [ 66s] 199 | ctx.expect().times(1).returning(|x| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:201:39 [ 66s] | [ 66s] 201 | ctx2.expect().times(1).returning(|x,y| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:201:41 [ 66s] | [ 66s] 201 | ctx2.expect().times(1).returning(|x,y| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:203:39 [ 66s] | [ 66s] 203 | ctx3.expect().times(1).returning(|x,y| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:203:41 [ 66s] | [ 66s] 203 | ctx3.expect().times(1).returning(|x,y| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:205:39 [ 66s] | [ 66s] 205 | ctx4.expect().times(1).returning(|x,y| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:205:41 [ 66s] | [ 66s] 205 | ctx4.expect().times(1).returning(|x,y| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:213:38 [ 66s] | [ 66s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:213:40 [ 66s] | [ 66s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `z` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:213:42 [ 66s] | [ 66s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:220:38 [ 66s] | [ 66s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:220:40 [ 66s] | [ 66s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `z` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:220:42 [ 66s] | [ 66s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:222:39 [ 66s] | [ 66s] 222 | ctx2.expect().times(1).returning(|x,y| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:222:41 [ 66s] | [ 66s] 222 | ctx2.expect().times(1).returning(|x,y| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:224:40 [ 66s] | [ 66s] 224 | ctx_d.expect().times(1).returning(|x| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:231:38 [ 66s] | [ 66s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:231:40 [ 66s] | [ 66s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `z` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:231:42 [ 66s] | [ 66s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:233:39 [ 66s] | [ 66s] 233 | ctx2.expect().times(1).returning(|x,y| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:233:41 [ 66s] | [ 66s] 233 | ctx2.expect().times(1).returning(|x,y| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:235:39 [ 66s] | [ 66s] 235 | ctx3.expect().times(1).returning(|x,y| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:235:41 [ 66s] | [ 66s] 235 | ctx3.expect().times(1).returning(|x,y| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:237:40 [ 66s] | [ 66s] 237 | ctx_d.expect().times(1).returning(|x| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:244:38 [ 66s] | [ 66s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:244:40 [ 66s] | [ 66s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `z` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:244:42 [ 66s] | [ 66s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:246:39 [ 66s] | [ 66s] 246 | ctx2.expect().times(1).returning(|x,y| { [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:251:39 [ 66s] | [ 66s] 251 | ctx3.expect().times(1).returning(|x, y| { [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:256:40 [ 66s] | [ 66s] 256 | ctx_d.expect().times(1).returning(|x| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:264:38 [ 66s] | [ 66s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `y` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:264:40 [ 66s] | [ 66s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 66s] [ 66s] warning: unused variable: `z` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:264:42 [ 66s] | [ 66s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 66s] [ 66s] warning: unused variable: `e` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:264:44 [ 66s] | [ 66s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:271:38 [ 66s] | [ 66s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `z` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:271:42 [ 66s] | [ 66s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 66s] [ 66s] warning: unused variable: `e` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:271:44 [ 66s] | [ 66s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:285:38 [ 66s] | [ 66s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: unused variable: `z` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:285:42 [ 66s] | [ 66s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 66s] [ 66s] warning: unused variable: `e` [ 66s] --> ./src/pkgmgr/server/test/util_tests.rs:285:44 [ 66s] | [ 66s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 66s] [ 66s] warning: unused variable: `x` [ 66s] --> ./src/pkgmgr/server/test/signal_tests.rs:21:38 [ 66s] | [ 66s] 21 | ctx.expect().times(1).returning(|x| 0); [ 66s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/test/signal_tests.rs:19:9 [ 66s] | [ 66s] 19 | let mut uid_vec: Vec = vec![]; [ 66s] | ----^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:7:9 [ 66s] | [ 66s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 66s] | ----^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:14:9 [ 66s] | [ 66s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 66s] | ----^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:7:9 [ 66s] | [ 66s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 66s] | ----^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:14:9 [ 66s] | [ 66s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 66s] | ----^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:7:9 [ 66s] | [ 66s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 66s] | ----^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:14:9 [ 66s] | [ 66s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 66s] | ----^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/test/info_service_tests.rs:7:9 [ 66s] | [ 66s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 66s] | ----^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/test/info_service_tests.rs:14:9 [ 66s] | [ 66s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 66s] | ----^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: variable does not need to be mutable [ 66s] --> ./src/pkgmgr/server/mod.rs:89:13 [ 66s] | [ 66s] 89 | let mut backend_queue = BackendQueue::new(self.mainloop); [ 66s] | ----^^^^^^^^^^^^^ [ 66s] | | [ 66s] | help: remove this `mut` [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/server/admin_service.rs:995:32 [ 66s] | [ 66s] 993 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] 994 | match CString::new(generated_req_key.clone()) { [ 66s] 995 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] = note: `#[warn(unused_unsafe)]` on by default [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/admin_service.rs:993:5 [ 66s] | [ 66s] 993 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 997 | error!("Fail to generate req key, err({:?})", e); [ 66s] | ------------------------------------------------ in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1023:46 [ 66s] | [ 66s] 993 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 1023 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1077:32 [ 66s] | [ 66s] 1075 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] 1076 | match CString::new(generated_req_key.clone()) { [ 66s] 1077 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 66s] | [ 66s] 1075 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 1079 | error!("Fail to generate req key, err({:?})", e); [ 66s] | ------------------------------------------------ in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 66s] | [ 66s] 1075 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 1106 | debug!("push disable pkg {pkg_id}"); [ 66s] | ----------------------------------- in this macro invocation [ 66s] | [ 66s] = 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) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1108:46 [ 66s] | [ 66s] 1075 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 1108 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1537:5 [ 66s] | [ 66s] 1537 | unsafe { [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1590:5 [ 66s] | [ 66s] 1590 | unsafe { [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1643:32 [ 66s] | [ 66s] 1641 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] 1642 | match CString::new(generated_req_key.clone()) { [ 66s] 1643 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/admin_service.rs:1641:5 [ 66s] | [ 66s] 1641 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 1645 | error!("Fail to generate req key, err({:?})", e); [ 66s] | ------------------------------------------------ in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1657:42 [ 66s] | [ 66s] 1641 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 1657 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1705:32 [ 66s] | [ 66s] 1703 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] 1704 | match CString::new(generated_req_key.clone()) { [ 66s] 1705 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/admin_service.rs:1703:5 [ 66s] | [ 66s] 1703 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 1707 | error!("Fail to generate req key, err({:?})", e); [ 66s] | ------------------------------------------------ in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1719:42 [ 66s] | [ 66s] 1703 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 1719 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1767:5 [ 66s] | [ 66s] 1767 | unsafe { [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/server/admin_service.rs:1820:5 [ 66s] | [ 66s] 1820 | unsafe { [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/server/admin_service.rs:2296:17 [ 66s] | [ 66s] 2294 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] 2295 | if !(*value.offset(i as isize)).is_null() { [ 66s] 2296 | unsafe { free(*value.offset(i as isize) as *mut _) }; [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/admin_service.rs:2793:9 [ 66s] | [ 66s] 2793 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] 2794 | let ret = rpc_port_stub_PkgMgrAdmin_register(&mut self.callbacks, self as *mut _ as *mut c_void); [ 66s] 2795 | debug!("admin service start : {ret}"); [ 66s] | ------------------------------------- in this macro invocation [ 66s] | [ 66s] = 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) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/admin_service.rs:2801:9 [ 66s] | [ 66s] 2801 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] 2802 | let ret = rpc_port_stub_PkgMgrAdmin_unregister(); [ 66s] 2803 | debug!("ret : {ret}"); [ 66s] | --------------------- in this macro invocation [ 66s] | [ 66s] = 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) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 66s] | [ 66s] 204 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 210 | error!("sigprocmask failed"); [ 66s] | ---------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 66s] | [ 66s] 204 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 216 | error!("signalfd failed"); [ 66s] | ------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/cache_service.rs:134:9 [ 66s] | [ 66s] 134 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 139 | debug!("cache service start : {ret}"); [ 66s] | ------------------------------------- in this macro invocation [ 66s] | [ 66s] = 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) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/cache_service.rs:145:9 [ 66s] | [ 66s] 145 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] 146 | let ret = rpc_port_stub_PkgMgrForClearCache_unregister(); [ 66s] 147 | debug!("ret : {ret}"); [ 66s] | --------------------- in this macro invocation [ 66s] | [ 66s] = 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) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/delayed_service.rs:107:9 [ 66s] | [ 66s] 107 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 112 | debug!("delayed result service start : {ret}"); [ 66s] | ---------------------------------------------- in this macro invocation [ 66s] | [ 66s] = 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) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/delayed_service.rs:118:9 [ 66s] | [ 66s] 118 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] 119 | let ret = rpc_port_stub_DelayedResult_unregister(); [ 66s] 120 | debug!("ret : {ret}"); [ 66s] | --------------------- in this macro invocation [ 66s] | [ 66s] = 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) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/info_service.rs:165:13 [ 66s] | [ 66s] 165 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] 166 | if mkfifo(fifo_path.as_ptr() as *const c_char, 0o600) < 0 { [ 66s] 167 | error!("Failed to mkfifo"); [ 66s] | -------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/info_service.rs:268:9 [ 66s] | [ 66s] 268 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 273 | debug!("info service start : {ret}"); [ 66s] | ------------------------------------ in this macro invocation [ 66s] | [ 66s] = 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) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/info_service.rs:279:9 [ 66s] | [ 66s] 279 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] 280 | let ret = rpc_port_stub_PkgMgr_unregister(); [ 66s] 281 | debug!("ret : {ret}"); [ 66s] | --------------------- in this macro invocation [ 66s] | [ 66s] = 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) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 66s] | [ 66s] 131 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 134 | error!("Failure in creating the pkgmgr_installer object"); [ 66s] | --------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 66s] | [ 66s] 131 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 139 | error!("pkgmgr_installer_set_uid fail"); [ 66s] | --------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 66s] | [ 66s] 131 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 154 | warn!("Unsupported req_type[{}]", req_type as c_int); [ 66s] | ---------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = 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) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 66s] | [ 66s] 131 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 161 | error!("pkgmgr_installer_set_request_type fail"); [ 66s] | ------------------------------------------------ in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 66s] | [ 66s] 131 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 168 | error!("pkgmgr_installer_set_session_id fail : {:?}", c_req_id); [ 66s] | --------------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 66s] | [ 66s] 309 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] 310 | if pkgmgrinfo_appinfo_get_appid(pkgmgrinfo_appinfo_h, &mut app_id) != 0 { [ 66s] 311 | error!("Failed get appid"); [ 66s] | -------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 66s] | [ 66s] 309 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 314 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 66s] | --------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = 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) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/server/util.rs:326:46 [ 66s] | [ 66s] 325 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 66s] | [ 66s] 325 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 329 | error!("Failed get appid"); [ 66s] | -------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 66s] | [ 66s] 325 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 333 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 66s] | --------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = 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) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 66s] | [ 66s] 342 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 355 | error!("getsize fd read failed: {:?}", Util::c_char_to_cstr((*err).message)); [ 66s] | ---------------------------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 66s] | [ 66s] 342 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 361 | error!("empty result"); [ 66s] | ---------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 66s] | [ 66s] 390 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 399 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 66s] | --------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 66s] | [ 66s] 390 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 406 | error!("Fail to get is readonly"); [ 66s] | --------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 66s] | [ 66s] 422 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 429 | error!("Not found package"); [ 66s] | --------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 66s] | [ 66s] 422 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 445 | debug!("pkgtype - {ret_string}"); [ 66s] | -------------------------------- in this macro invocation [ 66s] | [ 66s] = 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) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:803:9 [ 66s] | [ 66s] 803 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] 804 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 66s] 805 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 66s] | ------------------------------------------------------ in this macro invocation [ 66s] | [ 66s] = 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) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 66s] | [ 66s] 814 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] 815 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 66s] 816 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 66s] | ------------------------------------------------------ in this macro invocation [ 66s] | [ 66s] = 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) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 66s] | [ 66s] 814 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 822 | error!("Failed to get pid of app{:?}", CStr::from_ptr(appid)); [ 66s] | ------------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 66s] | [ 66s] 814 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 828 | error!("Failed to terminate app{:?}", CStr::from_ptr(appid)); [ 66s] | ------------------------------------------------------------ in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 66s] | [ 66s] 836 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 840 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 66s] | --------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 66s] | [ 66s] 836 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 848 | error!("Failed to get list for {:?}", CStr::from_ptr(pkgid)); [ 66s] | ------------------------------------------------------------ in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 66s] | [ 66s] 859 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 863 | warn!("cannot get user information from gumd, retry"); [ 66s] | ----------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = 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) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 66s] | [ 66s] 859 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 871 | error!("cannot get user information from gumd, failed"); [ 66s] | ------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 66s] | [ 66s] 859 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 877 | error!("cannot get user type"); [ 66s] | ------------------------------ in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 66s] | [ 66s] 892 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 895 | error!("Failed to get the number of supplementary group IDs"); [ 66s] | ------------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 66s] | [ 66s] 892 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 901 | error!("Failed to get list of supplementary group IDs"); [ 66s] | ------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 66s] | [ 66s] 892 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 908 | error!("setgroups failed: {}", *__errno_location()); [ 66s] | --------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 66s] | [ 66s] 928 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 942 | error!("getpwuid_r fail"); [ 66s] | ------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 66s] | [ 66s] 928 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 949 | error!("Fail to get str, err({:?})", e); [ 66s] | --------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 66s] | [ 66s] 928 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 957 | error!("Fail to get str, err({:?})", e); [ 66s] | --------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 66s] | [ 66s] 928 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 966 | error!("Failed to set env for the user : {}", APPFW_UID); [ 66s] | -------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 66s] | [ 66s] 984 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 987 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 66s] | ----------------------------------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 66s] | [ 66s] 984 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 993 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 66s] | ---------------------------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 66s] | [ 66s] 984 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 1000 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 66s] | ---------------------------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/server/util.rs:1005:40 [ 66s] | [ 66s] 984 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 1005 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) } ); [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 66s] | [ 66s] 1081 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 1084 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 66s] | ----------------------------------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 66s] | [ 66s] 1081 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 1090 | error!("Failed get root path for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 66s] | --------------------------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 66s] | [ 66s] 1081 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 1098 | error!("Invalid path[{:?}]", Self::c_char_to_cstr(icon_path)); [ 66s] | ------------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:1109:9 [ 66s] | [ 66s] 1109 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 1119 | error!("Fail to get list for {:?}", CStr::from_ptr(pkgid)); [ 66s] | ---------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 66s] | [ 66s] 1129 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 1132 | error!("failed to open the fifo({}), errno({})", fifo_path, *__errno_location()); [ 66s] | -------------------------------------------------------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 66s] warning: unnecessary `unsafe` block [ 66s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 66s] | [ 66s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 66s] | ^^^^^^ unnecessary `unsafe` block [ 66s] | [ 66s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 66s] | [ 66s] 1129 | unsafe { [ 66s] | ------ because it's nested under this `unsafe` block [ 66s] ... [ 66s] 1155 | error!("failed to add io watch"); [ 66s] | -------------------------------- in this macro invocation [ 66s] | [ 66s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 66s] [ 67s] warning: constant `SD_LISTEN_FDS_START` is never used [ 67s] --> ./src/pkgmgr/server/mod.rs:28:7 [ 67s] | [ 67s] 28 | const SD_LISTEN_FDS_START: i32 = 3; [ 67s] | ^^^^^^^^^^^^^^^^^^^ [ 67s] | [ 67s] = note: `#[warn(dead_code)]` on by default [ 67s] [ 67s] warning: multiple variants are never constructed [ 67s] --> ./src/pkgmgr/server/mod.rs:43:5 [ 67s] | [ 67s] 42 | enum AUL_RETURN_VALUE { [ 67s] | ---------------- variants in this enum [ 67s] 43 | AUL_R_ENOMEM = -16, //< Out of memory (Since 5.5) [ 67s] | ^^^^^^^^^^^^ [ 67s] 44 | AUL_R_ENOENT = -15, //< App directory entry error [ 67s] | ^^^^^^^^^^^^ [ 67s] 45 | AUL_R_EREJECTED = -14, //< App disable for mode [ 67s] | ^^^^^^^^^^^^^^^ [ 67s] 46 | AUL_R_ENOAPP = -13, //< Failed to find app ID or pkg ID [ 67s] | ^^^^^^^^^^^^ [ 67s] 47 | AUL_R_EHIDDENFORGUEST = -11, //< App hidden for guest mode [ 67s] | ^^^^^^^^^^^^^^^^^^^^^ [ 67s] 48 | AUL_R_ENOLAUNCHPAD = -10, //< no launchpad [ 67s] | ^^^^^^^^^^^^^^^^^^ [ 67s] 49 | AUL_R_ETERMINATING = -9, //< application terminating [ 67s] | ^^^^^^^^^^^^^^^^^^ [ 67s] 50 | AUL_R_EILLACC = -8, //< Illegal Access [ 67s] | ^^^^^^^^^^^^^ [ 67s] 51 | AUL_R_LOCAL = -7, //< Launch by himself [ 67s] | ^^^^^^^^^^^ [ 67s] 52 | AUL_R_ETIMEOUT = -6, //< Timeout [ 67s] | ^^^^^^^^^^^^^^ [ 67s] 53 | AUL_R_ECANCELED = -5, //< Operation canceled [ 67s] | ^^^^^^^^^^^^^^^ [ 67s] 54 | AUL_R_EINVAL = -4, //< Invalid argument [ 67s] | ^^^^^^^^^^^^ [ 67s] 55 | AUL_R_ECOMM = -3, //< Comunication Error [ 67s] | ^^^^^^^^^^^ [ 67s] 56 | AUL_R_ENOINIT = -2, //< AUL handler NOT initialized [ 67s] | ^^^^^^^^^^^^^ [ 67s] 57 | AUL_R_ERROR = -1, //< General error [ 67s] | ^^^^^^^^^^^ [ 67s] [ 67s] warning: field `timer` is never read [ 67s] --> ./src/pkgmgr/server/mod.rs:63:5 [ 67s] | [ 67s] 61 | pub struct Server { [ 67s] | ------ field in this struct [ 67s] 62 | mainloop: *mut GMainLoop, [ 67s] 63 | timer: c_uint [ 67s] | ^^^^^ [ 67s] [ 67s] warning: variants `IO_ERROR`, `OUT_OF_MEMORY`, `INVALID_PARAMETER`, and `PERMISSION_DENIED` are never constructed [ 67s] --> ./src/pkgmgr/server/admin_service.rs:29:5 [ 67s] | [ 67s] 27 | enum RPC_PORT_ERROR { [ 67s] | -------------- variants in this enum [ 67s] 28 | NONE = 0, //< Successful [ 67s] 29 | IO_ERROR = -5, //< Internal I/O error [ 67s] | ^^^^^^^^ [ 67s] 30 | OUT_OF_MEMORY = -12, //< Out of memory [ 67s] | ^^^^^^^^^^^^^ [ 67s] 31 | INVALID_PARAMETER = -22, //< Invalid parameter [ 67s] | ^^^^^^^^^^^^^^^^^ [ 67s] 32 | PERMISSION_DENIED = -13, //< Permission denied [ 67s] | ^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: method `generate_request_id` is never used [ 67s] --> ./src/pkgmgr/server/admin_service.rs:2786:8 [ 67s] | [ 67s] 2713 | impl AdminService { [ 67s] | ----------------- method in this implementation [ 67s] ... [ 67s] 2786 | fn generate_request_id(&self) -> String { [ 67s] | ^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: field `request_type` is never read [ 67s] --> ./src/pkgmgr/server/backend_context.rs:7:5 [ 67s] | [ 67s] 6 | pub struct BackendContext { [ 67s] | -------------- field in this struct [ 67s] 7 | request_type: RequestType, [ 67s] | ^^^^^^^^^^^^ [ 67s] [ 67s] warning: type alias `GIOChannel` is never used [ 67s] --> ./src/pkgmgr/server/backend_queue.rs:14:6 [ 67s] | [ 67s] 14 | type GIOChannel = *mut c_void; [ 67s] | ^^^^^^^^^^ [ 67s] [ 67s] warning: type alias `GIOCondition` is never used [ 67s] --> ./src/pkgmgr/server/backend_queue.rs:15:6 [ 67s] | [ 67s] 15 | type GIOCondition = c_int; [ 67s] | ^^^^^^^^^^^^ [ 67s] [ 67s] warning: variants `EIO`, `ENOPKG`, `EPRIV`, `ETIMEOUT`, `EINVAL`, and `ECOMM` are never constructed [ 67s] --> ./src/pkgmgr/server/info_service.rs:22:5 [ 67s] | [ 67s] 20 | enum PKGMGR_RETURN_VALUE { [ 67s] | ------------------- variants in this enum [ 67s] 21 | ESYSTEM = -9, // Severe system error [ 67s] 22 | EIO = -8, // IO error [ 67s] | ^^^ [ 67s] 23 | ENOMEM = -7, // Out of memory [ 67s] 24 | ENOPKG = -6, // No such package [ 67s] | ^^^^^^ [ 67s] 25 | EPRIV = -5, // Privilege denied [ 67s] | ^^^^^ [ 67s] 26 | ETIMEOUT = -4, // Timeout [ 67s] | ^^^^^^^^ [ 67s] 27 | EINVAL = -3, // Invalid argument [ 67s] | ^^^^^^ [ 67s] 28 | ECOMM = -2, // Comunication Error [ 67s] | ^^^^^ [ 67s] [ 67s] warning: variants `EPRIV` and `ETIMEOUT` are never constructed [ 67s] --> ./src/pkgmgr/server/pkgmgr_return_value.rs:8:5 [ 67s] | [ 67s] 3 | pub enum PKGMGR_RETURN_VALUE { [ 67s] | ------------------- variants in this enum [ 67s] ... [ 67s] 8 | EPRIV = -5, // Privilege denied [ 67s] | ^^^^^ [ 67s] 9 | ETIMEOUT = -4, // Timeout [ 67s] | ^^^^^^^^ [ 67s] [ 67s] warning: variants `KILL`, `CHECK`, `ENABLE_APP_SPLASH_SCREEN`, `DISABLE_APP_SPLASH_SCREEN`, and `MIGRATE_EXTERNAL_IMAGE` are never constructed [ 67s] --> ./src/pkgmgr/server/request_type.rs:20:5 [ 67s] | [ 67s] 1 | pub enum RequestType { [ 67s] | ----------- variants in this enum [ 67s] ... [ 67s] 20 | KILL, [ 67s] | ^^^^ [ 67s] 21 | CHECK, [ 67s] | ^^^^^ [ 67s] ... [ 67s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] ... [ 67s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: multiple variants are never constructed [ 67s] --> ./src/pkgmgr/server/signal.rs:10:2 [ 67s] | [ 67s] 9 | enum PKGMGR_REQ { [ 67s] | ---------- variants in this enum [ 67s] 10 | PERM = -1, [ 67s] | ^^^^ [ 67s] 11 | INVALID = 0, [ 67s] | ^^^^^^^ [ 67s] 12 | INSTALL = 1, [ 67s] | ^^^^^^^ [ 67s] 13 | UNINSTALL = 2, [ 67s] | ^^^^^^^^^ [ 67s] 14 | CLEAR = 3, [ 67s] | ^^^^^ [ 67s] 15 | MOVE = 4, [ 67s] | ^^^^ [ 67s] 16 | RECOVER = 5, [ 67s] | ^^^^^^^ [ 67s] 17 | REINSTALL = 6, [ 67s] | ^^^^^^^^^ [ 67s] 18 | GETSIZE = 7, [ 67s] | ^^^^^^^ [ 67s] 19 | UPGRADE = 8, [ 67s] | ^^^^^^^ [ 67s] 20 | SMACK = 9, [ 67s] | ^^^^^ [ 67s] 21 | MANIFEST_DIRECT_INSTALL = 10, [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] ... [ 67s] 26 | MOUNT_INSTALL = 15, [ 67s] | ^^^^^^^^^^^^^ [ 67s] 27 | DISABLE_PKG = 16, [ 67s] | ^^^^^^^^^^^ [ 67s] 28 | ENABLE_PKG = 17, [ 67s] | ^^^^^^^^^^ [ 67s] 29 | MIGRATE_EXTIMG = 18, [ 67s] | ^^^^^^^^^^^^^^ [ 67s] 30 | RECOVER_DB = 19, [ 67s] | ^^^^^^^^^^ [ 67s] 31 | RES_COPY = 20, [ 67s] | ^^^^^^^^ [ 67s] 32 | RES_CREATE_DIR = 21, [ 67s] | ^^^^^^^^^^^^^^ [ 67s] 33 | RES_REMOVE = 22, [ 67s] | ^^^^^^^^^^ [ 67s] 34 | RES_UNINSTALL = 23 [ 67s] | ^^^^^^^^^^^^^ [ 67s] [ 67s] warning: constant `TZ_SYS_GLOBALAPP_USER` is never used [ 67s] --> ./src/pkgmgr/server/signal.rs:97:7 [ 67s] | [ 67s] 97 | const TZ_SYS_GLOBALAPP_USER: c_int = 22; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: function `tzplatform_getuid` is never used [ 67s] --> ./src/pkgmgr/server/signal.rs:53:12 [ 67s] | [ 67s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 67s] | ^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: function `sd_get_uids` is never used [ 67s] --> ./src/pkgmgr/server/signal.rs:44:16 [ 67s] | [ 67s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 67s] | ^^^^^^^^^^^ [ 67s] [ 67s] warning: constant `XML_READER_TYPE_ELEMENT` is never used [ 67s] --> ./src/pkgmgr/server/util.rs:29:7 [ 67s] | [ 67s] 29 | const XML_READER_TYPE_ELEMENT: i32 = 1; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: constant `XML_READER_TYPE_TEXT` is never used [ 67s] --> ./src/pkgmgr/server/util.rs:30:7 [ 67s] | [ 67s] 30 | const XML_READER_TYPE_TEXT: i32 = 3; [ 67s] | ^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: constant `XML_READER_TYPE_END_ELEMENT` is never used [ 67s] --> ./src/pkgmgr/server/util.rs:31:7 [ 67s] | [ 67s] 31 | const XML_READER_TYPE_END_ELEMENT: i32 = 15; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: type alias `GIOChannel` is never used [ 67s] --> ./src/pkgmgr/server/util.rs:33:6 [ 67s] | [ 67s] 33 | type GIOChannel = *mut c_void; [ 67s] | ^^^^^^^^^^ [ 67s] [ 67s] warning: variants `PMINFO_UI_APP`, `PMINFO_SVC_APP`, `PMINFO_WIDGET_APP`, `PMINFO_WATCH_APP`, and `PMINFO_COMPONENT_BASED_APP` are never constructed [ 67s] --> ./src/pkgmgr/server/util.rs:136:5 [ 67s] | [ 67s] 134 | enum PKGMGRINFO_APP_COMPONENT { [ 67s] | ------------------------ variants in this enum [ 67s] 135 | PMINFO_ALL_APP = 0, //< All Application [ 67s] 136 | PMINFO_UI_APP, //< UI Application [ 67s] | ^^^^^^^^^^^^^ [ 67s] 137 | PMINFO_SVC_APP, //< Service Application [ 67s] | ^^^^^^^^^^^^^^ [ 67s] 138 | PMINFO_WIDGET_APP, //< Widget Application [ 67s] | ^^^^^^^^^^^^^^^^^ [ 67s] 139 | PMINFO_WATCH_APP, //< Watch Application [ 67s] | ^^^^^^^^^^^^^^^^ [ 67s] 140 | PMINFO_COMPONENT_BASED_APP, //< Component-based Application (Since 5.5) [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: associated functions `EnableAppSplashScreen` and `DisableAppSplashScreen` are never used [ 67s] --> ./src/pkgmgr/server/util.rs:766:12 [ 67s] | [ 67s] 384 | impl Util { [ 67s] | --------- associated functions in this implementation [ 67s] ... [ 67s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^ [ 67s] ... [ 67s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: function `pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db` is never used [ 67s] --> ./src/pkgmgr/server/util.rs:204:8 [ 67s] | [ 67s] 204 | fn pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db( [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: function `pkgmgrinfo_pkginfo_get_usr_pkginfo` is never used [ 67s] --> ./src/pkgmgr/server/util.rs:44:16 [ 67s] | [ 67s] 44 | pub fn pkgmgrinfo_pkginfo_get_usr_pkginfo( [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: function `pkgmgrinfo_pkginfo_get_usr_disabled_pkginfo` is never used [ 67s] --> ./src/pkgmgr/server/util.rs:50:16 [ 67s] | [ 67s] 50 | pub fn pkgmgrinfo_pkginfo_get_usr_disabled_pkginfo( [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: function `pkgmgrinfo_pkginfo_is_readonly` is never used [ 67s] --> ./src/pkgmgr/server/util.rs:56:16 [ 67s] | [ 67s] 56 | pub fn pkgmgrinfo_pkginfo_is_readonly( [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: function `pkgmgrinfo_pkginfo_destroy_pkginfo` is never used [ 67s] --> ./src/pkgmgr/server/util.rs:61:16 [ 67s] | [ 67s] 61 | pub fn pkgmgrinfo_pkginfo_destroy_pkginfo( [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: function `pkgmgrinfo_pkginfo_get_usr_all_pkginfo` is never used [ 67s] --> ./src/pkgmgr/server/util.rs:65:16 [ 67s] | [ 67s] 65 | pub fn pkgmgrinfo_pkginfo_get_usr_all_pkginfo( [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: function `pkgmgrinfo_pkginfo_get_type` is never used [ 67s] --> ./src/pkgmgr/server/util.rs:71:16 [ 67s] | [ 67s] 71 | pub fn pkgmgrinfo_pkginfo_get_type( [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: function `pkgmgrinfo_updateinfo_create` is never used [ 67s] --> ./src/pkgmgr/server/util.rs:76:16 [ 67s] | [ 67s] 76 | pub fn pkgmgrinfo_updateinfo_create( [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: function `pkgmgrinfo_updateinfo_set_pkgid` is never used [ 67s] --> ./src/pkgmgr/server/util.rs:80:16 [ 67s] | [ 67s] 80 | pub fn pkgmgrinfo_updateinfo_set_pkgid( [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: function `pkgmgrinfo_updateinfo_set_version` is never used [ 67s] --> ./src/pkgmgr/server/util.rs:85:16 [ 67s] | [ 67s] 85 | pub fn pkgmgrinfo_updateinfo_set_version( [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: function `pkgmgrinfo_updateinfo_set_type` is never used [ 67s] --> ./src/pkgmgr/server/util.rs:90:16 [ 67s] | [ 67s] 90 | pub fn pkgmgrinfo_updateinfo_set_type( [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: function `pkgmgrinfo_updateinfo_destroy` is never used [ 67s] --> ./src/pkgmgr/server/util.rs:95:16 [ 67s] | [ 67s] 95 | pub fn pkgmgrinfo_updateinfo_destroy( [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: function `pkgmgrinfo_appinfo_get_usr_all_appinfo` is never used [ 67s] --> ./src/pkgmgr/server/util.rs:99:16 [ 67s] | [ 67s] 99 | pub fn pkgmgrinfo_appinfo_get_usr_all_appinfo( [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: function `pkgmgrinfo_appinfo_is_global` is never used [ 67s] --> ./src/pkgmgr/server/util.rs:105:16 [ 67s] | [ 67s] 105 | pub fn pkgmgrinfo_appinfo_is_global( [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: function `pkgmgrinfo_appinfo_get_pkgid` is never used [ 67s] --> ./src/pkgmgr/server/util.rs:110:16 [ 67s] | [ 67s] 110 | pub fn pkgmgrinfo_appinfo_get_pkgid( [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: function `pkgmgrinfo_appinfo_destroy_appinfo` is never used [ 67s] --> ./src/pkgmgr/server/util.rs:115:16 [ 67s] | [ 67s] 115 | pub fn pkgmgrinfo_appinfo_destroy_appinfo( [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: function `aul_app_is_running_for_uid` is never used [ 67s] --> ./src/pkgmgr/server/util.rs:122:16 [ 67s] | [ 67s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: function `aul_app_get_pid_for_uid` is never used [ 67s] --> ./src/pkgmgr/server/util.rs:123:16 [ 67s] | [ 67s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: function `aul_terminate_pid_for_uid` is never used [ 67s] --> ./src/pkgmgr/server/util.rs:124:16 [ 67s] | [ 67s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: function `aul_app_get_pkgid_bypid_for_uid` is never used [ 67s] --> ./src/pkgmgr/server/util.rs:125:16 [ 67s] | [ 67s] 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; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: unused `Result` that must be used [ 67s] --> ./src/main.rs:14:5 [ 67s] | [ 67s] 14 | pkgmgr::server::Server::run(&mut server); [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] | [ 67s] = note: this `Result` may be an `Err` variant, which should be handled [ 67s] = note: `#[warn(unused_must_use)]` on by default [ 67s] help: use `let _ = ...` to ignore the resulting value [ 67s] | [ 67s] 14 | let _ = pkgmgr::server::Server::run(&mut server); [ 67s] | +++++++ [ 67s] [ 67s] warning: unused `Result` that must be used [ 67s] --> ./src/pkgmgr/server/mod.rs:93:9 [ 67s] | [ 67s] 93 | admin_service.run(); [ 67s] | ^^^^^^^^^^^^^^^^^^^ [ 67s] | [ 67s] = note: this `Result` may be an `Err` variant, which should be handled [ 67s] help: use `let _ = ...` to ignore the resulting value [ 67s] | [ 67s] 93 | let _ = admin_service.run(); [ 67s] | +++++++ [ 67s] [ 67s] warning: unused `Result` that must be used [ 67s] --> ./src/pkgmgr/server/mod.rs:95:9 [ 67s] | [ 67s] 95 | cache_service.run(); [ 67s] | ^^^^^^^^^^^^^^^^^^^ [ 67s] | [ 67s] = note: this `Result` may be an `Err` variant, which should be handled [ 67s] help: use `let _ = ...` to ignore the resulting value [ 67s] | [ 67s] 95 | let _ = cache_service.run(); [ 67s] | +++++++ [ 67s] [ 67s] warning: unused `Result` that must be used [ 67s] --> ./src/pkgmgr/server/mod.rs:97:9 [ 67s] | [ 67s] 97 | info_service.run(); [ 67s] | ^^^^^^^^^^^^^^^^^^ [ 67s] | [ 67s] = note: this `Result` may be an `Err` variant, which should be handled [ 67s] help: use `let _ = ...` to ignore the resulting value [ 67s] | [ 67s] 97 | let _ = info_service.run(); [ 67s] | +++++++ [ 67s] [ 67s] warning: unused `Result` that must be used [ 67s] --> ./src/pkgmgr/server/mod.rs:99:9 [ 67s] | [ 67s] 99 | delayed_result_service.run(); [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] | [ 67s] = note: this `Result` may be an `Err` variant, which should be handled [ 67s] help: use `let _ = ...` to ignore the resulting value [ 67s] | [ 67s] 99 | let _ = delayed_result_service.run(); [ 67s] | +++++++ [ 67s] [ 67s] warning: unused `Result` that must be used [ 67s] --> ./src/pkgmgr/server/mod.rs:109:9 [ 67s] | [ 67s] 109 | admin_service.stop(); [ 67s] | ^^^^^^^^^^^^^^^^^^^^ [ 67s] | [ 67s] = note: this `Result` may be an `Err` variant, which should be handled [ 67s] help: use `let _ = ...` to ignore the resulting value [ 67s] | [ 67s] 109 | let _ = admin_service.stop(); [ 67s] | +++++++ [ 67s] [ 67s] warning: unused `Result` that must be used [ 67s] --> ./src/pkgmgr/server/mod.rs:110:9 [ 67s] | [ 67s] 110 | cache_service.stop(); [ 67s] | ^^^^^^^^^^^^^^^^^^^^ [ 67s] | [ 67s] = note: this `Result` may be an `Err` variant, which should be handled [ 67s] help: use `let _ = ...` to ignore the resulting value [ 67s] | [ 67s] 110 | let _ = cache_service.stop(); [ 67s] | +++++++ [ 67s] [ 67s] warning: unused `Result` that must be used [ 67s] --> ./src/pkgmgr/server/mod.rs:111:9 [ 67s] | [ 67s] 111 | info_service.stop(); [ 67s] | ^^^^^^^^^^^^^^^^^^^ [ 67s] | [ 67s] = note: this `Result` may be an `Err` variant, which should be handled [ 67s] help: use `let _ = ...` to ignore the resulting value [ 67s] | [ 67s] 111 | let _ = info_service.stop(); [ 67s] | +++++++ [ 67s] [ 67s] warning: unused `Result` that must be used [ 67s] --> ./src/pkgmgr/server/mod.rs:112:9 [ 67s] | [ 67s] 112 | delayed_result_service.stop(); [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] | [ 67s] = note: this `Result` may be an `Err` variant, which should be handled [ 67s] help: use `let _ = ...` to ignore the resulting value [ 67s] | [ 67s] 112 | let _ = delayed_result_service.stop(); [ 67s] | +++++++ [ 67s] [ 67s] warning: unused return value of `std::mem::size_of` that must be used [ 67s] --> ./src/pkgmgr/server/backend_queue.rs:40:9 [ 67s] | [ 67s] 40 | mem::size_of::(); [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] | [ 67s] help: use `let _ = ...` to ignore the resulting value [ 67s] | [ 67s] 40 | let _ = mem::size_of::(); [ 67s] | +++++++ [ 67s] [ 67s] warning: structure field `rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 67s] --> ./src/pkgmgr/server/info_service.rs:35:9 [ 67s] | [ 67s] 35 | pub rpc_port_stub_PkgMgr_create_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_create_cb` [ 67s] | [ 67s] = note: `#[warn(non_snake_case)]` on by default [ 67s] [ 67s] warning: structure field `rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 67s] --> ./src/pkgmgr/server/info_service.rs:36:9 [ 67s] | [ 67s] 36 | pub rpc_port_stub_PkgMgr_terminate_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_terminate_cb` [ 67s] [ 67s] warning: structure field `rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 67s] --> ./src/pkgmgr/server/info_service.rs:37:9 [ 67s] | [ 67s] 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... [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_cb` [ 67s] [ 67s] warning: structure field `rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 67s] --> ./src/pkgmgr/server/info_service.rs:38:9 [ 67s] | [ 67s] 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... [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 67s] [ 67s] warning: structure field `rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 67s] --> ./src/pkgmgr/server/info_service.rs:39:9 [ 67s] | [ 67s] 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... [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 67s] [ 67s] warning: structure field `rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 67s] --> ./src/pkgmgr/server/info_service.rs:40:9 [ 67s] | [ 67s] 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... [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_check_cb` [ 67s] [ 67s] warning: function `impl_rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 67s] --> ./src/pkgmgr/server/info_service.rs:43:19 [ 67s] | [ 67s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_create_cb` [ 67s] [ 67s] warning: function `impl_rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 67s] --> ./src/pkgmgr/server/info_service.rs:48:19 [ 67s] | [ 67s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_terminate_cb` [ 67s] [ 67s] warning: function `impl_rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 67s] --> ./src/pkgmgr/server/info_service.rs:52:19 [ 67s] | [ 67s] 52 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSize_cb( [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_cb` [ 67s] [ 67s] warning: function `impl_rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 67s] --> ./src/pkgmgr/server/info_service.rs:112:19 [ 67s] | [ 67s] 112 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSizeSync_cb( [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 67s] [ 67s] warning: function `impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 67s] --> ./src/pkgmgr/server/info_service.rs:194:19 [ 67s] | [ 67s] 194 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb( [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 67s] [ 67s] warning: function `impl_rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 67s] --> ./src/pkgmgr/server/info_service.rs:221:19 [ 67s] | [ 67s] 221 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_Check_cb( [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_check_cb` [ 67s] [ 67s] warning: method `IsPackageReadonly` should have a snake case name [ 67s] --> ./src/pkgmgr/server/util.rs:389:12 [ 67s] | [ 67s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 67s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly` [ 67s] [ 67s] warning: method `GetPackageType` should have a snake case name [ 67s] --> ./src/pkgmgr/server/util.rs:420:12 [ 67s] | [ 67s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 67s] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type` [ 67s] [ 67s] warning: variable `xmlReaderTypes_XML_READER_TYPE_ELEMENT` should have a snake case name [ 67s] --> ./src/pkgmgr/server/util.rs:473:17 [ 67s] | [ 67s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_element` [ 67s] [ 67s] warning: variable `xmlReaderTypes_XML_READER_TYPE_TEXT` should have a snake case name [ 67s] --> ./src/pkgmgr/server/util.rs:478:17 [ 67s] | [ 67s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_text` [ 67s] [ 67s] warning: variable `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` should have a snake case name [ 67s] --> ./src/pkgmgr/server/util.rs:483:17 [ 67s] | [ 67s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_end_element` [ 67s] [ 67s] warning: constant `type_map` should have an upper case name [ 67s] --> ./src/pkgmgr/server/util.rs:623:15 [ 67s] | [ 67s] 623 | const type_map : [[&str; 2]; 3] = [ [ 67s] | ^^^^^^^^ help: convert the identifier to upper case: `TYPE_MAP` [ 67s] | [ 67s] = note: `#[warn(non_upper_case_globals)]` on by default [ 67s] [ 67s] warning: method `GenerateRequestId` should have a snake case name [ 67s] --> ./src/pkgmgr/server/util.rs:646:12 [ 67s] | [ 67s] 646 | pub fn GenerateRequestId(pkgid: &str) -> Option { [ 67s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_request_id` [ 67s] [ 67s] warning: method `CreatePkgUpdateInfo` should have a snake case name [ 67s] --> ./src/pkgmgr/server/util.rs:657:12 [ 67s] | [ 67s] 657 | pub fn CreatePkgUpdateInfo(pkgid: *const c_char, version: *const c_char, update_type: c_int) -> *mut c_void { [ 67s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info` [ 67s] [ 67s] warning: method `DestroyPkgUpdateInfo` should have a snake case name [ 67s] --> ./src/pkgmgr/server/util.rs:680:12 [ 67s] | [ 67s] 680 | pub fn DestroyPkgUpdateInfo(handle: *mut c_void) -> c_int { [ 67s] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroy_pkg_update_info` [ 67s] [ 67s] warning: method `RegisterPkgUpdateInfo` should have a snake case name [ 67s] --> ./src/pkgmgr/server/util.rs:686:12 [ 67s] | [ 67s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `register_pkg_update_info` [ 67s] [ 67s] warning: method `UnregisterPkgUpdateInfo` should have a snake case name [ 67s] --> ./src/pkgmgr/server/util.rs:696:12 [ 67s] | [ 67s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_pkg_update_info` [ 67s] [ 67s] warning: method `UnregisterAllPkgUpdateInfo` should have a snake case name [ 67s] --> ./src/pkgmgr/server/util.rs:706:12 [ 67s] | [ 67s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_all_pkg_update_info` [ 67s] [ 67s] warning: method `EnableApp` should have a snake case name [ 67s] --> ./src/pkgmgr/server/util.rs:728:12 [ 67s] | [ 67s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 67s] | ^^^^^^^^^ help: convert the identifier to snake case: `enable_app` [ 67s] [ 67s] warning: method `DisableApp` should have a snake case name [ 67s] --> ./src/pkgmgr/server/util.rs:738:12 [ 67s] | [ 67s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 67s] | ^^^^^^^^^^ help: convert the identifier to snake case: `disable_app` [ 67s] [ 67s] warning: method `EnableGlobalApp` should have a snake case name [ 67s] --> ./src/pkgmgr/server/util.rs:747:12 [ 67s] | [ 67s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 67s] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app` [ 67s] [ 67s] warning: method `DisableGlobalApp` should have a snake case name [ 67s] --> ./src/pkgmgr/server/util.rs:757:12 [ 67s] | [ 67s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 67s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app` [ 67s] [ 67s] warning: method `EnableAppSplashScreen` should have a snake case name [ 67s] --> ./src/pkgmgr/server/util.rs:766:12 [ 67s] | [ 67s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_app_splash_screen` [ 67s] [ 67s] warning: method `DisableAppSplashScreen` should have a snake case name [ 67s] --> ./src/pkgmgr/server/util.rs:775:12 [ 67s] | [ 67s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_app_splash_screen` [ 67s] [ 67s] warning: method `EnableGlobalAppSplashScreen` should have a snake case name [ 67s] --> ./src/pkgmgr/server/util.rs:784:12 [ 67s] | [ 67s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app_splash_screen` [ 67s] [ 67s] warning: method `DisableGlobalAppSplashScreen` should have a snake case name [ 67s] --> ./src/pkgmgr/server/util.rs:793:12 [ 67s] | [ 67s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app_splash_screen` [ 67s] [ 67s] warning: method `KillApp` should have a snake case name [ 67s] --> ./src/pkgmgr/server/util.rs:813:12 [ 67s] | [ 67s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 67s] | ^^^^^^^ help: convert the identifier to snake case: `kill_app` [ 67s] [ 67s] warning: method `KillAppsInPkg` should have a snake case name [ 67s] --> ./src/pkgmgr/server/util.rs:835:12 [ 67s] | [ 67s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 67s] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_apps_in_pkg` [ 67s] [ 67s] warning: method `IsAdminUser` should have a snake case name [ 67s] --> ./src/pkgmgr/server/util.rs:855:8 [ 67s] | [ 67s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 67s] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_admin_user` [ 67s] [ 67s] warning: function `IsPackageReadonly_test_return_None_from_disable1` should have a snake case name [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:13:4 [ 67s] | [ 67s] 13 | fn IsPackageReadonly_test_return_None_from_disable1() { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_disable1` [ 67s] [ 67s] warning: getting the inner pointer of a temporary `CString` [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:16:77 [ 67s] | [ 67s] 16 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, false)); [ 67s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 67s] | | [ 67s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 67s] | [ 67s] = 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 [ 67s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 67s] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [ 67s] [ 67s] warning: function `IsPackageReadonly_test_return_None_from_disable2` should have a snake case name [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:20:4 [ 67s] | [ 67s] 20 | fn IsPackageReadonly_test_return_None_from_disable2() { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_disable2` [ 67s] [ 67s] warning: getting the inner pointer of a temporary `CString` [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:23:77 [ 67s] | [ 67s] 23 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 67s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 67s] | | [ 67s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 67s] | [ 67s] = 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 [ 67s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 67s] [ 67s] warning: function `IsPackageReadonly_test_return_None_from_readonly` should have a snake case name [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:27:4 [ 67s] | [ 67s] 27 | fn IsPackageReadonly_test_return_None_from_readonly() { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_readonly` [ 67s] [ 67s] warning: getting the inner pointer of a temporary `CString` [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:32:77 [ 67s] | [ 67s] 32 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 67s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 67s] | | [ 67s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 67s] | [ 67s] = 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 [ 67s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 67s] [ 67s] warning: function `IsPackageReadonly_test_return_someTrue_from_readonly` should have a snake case name [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:36:4 [ 67s] | [ 67s] 36 | fn IsPackageReadonly_test_return_someTrue_from_readonly() { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_some_true_from_readonly` [ 67s] [ 67s] warning: getting the inner pointer of a temporary `CString` [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:46:83 [ 67s] | [ 67s] 46 | assert_eq!(Some(true), Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 67s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 67s] | | [ 67s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 67s] | [ 67s] = 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 [ 67s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 67s] [ 67s] warning: function `IsPackageReadonly_test_return_someFalse_from_readonly` should have a snake case name [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:50:4 [ 67s] | [ 67s] 50 | fn IsPackageReadonly_test_return_someFalse_from_readonly() { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_some_false_from_readonly` [ 67s] [ 67s] warning: getting the inner pointer of a temporary `CString` [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:60:84 [ 67s] | [ 67s] 60 | assert_eq!(Some(false), Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 67s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 67s] | | [ 67s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 67s] | [ 67s] = 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 [ 67s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 67s] [ 67s] warning: function `KillApp_test_return_0_from_running` should have a snake case name [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:65:4 [ 67s] | [ 67s] 65 | fn KillApp_test_return_0_from_running() { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_0_from_running` [ 67s] [ 67s] warning: getting the inner pointer of a temporary `CString` [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:68:64 [ 67s] | [ 67s] 68 | assert_eq!(0, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 67s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 67s] | | [ 67s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 67s] | [ 67s] = 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 [ 67s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 67s] [ 67s] warning: function `KillApp_test_return_minus_from_getpid` should have a snake case name [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:72:4 [ 67s] | [ 67s] 72 | fn KillApp_test_return_minus_from_getpid() { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_minus_from_getpid` [ 67s] [ 67s] warning: getting the inner pointer of a temporary `CString` [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:77:65 [ 67s] | [ 67s] 77 | assert_eq!(-1, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 67s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 67s] | | [ 67s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 67s] | [ 67s] = 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 [ 67s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 67s] [ 67s] warning: function `KillApp_test_return_minus_from_terminate` should have a snake case name [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:81:4 [ 67s] | [ 67s] 81 | fn KillApp_test_return_minus_from_terminate() { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_minus_from_terminate` [ 67s] [ 67s] warning: getting the inner pointer of a temporary `CString` [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:88:65 [ 67s] | [ 67s] 88 | assert_eq!(-1, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 67s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 67s] | | [ 67s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 67s] | [ 67s] = 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 [ 67s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 67s] [ 67s] warning: function `KillApp_test_return_0_from_end` should have a snake case name [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:92:4 [ 67s] | [ 67s] 92 | fn KillApp_test_return_0_from_end() { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_0_from_end` [ 67s] [ 67s] warning: getting the inner pointer of a temporary `CString` [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:99:64 [ 67s] | [ 67s] 99 | assert_eq!(0, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 67s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 67s] | | [ 67s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 67s] | [ 67s] = 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 [ 67s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 67s] [ 67s] warning: function `GetPackageType_test_return_new_from_all` should have a snake case name [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:104:4 [ 67s] | [ 67s] 104 | fn GetPackageType_test_return_new_from_all() { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_new_from_all` [ 67s] [ 67s] warning: getting the inner pointer of a temporary `CString` [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:107:83 [ 67s] | [ 67s] 107 | assert_eq!(String::new(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 67s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 67s] | | [ 67s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 67s] | [ 67s] = 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 [ 67s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 67s] [ 67s] warning: function `GetPackageType_test_return_new_from_type` should have a snake case name [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:111:4 [ 67s] | [ 67s] 111 | fn GetPackageType_test_return_new_from_type() { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_new_from_type` [ 67s] [ 67s] warning: getting the inner pointer of a temporary `CString` [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:118:83 [ 67s] | [ 67s] 118 | assert_eq!(String::new(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 67s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 67s] | | [ 67s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 67s] | [ 67s] = 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 [ 67s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 67s] [ 67s] warning: function `GetPackageType_test_return_rpk_from_end` should have a snake case name [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:122:4 [ 67s] | [ 67s] 122 | fn GetPackageType_test_return_rpk_from_end() { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_rpk_from_end` [ 67s] [ 67s] warning: getting the inner pointer of a temporary `CString` [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:132:87 [ 67s] | [ 67s] 132 | assert_eq!("rpk".to_string(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 67s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 67s] | | [ 67s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 67s] | [ 67s] = 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 [ 67s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 67s] [ 67s] warning: function `GetPackageType_test_return_newtype_from_end` should have a snake case name [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:136:4 [ 67s] | [ 67s] 136 | fn GetPackageType_test_return_newtype_from_end() { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_newtype_from_end` [ 67s] [ 67s] warning: getting the inner pointer of a temporary `CString` [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:146:87 [ 67s] | [ 67s] 146 | assert_eq!("ABC".to_string(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 67s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 67s] | | [ 67s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 67s] | [ 67s] = 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 [ 67s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 67s] [ 67s] warning: function `CreatePkgUpdateInfo_test_return_null1` should have a snake case name [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:151:4 [ 67s] | [ 67s] 151 | fn CreatePkgUpdateInfo_test_return_null1() { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null1` [ 67s] [ 67s] warning: getting the inner pointer of a temporary `CString` [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:154:95 [ 67s] | [ 67s] 154 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 67s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 67s] | | [ 67s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 67s] | [ 67s] = 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 [ 67s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 67s] [ 67s] warning: getting the inner pointer of a temporary `CString` [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:154:138 [ 67s] | [ 67s] 154 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 67s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 67s] | | [ 67s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 67s] | [ 67s] = 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 [ 67s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 67s] [ 67s] warning: function `CreatePkgUpdateInfo_test_return_null2` should have a snake case name [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:158:4 [ 67s] | [ 67s] 158 | fn CreatePkgUpdateInfo_test_return_null2() { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null2` [ 67s] [ 67s] warning: getting the inner pointer of a temporary `CString` [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:165:95 [ 67s] | [ 67s] 165 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 67s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 67s] | | [ 67s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 67s] | [ 67s] = 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 [ 67s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 67s] [ 67s] warning: getting the inner pointer of a temporary `CString` [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:165:138 [ 67s] | [ 67s] 165 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 67s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 67s] | | [ 67s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 67s] | [ 67s] = 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 [ 67s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 67s] [ 67s] warning: function `CreatePkgUpdateInfo_test_return_null3` should have a snake case name [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:169:4 [ 67s] | [ 67s] 169 | fn CreatePkgUpdateInfo_test_return_null3() { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null3` [ 67s] [ 67s] warning: getting the inner pointer of a temporary `CString` [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:178:95 [ 67s] | [ 67s] 178 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 67s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 67s] | | [ 67s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 67s] | [ 67s] = 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 [ 67s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 67s] [ 67s] warning: getting the inner pointer of a temporary `CString` [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:178:138 [ 67s] | [ 67s] 178 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 67s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 67s] | | [ 67s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 67s] | [ 67s] = 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 [ 67s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 67s] [ 67s] warning: function `CreatePkgUpdateInfo_test_return_null4` should have a snake case name [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:182:4 [ 67s] | [ 67s] 182 | fn CreatePkgUpdateInfo_test_return_null4() { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null4` [ 67s] [ 67s] warning: getting the inner pointer of a temporary `CString` [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:193:95 [ 67s] | [ 67s] 193 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 67s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 67s] | | [ 67s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 67s] | [ 67s] = 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 [ 67s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 67s] [ 67s] warning: getting the inner pointer of a temporary `CString` [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:193:138 [ 67s] | [ 67s] 193 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 67s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 67s] | | [ 67s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 67s] | [ 67s] = 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 [ 67s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 67s] [ 67s] warning: function `CreatePkgUpdateInfo_test_return_handle` should have a snake case name [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:197:4 [ 67s] | [ 67s] 197 | fn CreatePkgUpdateInfo_test_return_handle() { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_handle` [ 67s] [ 67s] warning: getting the inner pointer of a temporary `CString` [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:206:95 [ 67s] | [ 67s] 206 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 67s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 67s] | | [ 67s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 67s] | [ 67s] = 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 [ 67s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 67s] [ 67s] warning: getting the inner pointer of a temporary `CString` [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:206:138 [ 67s] | [ 67s] 206 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 67s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 67s] | | [ 67s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 67s] | [ 67s] = 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 [ 67s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 67s] [ 67s] warning: function `getapplicationinfobyappid_test_return_None_from_appinfo` should have a snake case name [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:211:4 [ 67s] | [ 67s] 211 | fn getapplicationinfobyappid_test_return_None_from_appinfo() { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_appinfo` [ 67s] [ 67s] warning: getting the inner pointer of a temporary `CString` [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:214:89 [ 67s] | [ 67s] 214 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 67s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 67s] | | [ 67s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 67s] | [ 67s] = 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 [ 67s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 67s] [ 67s] warning: function `getapplicationinfobyappid_test_return_None_from_global` should have a snake case name [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:218:4 [ 67s] | [ 67s] 218 | fn getapplicationinfobyappid_test_return_None_from_global() { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_global` [ 67s] [ 67s] warning: getting the inner pointer of a temporary `CString` [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:225:89 [ 67s] | [ 67s] 225 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 67s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 67s] | | [ 67s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 67s] | [ 67s] = 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 [ 67s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 67s] [ 67s] warning: function `getapplicationinfobyappid_test_return_None_from_pkgid` should have a snake case name [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:229:4 [ 67s] | [ 67s] 229 | fn getapplicationinfobyappid_test_return_None_from_pkgid() { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_pkgid` [ 67s] [ 67s] warning: getting the inner pointer of a temporary `CString` [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:238:89 [ 67s] | [ 67s] 238 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 67s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 67s] | | [ 67s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 67s] | [ 67s] = 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 [ 67s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 67s] [ 67s] warning: function `getapplicationinfobyappid_test_return_Some_from_end` should have a snake case name [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:242:4 [ 67s] | [ 67s] 242 | fn getapplicationinfobyappid_test_return_Some_from_end() { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `getapplicationinfobyappid_test_return_some_from_end` [ 67s] [ 67s] warning: getting the inner pointer of a temporary `CString` [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:257:127 [ 67s] | [ 67s] 257 | assert_eq!(Some((CString::new("aaa").unwrap(), true)), Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 67s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 67s] | | [ 67s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 67s] | [ 67s] = 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 [ 67s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 67s] [ 67s] warning: function `get_pkgid_bypid_for_uid_test_return_None` should have a snake case name [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:262:4 [ 67s] | [ 67s] 262 | fn get_pkgid_bypid_for_uid_test_return_None() { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_pkgid_bypid_for_uid_test_return_none` [ 67s] [ 67s] warning: function `get_pkgid_bypid_for_uid_test_return_Some` should have a snake case name [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:269:4 [ 67s] | [ 67s] 269 | fn get_pkgid_bypid_for_uid_test_return_Some() { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `get_pkgid_bypid_for_uid_test_return_some` [ 67s] [ 67s] warning: function `get_pkgid_bypid_for_uid_test_return_None_from_end` should have a snake case name [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:283:4 [ 67s] | [ 67s] 283 | fn get_pkgid_bypid_for_uid_test_return_None_from_end() { [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_pkgid_bypid_for_uid_test_return_none_from_end` [ 67s] [ 67s] warning: literal out of range for `i8` [ 67s] --> ./src/pkgmgr/server/test/util_tests.rs:287:28 [ 67s] | [ 67s] 287 | *y.offset(0) = 0xff [ 67s] | ^^^^ [ 67s] | [ 67s] = note: the literal `0xff` (decimal `255`) does not fit into the type `i8` and will become `-1i8` [ 67s] = help: consider using the type `u8` instead [ 67s] = note: `#[warn(overflowing_literals)]` on by default [ 67s] help: to use as a negative number (decimal `-1`), consider using the type `u8` for the literal and cast it to `i8` [ 67s] | [ 67s] 287 | *y.offset(0) = 0xffu8 as i8 [ 67s] | ~~~~~~~~~~~~ [ 67s] [ 82s] warning: 736 warnings emitted [ 82s] [ 82s] + exit 0 [ 82s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CayrHN [ 82s] + umask 022 [ 83s] + cd /home/abuild/rpmbuild/BUILD [ 83s] + cd pkgmgr-server-1.0.15 [ 83s] + LANG=C [ 83s] + export LANG [ 83s] + unset DISPLAY [ 83s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64 [ 83s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64 [ 83s] + /bin/make DESTDIR=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64 INSTALL_ROOT=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64 install [ 83s] /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 [ 83s] /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 [ 83s] /bin/make -f CMakeFiles/Makefile2 all [ 83s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 83s] /bin/make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/depend [ 83s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 83s] 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= [ 83s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 83s] /bin/make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build [ 83s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 83s] make[2]: Nothing to be done for 'tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build'. [ 83s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 83s] [ 50%] Built target tidl_pkgmgr_server [ 83s] /bin/make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/depend [ 83s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 83s] 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= [ 83s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 83s] /bin/make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build [ 83s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 83s] make[2]: Nothing to be done for 'util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build'. [ 83s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 83s] [100%] Built target util_pkgmgr_server [ 83s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 83s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/CMakeFiles 0 [ 83s] /bin/make -f CMakeFiles/Makefile2 preinstall [ 83s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 83s] make[1]: Nothing to be done for 'preinstall'. [ 83s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 83s] Install the project... [ 83s] /usr/bin/cmake -P cmake_install.cmake [ 83s] -- Install configuration: "" [ 83s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/lib/systemd/system/package-manager.service [ 83s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/lib/systemd/system/package-manager.socket [ 83s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/lib64/libtidl_pkgmgr_server.so [ 83s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/lib64/libutil_pkgmgr_server.so [ 83s] + rm -f /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/share/info/dir [ 83s] + find /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64 -regex '.*\.la$' [ 83s] + xargs rm -f -- [ 83s] + find /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64 -regex '.*\.a$' [ 83s] + xargs rm -f -- [ 83s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/lib/systemd/system/basic.target.wants [ 83s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/lib/systemd/system/sockets.target.wants [ 83s] + ln -sf ../package-manager.socket /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/lib/systemd/system/sockets.target.wants/package-manager.socket [ 83s] + install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/bin [ 83s] + install -m 0755 ./rust_pkgmgr_server /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/bin/pkgmgr-server [ 83s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/etc/package-manager/server [ 83s] + _target= [ 83s] + _symlinks=0 [ 83s] + _files=() [ 83s] + fdupes -q -n -r /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64 [ 83s] + read _file [ 83s] + /usr/lib/rpm/find-debuginfo.sh -j8 --build-id-seed 1.0.15-1 --unique-debug-src-base pkgmgr-server-1.0.15-1.x86_64 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 83s] 1+0 records in [ 83s] 1+0 records out [ 83s] 1+0 records in [ 83s] 1+0 records out [ 83s] 1+0 records in [ 83s] 1+0 records out [ 83s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/bin/pkgmgr-server [ 83s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/lib64/libutil_pkgmgr_server.so [ 83s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/lib64/libtidl_pkgmgr_server.so [ 83s] 0+0 records in [ 83s] 0+0 records out [ 83s] 0+0 records in [ 83s] 0+0 records out [ 83s] 0+0 records in [ 83s] 0+0 records out [ 83s] 797 blocks [ 83s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/pkgmgr-server-debuginfo.manifest [ 83s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/pkgmgr-server-debugsource.manifest [ 83s] + /usr/lib/rpm/check-buildroot [ 83s] + /usr/lib/rpm//brp-compress [ 83s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 84s] + /usr/lib/rpm/brp-python-hardlink [ 84s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64 [ 84s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/isu.list [ 84s] ~/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64 ~/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 84s] ~/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 84s] + /etc/hal/rootstrap/hal-rootstrap-checker.sh 0 /home/abuild/rpmbuild/SOURCES [ 84s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.96174w [ 84s] + umask 022 [ 84s] + cd /home/abuild/rpmbuild/BUILD [ 84s] + cd pkgmgr-server-1.0.15 [ 84s] + export LD_LIBRARY_PATH=./util_pkgmgr_server/:./tidl_pkgmgr_server/:/usr/lib64/rustlib/dylib [ 84s] + LD_LIBRARY_PATH=./util_pkgmgr_server/:./tidl_pkgmgr_server/:/usr/lib64/rustlib/dylib [ 84s] + RUST_BACKTRACE=1 [ 84s] + RUST_TEST_THREADS=1 [ 84s] + ./unittests_rust_pkgmgr_server [ 84s] [ 84s] running 35 tests [ 85s] test pkgmgr::server::test::admin_service_tests::run_test ... ok [ 85s] test pkgmgr::server::test::admin_service_tests::stop_test ... ok [ 85s] test pkgmgr::server::test::cache_service_tests::run_test ... ok [ 85s] test pkgmgr::server::test::cache_service_tests::stop_test ... ok [ 86s] test pkgmgr::server::test::delayed_service_tests::run_test ... ok [ 86s] test pkgmgr::server::test::delayed_service_tests::stop_test ... ok [ 87s] test pkgmgr::server::test::info_service_tests::run_test ... ok [ 87s] test pkgmgr::server::test::info_service_tests::stop_test ... ok [ 87s] test pkgmgr::server::test::signal_tests::get_uid_list_test_return_uidvec1 ... ok [ 87s] test pkgmgr::server::test::signal_tests::get_uid_list_test_return_uidvec2 ... ok [ 87s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_handle ... ok [ 87s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null1 ... ok [ 87s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null2 ... ok [ 87s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null3 ... ok [ 87s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null4 ... ok [ 87s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_new_from_all ... ok [ 87s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_new_from_type ... ok [ 87s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_newtype_from_end ... ok [ 87s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_rpk_from_end ... ok [ 87s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_disable1 ... ok [ 87s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_disable2 ... ok [ 87s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_readonly ... ok [ 87s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_someFalse_from_readonly ... ok [ 87s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_someTrue_from_readonly ... ok [ 87s] test pkgmgr::server::test::util_tests::KillApp_test_return_0_from_end ... ok [ 87s] test pkgmgr::server::test::util_tests::KillApp_test_return_0_from_running ... ok [ 87s] test pkgmgr::server::test::util_tests::KillApp_test_return_minus_from_getpid ... ok [ 87s] test pkgmgr::server::test::util_tests::KillApp_test_return_minus_from_terminate ... ok [ 87s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_None ... ok [ 87s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_None_from_end ... ok [ 87s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_Some ... ok [ 87s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_appinfo ... ok [ 87s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_global ... ok [ 87s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_pkgid ... ok [ 87s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_Some_from_end ... ok [ 87s] [ 87s] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.44s [ 87s] [ 87s] + exit 0 [ 87s] Processing files: pkgmgr-server-1.0.15-1.x86_64 [ 87s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIiAvPgoJPC9y [ 87s] ZXF1ZXN0PgoJPGFzc2lnbj4KCQk8ZmlsZXN5c3RlbSBwYXRoPSIvdXNyL2Jpbi9w [ 87s] a2dtZ3Itc2VydmVyIiBsYWJlbD0iU3lzdGVtIiBleGVjX2xhYmVsPSJub25lIiAv [ 87s] PgoJCTxmaWxlc3lzdGVtIHBhdGg9Ii92YXIvbGliL3BhY2thZ2UtbWFuYWdlciIg [ 87s] bGFiZWw9IlN5c3RlbSIgLz4KCTwvYXNzaWduPgo8L21hbmlmZXN0Pgo= [ 87s] [ 87s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.F48oo0 [ 87s] + umask 022 [ 87s] + cd /home/abuild/rpmbuild/BUILD [ 87s] + cd pkgmgr-server-1.0.15 [ 87s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/share/licenses/pkgmgr-server [ 87s] + export LC_ALL=C [ 87s] + LC_ALL=C [ 87s] + export LICENSEDIR [ 87s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/share/licenses/pkgmgr-server [ 87s] + cp -pr LICENSE /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64/usr/share/licenses/pkgmgr-server [ 87s] + exit 0 [ 87s] Provides: libtidl_pkgmgr_server.so()(64bit) libutil_pkgmgr_server.so()(64bit) pkgmgr-server = 1.0.15-1 pkgmgr-server(x86-64) = 1.0.15-1 [ 87s] Requires(interp): /bin/sh [ 87s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 87s] Requires(post): /bin/sh [ 87s] Requires: libaul.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libcapi-base-common.so.0()(64bit) libdlog.so.0()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgum.so.0()(64bit) libminizip.so.1()(64bit) libpkgmgr-info.so.0()(64bit) libpkgmgr_installer.so.0()(64bit) libpkgmgr_parser.so.0()(64bit) librpc-port.so.1()(64bit) libstd-fcf70ff533b679b2.so()(64bit) libsystemd.so.0()(64bit) libsystemd.so.0(LIBSYSTEMD_209)(64bit) libtidl_pkgmgr_server.so()(64bit) libtzplatform-config-2.0.so.2()(64bit) libtzplatform-config-2.0.so.2(TPC)(64bit) libutil_pkgmgr_server.so()(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libxml2.so.2(LIBXML2_2.5.0)(64bit) libxml2.so.2(LIBXML2_2.6.0)(64bit) [ 87s] Processing files: pkgmgr-server-debugsource-1.0.15-1.x86_64 [ 87s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 87s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 87s] [ 87s] Provides: pkgmgr-server-debugsource = 1.0.15-1 pkgmgr-server-debugsource(x86-64) = 1.0.15-1 [ 87s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 87s] Processing files: pkgmgr-server-debuginfo-1.0.15-1.x86_64 [ 87s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 87s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 87s] [ 87s] Provides: pkgmgr-server-debuginfo = 1.0.15-1 pkgmgr-server-debuginfo(x86-64) = 1.0.15-1 [ 87s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 87s] Recommends: pkgmgr-server-debugsource(x86-64) = 1.0.15-1 [ 87s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64 [ 87s] Wrote: /home/abuild/rpmbuild/SRPMS/pkgmgr-server-1.0.15-1.src.rpm [ 87s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/pkgmgr-server-1.0.15-1.x86_64.rpm [ 87s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/pkgmgr-server-debugsource-1.0.15-1.x86_64.rpm [ 88s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/pkgmgr-server-debuginfo-1.0.15-1.x86_64.rpm [ 88s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.U4okmu [ 88s] + umask 022 [ 88s] + cd /home/abuild/rpmbuild/BUILD [ 88s] + cd pkgmgr-server-1.0.15 [ 88s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.x86_64 [ 88s] + exit 0 [ 88s] ... checking for files with abuild user/group [ 88s] ... creating baselibs [ 89s] [ 89s] ip-192-168-56-173 finished "build pkgmgr-server.spec" at Tue Dec 31 22:22:04 UTC 2024. [ 89s]