[ 0s] Memory limit set to 143710116KB [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.i586.10 [ 0s] Using BUILD_ARCH=i686:i586:i486:i386:noarch [ 0s] [ 0s] [ 0s] ip-192-168-56-69 started "build pkgmgr-server.spec" at Thu Nov 21 02:53:12 UTC 2024. [ 0s] [ 0s] [ 0s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_standard/pkgmgr-server-1.0.15-1/pkgmgr-server.spec ... [ 0s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache --define jobs 8 --define _smp_mflags -j8 --define _costomized_smp_mflags -j32 --repository /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_standard/i586/RPMS --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241121.003056/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241121.003056/repos/standard/debug/ /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_standard/pkgmgr-server-1.0.15-1/pkgmgr-server.spec build ... [ 0s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.i586.10/.srcfiles.cache ... [ 0s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.i586.10/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_standard/i586/RPMS [ 1s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241121.003056/repos/standard/packages/ [ 1s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241121.003056/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 [ 7s] deleting ecore-buffer [ 7s] deleting ecore-buffer-devel [ 7s] deleting ecore-con [ 7s] deleting ecore-con-devel [ 7s] deleting ecore-core [ 7s] deleting ecore-core-devel [ 7s] deleting ecore-devel [ 7s] deleting ecore-evas [ 7s] deleting ecore-evas-devel [ 7s] deleting ecore-fb [ 7s] deleting ecore-fb-devel [ 8s] deleting ecore-file [ 8s] deleting ecore-file-devel [ 8s] deleting ecore-imf [ 8s] deleting ecore-imf-devel [ 8s] deleting ecore-imf-evas [ 8s] deleting ecore-imf-evas-devel [ 8s] deleting ecore-input [ 8s] deleting ecore-input-devel [ 8s] deleting ecore-input-evas [ 8s] deleting ecore-input-evas-devel [ 8s] deleting ecore-ipc [ 8s] deleting ecore-ipc-devel [ 8s] deleting ecore-wayland [ 8s] /sbin/ldconfig: relative path `0' used to build cache [ 8s] warning: %postun(ecore-wayland-1.25.1-0.i686) scriptlet failed, exit status 1 [ 8s] deleting ecore-wayland-devel [ 8s] deleting ecore-wl2 [ 9s] deleting ecore-wl2-devel [ 9s] deleting ector [ 9s] deleting ector-devel [ 9s] deleting edje [ 9s] deleting edje-devel [ 9s] deleting edje-tools [ 9s] deleting eet [ 9s] deleting eet-devel [ 9s] deleting eeze [ 9s] deleting eeze-devel [ 10s] deleting efl [ 10s] deleting efl-devel [ 10s] deleting efreet [ 10s] deleting efreet-devel [ 10s] deleting eina [ 10s] deleting eina-devel [ 10s] deleting eio [ 10s] deleting eio-devel [ 10s] deleting eldbus [ 10s] deleting eldbus-devel [ 11s] deleting elementary [ 11s] deleting elementary-devel [ 11s] deleting embryo [ 11s] deleting embryo-devel [ 11s] deleting emile [ 11s] deleting emile-devel [ 11s] deleting emotion [ 11s] deleting emotion-devel [ 12s] deleting eo [ 12s] deleting eo-devel [ 12s] deleting ethumb [ 12s] deleting ethumb-devel [ 12s] deleting evas [ 12s] deleting evas-devel [ 12s] deleting fontconfig [ 13s] deleting fontconfig-devel [ 13s] deleting freetype2-devel [ 13s] deleting fribidi [ 13s] deleting fribidi-devel [ 13s] deleting giflib [ 14s] deleting gtest [ 14s] /sbin/ldconfig: relative path `0' used to build cache [ 14s] warning: %postun(gtest-1.14.0-0.i686) scriptlet failed, exit status 1 [ 14s] deleting gtest-devel [ 14s] deleting hal-api-common [ 14s] deleting hal-api-tbm [ 15s] /var/tmp/rpm-tmp.l7lR6z: line 2: /usr/bin/hal-compatibility-checker: No such file or directory [ 15s] warning: %postun(hal-api-tbm-0.1.1-1.i686) scriptlet failed, exit status 127 [ 15s] deleting hal-api-tdm [ 15s] /var/tmp/rpm-tmp.GLyZBJ: line 2: /usr/bin/hal-compatibility-checker: No such file or directory [ 15s] warning: %postun(hal-api-tdm-0.2.0-1.i686) scriptlet failed, exit status 127 [ 15s] deleting harfbuzz-devel [ 15s] deleting libdrm [ 15s] deleting libfreetype [ 16s] deleting libharfbuzz [ 16s] deleting libhyphen [ 16s] deleting libicu [ 16s] deleting libicu-devel [ 16s] deleting libjpeg [ 17s] deleting libjpeg-devel [ 17s] deleting libogg [ 17s] deleting libogg-devel [ 17s] deleting libpng [ 17s] deleting libpng-devel [ 17s] deleting libsndfile [ 18s] deleting libsndfile-devel [ 18s] deleting libtbm [ 18s] /sbin/ldconfig: relative path `0' used to build cache [ 18s] warning: %postun(libtbm-4.5.5-1.i686) scriptlet failed, exit status 1 [ 18s] deleting libtbm-devel [ 18s] deleting libtdm [ 18s] /sbin/ldconfig: relative path `0' used to build cache [ 18s] warning: %postun(libtdm-3.1.16-0.i686) scriptlet failed, exit status 1 [ 18s] deleting libtdm-client [ 18s] deleting libtdm-client-devel [ 18s] deleting libtdm-devel [ 18s] deleting libtiff [ 18s] deleting libtpl-egl [ 19s] deleting libuuid-devel [ 19s] deleting libvorbis [ 19s] deleting libvorbis-devel [ 19s] deleting libvorbisenc [ 19s] deleting libvorbisfile [ 19s] deleting libwayland-client [ 20s] deleting libwayland-cursor [ 20s] deleting libwayland-egl [ 20s] deleting libwayland-egl-tizen [ 20s] deleting libwayland-egl-tizen-devel [ 21s] deleting libwayland-extension-client [ 21s] deleting libwayland-server [ 21s] deleting libwayland-tbm-client [ 21s] deleting libwayland-tbm-devel [ 21s] deleting libwayland-tbm-server [ 22s] deleting libwebp [ 22s] deleting libxkbcommon [ 22s] deleting libxkbcommon-devel [ 22s] deleting lottie-player [ 22s] deleting lottie-player-devel [ 23s] deleting lua [ 23s] deleting lua-devel [ 23s] deleting opus [ 23s] deleting opus-devel [ 23s] deleting pixman [ 24s] deleting thorvg [ 24s] deleting thorvg-devel [ 24s] deleting tizen-core [ 24s] deleting tizen-core-devel [ 24s] deleting ttrace-devel [ 24s] deleting tzsh [ 24s] deleting tzsh-devel [ 24s] deleting wayland-devel [ 24s] deleting wayland-extension-client-devel [ 25s] [1/240] keeping default-ac-domains-0.1-1.1 [ 25s] [2/240] keeping dlog-config-persistent-logs-9.0.1-1 [ 25s] [3/240] keeping libmagic-data-5.45-1.3 [ 25s] [4/240] keeping pcre2-syntax-10.40-1 [ 25s] [5/240] keeping python3-pyparsing-3.1.1-1.1 [ 25s] [6/240] keeping python3-six-1.16.0-1.1 [ 25s] [7/240] cumulate rust-std-static-1.74.0-1 [ 25s] [8/240] keeping setup-0.9-1.1 [ 25s] [9/240] keeping filesystem-3.1-1.1 [ 25s] [10/240] keeping python3-packaging-23.2-1.1 [ 25s] [11/240] keeping glibc-2.39-1.6 [ 25s] [12/240] keeping bash-3.2.57-1.1 [ 25s] [13/240] keeping capi-base-common-0.4.82-1 [ 25s] [14/240] keeping cpio-2.8-1.1 [ 25s] [15/240] keeping diffutils-3.10-1.1 [ 25s] [16/240] cumulate fdupes-2.2.1-1.3 [ 25s] [17/240] keeping findutils-4.3.8-1.3 [ 25s] [18/240] keeping gdbm-1.8.3-1.6 [ 25s] [19/240] keeping hostname-3.23-1.1 [ 25s] [20/240] keeping iniparser-4.1-1.1 [ 25s] [21/240] keeping libatomic-14.1.0-1.6 [ 25s] [22/240] keeping libattr-2.5.1-1.3 [ 25s] [23/240] keeping libblkid-2.39.3-1.3 [ 25s] [24/240] keeping libbz2-1.0.8-1.3 [ 25s] [25/240] keeping libexpat-2.6.2-1.5 [ 25s] [26/240] keeping libffi-3.4.2-1.5 [ 25s] [27/240] keeping libfreebl3-3.98-1.6 [ 25s] [28/240] keeping libgcc-14.1.0-1.6 [ 25s] [29/240] keeping libgomp-14.1.0-1.6 [ 25s] [30/240] keeping libitm-14.1.0-1.6 [ 25s] [31/240] keeping libjson-0.17-0 [ 25s] [32/240] keeping libltdl-2.4.7-1.6 [ 25s] [33/240] keeping liblua-5.1.5-1.3 [ 25s] [34/240] keeping liblzma-5.4.5-1.6 [ 25s] [35/240] keeping libopenssl11-1.1.1w-1.5 [ 25s] [36/240] keeping libopenssl3-3.0.13-1.6 [ 25s] [37/240] keeping libpcre-8.45-1.3 [ 25s] [38/240] keeping libpopt-1.16-1.3 [ 25s] [39/240] keeping libpython3_121_0-3.12.0-1.5 [ 25s] [40/240] keeping libquadmath-14.1.0-1.6 [ 25s] [41/240] keeping libsmack-1.3.1-1.3 [ 25s] [42/240] keeping libsmartcols-2.39.3-1.3 [ 25s] [43/240] keeping libsqlite-3.44.0-1.3 [ 25s] [44/240] keeping libuuid-2.39.3-1.3 [ 25s] [45/240] keeping libxcrypt-4.4.36-1.6 [ 25s] [46/240] keeping libzstd1-1.5.5-1.3 [ 25s] [47/240] keeping m4-1.4.19-1.1 [ 25s] [48/240] keeping net-tools-2.0_20121208git-1.3 [ 25s] [49/240] keeping nspr-4.35-1.3 [ 25s] [50/240] keeping patch-2.7.6-1.3 [ 25s] [51/240] keeping pkg-config-0.29.2-1.3 [ 25s] [52/240] keeping sed-4.1c-1.3 [ 25s] [53/240] keeping update-alternatives-1.22.2-1.1 [ 25s] [54/240] keeping which-2.17-1.1 [ 25s] [55/240] keeping xdgmime-0.0.17-1.1 [ 25s] [56/240] keeping zlib-1.3-1.5 [ 25s] [57/240] keeping pcre2-10.40-1 [ 25s] [58/240] keeping pcre2-utf16-10.40-1 [ 25s] [59/240] keeping pcre2-utf32-10.40-1 [ 25s] [60/240] keeping build-compare-2023.06.18-1.1 [ 25s] [61/240] keeping hal-rootstrap-checker-0.1.0-2.1 [ 25s] [62/240] keeping vconf-internal-keys-devel-0.0.191-0 [ 25s] [63/240] keeping binutils-libs-2.43-1.6 [ 25s] [64/240] keeping capi-base-common-devel-0.4.82-1 [ 25s] [65/240] keeping coreutils-6.9-14.1 [ 25s] [66/240] keeping cpp-14.1.0-1.6 [ 25s] [67/240] keeping gawk-3.1.5-1.1 [ 25s] [68/240] keeping gcc-c++-14.1.0-1.6 [ 25s] [69/240] keeping grep-2.5.2-1.3 [ 25s] [70/240] keeping libacl-2.3.2-1.3 [ 25s] [71/240] keeping libblkid-devel-2.39.3-1.3 [ 25s] [72/240] keeping libcap-2.69-1.5 [ 25s] [73/240] keeping libelf-0.189-1.6 [ 25s] [74/240] keeping libffi-devel-3.4.2-1.5 [ 25s] [75/240] keeping libgfortran-14.1.0-1.6 [ 25s] [76/240] keeping libmount-2.39.3-1.3 [ 25s] [77/240] keeping libstdc++-14.1.0-1.6 [ 25s] [78/240] keeping make-4.4-1.3 [ 25s] [79/240] keeping minizip-1.3-1.5 [ 25s] [80/240] keeping nss-certs-3.98-1.6 [ 25s] [81/240] cumulate rust-std-shared-1.74.0-1 [ 25s] [82/240] keeping smack-1.3.1-1.3 [ 25s] [83/240] cumulate sqlite-3.44.0-1.3 [ 25s] [84/240] keeping tidl-2.3.0-1 [ 25s] [85/240] cumulate unzip-610c25-1.1 [ 25s] [86/240] keeping xdgmime-devel-0.0.17-1.1 [ 25s] [87/240] cumulate xz-devel-5.4.5-1.6 [ 25s] [88/240] keeping bzip2-1.0.8-1.3 [ 25s] [89/240] keeping libfdisk-2.39.3-1.3 [ 25s] [90/240] keeping libglib-2.80.5-0 [ 25s] [91/240] keeping libmagic-5.45-1.3 [ 25s] [92/240] keeping libxml2-2.12.5-1.5 [ 25s] [93/240] keeping shadow-utils-4.1.4.2-7.1 [ 25s] [94/240] keeping xz-5.4.5-1.6 [ 25s] [95/240] keeping libkmod-31-1.1 [ 25s] [96/240] keeping perl-5.38.0-1.4 [ 25s] [97/240] keeping pcre2-devel-10.40-1 [ 25s] [98/240] keeping build-mkbaselibs-20120927-1.1 [ 25s] [99/240] keeping libstdc++-devel-14.1.0-1.6 [ 25s] [100/240] keeping linux-glibc-devel-6.6-1.6 [ 25s] [101/240] keeping acl-2.3.2-1.3 [ 25s] [102/240] keeping file-5.45-1.3 [ 25s] [103/240] keeping libcap-tools-2.69-1.5 [ 25s] [104/240] keeping libgmodule-2.80.5-0 [ 25s] [105/240] keeping libgthread-2.80.5-0 [ 25s] [106/240] cumulate minizip-devel-1.3-1.5 [ 25s] [107/240] keeping tar-1.17-1.1 [ 25s] [108/240] keeping terminfo-base-full-6.4-1.6 [ 25s] [109/240] keeping autoconf-2.71-1.7 [ 25s] [110/240] keeping glibc-locale-2.39-1.6 [ 25s] [111/240] keeping gzip-1.3.12-1.3 [ 25s] [112/240] keeping libcc1-14.1.0-1.6 [ 25s] [113/240] keeping libgobject-2.80.5-0 [ 25s] [114/240] keeping libmount-devel-2.39.3-1.3 [ 25s] [115/240] keeping libubsan-14.1.0-1.6 [ 25s] [116/240] keeping tizen-platform-config-5.0-1 [ 25s] [117/240] keeping binutils-2.43-1.6 [ 25s] [118/240] cumulate gettext-runtime-0.21.1-2.5 [ 25s] [119/240] keeping pam-1.1.6-1.5 [ 25s] [120/240] keeping tzdata-2023c-1.1 [ 25s] [121/240] keeping dlog-9.0.1-1 [ 25s] [122/240] keeping cynara-db-migration-0.19.1-1 [ 25s] [123/240] keeping libdw-0.189-1.6 [ 25s] [124/240] keeping ttrace-1.1.0-1 [ 25s] [125/240] keeping libarchive-3.7.2-1.5 [ 25s] [126/240] keeping shared-mime-info-1.7-0 [ 25s] [127/240] keeping dlog-logger-9.0.1-1 [ 25s] [128/240] keeping libtzplatform-config-5.0-1 [ 25s] [129/240] keeping automake-1.16.5-1.6 [ 25s] [130/240] keeping libasm-0.189-1.6 [ 25s] [131/240] cumulate libncurses5-6.4-1.6 [ 25s] [132/240] keeping libncurses6-6.4-1.6 [ 25s] [133/240] keeping build-20120927-1.1 [ 25s] [134/240] keeping libgirepository2-2.80.5-0 [ 25s] [135/240] keeping libsystemd-244-0 [ 25s] [136/240] keeping security-config-1.0-1 [ 25s] [137/240] cumulate gettext-tools-0.21.1-2.5 [ 25s] [138/240] keeping gcc-14.1.0-1.6 [ 25s] [139/240] keeping libncurses-6.4-1.6 [ 25s] [140/240] keeping dbus-libs-1.12.20-3 [ 25s] [141/240] keeping less-643-1.1 [ 25s] [142/240] keeping libreadline-5.2-1.4 [ 25s] [143/240] cumulate libtzplatform-config-devel-5.0-1 [ 25s] [144/240] keeping libtool-2.4.7-1.6 [ 25s] [145/240] cumulate ncurses-devel-6.4-1.6 [ 25s] [146/240] keeping elfutils-0.189-1.6 [ 26s] [147/240] keeping libdlog-9.0.1-1 [ 26s] [148/240] keeping cmake-3.25.2-1.4 [ 26s] [149/240] keeping capi-system-resource-1.0.0-0 [ 26s] [150/240] cumulate readline-devel-5.2-1.4 [ 26s] [151/240] keeping libdlog-devel-9.0.1-1 [ 26s] [152/240] cumulate libxml2-tools-2.12.5-1.5 [ 26s] [153/240] keeping parcel-0.17.3-0 [ 26s] [154/240] keeping libcynara-commons-0.19.1-1 [ 26s] [155/240] keeping capi-system-info-0.5.2-1 [ 26s] [156/240] keeping python3-base-3.12.0-1.5 [ 26s] [157/240] keeping util-linux-2.39.3-1.3 [ 26s] [158/240] keeping systemd-244-0 [ 26s] [159/240] keeping python3-3.12.0-1.1 [ 26s] [160/240] keeping capi-system-resource-devel-1.0.0-0 [ 26s] [161/240] cumulate parcel-devel-0.17.3-0 [ 26s] [162/240] cumulate pkgmgr-0.20.21-0 [ 26s] [163/240] keeping systemd-devel-244-0 [ 26s] [164/240] keeping util-linux-su-2.39.3-1.3 [ 26s] [165/240] keeping libcynara-client-0.19.1-1 [ 26s] [166/240] keeping libcynara-creds-commons-0.19.1-1 [ 26s] [167/240] keeping libcynara-session-0.19.1-1 [ 26s] [168/240] keeping python3-setuptools-69.0.2-1.1 [ 26s] [169/240] cumulate pkgmgr-types-devel-0.20.21-0 [ 26s] [170/240] keeping libcynara-creds-socket-0.19.1-1 [ 26s] [171/240] cumulate dbus-1.12.20-3 [ 26s] [172/240] keeping libxcrypt-devel-4.4.36-1.6 [ 26s] [173/240] keeping nss-3.98-1.6 [ 26s] [174/240] cumulate rust-devel-1.74.0-1 [ 26s] [175/240] keeping libgio-2.80.5-0 [ 26s] [176/240] keeping gio-branding-upstream-2.80.5-0 [ 26s] [177/240] keeping libjson-glib-1.8.0-0 [ 26s] [178/240] keeping glibc-devel-2.39-1.6 [ 26s] [179/240] keeping libsoftokn3-3.98-1.6 [ 26s] [180/240] cumulate rust-1.74.0-1 [ 26s] [181/240] keeping glib2-tools-2.80.5-0 [ 26s] [182/240] cumulate libgum-1.0.8-0 [ 26s] [183/240] keeping libsyscommon-5.0.0-0 [ 26s] [184/240] keeping buxton2-1.8.9-0 [ 26s] [185/240] keeping rpm-4.14.1.1-1.5 [ 26s] [186/240] cumulate rust-anstyle-0.3.5-1 [ 26s] [187/240] cumulate rust-cfg-if-1.0.0-1 [ 26s] [188/240] cumulate rust-downcast-0.11.0-1 [ 26s] [189/240] cumulate rust-either-1.8.1-1 [ 26s] [190/240] cumulate rust-libc-0.2.139-1 [ 26s] [191/240] cumulate rust-libm-0.2.6-1 [ 26s] [192/240] cumulate rust-minizip-sys-0.1.2-1 [ 26s] [193/240] cumulate rust-normalize-line-endings-0.3.0-1 [ 26s] [194/240] cumulate rust-scopeguard-1.1.0-1 [ 26s] [195/240] cumulate rust-termtree-0.4.1-1 [ 26s] [196/240] cumulate rust-unicode-ident-1.0.6-1 [ 26s] [197/240] keeping zlib-devel-1.3-1.5 [ 26s] [198/240] cumulate rust-difflib-0.4.0-1 [ 26s] [199/240] cumulate rust-fragile-2.0.0-1 [ 26s] [200/240] cumulate rust-predicates-core-1.0.6-1 [ 26s] [201/240] cumulate rust-regex-syntax-0.6.28-1 [ 26s] [202/240] cumulate sqlite-devel-3.44.0-1.3 [ 26s] [203/240] keeping vconf-compat-1.8.9-0 [ 26s] [204/240] keeping bundle-0.17.3-0 [ 26s] [205/240] cumulate gumd-1.0.8-0 [ 26s] [206/240] keeping rpm-build-4.14.1.1-1.5 [ 26s] [207/240] keeping bundle-devel-0.17.3-0 [ 26s] [208/240] cumulate rust-lock_api-0.4.9-1 [ 26s] [209/240] cumulate rust-num-traits-0.2.15-1 [ 26s] [210/240] cumulate rust-glib-sys-0.17.10-1 [ 26s] [211/240] cumulate rust-itertools-0.10.5-1 [ 26s] [212/240] cumulate rust-proc-macro2-1.0.51-1 [ 26s] [213/240] cumulate rust-regex-1.7.1-1 [ 26s] [214/240] cumulate rust-predicates-tree-1.0.9-1 [ 26s] [215/240] cumulate libxml2-devel-2.12.5-1.5 [ 26s] [216/240] keeping libstorage-1.0.0-0 [ 26s] [217/240] keeping glib2-devel-2.80.5-0 [ 26s] [218/240] keeping pkgmgr-info-0.28.2-1 [ 26s] [219/240] cumulate libgum-devel-1.0.8-0 [ 26s] [220/240] cumulate pkgmgr-info-devel-0.28.2-1 [ 26s] [221/240] cumulate rust-float-cmp-0.9.0-1 [ 26s] [222/240] cumulate rust-spin-0.9.5-1 [ 26s] [223/240] keeping vconf-compat-devel-1.8.9-0 [ 26s] [224/240] keeping pkgmgr-info-parser-0.28.2-1 [ 26s] [225/240] cumulate rust-quote-1.0.23-1 [ 26s] [226/240] keeping aul-0.64.15-1 [ 26s] [227/240] cumulate rust-lazy_static-1.4.0-1 [ 26s] [228/240] cumulate pkgmgr-info-parser-devel-0.28.2-1 [ 26s] [229/240] cumulate rust-syn-1.0.107-1 [ 26s] [230/240] keeping aul-devel-0.64.15-1 [ 26s] [231/240] cumulate rust-predicates-3.0.4-1 [ 26s] [232/240] keeping rpc-port-1.18.16-0 [ 26s] [233/240] keeping rpc-port-devel-1.18.16-0 [ 26s] [234/240] cumulate rust-mockall_derive-0.11.4-1 [ 26s] [235/240] cumulate rust-mockall_double-0.3.0-1 [ 26s] [236/240] cumulate pkgmgr-client-0.20.21-0 [ 26s] [237/240] cumulate pkgmgr-installer-0.20.21-0 [ 26s] [238/240] cumulate pkgmgr-installer-devel-0.20.21-0 [ 26s] [239/240] cumulate pkgmgr-client-devel-0.20.21-0 [ 26s] [240/240] cumulate rust-mockall-0.11.4-1 [ 26s] now installing cumulated packages [ 27s] Preparing... ######################################## [ 27s] Updating / installing... [ 27s] pkgmgr-0.20.21-0 ######################################## [ 27s] pkgmgr-types-devel-0.20.21-0 ######################################## [ 27s] parcel-devel-0.17.3-0 ######################################## [ 27s] pkgmgr-info-devel-0.28.2-1 ######################################## [ 27s] libtzplatform-config-devel-5.0-1 ######################################## [ 27s] xz-devel-5.4.5-1.6 ######################################## [ 32s] rust-std-static-1.74.0-1 ######################################## [ 32s] rust-std-shared-1.74.0-1 ######################################## [ 32s] rust-cfg-if-1.0.0-1 ######################################## [ 33s] rust-unicode-ident-1.0.6-1 ######################################## [ 33s] rust-proc-macro2-1.0.51-1 ######################################## [ 33s] rust-quote-1.0.23-1 ######################################## [ 34s] rust-syn-1.0.107-1 ######################################## [ 34s] rust-predicates-core-1.0.6-1 ######################################## [ 34s] rust-mockall_derive-0.11.4-1 ######################################## [ 43s] rust-devel-1.74.0-1 ######################################## [ 43s] rust-anstyle-0.3.5-1 ######################################## [ 43s] rust-downcast-0.11.0-1 ######################################## [ 43s] rust-either-1.8.1-1 ######################################## [ 44s] rust-itertools-0.10.5-1 ######################################## [ 44s] rust-libc-0.2.139-1 ######################################## [ 45s] rust-libm-0.2.6-1 ######################################## [ 45s] rust-num-traits-0.2.15-1 ######################################## [ 45s] rust-float-cmp-0.9.0-1 ######################################## [ 45s] rust-normalize-line-endings-0.3.0-1 ######################################## [ 46s] rust-scopeguard-1.1.0-1 ######################################## [ 46s] rust-lock_api-0.4.9-1 ######################################## [ 46s] rust-spin-0.9.5-1 ######################################## [ 46s] rust-lazy_static-1.4.0-1 ######################################## [ 47s] rust-termtree-0.4.1-1 ######################################## [ 47s] rust-predicates-tree-1.0.9-1 ######################################## [ 47s] rust-difflib-0.4.0-1 ######################################## [ 47s] rust-fragile-2.0.0-1 ######################################## [ 48s] rust-regex-syntax-0.6.28-1 ######################################## [ 48s] rust-regex-1.7.1-1 ######################################## [ 48s] rust-predicates-3.0.4-1 ######################################## [ 49s] pkgmgr-client-0.20.21-0 ######################################## [ 49s] pkgmgr-installer-0.20.21-0 ######################################## [ 49s] dbus-1.12.20-3 ######################################## [ 49s] libgum-1.0.8-0 ######################################## [ 50s] gumd-1.0.8-0 ######################################## [ 50s] libxml2-tools-2.12.5-1.5 ######################################## [ 50s] libncurses5-6.4-1.6 ######################################## [ 50s] ncurses-devel-6.4-1.6 ######################################## [ 50s] readline-devel-5.2-1.4 ######################################## [ 51s] libxml2-devel-2.12.5-1.5 ######################################## [ 51s] gettext-runtime-0.21.1-2.5 ######################################## [ 51s] sqlite-3.44.0-1.3 ######################################## [ 51s] sqlite-devel-3.44.0-1.3 ######################################## [ 51s] pkgmgr-info-parser-devel-0.28.2-1 ######################################## [ 51s] libgum-devel-1.0.8-0 ######################################## [ 51s] pkgmgr-installer-devel-0.20.21-0 ######################################## [ 51s] pkgmgr-client-devel-0.20.21-0 ######################################## [ 51s] minizip-devel-1.3-1.5 ######################################## [ 51s] gettext-tools-0.21.1-2.5 ######################################## [ 51s] rust-mockall-0.11.4-1 ######################################## [ 52s] rust-glib-sys-0.17.10-1 ######################################## [ 58s] rust-1.74.0-1 ######################################## [ 58s] rust-mockall_double-0.3.0-1 ######################################## [ 58s] rust-minizip-sys-0.1.2-1 ######################################## [ 59s] unzip-610c25-1.1 ######################################## [ 59s] fdupes-2.2.1-1.3 ######################################## [ 59s] Running pkgmgr %posttrans script [ 59s] /var/tmp/rpm-tmp.sPSPwj: line 5: pkg_initdb: command not found [ 59s] /var/tmp/rpm-tmp.sPSPwj: line 6: install_preload_pkg: command not found [ 59s] /var/tmp/rpm-tmp.sPSPwj: line 13: pkgcmd: command not found [ 59s] /var/tmp/rpm-tmp.sPSPwj: line 15: /etc/package-manager/pkgmgr-label-initial-image.sh: No such file or directory [ 59s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.i586.10/etc/nsswitch.conf... [ 59s] now finalizing build dir... [ 59s] ----------------------------------------------------------------- [ 59s] ----- building pkgmgr-server.spec (user abuild) [ 59s] ----------------------------------------------------------------- [ 59s] ----------------------------------------------------------------- [ 59s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_costomized_smp_mflags -j32' --define '_srcdefattr (-,root,root)' --nosignature --target=i686-tizen-linux --define '_build_create_debug 1' -ba /home/abuild/rpmbuild/SOURCES/pkgmgr-server.spec [ 59s] Building target platforms: i686-tizen-linux [ 59s] Building for target i686-tizen-linux [ 59s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7QC0rY [ 59s] + umask 022 [ 59s] + cd /home/abuild/rpmbuild/BUILD [ 59s] + cd /home/abuild/rpmbuild/BUILD [ 59s] + rm -rf pkgmgr-server-1.0.15 [ 59s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/pkgmgr-server-1.0.15.tar.gz [ 59s] + /bin/tar -xof - [ 59s] + STATUS=0 [ 59s] + '[' 0 -ne 0 ']' [ 59s] + cd pkgmgr-server-1.0.15 [ 59s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 59s] + cp /home/abuild/rpmbuild/SOURCES/pkgmgr-server.manifest . [ 59s] + tidlc -s -l C -e -i ./tidl_pkgmgr_server/PkgMgr.tidl -o tidl_pkgmgr_server [ 59s] + mv tidl_pkgmgr_server.c tidl_pkgmgr_server.h ./tidl_pkgmgr_server/ [ 59s] + exit 0 [ 59s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MyjKPR [ 59s] + umask 022 [ 59s] + cd /home/abuild/rpmbuild/BUILD [ 59s] + cd pkgmgr-server-1.0.15 [ 59s] + ref=/usr/lib/rpm [ 59s] + mints=0 [ 59s] + case $(uname -m) in [ 59s] ++ uname -m [ 59s] + for s in guess sub [ 59s] ++ find -maxdepth 8 -name config.guess [ 59s] + for s in guess sub [ 59s] ++ find -maxdepth 8 -name config.sub [ 59s] + LANG=C [ 59s] + export LANG [ 59s] + unset DISPLAY [ 59s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g' [ 59s] + export CFLAGS [ 59s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g' [ 59s] + export CXXFLAGS [ 59s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -I%_fmoddir' [ 59s] + export FFLAGS [ 59s] + LDFLAGS= [ 59s] + export LDFLAGS [ 59s] + export 'CFLAGS=-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -DTIZEN_DEBUG_ENABLE' [ 59s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -DTIZEN_DEBUG_ENABLE' [ 59s] + export 'CXXFLAGS=-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -DTIZEN_DEBUG_ENABLE' [ 59s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -DTIZEN_DEBUG_ENABLE' [ 59s] + export 'FFLAGS=-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 59s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 59s] ++ echo 1.0.15 [ 59s] ++ awk 'BEGIN {FS="."}{print $1}' [ 59s] + MAJORVER=1 [ 59s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -DTIZEN_DEBUG_ENABLE' [ 59s] + export CFLAGS [ 59s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -DTIZEN_DEBUG_ENABLE' [ 59s] + export CXXFLAGS [ 59s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 59s] + export FFLAGS [ 59s] + /usr/bin/cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_SKIP_RPATH:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -DFULLVER=1.0.15 -DMAJORVER=1 -DUNITDIR=/usr/lib/systemd/system . [ 59s] -- The C compiler identification is GNU 14.1.0 [ 60s] -- The CXX compiler identification is GNU 14.1.0 [ 60s] -- Detecting C compiler ABI info [ 60s] -- Detecting C compiler ABI info - done [ 60s] -- Check for working C compiler: /bin/cc - skipped [ 60s] -- Detecting C compile features [ 60s] -- Detecting C compile features - done [ 60s] -- Detecting CXX compiler ABI info [ 60s] -- Detecting CXX compiler ABI info - done [ 60s] -- Check for working CXX compiler: /bin/c++ - skipped [ 60s] -- Detecting CXX compile features [ 60s] -- Detecting CXX compile features - done [ 60s] -- Found PkgConfig: /bin/pkg-config (found version "0.29.2") [ 60s] -- Checking for module 'rpc-port' [ 60s] -- Found rpc-port, version [ 60s] -- Checking for module 'dlog' [ 60s] -- Found dlog, version 1.0 [ 60s] -- Checking for module 'gio-2.0' [ 60s] -- Found gio-2.0, version 2.80.5 [ 60s] -- Checking for module 'glib-2.0' [ 60s] -- Found glib-2.0, version 2.80.5 [ 60s] -- Checking for module 'capi-base-common' [ 60s] -- Found capi-base-common, version 0.4.82 [ 60s] -- Checking for module 'pkgmgr' [ 60s] -- Found pkgmgr, version 0.20.21 [ 60s] -- Checking for module 'libtzplatform-config' [ 60s] -- Found libtzplatform-config, version 2.0 [ 60s] -- Configuring done [ 60s] -- Generating done [ 60s] CMake Warning: [ 60s] Manually-specified variables were not used by the project: [ 60s] [ 60s] FULLVER [ 60s] INCLUDE_INSTALL_DIR [ 60s] MAJORVER [ 60s] SHARE_INSTALL_PREFIX [ 60s] SYSCONF_INSTALL_DIR [ 60s] [ 60s] [ 60s] -- Build files have been written to: /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 60s] + make -j8 [ 60s] /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 [ 60s] /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 [ 60s] make -f CMakeFiles/Makefile2 all [ 60s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 60s] make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/depend [ 60s] make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/depend [ 60s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 60s] 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= [ 60s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 60s] 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= [ 60s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 60s] make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build [ 60s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 60s] [ 25%] Building C object util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o [ 60s] cd /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server && /bin/cc -DLIBDIR=\"/usr/lib\" -Dutil_pkgmgr_server_EXPORTS -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server/SYSTEM -I/usr/include/rpc-port -I/usr/include/dlog -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -fPIC -I/usr/include/rpc-port -I/usr/include/dlog -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/ -MD -MT util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o -MF CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o.d -o CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o -c /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server/util_pkgmgr_server.c [ 60s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 60s] make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build [ 60s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 60s] [ 50%] Building C object tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o [ 60s] cd /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server && /bin/cc -DLIBDIR=\"/usr/lib\" -Dtidl_pkgmgr_server_EXPORTS -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server/SYSTEM -I/usr/include/rpc-port -I/usr/include/dlog -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -fPIC -I/usr/include/rpc-port -I/usr/include/dlog -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MD -MT tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o -MF CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o.d -o CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o -c /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server/tidl_pkgmgr_server.c [ 60s] [ 75%] Linking C shared library libutil_pkgmgr_server.so [ 60s] 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 [ 60s] /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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -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 [ 61s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 61s] [ 75%] Built target util_pkgmgr_server [ 62s] [100%] Linking C shared library libtidl_pkgmgr_server.so [ 62s] 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 [ 62s] /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 -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code -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 [ 62s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 62s] [100%] Built target tidl_pkgmgr_server [ 62s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 62s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/CMakeFiles 0 [ 62s] + export LD_LIBRARY_PATH=:/usr/lib/rustlib:/usr/lib/rustlib/dylib [ 62s] + LD_LIBRARY_PATH=:/usr/lib/rustlib:/usr/lib/rustlib/dylib [ 62s] ++ find /usr/lib -maxdepth 1 -name 'libstd-*.so' [ 62s] + __rust_std=/usr/lib/libstd-5246bcf1da9db1dd.so [ 62s] + /usr/bin/rustc -C prefer-dynamic --extern std=/usr/lib/libstd-5246bcf1da9db1dd.so -C codegen-units=1 -C debuginfo=2 -C opt-level=3 -C relocation-model=pic -C overflow-checks=on -C symbol-mangling-version=v0 -L/usr/lib/rustlib -L/usr/lib/rustlib/dylib --crate-type=bin --crate-name=rust_pkgmgr_server -L native=./tidl_pkgmgr_server -L native=./util_pkgmgr_server -l minizip --edition=2021 --extern libc=/usr/lib/rustlib/dylib/liblibc.so ./src/main.rs [ 63s] warning: unused import: `boxed` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:4:11 [ 63s] | [ 63s] 4 | use std::{boxed, str}; [ 63s] | ^^^^^ [ 63s] | [ 63s] = note: `#[warn(unused_imports)]` on by default [ 63s] [ 63s] warning: unused import: `std::mem` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:6:5 [ 63s] | [ 63s] 6 | use std::mem; [ 63s] | ^^^^^^^^ [ 63s] [ 63s] warning: unused import: `std::ptr` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:7:5 [ 63s] | [ 63s] 7 | use std::ptr; [ 63s] | ^^^^^^^^ [ 63s] [ 63s] warning: unused import: `malloc` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:8:18 [ 63s] | [ 63s] 8 | use libc::{free, malloc, strlen}; [ 63s] | ^^^^^^ [ 63s] [ 63s] warning: unused import: `super::Server` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:10:5 [ 63s] | [ 63s] 10 | use super::Server; [ 63s] | ^^^^^^^^^^^^^ [ 63s] [ 63s] warning: type `rpc_port_stub_array_string_h` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/admin_service.rs:23:6 [ 63s] | [ 63s] 23 | type rpc_port_stub_array_string_h = *mut c_void; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RpcPortStubArrayStringH` [ 63s] | [ 63s] = note: `#[warn(non_camel_case_types)]` on by default [ 63s] [ 63s] warning: unused imports: `pid_t`, `uid_t` [ 63s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 63s] | [ 63s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ ^^^^^ [ 63s] [ 63s] warning: unused imports: `c_int`, `c_void` [ 63s] --> ./src/pkgmgr/server/backend_context.rs:4:16 [ 63s] | [ 63s] 4 | use std::ffi::{c_int, c_void}; [ 63s] | ^^^^^ ^^^^^^ [ 63s] [ 63s] warning: unused import: `std::path::Path` [ 63s] --> ./src/pkgmgr/server/backend_queue.rs:10:5 [ 63s] | [ 63s] 10 | use std::path::Path; [ 63s] | ^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: denote infinite loops with `loop { ... }` [ 63s] --> ./src/pkgmgr/server/backend_queue.rs:50:9 [ 63s] | [ 63s] 50 | while true { [ 63s] | ^^^^^^^^^^ help: use `loop` [ 63s] | [ 63s] = note: `#[warn(while_true)]` on by default [ 63s] [ 63s] warning: unnecessary parentheses around `if` condition [ 63s] --> ./src/pkgmgr/server/backend_queue.rs:73:8 [ 63s] | [ 63s] 73 | if (mut_queue.is_queue_empty()) { [ 63s] | ^ ^ [ 63s] | [ 63s] = note: `#[warn(unused_parens)]` on by default [ 63s] help: remove these parentheses [ 63s] | [ 63s] 73 - if (mut_queue.is_queue_empty()) { [ 63s] 73 + if mut_queue.is_queue_empty() { [ 63s] | [ 63s] [ 63s] warning: unnecessary trailing semicolon [ 63s] --> ./src/pkgmgr/server/backend_queue.rs:297:17 [ 63s] | [ 63s] 297 | ; [ 63s] | ^ help: remove this semicolon [ 63s] | [ 63s] = note: `#[warn(redundant_semicolons)]` on by default [ 63s] [ 63s] warning: unused import: `super::Server` [ 63s] --> ./src/pkgmgr/server/cache_service.rs:1:5 [ 63s] | [ 63s] 1 | use super::Server; [ 63s] | ^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `super::Server` [ 63s] --> ./src/pkgmgr/server/delayed_service.rs:1:5 [ 63s] | [ 63s] 1 | use super::Server; [ 63s] | ^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `super::backend_context::*` [ 63s] --> ./src/pkgmgr/server/delayed_service.rs:4:5 [ 63s] | [ 63s] 4 | use super::backend_context::*; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `super::request_result::*` [ 63s] --> ./src/pkgmgr/server/delayed_service.rs:5:5 [ 63s] | [ 63s] 5 | use super::request_result::*; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `super::request_type::*` [ 63s] --> ./src/pkgmgr/server/delayed_service.rs:6:5 [ 63s] | [ 63s] 6 | use super::request_type::*; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `super::util::*` [ 63s] --> ./src/pkgmgr/server/delayed_service.rs:7:5 [ 63s] | [ 63s] 7 | use super::util::*; [ 63s] | ^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused imports: `pid_t`, `uid_t` [ 63s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 63s] | [ 63s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ ^^^^^ [ 63s] [ 63s] warning: unused import: `std::io::Error` [ 63s] --> ./src/pkgmgr/server/info_service.rs:3:5 [ 63s] | [ 63s] 3 | use std::io::Error; [ 63s] | ^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `std::mem` [ 63s] --> ./src/pkgmgr/server/info_service.rs:6:5 [ 63s] | [ 63s] 6 | use std::mem; [ 63s] | ^^^^^^^^ [ 63s] [ 63s] warning: unused import: `std::ptr` [ 63s] --> ./src/pkgmgr/server/info_service.rs:7:5 [ 63s] | [ 63s] 7 | use std::ptr; [ 63s] | ^^^^^^^^ [ 63s] [ 63s] warning: unused imports: `free`, `malloc`, `strlen` [ 63s] --> ./src/pkgmgr/server/info_service.rs:8:12 [ 63s] | [ 63s] 8 | use libc::{free, malloc, strlen, mkfifo}; [ 63s] | ^^^^ ^^^^^^ ^^^^^^ [ 63s] [ 63s] warning: unused import: `super::Server` [ 63s] --> ./src/pkgmgr/server/info_service.rs:10:5 [ 63s] | [ 63s] 10 | use super::Server; [ 63s] | ^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `super::service::Service` [ 63s] --> ./src/pkgmgr/server/info_service.rs:13:5 [ 63s] | [ 63s] 13 | use super::service::Service; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unnecessary trailing semicolon [ 63s] --> ./src/pkgmgr/server/info_service.rs:49:5 [ 63s] | [ 63s] 49 | ; [ 63s] | ^ help: remove this semicolon [ 63s] [ 63s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_result.rs:7:5 [ 63s] | [ 63s] 7 | GETSIZE_SYNC(String, i32, i32), [ 63s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 63s] [ 63s] warning: variant `GET_GENERATE_LICENSE_RESULT` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_result.rs:8:5 [ 63s] | [ 63s] 8 | GET_GENERATE_LICENSE_RESULT(String, i32, CString, CString), [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetGenerateLicenseResult` [ 63s] [ 63s] warning: variant `MOUNT_INSTALL` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:3:5 [ 63s] | [ 63s] 3 | MOUNT_INSTALL, [ 63s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MountInstall` [ 63s] [ 63s] warning: variant `ENABLE_PKG` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:7:5 [ 63s] | [ 63s] 7 | ENABLE_PKG, [ 63s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnablePkg` [ 63s] [ 63s] warning: variant `DISABLE_PKG` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:8:5 [ 63s] | [ 63s] 8 | DISABLE_PKG, [ 63s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisablePkg` [ 63s] [ 63s] warning: variant `REGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:9:5 [ 63s] | [ 63s] 9 | REGISTER_PKG_UPDATE_INFO, [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterPkgUpdateInfo` [ 63s] [ 63s] warning: variant `UNREGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:10:5 [ 63s] | [ 63s] 10 | UNREGISTER_PKG_UPDATE_INFO, [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterPkgUpdateInfo` [ 63s] [ 63s] warning: variant `UNREGISTER_ALL_PKG_UPDATE_INFO` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:11:5 [ 63s] | [ 63s] 11 | UNREGISTER_ALL_PKG_UPDATE_INFO, [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterAllPkgUpdateInfo` [ 63s] [ 63s] warning: variant `ENABLE_APP` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:12:5 [ 63s] | [ 63s] 12 | ENABLE_APP, [ 63s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableApp` [ 63s] [ 63s] warning: variant `DISABLE_APP` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:13:5 [ 63s] | [ 63s] 13 | DISABLE_APP, [ 63s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableApp` [ 63s] [ 63s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:15:5 [ 63s] | [ 63s] 15 | GETSIZE_SYNC, [ 63s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 63s] [ 63s] warning: variant `ENABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:18:5 [ 63s] | [ 63s] 18 | ENABLE_GLOBAL_APP_FOR_UID, [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableGlobalAppForUid` [ 63s] [ 63s] warning: variant `DISABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:19:5 [ 63s] | [ 63s] 19 | DISABLE_GLOBAL_APP_FOR_UID, [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableGlobalAppForUid` [ 63s] [ 63s] warning: variant `GENERATE_LICENSE_REQUEST` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:22:5 [ 63s] | [ 63s] 22 | GENERATE_LICENSE_REQUEST, [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GenerateLicenseRequest` [ 63s] [ 63s] warning: variant `REGISTER_LICENSE` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:23:5 [ 63s] | [ 63s] 23 | REGISTER_LICENSE, [ 63s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterLicense` [ 63s] [ 63s] warning: variant `DECRYPT_PACKAGE` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:24:5 [ 63s] | [ 63s] 24 | DECRYPT_PACKAGE, [ 63s] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DecryptPackage` [ 63s] [ 63s] warning: variant `ENABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:25:5 [ 63s] | [ 63s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableAppSplashScreen` [ 63s] [ 63s] warning: variant `DISABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:26:5 [ 63s] | [ 63s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableAppSplashScreen` [ 63s] [ 63s] warning: variant `SET_APP_LABEL` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:27:5 [ 63s] | [ 63s] 27 | SET_APP_LABEL, [ 63s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppLabel` [ 63s] [ 63s] warning: variant `SET_APP_ICON` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:28:5 [ 63s] | [ 63s] 28 | SET_APP_ICON, [ 63s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppIcon` [ 63s] [ 63s] warning: variant `MIGRATE_EXTERNAL_IMAGE` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:29:5 [ 63s] | [ 63s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MigrateExternalImage` [ 63s] [ 63s] warning: variant `RESOURCE_SHARE_COPY` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:30:5 [ 63s] | [ 63s] 30 | RESOURCE_SHARE_COPY, [ 63s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCopy` [ 63s] [ 63s] warning: variant `RESOURCE_SHARE_CREATE_DIR` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:31:5 [ 63s] | [ 63s] 31 | RESOURCE_SHARE_CREATE_DIR, [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCreateDir` [ 63s] [ 63s] warning: variant `RESOURCE_SHARE_REMOVE` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:32:5 [ 63s] | [ 63s] 32 | RESOURCE_SHARE_REMOVE, [ 63s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareRemove` [ 63s] [ 63s] warning: variant `RESOURCE_SHARE_UNINSTALL` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:33:5 [ 63s] | [ 63s] 33 | RESOURCE_SHARE_UNINSTALL, [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareUninstall` [ 63s] [ 63s] warning: variant `REMOVE_FILE` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:34:5 [ 63s] | [ 63s] 34 | REMOVE_FILE, [ 63s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RemoveFile` [ 63s] [ 63s] warning: unused import: `CStr` [ 63s] --> ./src/pkgmgr/server/signal.rs:1:39 [ 63s] | [ 63s] 1 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 63s] | ^^^^ [ 63s] [ 63s] warning: unused import: `pid_t` [ 63s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 63s] | [ 63s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: unused imports: `CStr`, `CString`, `c_char`, `c_void` [ 63s] --> ./src/pkgmgr/server/signal.rs:39:20 [ 63s] | [ 63s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 63s] | ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^ [ 63s] [ 63s] warning: unused import: `pid_t` [ 63s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 63s] | [ 63s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: unused import: `std::cell::RefCell` [ 63s] --> ./src/pkgmgr/server/util.rs:1:5 [ 63s] | [ 63s] 1 | use std::cell::RefCell; [ 63s] | ^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `std::rc::Rc` [ 63s] --> ./src/pkgmgr/server/util.rs:8:5 [ 63s] | [ 63s] 8 | use std::rc::Rc; [ 63s] | ^^^^^^^^^^^ [ 63s] [ 63s] warning: type `xmlChar` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/util.rs:34:6 [ 63s] | [ 63s] 34 | type xmlChar = c_uchar; [ 63s] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlChar` [ 63s] [ 63s] warning: type `xmlTextReaderPtr` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/util.rs:35:6 [ 63s] | [ 63s] 35 | type xmlTextReaderPtr = *mut c_void; [ 63s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlTextReaderPtr` [ 63s] [ 63s] warning: unused imports: `CStr`, `CString` [ 63s] --> ./src/pkgmgr/server/util.rs:39:43 [ 63s] | [ 63s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 63s] | ^^^^ ^^^^^^^ [ 63s] [ 63s] warning: unused import: `pid_t` [ 63s] --> ./src/pkgmgr/server/util.rs:40:37 [ 63s] | [ 63s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: unnecessary parentheses around `if` condition [ 63s] --> ./src/pkgmgr/server/util.rs:474:24 [ 63s] | [ 63s] 474 | if (cur == depth + 1) { [ 63s] | ^ ^ [ 63s] | [ 63s] help: remove these parentheses [ 63s] | [ 63s] 474 - if (cur == depth + 1) { [ 63s] 474 + if cur == depth + 1 { [ 63s] | [ 63s] [ 63s] warning: unnecessary parentheses around `if` condition [ 63s] --> ./src/pkgmgr/server/util.rs:571:12 [ 63s] | [ 63s] 571 | if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 63s] | ^ ^ [ 63s] | [ 63s] help: remove these parentheses [ 63s] | [ 63s] 571 - if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 63s] 571 + if unzOpenCurrentFile(uf) != UNZ_OK as c_int { [ 63s] | [ 63s] [ 63s] warning: unused import: `super::super::super::server::signal::*` [ 63s] --> ./src/pkgmgr/server/test/signal_tests.rs:1:5 [ 63s] | [ 63s] 1 | use super::super::super::server::signal::*; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 63s] | [ 63s] 3 | pub mod signal_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `std::ffi::CString` [ 63s] --> ./src/pkgmgr/server/test/signal_tests.rs:2:5 [ 63s] | [ 63s] 2 | use std::ffi::CString; [ 63s] | ^^^^^^^^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 63s] | [ 63s] 3 | pub mod signal_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `std::ffi::CStr` [ 63s] --> ./src/pkgmgr/server/test/signal_tests.rs:3:5 [ 63s] | [ 63s] 3 | use std::ffi::CStr; [ 63s] | ^^^^^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 63s] | [ 63s] 3 | pub mod signal_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `std::ffi::c_char` [ 63s] --> ./src/pkgmgr/server/test/signal_tests.rs:4:5 [ 63s] | [ 63s] 4 | use std::ffi::c_char; [ 63s] | ^^^^^^^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 63s] | [ 63s] 3 | pub mod signal_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `std::mem` [ 63s] --> ./src/pkgmgr/server/test/signal_tests.rs:5:5 [ 63s] | [ 63s] 5 | use std::mem; [ 63s] | ^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 63s] | [ 63s] 3 | pub mod signal_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `mockall::predicate::*` [ 63s] --> ./src/pkgmgr/server/test/signal_tests.rs:6:5 [ 63s] | [ 63s] 6 | use mockall::predicate::*; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 63s] | [ 63s] 3 | pub mod signal_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `mockall::*` [ 63s] --> ./src/pkgmgr/server/test/signal_tests.rs:7:5 [ 63s] | [ 63s] 7 | use mockall::*; [ 63s] | ^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 63s] | [ 63s] 3 | pub mod signal_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused imports: `pid_t`, `uid_t` [ 63s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 63s] | [ 63s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ ^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 63s] | [ 63s] 3 | pub mod signal_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 63s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:1:5 [ 63s] | [ 63s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 63s] | [ 63s] 4 | pub mod admin_service_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `super::super::super::server::admin_service::AdminService` [ 63s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:2:5 [ 63s] | [ 63s] 2 | use super::super::super::server::admin_service::AdminService; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 63s] | [ 63s] 4 | pub mod admin_service_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `super::super::super::server::service::Service` [ 63s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:3:5 [ 63s] | [ 63s] 3 | use super::super::super::server::service::Service; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 63s] | [ 63s] 4 | pub mod admin_service_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 63s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:1:5 [ 63s] | [ 63s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 63s] | [ 63s] 5 | pub mod cache_service_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `super::super::super::server::cache_service::CacheService` [ 63s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:2:5 [ 63s] | [ 63s] 2 | use super::super::super::server::cache_service::CacheService; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 63s] | [ 63s] 5 | pub mod cache_service_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `super::super::super::server::service::Service` [ 63s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:3:5 [ 63s] | [ 63s] 3 | use super::super::super::server::service::Service; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 63s] | [ 63s] 5 | pub mod cache_service_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 63s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:1:5 [ 63s] | [ 63s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 63s] | [ 63s] 6 | pub mod delayed_service_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `super::super::super::server::delayed_service::DelayedService` [ 63s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:2:5 [ 63s] | [ 63s] 2 | use super::super::super::server::delayed_service::DelayedService; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 63s] | [ 63s] 6 | pub mod delayed_service_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `super::super::super::server::service::Service` [ 63s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:3:5 [ 63s] | [ 63s] 3 | use super::super::super::server::service::Service; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 63s] | [ 63s] 6 | pub mod delayed_service_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 63s] --> ./src/pkgmgr/server/test/info_service_tests.rs:1:5 [ 63s] | [ 63s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 63s] | [ 63s] 7 | pub mod info_service_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `super::super::super::server::info_service::InfoService` [ 63s] --> ./src/pkgmgr/server/test/info_service_tests.rs:2:5 [ 63s] | [ 63s] 2 | use super::super::super::server::info_service::InfoService; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 63s] | [ 63s] 7 | pub mod info_service_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `super::super::super::server::service::Service` [ 63s] --> ./src/pkgmgr/server/test/info_service_tests.rs:3:5 [ 63s] | [ 63s] 3 | use super::super::super::server::service::Service; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 63s] | [ 63s] 7 | pub mod info_service_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `std::cell::RefCell` [ 63s] --> ./src/pkgmgr/server/mod.rs:22:5 [ 63s] | [ 63s] 22 | use std::cell::RefCell; [ 63s] | ^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `std::rc::Rc` [ 63s] --> ./src/pkgmgr/server/mod.rs:26:5 [ 63s] | [ 63s] 26 | use std::rc::Rc; [ 63s] | ^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `std::process::Command` [ 63s] --> ./src/main.rs:9:5 [ 63s] | [ 63s] 9 | use std::process::Command; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:5:26 [ 63s] | [ 63s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] | [ 63s] = note: `#[warn(deprecated)]` on by default [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:5:33 [ 63s] | [ 63s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:20:20 [ 63s] | [ 63s] 20 | const GLOBAL_USER: uid_t = 201; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:322:25 [ 63s] | [ 63s] 322 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:443:25 [ 63s] | [ 63s] 443 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:548:25 [ 63s] | [ 63s] 548 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:595:25 [ 63s] | [ 63s] 595 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:718:25 [ 63s] | [ 63s] 718 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:801:25 [ 63s] | [ 63s] 801 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:853:25 [ 63s] | [ 63s] 853 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:937:25 [ 63s] | [ 63s] 937 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:990:25 [ 63s] | [ 63s] 990 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1015:76 [ 63s] | [ 63s] 1015 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, true) { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1072:25 [ 63s] | [ 63s] 1072 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1097:76 [ 63s] | [ 63s] 1097 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, false) { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1151:25 [ 63s] | [ 63s] 1151 | let mut caller_pid: pid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1152:25 [ 63s] | [ 63s] 1152 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1166:62 [ 63s] | [ 63s] 1166 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1196:66 [ 63s] | [ 63s] 1196 | let ret = Util::RegisterPkgUpdateInfo(handle, uid as uid_t); [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1215:25 [ 63s] | [ 63s] 1215 | let mut caller_pid: pid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1216:25 [ 63s] | [ 63s] 1216 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1230:62 [ 63s] | [ 63s] 1230 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1254:109 [ 63s] | [ 63s] 1254 | RequestResult::DELAYED(generated_req_key, Util::UnregisterPkgUpdateInfo(pkg_id.as_ptr(), uid as uid_t)) [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1270:25 [ 63s] | [ 63s] 1270 | let mut caller_pid: pid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1271:25 [ 63s] | [ 63s] 1271 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1303:95 [ 63s] | [ 63s] 1303 | RequestResult::DELAYED(generated_req_key, Util::UnregisterAllPkgUpdateInfo(uid as uid_t, caller_uid)) [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1312:45 [ 63s] | [ 63s] 1312 | fn handle_enable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1359:60 [ 63s] | [ 63s] 1359 | fn handle_enable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1371:40 [ 63s] | [ 63s] 1371 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1373:40 [ 63s] | [ 63s] 1373 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1380:36 [ 63s] | [ 63s] 1380 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1382:36 [ 63s] | [ 63s] 1382 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1392:36 [ 63s] | [ 63s] 1392 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1394:36 [ 63s] | [ 63s] 1394 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1400:28 [ 63s] | [ 63s] 1400 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1403:46 [ 63s] | [ 63s] 1403 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1404:59 [ 63s] | [ 63s] 1404 | Util::EnableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1405:32 [ 63s] | [ 63s] 1405 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1409:28 [ 63s] | [ 63s] 1409 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1415:46 [ 63s] | [ 63s] 1415 | fn handle_disable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1463:61 [ 63s] | [ 63s] 1463 | fn handle_disable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1475:40 [ 63s] | [ 63s] 1475 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1477:40 [ 63s] | [ 63s] 1477 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1484:36 [ 63s] | [ 63s] 1484 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1486:36 [ 63s] | [ 63s] 1486 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1496:36 [ 63s] | [ 63s] 1496 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1498:36 [ 63s] | [ 63s] 1498 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1504:28 [ 63s] | [ 63s] 1504 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1507:46 [ 63s] | [ 63s] 1507 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1508:60 [ 63s] | [ 63s] 1508 | Util::DisableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1509:32 [ 63s] | [ 63s] 1509 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1513:28 [ 63s] | [ 63s] 1513 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1535:25 [ 63s] | [ 63s] 1535 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1562:70 [ 63s] | [ 63s] 1562 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1588:25 [ 63s] | [ 63s] 1588 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1615:71 [ 63s] | [ 63s] 1615 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1673:74 [ 63s] | [ 63s] 1673 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1735:75 [ 63s] | [ 63s] 1735 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1765:25 [ 63s] | [ 63s] 1765 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1792:85 [ 63s] | [ 63s] 1792 | RequestResult::VAL(handle_enable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1818:25 [ 63s] | [ 63s] 1818 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1845:86 [ 63s] | [ 63s] 1845 | RequestResult::VAL(handle_disable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1863:40 [ 63s] | [ 63s] 1863 | Util::KillAppsInPkg(pkg_id, uid as uid_t) [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1873:25 [ 63s] | [ 63s] 1873 | let mut caller_pid: pid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1874:25 [ 63s] | [ 63s] 1874 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1985:25 [ 63s] | [ 63s] 1985 | let mut caller_pid: pid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1986:25 [ 63s] | [ 63s] 1986 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2035:25 [ 63s] | [ 63s] 2035 | let mut caller_pid: pid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2036:25 [ 63s] | [ 63s] 2036 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2083:54 [ 63s] | [ 63s] 2083 | Util::EnableGlobalAppSplashScreen(app_id, uid as uid_t) [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2093:55 [ 63s] | [ 63s] 2093 | Util::DisableGlobalAppSplashScreen(app_id, uid as uid_t) [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2105:25 [ 63s] | [ 63s] 2105 | let mut caller_pid: pid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2106:25 [ 63s] | [ 63s] 2106 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2137:102 [ 63s] | [ 63s] 2137 | RequestResult::DELAYED(generated_req_key, Util::update_app_label(app_id.as_ptr(), uid as uid_t , label.as_ptr())) [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2155:25 [ 63s] | [ 63s] 2155 | let mut caller_pid: pid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2156:25 [ 63s] | [ 63s] 2156 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2187:101 [ 63s] | [ 63s] 2187 | RequestResult::DELAYED(generated_req_key, Util::update_app_icon(app_id.as_ptr(), uid as uid_t , icon_path.as_ptr())) [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2312:25 [ 63s] | [ 63s] 2312 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2313:25 [ 63s] | [ 63s] 2313 | let mut caller_pid: pid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2383:25 [ 63s] | [ 63s] 2383 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2384:25 [ 63s] | [ 63s] 2384 | let mut caller_pid: pid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2453:25 [ 63s] | [ 63s] 2453 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2454:25 [ 63s] | [ 63s] 2454 | let mut caller_pid: pid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2532:25 [ 63s] | [ 63s] 2532 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2622:41 [ 63s] | [ 63s] 2622 | if unsafe { check_valid_path(uid as uid_t, pkg_id, file_path) } != 0 { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2681:19 [ 63s] | [ 63s] 2681 | pid: *mut pid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2682:19 [ 63s] | [ 63s] 2682 | uid: *mut uid_t [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 63s] | [ 63s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/backend_context.rs:3:33 [ 63s] | [ 63s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/cache_service.rs:12:26 [ 63s] | [ 63s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/cache_service.rs:12:33 [ 63s] | [ 63s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/cache_service.rs:23:14 [ 63s] | [ 63s] 23 | uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/cache_service.rs:48:17 [ 63s] | [ 63s] 48 | target_uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/cache_service.rs:53:25 [ 63s] | [ 63s] 53 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/cache_service.rs:106:19 [ 63s] | [ 63s] 106 | pid: *mut pid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/cache_service.rs:107:19 [ 63s] | [ 63s] 107 | uid: *mut uid_t [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 63s] | [ 63s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/delayed_service.rs:13:33 [ 63s] | [ 63s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/info_service.rs:2:26 [ 63s] | [ 63s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/info_service.rs:2:33 [ 63s] | [ 63s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/info_service.rs:37:90 [ 63s] | [ 63s] 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... [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/info_service.rs:38:94 [ 63s] | [ 63s] 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... [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/info_service.rs:40:88 [ 63s] | [ 63s] 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... [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/info_service.rs:40:128 [ 63s] | [ 63s] 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... [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/info_service.rs:54:17 [ 63s] | [ 63s] 54 | target_uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/info_service.rs:60:25 [ 63s] | [ 63s] 60 | let mut caller_pid: pid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/info_service.rs:61:25 [ 63s] | [ 63s] 61 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/info_service.rs:114:17 [ 63s] | [ 63s] 114 | target_uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/info_service.rs:120:25 [ 63s] | [ 63s] 120 | let mut caller_pid: pid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/info_service.rs:121:25 [ 63s] | [ 63s] 121 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/info_service.rs:223:17 [ 63s] | [ 63s] 223 | target_uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/info_service.rs:225:15 [ 63s] | [ 63s] 225 | pid: *mut pid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/info_service.rs:228:43 [ 63s] | [ 63s] 228 | Util::check_app(pkg_id, target_uid as uid_t, pid) [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/info_service.rs:242:19 [ 63s] | [ 63s] 242 | pid: *mut pid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/info_service.rs:243:19 [ 63s] | [ 63s] 243 | uid: *mut uid_t [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/signal.rs:2:26 [ 63s] | [ 63s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 63s] | [ 63s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/signal.rs:99:20 [ 63s] | [ 63s] 99 | const GLOBAL_USER: uid_t = 201; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/signal.rs:101:33 [ 63s] | [ 63s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/signal.rs:101:47 [ 63s] | [ 63s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/signal.rs:102:26 [ 63s] | [ 63s] 102 | let mut uid_vec: Vec = vec![]; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/signal.rs:110:28 [ 63s] | [ 63s] 110 | let mut uids: *mut uid_t = std::ptr::null_mut(); [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/signal.rs:124:14 [ 63s] | [ 63s] 124 | uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/signal.rs:53:44 [ 63s] | [ 63s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/signal.rs:62:14 [ 63s] | [ 63s] 62 | uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/signal.rs:86:14 [ 63s] | [ 63s] 86 | uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/signal.rs:40:30 [ 63s] | [ 63s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 63s] | [ 63s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/signal.rs:44:45 [ 63s] | [ 63s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:4:26 [ 63s] | [ 63s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:4:33 [ 63s] | [ 63s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:22:21 [ 63s] | [ 63s] 22 | const REGULAR_USER: uid_t = 5000; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:23:20 [ 63s] | [ 63s] 23 | const GLOBAL_USER: uid_t = 201; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:25:18 [ 63s] | [ 63s] 25 | const APPFW_UID: uid_t = 301; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:307:36 [ 63s] | [ 63s] 307 | let uid : uid_t = user_data as uid_t; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:307:15 [ 63s] | [ 63s] 307 | let uid : uid_t = user_data as uid_t; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:326:81 [ 63s] | [ 63s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:326:93 [ 63s] | [ 63s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:326:25 [ 63s] | [ 63s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:326:37 [ 63s] | [ 63s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:389:57 [ 63s] | [ 63s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:420:55 [ 63s] | [ 63s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:686:62 [ 63s] | [ 63s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:696:63 [ 63s] | [ 63s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:706:44 [ 63s] | [ 63s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:706:63 [ 63s] | [ 63s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:728:49 [ 63s] | [ 63s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:738:50 [ 63s] | [ 63s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:747:55 [ 63s] | [ 63s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:757:56 [ 63s] | [ 63s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:766:61 [ 63s] | [ 63s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:775:62 [ 63s] | [ 63s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:784:67 [ 63s] | [ 63s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:793:68 [ 63s] | [ 63s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:802:54 [ 63s] | [ 63s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:802:64 [ 63s] | [ 63s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:813:47 [ 63s] | [ 63s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:835:53 [ 63s] | [ 63s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:855:25 [ 63s] | [ 63s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:983:69 [ 63s] | [ 63s] 983 | pub fn get_application_info_by_appid(appid: *const c_char, uid: uid_t) -> Option<(CString, bool)> { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:1012:41 [ 63s] | [ 63s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:1012:53 [ 63s] | [ 63s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:1029:71 [ 63s] | [ 63s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:1029:90 [ 63s] | [ 63s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:1076:56 [ 63s] | [ 63s] 1076 | pub fn update_app_label(appid: *const c_char, uid: uid_t, label: *const c_char) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:1080:55 [ 63s] | [ 63s] 1080 | pub fn update_app_icon(appid: *const c_char, uid: uid_t, icon_path: *const c_char) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:1108:49 [ 63s] | [ 63s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:1108:66 [ 63s] | [ 63s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:156:14 [ 63s] | [ 63s] 156 | uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:166:14 [ 63s] | [ 63s] 166 | uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:180:14 [ 63s] | [ 63s] 180 | uid: uid_t [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:185:14 [ 63s] | [ 63s] 185 | uid: uid_t [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:189:14 [ 63s] | [ 63s] 189 | uid: uid_t [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:194:14 [ 63s] | [ 63s] 194 | uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:200:14 [ 63s] | [ 63s] 200 | uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:206:14 [ 63s] | [ 63s] 206 | uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:212:14 [ 63s] | [ 63s] 212 | uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:218:14 [ 63s] | [ 63s] 218 | uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:224:14 [ 63s] | [ 63s] 224 | uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:237:32 [ 63s] | [ 63s] 237 | fn gum_user_get_sync(uid : uid_t, offline : c_int) -> *mut c_void; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:266:21 [ 63s] | [ 63s] 266 | caller_uid: uid_t [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:274:14 [ 63s] | [ 63s] 274 | uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:40:30 [ 63s] | [ 63s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:40:37 [ 63s] | [ 63s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:46:18 [ 63s] | [ 63s] 46 | uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:52:18 [ 63s] | [ 63s] 52 | uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:67:18 [ 63s] | [ 63s] 67 | uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:101:18 [ 63s] | [ 63s] 101 | uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:122:70 [ 63s] | [ 63s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:123:66 [ 63s] | [ 63s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:124:59 [ 63s] | [ 63s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:125:97 [ 63s] | [ 63s] 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; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 63s] | [ 63s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 63s] | [ 63s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: unreachable expression [ 63s] --> ./src/pkgmgr/server/backend_queue.rs:64:5 [ 63s] | [ 63s] 61 | return G_SOURCE_CONTINUE; [ 63s] | ------------------------ any code following this expression is unreachable [ 63s] ... [ 63s] 64 | 1 [ 63s] | ^ unreachable expression [ 63s] | [ 63s] = note: `#[warn(unreachable_code)]` on by default [ 63s] [ 63s] warning: unused variable: `context` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:297:5 [ 63s] | [ 63s] 297 | context: *mut c_void, [ 63s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 63s] | [ 63s] = note: `#[warn(unused_variables)]` on by default [ 63s] [ 63s] warning: unused variable: `context` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:306:5 [ 63s] | [ 63s] 306 | context: *mut c_void, [ 63s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 63s] [ 63s] warning: unused variable: `user_data` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:307:5 [ 63s] | [ 63s] 307 | user_data: *mut c_void, [ 63s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 63s] [ 63s] warning: unused variable: `ret` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:323:9 [ 63s] | [ 63s] 323 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 63s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 63s] [ 63s] warning: unused variable: `req_id` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:318:5 [ 63s] | [ 63s] 318 | req_id: *const c_char, [ 63s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:415:9 [ 63s] | [ 63s] 415 | let mut backend_context = BackendContext::new( [ 63s] | ----^^^^^^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] | [ 63s] = note: `#[warn(unused_mut)]` on by default [ 63s] [ 63s] warning: unused variable: `ret` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:444:9 [ 63s] | [ 63s] 444 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 63s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 63s] [ 63s] warning: unused variable: `req_id` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:434:5 [ 63s] | [ 63s] 434 | req_id: *const c_char, [ 63s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:510:9 [ 63s] | [ 63s] 510 | let mut backend_context = BackendContext::new( [ 63s] | ----^^^^^^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: unused variable: `ret` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:549:9 [ 63s] | [ 63s] 549 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 63s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:571:9 [ 63s] | [ 63s] 571 | let mut backend_context = BackendContext::new( [ 63s] | ----^^^^^^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: unused variable: `ret` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:596:9 [ 63s] | [ 63s] 596 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 63s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 63s] [ 63s] warning: unused variable: `req_id` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:591:5 [ 63s] | [ 63s] 591 | req_id: *const c_char, [ 63s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:688:9 [ 63s] | [ 63s] 688 | let mut backend_context = BackendContext::new( [ 63s] | ----^^^^^^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: unused variable: `ret` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:719:9 [ 63s] | [ 63s] 719 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 63s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 63s] [ 63s] warning: unused variable: `req_id` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:706:5 [ 63s] | [ 63s] 706 | req_id: *const c_char, [ 63s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:763:9 [ 63s] | [ 63s] 763 | let mut backend_context = BackendContext::new( [ 63s] | ----^^^^^^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: unused variable: `ret` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:802:9 [ 63s] | [ 63s] 802 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 63s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:824:9 [ 63s] | [ 63s] 824 | let mut backend_context = BackendContext::new( [ 63s] | ----^^^^^^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: unused variable: `ret` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:854:9 [ 63s] | [ 63s] 854 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 63s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:898:9 [ 63s] | [ 63s] 898 | let mut backend_context = BackendContext::new( [ 63s] | ----^^^^^^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: unused variable: `ret` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:938:9 [ 63s] | [ 63s] 938 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 63s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:961:9 [ 63s] | [ 63s] 961 | let mut backend_context = BackendContext::new( [ 63s] | ----^^^^^^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: unused variable: `ret` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:991:9 [ 63s] | [ 63s] 991 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 63s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1038:17 [ 63s] | [ 63s] 1038 | let mut backend_context = BackendContext::new( [ 63s] | ----^^^^^^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: unused variable: `ret` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1073:9 [ 63s] | [ 63s] 1073 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 63s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1123:17 [ 63s] | [ 63s] 1123 | let mut backend_context = BackendContext::new( [ 63s] | ----^^^^^^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: unused variable: `pkg_id` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1186:9 [ 63s] | [ 63s] 1186 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) }); [ 63s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1180:9 [ 63s] | [ 63s] 1180 | let mut handle : *mut c_void = Util::CreatePkgUpdateInfo(pkg_id, version, update_type); [ 63s] | ----^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1190:9 [ 63s] | [ 63s] 1190 | let mut backend_context = BackendContext::new( [ 63s] | ----^^^^^^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1248:9 [ 63s] | [ 63s] 1248 | let mut backend_context = BackendContext::new( [ 63s] | ----^^^^^^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1297:9 [ 63s] | [ 63s] 1297 | let mut backend_context = BackendContext::new( [ 63s] | ----^^^^^^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: unused variable: `is_global` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1321:17 [ 63s] | [ 63s] 1321 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 63s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 63s] [ 63s] warning: unused variable: `is_global` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1368:17 [ 63s] | [ 63s] 1368 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 63s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 63s] [ 63s] warning: unused variable: `is_global` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1424:17 [ 63s] | [ 63s] 1424 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 63s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 63s] [ 63s] warning: unused variable: `is_global` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1472:17 [ 63s] | [ 63s] 1472 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 63s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 63s] [ 63s] warning: unused variable: `caller_uid` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1535:13 [ 63s] | [ 63s] 1535 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 63s] [ 63s] warning: unused variable: `context` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1521:5 [ 63s] | [ 63s] 1521 | context: *mut c_void, [ 63s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1535:9 [ 63s] | [ 63s] 1535 | let mut caller_uid: uid_t = 0; [ 63s] | ----^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1558:13 [ 63s] | [ 63s] 1558 | let mut backend_context = BackendContext::new( [ 63s] | ----^^^^^^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: unused variable: `caller_uid` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1588:13 [ 63s] | [ 63s] 1588 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 63s] [ 63s] warning: unused variable: `context` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1574:5 [ 63s] | [ 63s] 1574 | context: *mut c_void, [ 63s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1588:9 [ 63s] | [ 63s] 1588 | let mut caller_uid: uid_t = 0; [ 63s] | ----^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1611:13 [ 63s] | [ 63s] 1611 | let mut backend_context = BackendContext::new( [ 63s] | ----^^^^^^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: unused variable: `context` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1627:5 [ 63s] | [ 63s] 1627 | context: *mut c_void, [ 63s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1669:17 [ 63s] | [ 63s] 1669 | let mut backend_context = BackendContext::new( [ 63s] | ----^^^^^^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: unused variable: `context` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1689:5 [ 63s] | [ 63s] 1689 | context: *mut c_void, [ 63s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1731:17 [ 63s] | [ 63s] 1731 | let mut backend_context = BackendContext::new( [ 63s] | ----^^^^^^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: unused variable: `caller_uid` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1765:13 [ 63s] | [ 63s] 1765 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 63s] [ 63s] warning: unused variable: `context` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1751:5 [ 63s] | [ 63s] 1751 | context: *mut c_void, [ 63s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1765:9 [ 63s] | [ 63s] 1765 | let mut caller_uid: uid_t = 0; [ 63s] | ----^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1788:13 [ 63s] | [ 63s] 1788 | let mut backend_context = BackendContext::new( [ 63s] | ----^^^^^^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: unused variable: `caller_uid` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1818:13 [ 63s] | [ 63s] 1818 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 63s] [ 63s] warning: unused variable: `context` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1804:5 [ 63s] | [ 63s] 1804 | context: *mut c_void, [ 63s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1818:9 [ 63s] | [ 63s] 1818 | let mut caller_uid: uid_t = 0; [ 63s] | ----^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1841:13 [ 63s] | [ 63s] 1841 | let mut backend_context = BackendContext::new( [ 63s] | ----^^^^^^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: unused variable: `context` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1857:5 [ 63s] | [ 63s] 1857 | context: *mut c_void, [ 63s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 63s] [ 63s] warning: unused variable: `pid` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1860:5 [ 63s] | [ 63s] 1860 | pid: *mut c_int, [ 63s] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [ 63s] [ 63s] warning: unused variable: `user_data` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1861:5 [ 63s] | [ 63s] 1861 | user_data: *mut c_void, [ 63s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1900:9 [ 63s] | [ 63s] 1900 | let mut backend_context = BackendContext::new( [ 63s] | ----^^^^^^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: unused variable: `context` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1932:5 [ 63s] | [ 63s] 1932 | context: *mut c_void, [ 63s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2012:9 [ 63s] | [ 63s] 2012 | let mut backend_context = BackendContext::new( [ 63s] | ----^^^^^^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2063:9 [ 63s] | [ 63s] 2063 | let mut backend_context = BackendContext::new( [ 63s] | ----^^^^^^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: unused variable: `context` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2078:5 [ 63s] | [ 63s] 2078 | context: *mut c_void, [ 63s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 63s] [ 63s] warning: unused variable: `user_data` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2081:5 [ 63s] | [ 63s] 2081 | user_data: *mut c_void, [ 63s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 63s] [ 63s] warning: unused variable: `context` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2088:5 [ 63s] | [ 63s] 2088 | context: *mut c_void, [ 63s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 63s] [ 63s] warning: unused variable: `user_data` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2091:5 [ 63s] | [ 63s] 2091 | user_data: *mut c_void, [ 63s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2133:9 [ 63s] | [ 63s] 2133 | let mut backend_context = BackendContext::new( [ 63s] | ----^^^^^^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2183:9 [ 63s] | [ 63s] 2183 | let mut backend_context = BackendContext::new( [ 63s] | ----^^^^^^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: unused variable: `context` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2198:5 [ 63s] | [ 63s] 2198 | context: *mut c_void, [ 63s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 63s] [ 63s] warning: unused variable: `uid` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2199:5 [ 63s] | [ 63s] 2199 | uid: c_int, [ 63s] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [ 63s] [ 63s] warning: unused variable: `pkg_id` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2200:5 [ 63s] | [ 63s] 2200 | pkg_id: *const c_char, [ 63s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 63s] [ 63s] warning: unused variable: `user_data` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2201:5 [ 63s] | [ 63s] 2201 | user_data: *mut c_void, [ 63s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2364:9 [ 63s] | [ 63s] 2364 | let mut backend_context = BackendContext::new( [ 63s] | ----^^^^^^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2434:9 [ 63s] | [ 63s] 2434 | let mut backend_context = BackendContext::new( [ 63s] | ----^^^^^^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2504:9 [ 63s] | [ 63s] 2504 | let mut backend_context = BackendContext::new( [ 63s] | ----^^^^^^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: unused variable: `ret` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2533:9 [ 63s] | [ 63s] 2533 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 63s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2552:9 [ 63s] | [ 63s] 2552 | let mut backend_context = BackendContext::new( [ 63s] | ----^^^^^^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: unused variable: `context` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2567:5 [ 63s] | [ 63s] 2567 | context: *mut c_void, [ 63s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2597:9 [ 63s] | [ 63s] 2597 | let mut backend_context = BackendContext::new( [ 63s] | ----^^^^^^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: unused variable: `context` [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2612:5 [ 63s] | [ 63s] 2612 | context: *mut c_void, [ 63s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2656:9 [ 63s] | [ 63s] 2656 | let mut backend_context = BackendContext::new( [ 63s] | ----^^^^^^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: unused variable: `status` [ 63s] --> ./src/pkgmgr/server/backend_queue.rs:38:17 [ 63s] | [ 63s] 38 | let mut status: c_int; [ 63s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [ 63s] [ 63s] warning: unused variable: `io` [ 63s] --> ./src/pkgmgr/server/backend_queue.rs:30:33 [ 63s] | [ 63s] 30 | extern "C" fn signal_handler_cb(io: *mut glib_sys::GIOChannel, [ 63s] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [ 63s] [ 63s] warning: unused variable: `cond` [ 63s] --> ./src/pkgmgr/server/backend_queue.rs:31:9 [ 63s] | [ 63s] 31 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 63s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/backend_queue.rs:71:9 [ 63s] | [ 63s] 71 | let mut mut_queue = queue.borrow_mut(); [ 63s] | ----^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/backend_queue.rs:189:28 [ 63s] | [ 63s] 189 | pub fn push(&mut self, mut context: BackendContext) -> i32 { [ 63s] | ----^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: unused variable: `req_key` [ 63s] --> ./src/pkgmgr/server/backend_queue.rs:296:41 [ 63s] | [ 63s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 63s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_key` [ 63s] [ 63s] warning: unused variable: `ret` [ 63s] --> ./src/pkgmgr/server/backend_queue.rs:296:50 [ 63s] | [ 63s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 63s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 63s] [ 63s] warning: unused variable: `s` [ 63s] --> ./src/pkgmgr/server/backend_queue.rs:296:55 [ 63s] | [ 63s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 63s] | ^ help: if this is intentional, prefix it with an underscore: `_s` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/backend_queue.rs:278:25 [ 63s] | [ 63s] 278 | let mut backend: &mut Backend = backend.unwrap(); [ 63s] | ----^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: unused variable: `context` [ 63s] --> ./src/pkgmgr/server/cache_service.rs:31:5 [ 63s] | [ 63s] 31 | context: *mut c_void, [ 63s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 63s] [ 63s] warning: unused variable: `context` [ 63s] --> ./src/pkgmgr/server/cache_service.rs:40:5 [ 63s] | [ 63s] 40 | context: *mut c_void, [ 63s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 63s] [ 63s] warning: unused variable: `user_data` [ 63s] --> ./src/pkgmgr/server/cache_service.rs:41:5 [ 63s] | [ 63s] 41 | user_data: *mut c_void, [ 63s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 63s] [ 63s] warning: unused variable: `ret` [ 63s] --> ./src/pkgmgr/server/cache_service.rs:54:9 [ 63s] | [ 63s] 54 | let ret = unsafe { rpc_port_stub_PkgMgrForClearCache_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 63s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 63s] [ 63s] warning: value assigned to `pkg_type` is never read [ 63s] --> ./src/pkgmgr/server/cache_service.rs:63:13 [ 63s] | [ 63s] 63 | let mut pkg_type: String = String::new(); [ 63s] | ^^^^^^^^ [ 63s] | [ 63s] = help: maybe it is overwritten before being read? [ 63s] = note: `#[warn(unused_assignments)]` on by default [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/cache_service.rs:83:9 [ 63s] | [ 63s] 83 | let mut backend_context = BackendContext::new( [ 63s] | ----^^^^^^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: unused variable: `context` [ 63s] --> ./src/pkgmgr/server/delayed_service.rs:32:5 [ 63s] | [ 63s] 32 | context: *mut c_void, [ 63s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 63s] [ 63s] warning: unused variable: `context` [ 63s] --> ./src/pkgmgr/server/delayed_service.rs:41:5 [ 63s] | [ 63s] 41 | context: *mut c_void, [ 63s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 63s] [ 63s] warning: unused variable: `user_data` [ 63s] --> ./src/pkgmgr/server/delayed_service.rs:42:5 [ 63s] | [ 63s] 42 | user_data: *mut c_void, [ 63s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 63s] [ 63s] warning: unused variable: `context` [ 63s] --> ./src/pkgmgr/server/delayed_service.rs:48:5 [ 63s] | [ 63s] 48 | context: *mut c_void, [ 63s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 63s] [ 63s] warning: unused variable: `context` [ 63s] --> ./src/pkgmgr/server/info_service.rs:43:55 [ 63s] | [ 63s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 63s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 63s] [ 63s] warning: unused variable: `context` [ 63s] --> ./src/pkgmgr/server/info_service.rs:48:58 [ 63s] | [ 63s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 63s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 63s] [ 63s] warning: unused variable: `user_data` [ 63s] --> ./src/pkgmgr/server/info_service.rs:48:80 [ 63s] | [ 63s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 63s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/info_service.rs:98:9 [ 63s] | [ 63s] 98 | let mut backend_context = BackendContext::new( [ 63s] | ----^^^^^^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/info_service.rs:160:9 [ 63s] | [ 63s] 160 | let mut backend_context = BackendContext::new( [ 63s] | ----^^^^^^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: unused variable: `context` [ 63s] --> ./src/pkgmgr/server/info_service.rs:195:5 [ 63s] | [ 63s] 195 | context: *mut c_void, [ 63s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 63s] [ 63s] warning: unused variable: `context` [ 63s] --> ./src/pkgmgr/server/info_service.rs:222:5 [ 63s] | [ 63s] 222 | context: *mut c_void, [ 63s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 63s] [ 63s] warning: unused variable: `user_data` [ 63s] --> ./src/pkgmgr/server/info_service.rs:226:5 [ 63s] | [ 63s] 226 | user_data: *mut c_void [ 63s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/signal.rs:144:13 [ 63s] | [ 63s] 144 | let mut c_req_type: c_int; [ 63s] | ----^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: value assigned to `size_result` is never read [ 63s] --> ./src/pkgmgr/server/util.rs:351:17 [ 63s] | [ 63s] 351 | let mut size_result: i64 = -1; [ 63s] | ^^^^^^^^^^^ [ 63s] | [ 63s] = help: maybe it is overwritten before being read? [ 63s] [ 63s] warning: unused variable: `cond` [ 63s] --> ./src/pkgmgr/server/util.rs:341:9 [ 63s] | [ 63s] 341 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 63s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 63s] [ 63s] warning: value assigned to `ret` is never read [ 63s] --> ./src/pkgmgr/server/util.rs:425:21 [ 63s] | [ 63s] 425 | let mut ret: c_int = 0; [ 63s] | ^^^ [ 63s] | [ 63s] = help: maybe it is overwritten before being read? [ 63s] [ 63s] warning: unreachable pattern [ 63s] --> ./src/pkgmgr/server/util.rs:478:17 [ 63s] | [ 63s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 63s] | -------------------------------------- matches any value [ 63s] ... [ 63s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 63s] | [ 63s] = note: `#[warn(unreachable_patterns)]` on by default [ 63s] [ 63s] warning: unreachable pattern [ 63s] --> ./src/pkgmgr/server/util.rs:483:17 [ 63s] | [ 63s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 63s] | -------------------------------------- matches any value [ 63s] ... [ 63s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 63s] [ 63s] warning: unreachable pattern [ 63s] --> ./src/pkgmgr/server/util.rs:488:17 [ 63s] | [ 63s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 63s] | -------------------------------------- matches any value [ 63s] ... [ 63s] 488 | _ => { [ 63s] | ^ unreachable pattern [ 63s] [ 63s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 63s] --> ./src/pkgmgr/server/util.rs:473:17 [ 63s] | [ 63s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 63s] [ 63s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_TEXT` [ 63s] --> ./src/pkgmgr/server/util.rs:478:17 [ 63s] | [ 63s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_TEXT` [ 63s] [ 63s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 63s] --> ./src/pkgmgr/server/util.rs:483:17 [ 63s] | [ 63s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/util.rs:519:13 [ 63s] | [ 63s] 519 | let mut attr = xmlTextReaderGetAttribute(reader, RES_TYPE_ATTRIBUTE_KEY.as_ptr()); [ 63s] | ----^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/util.rs:588:13 [ 63s] | [ 63s] 588 | let mut reader = [ 63s] | ----^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: unused variable: `gid` [ 63s] --> ./src/pkgmgr/server/util.rs:891:52 [ 63s] | [ 63s] 891 | fn set_environment(mut envs: Vec<&mut String>, gid: libc::gid_t) -> bool { [ 63s] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [ 63s] [ 64s] warning: variable does not need to be mutable [ 64s] --> ./src/pkgmgr/server/mod.rs:89:13 [ 64s] | [ 64s] 89 | let mut backend_queue = BackendQueue::new(self.mainloop); [ 64s] | ----^^^^^^^^^^^^^ [ 64s] | | [ 64s] | help: remove this `mut` [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/server/admin_service.rs:995:32 [ 64s] | [ 64s] 993 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] 994 | match CString::new(generated_req_key.clone()) { [ 64s] 995 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] = note: `#[warn(unused_unsafe)]` on by default [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/admin_service.rs:993:5 [ 64s] | [ 64s] 993 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 997 | error!("Fail to generate req key, err({:?})", e); [ 64s] | ------------------------------------------------ in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1023:46 [ 64s] | [ 64s] 993 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 1023 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1077:32 [ 64s] | [ 64s] 1075 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] 1076 | match CString::new(generated_req_key.clone()) { [ 64s] 1077 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 64s] | [ 64s] 1075 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 1079 | error!("Fail to generate req key, err({:?})", e); [ 64s] | ------------------------------------------------ in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 64s] | [ 64s] 1075 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 1106 | debug!("push disable pkg {pkg_id}"); [ 64s] | ----------------------------------- in this macro invocation [ 64s] | [ 64s] = 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) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1108:46 [ 64s] | [ 64s] 1075 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 1108 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1537:5 [ 64s] | [ 64s] 1537 | unsafe { [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1590:5 [ 64s] | [ 64s] 1590 | unsafe { [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1643:32 [ 64s] | [ 64s] 1641 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] 1642 | match CString::new(generated_req_key.clone()) { [ 64s] 1643 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/admin_service.rs:1641:5 [ 64s] | [ 64s] 1641 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 1645 | error!("Fail to generate req key, err({:?})", e); [ 64s] | ------------------------------------------------ in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1657:42 [ 64s] | [ 64s] 1641 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 1657 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1705:32 [ 64s] | [ 64s] 1703 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] 1704 | match CString::new(generated_req_key.clone()) { [ 64s] 1705 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/admin_service.rs:1703:5 [ 64s] | [ 64s] 1703 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 1707 | error!("Fail to generate req key, err({:?})", e); [ 64s] | ------------------------------------------------ in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1719:42 [ 64s] | [ 64s] 1703 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 1719 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1767:5 [ 64s] | [ 64s] 1767 | unsafe { [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/server/admin_service.rs:1820:5 [ 64s] | [ 64s] 1820 | unsafe { [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/server/admin_service.rs:2296:17 [ 64s] | [ 64s] 2294 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] 2295 | if !(*value.offset(i as isize)).is_null() { [ 64s] 2296 | unsafe { free(*value.offset(i as isize) as *mut _) }; [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/admin_service.rs:2793:9 [ 64s] | [ 64s] 2793 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] 2794 | let ret = rpc_port_stub_PkgMgrAdmin_register(&mut self.callbacks, self as *mut _ as *mut c_void); [ 64s] 2795 | debug!("admin service start : {ret}"); [ 64s] | ------------------------------------- in this macro invocation [ 64s] | [ 64s] = 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) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/admin_service.rs:2801:9 [ 64s] | [ 64s] 2801 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] 2802 | let ret = rpc_port_stub_PkgMgrAdmin_unregister(); [ 64s] 2803 | debug!("ret : {ret}"); [ 64s] | --------------------- in this macro invocation [ 64s] | [ 64s] = 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) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 64s] | [ 64s] 204 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 210 | error!("sigprocmask failed"); [ 64s] | ---------------------------- in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 64s] | [ 64s] 204 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 216 | error!("signalfd failed"); [ 64s] | ------------------------- in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/cache_service.rs:134:9 [ 64s] | [ 64s] 134 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 139 | debug!("cache service start : {ret}"); [ 64s] | ------------------------------------- in this macro invocation [ 64s] | [ 64s] = 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) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/cache_service.rs:145:9 [ 64s] | [ 64s] 145 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] 146 | let ret = rpc_port_stub_PkgMgrForClearCache_unregister(); [ 64s] 147 | debug!("ret : {ret}"); [ 64s] | --------------------- in this macro invocation [ 64s] | [ 64s] = 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) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/delayed_service.rs:107:9 [ 64s] | [ 64s] 107 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 112 | debug!("delayed result service start : {ret}"); [ 64s] | ---------------------------------------------- in this macro invocation [ 64s] | [ 64s] = 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) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/delayed_service.rs:118:9 [ 64s] | [ 64s] 118 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] 119 | let ret = rpc_port_stub_DelayedResult_unregister(); [ 64s] 120 | debug!("ret : {ret}"); [ 64s] | --------------------- in this macro invocation [ 64s] | [ 64s] = 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) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/info_service.rs:165:13 [ 64s] | [ 64s] 165 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] 166 | if mkfifo(fifo_path.as_ptr() as *const c_char, 0o600) < 0 { [ 64s] 167 | error!("Failed to mkfifo"); [ 64s] | -------------------------- in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/info_service.rs:268:9 [ 64s] | [ 64s] 268 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 273 | debug!("info service start : {ret}"); [ 64s] | ------------------------------------ in this macro invocation [ 64s] | [ 64s] = 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) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/info_service.rs:279:9 [ 64s] | [ 64s] 279 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] 280 | let ret = rpc_port_stub_PkgMgr_unregister(); [ 64s] 281 | debug!("ret : {ret}"); [ 64s] | --------------------- in this macro invocation [ 64s] | [ 64s] = 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) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 64s] | [ 64s] 131 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 134 | error!("Failure in creating the pkgmgr_installer object"); [ 64s] | --------------------------------------------------------- in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 64s] | [ 64s] 131 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 139 | error!("pkgmgr_installer_set_uid fail"); [ 64s] | --------------------------------------- in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 64s] | [ 64s] 131 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 154 | warn!("Unsupported req_type[{}]", req_type as c_int); [ 64s] | ---------------------------------------------------- in this macro invocation [ 64s] | [ 64s] = 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) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 64s] | [ 64s] 131 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 161 | error!("pkgmgr_installer_set_request_type fail"); [ 64s] | ------------------------------------------------ in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 64s] | [ 64s] 131 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 168 | error!("pkgmgr_installer_set_session_id fail : {:?}", c_req_id); [ 64s] | --------------------------------------------------------------- in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 64s] | [ 64s] 309 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] 310 | if pkgmgrinfo_appinfo_get_appid(pkgmgrinfo_appinfo_h, &mut app_id) != 0 { [ 64s] 311 | error!("Failed get appid"); [ 64s] | -------------------------- in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 64s] | [ 64s] 309 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 314 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 64s] | --------------------------------------------------------- in this macro invocation [ 64s] | [ 64s] = 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) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/server/util.rs:326:46 [ 64s] | [ 64s] 325 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 64s] | [ 64s] 325 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 329 | error!("Failed get appid"); [ 64s] | -------------------------- in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 64s] | [ 64s] 325 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 333 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 64s] | --------------------------------------------------------- in this macro invocation [ 64s] | [ 64s] = 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) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 64s] | [ 64s] 342 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 355 | error!("getsize fd read failed: {:?}", Util::c_char_to_cstr((*err).message)); [ 64s] | ---------------------------------------------------------------------------- in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 64s] | [ 64s] 342 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 361 | error!("empty result"); [ 64s] | ---------------------- in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 64s] | [ 64s] 390 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 399 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 64s] | --------------------------------------------------------- in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 64s] | [ 64s] 390 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 406 | error!("Fail to get is readonly"); [ 64s] | --------------------------------- in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 64s] | [ 64s] 422 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 429 | error!("Not found package"); [ 64s] | --------------------------- in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 64s] | [ 64s] 422 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 445 | debug!("pkgtype - {ret_string}"); [ 64s] | -------------------------------- in this macro invocation [ 64s] | [ 64s] = 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) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:803:9 [ 64s] | [ 64s] 803 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] 804 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 64s] 805 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 64s] | ------------------------------------------------------ in this macro invocation [ 64s] | [ 64s] = 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) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 64s] | [ 64s] 814 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] 815 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 64s] 816 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 64s] | ------------------------------------------------------ in this macro invocation [ 64s] | [ 64s] = 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) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 64s] | [ 64s] 814 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 822 | error!("Failed to get pid of app{:?}", CStr::from_ptr(appid)); [ 64s] | ------------------------------------------------------------- in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 64s] | [ 64s] 814 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 828 | error!("Failed to terminate app{:?}", CStr::from_ptr(appid)); [ 64s] | ------------------------------------------------------------ in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 64s] | [ 64s] 836 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 840 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 64s] | --------------------------------------------------------- in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 64s] | [ 64s] 836 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 848 | error!("Failed to get list for {:?}", CStr::from_ptr(pkgid)); [ 64s] | ------------------------------------------------------------ in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 64s] | [ 64s] 859 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 863 | warn!("cannot get user information from gumd, retry"); [ 64s] | ----------------------------------------------------- in this macro invocation [ 64s] | [ 64s] = 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) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 64s] | [ 64s] 859 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 871 | error!("cannot get user information from gumd, failed"); [ 64s] | ------------------------------------------------------- in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 64s] | [ 64s] 859 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 877 | error!("cannot get user type"); [ 64s] | ------------------------------ in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 64s] | [ 64s] 892 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 895 | error!("Failed to get the number of supplementary group IDs"); [ 64s] | ------------------------------------------------------------- in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 64s] | [ 64s] 892 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 901 | error!("Failed to get list of supplementary group IDs"); [ 64s] | ------------------------------------------------------- in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 64s] | [ 64s] 892 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 908 | error!("setgroups failed: {}", *__errno_location()); [ 64s] | --------------------------------------------------- in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 64s] | [ 64s] 928 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 942 | error!("getpwuid_r fail"); [ 64s] | ------------------------- in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 64s] | [ 64s] 928 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 949 | error!("Fail to get str, err({:?})", e); [ 64s] | --------------------------------------- in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 64s] | [ 64s] 928 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 957 | error!("Fail to get str, err({:?})", e); [ 64s] | --------------------------------------- in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 64s] | [ 64s] 928 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 966 | error!("Failed to set env for the user : {}", APPFW_UID); [ 64s] | -------------------------------------------------------- in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 64s] | [ 64s] 984 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 987 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 64s] | ----------------------------------------------------------------------------------- in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 64s] | [ 64s] 984 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 993 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 64s] | ---------------------------------------------------------------------------- in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 64s] | [ 64s] 984 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 1000 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 64s] | ---------------------------------------------------------------------------- in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/server/util.rs:1005:40 [ 64s] | [ 64s] 984 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 1005 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) } ); [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 64s] | [ 64s] 1081 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 1084 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 64s] | ----------------------------------------------------------------------------------- in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 64s] | [ 64s] 1081 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 1090 | error!("Failed get root path for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 64s] | --------------------------------------------------------------------------- in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 64s] | [ 64s] 1081 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 1098 | error!("Invalid path[{:?}]", Self::c_char_to_cstr(icon_path)); [ 64s] | ------------------------------------------------------------- in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:1109:9 [ 64s] | [ 64s] 1109 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 1119 | error!("Fail to get list for {:?}", CStr::from_ptr(pkgid)); [ 64s] | ---------------------------------------------------------- in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 64s] | [ 64s] 1129 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 1132 | error!("failed to open the fifo({}), errno({})", fifo_path, *__errno_location()); [ 64s] | -------------------------------------------------------------------------------- in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: unnecessary `unsafe` block [ 64s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 64s] | [ 64s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 64s] | ^^^^^^ unnecessary `unsafe` block [ 64s] | [ 64s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 64s] | [ 64s] 1129 | unsafe { [ 64s] | ------ because it's nested under this `unsafe` block [ 64s] ... [ 64s] 1155 | error!("failed to add io watch"); [ 64s] | -------------------------------- in this macro invocation [ 64s] | [ 64s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 64s] [ 64s] warning: constant `SD_LISTEN_FDS_START` is never used [ 64s] --> ./src/pkgmgr/server/mod.rs:28:7 [ 64s] | [ 64s] 28 | const SD_LISTEN_FDS_START: i32 = 3; [ 64s] | ^^^^^^^^^^^^^^^^^^^ [ 64s] | [ 64s] = note: `#[warn(dead_code)]` on by default [ 64s] [ 64s] warning: multiple variants are never constructed [ 64s] --> ./src/pkgmgr/server/mod.rs:43:5 [ 64s] | [ 64s] 42 | enum AUL_RETURN_VALUE { [ 64s] | ---------------- variants in this enum [ 64s] 43 | AUL_R_ENOMEM = -16, //< Out of memory (Since 5.5) [ 64s] | ^^^^^^^^^^^^ [ 64s] 44 | AUL_R_ENOENT = -15, //< App directory entry error [ 64s] | ^^^^^^^^^^^^ [ 64s] 45 | AUL_R_EREJECTED = -14, //< App disable for mode [ 64s] | ^^^^^^^^^^^^^^^ [ 64s] 46 | AUL_R_ENOAPP = -13, //< Failed to find app ID or pkg ID [ 64s] | ^^^^^^^^^^^^ [ 64s] 47 | AUL_R_EHIDDENFORGUEST = -11, //< App hidden for guest mode [ 64s] | ^^^^^^^^^^^^^^^^^^^^^ [ 64s] 48 | AUL_R_ENOLAUNCHPAD = -10, //< no launchpad [ 64s] | ^^^^^^^^^^^^^^^^^^ [ 64s] 49 | AUL_R_ETERMINATING = -9, //< application terminating [ 64s] | ^^^^^^^^^^^^^^^^^^ [ 64s] 50 | AUL_R_EILLACC = -8, //< Illegal Access [ 64s] | ^^^^^^^^^^^^^ [ 64s] 51 | AUL_R_LOCAL = -7, //< Launch by himself [ 64s] | ^^^^^^^^^^^ [ 64s] 52 | AUL_R_ETIMEOUT = -6, //< Timeout [ 64s] | ^^^^^^^^^^^^^^ [ 64s] 53 | AUL_R_ECANCELED = -5, //< Operation canceled [ 64s] | ^^^^^^^^^^^^^^^ [ 64s] 54 | AUL_R_EINVAL = -4, //< Invalid argument [ 64s] | ^^^^^^^^^^^^ [ 64s] 55 | AUL_R_ECOMM = -3, //< Comunication Error [ 64s] | ^^^^^^^^^^^ [ 64s] 56 | AUL_R_ENOINIT = -2, //< AUL handler NOT initialized [ 64s] | ^^^^^^^^^^^^^ [ 64s] 57 | AUL_R_ERROR = -1, //< General error [ 64s] | ^^^^^^^^^^^ [ 64s] [ 64s] warning: field `timer` is never read [ 64s] --> ./src/pkgmgr/server/mod.rs:63:5 [ 64s] | [ 64s] 61 | pub struct Server { [ 64s] | ------ field in this struct [ 64s] 62 | mainloop: *mut GMainLoop, [ 64s] 63 | timer: c_uint [ 64s] | ^^^^^ [ 64s] [ 64s] warning: variants `IO_ERROR`, `OUT_OF_MEMORY`, `INVALID_PARAMETER`, and `PERMISSION_DENIED` are never constructed [ 64s] --> ./src/pkgmgr/server/admin_service.rs:29:5 [ 64s] | [ 64s] 27 | enum RPC_PORT_ERROR { [ 64s] | -------------- variants in this enum [ 64s] 28 | NONE = 0, //< Successful [ 64s] 29 | IO_ERROR = -5, //< Internal I/O error [ 64s] | ^^^^^^^^ [ 64s] 30 | OUT_OF_MEMORY = -12, //< Out of memory [ 64s] | ^^^^^^^^^^^^^ [ 64s] 31 | INVALID_PARAMETER = -22, //< Invalid parameter [ 64s] | ^^^^^^^^^^^^^^^^^ [ 64s] 32 | PERMISSION_DENIED = -13, //< Permission denied [ 64s] | ^^^^^^^^^^^^^^^^^ [ 64s] [ 64s] warning: method `generate_request_id` is never used [ 64s] --> ./src/pkgmgr/server/admin_service.rs:2786:8 [ 64s] | [ 64s] 2713 | impl AdminService { [ 64s] | ----------------- method in this implementation [ 64s] ... [ 64s] 2786 | fn generate_request_id(&self) -> String { [ 64s] | ^^^^^^^^^^^^^^^^^^^ [ 64s] [ 64s] warning: field `request_type` is never read [ 64s] --> ./src/pkgmgr/server/backend_context.rs:7:5 [ 64s] | [ 64s] 6 | pub struct BackendContext { [ 64s] | -------------- field in this struct [ 64s] 7 | request_type: RequestType, [ 64s] | ^^^^^^^^^^^^ [ 64s] [ 64s] warning: type alias `GIOChannel` is never used [ 64s] --> ./src/pkgmgr/server/backend_queue.rs:14:6 [ 64s] | [ 64s] 14 | type GIOChannel = *mut c_void; [ 64s] | ^^^^^^^^^^ [ 64s] [ 64s] warning: type alias `GIOCondition` is never used [ 64s] --> ./src/pkgmgr/server/backend_queue.rs:15:6 [ 64s] | [ 64s] 15 | type GIOCondition = c_int; [ 64s] | ^^^^^^^^^^^^ [ 64s] [ 64s] warning: variants `EIO`, `ENOPKG`, `EPRIV`, `ETIMEOUT`, `EINVAL`, and `ECOMM` are never constructed [ 64s] --> ./src/pkgmgr/server/info_service.rs:22:5 [ 64s] | [ 64s] 20 | enum PKGMGR_RETURN_VALUE { [ 64s] | ------------------- variants in this enum [ 64s] 21 | ESYSTEM = -9, // Severe system error [ 64s] 22 | EIO = -8, // IO error [ 64s] | ^^^ [ 64s] 23 | ENOMEM = -7, // Out of memory [ 64s] 24 | ENOPKG = -6, // No such package [ 64s] | ^^^^^^ [ 64s] 25 | EPRIV = -5, // Privilege denied [ 64s] | ^^^^^ [ 64s] 26 | ETIMEOUT = -4, // Timeout [ 64s] | ^^^^^^^^ [ 64s] 27 | EINVAL = -3, // Invalid argument [ 64s] | ^^^^^^ [ 64s] 28 | ECOMM = -2, // Comunication Error [ 64s] | ^^^^^ [ 64s] [ 64s] warning: variants `EPRIV` and `ETIMEOUT` are never constructed [ 64s] --> ./src/pkgmgr/server/pkgmgr_return_value.rs:8:5 [ 64s] | [ 64s] 3 | pub enum PKGMGR_RETURN_VALUE { [ 64s] | ------------------- variants in this enum [ 64s] ... [ 64s] 8 | EPRIV = -5, // Privilege denied [ 64s] | ^^^^^ [ 64s] 9 | ETIMEOUT = -4, // Timeout [ 64s] | ^^^^^^^^ [ 64s] [ 64s] warning: variants `KILL`, `CHECK`, `ENABLE_APP_SPLASH_SCREEN`, `DISABLE_APP_SPLASH_SCREEN`, and `MIGRATE_EXTERNAL_IMAGE` are never constructed [ 64s] --> ./src/pkgmgr/server/request_type.rs:20:5 [ 64s] | [ 64s] 1 | pub enum RequestType { [ 64s] | ----------- variants in this enum [ 64s] ... [ 64s] 20 | KILL, [ 64s] | ^^^^ [ 64s] 21 | CHECK, [ 64s] | ^^^^^ [ 64s] ... [ 64s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 64s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 64s] ... [ 64s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 64s] [ 64s] warning: multiple variants are never constructed [ 64s] --> ./src/pkgmgr/server/signal.rs:10:2 [ 64s] | [ 64s] 9 | enum PKGMGR_REQ { [ 64s] | ---------- variants in this enum [ 64s] 10 | PERM = -1, [ 64s] | ^^^^ [ 64s] 11 | INVALID = 0, [ 64s] | ^^^^^^^ [ 64s] 12 | INSTALL = 1, [ 64s] | ^^^^^^^ [ 64s] 13 | UNINSTALL = 2, [ 64s] | ^^^^^^^^^ [ 64s] 14 | CLEAR = 3, [ 64s] | ^^^^^ [ 64s] 15 | MOVE = 4, [ 64s] | ^^^^ [ 64s] 16 | RECOVER = 5, [ 64s] | ^^^^^^^ [ 64s] 17 | REINSTALL = 6, [ 64s] | ^^^^^^^^^ [ 64s] 18 | GETSIZE = 7, [ 64s] | ^^^^^^^ [ 64s] 19 | UPGRADE = 8, [ 64s] | ^^^^^^^ [ 64s] 20 | SMACK = 9, [ 64s] | ^^^^^ [ 64s] 21 | MANIFEST_DIRECT_INSTALL = 10, [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 64s] ... [ 64s] 26 | MOUNT_INSTALL = 15, [ 64s] | ^^^^^^^^^^^^^ [ 64s] 27 | DISABLE_PKG = 16, [ 64s] | ^^^^^^^^^^^ [ 64s] 28 | ENABLE_PKG = 17, [ 64s] | ^^^^^^^^^^ [ 64s] 29 | MIGRATE_EXTIMG = 18, [ 64s] | ^^^^^^^^^^^^^^ [ 64s] 30 | RECOVER_DB = 19, [ 64s] | ^^^^^^^^^^ [ 64s] 31 | RES_COPY = 20, [ 64s] | ^^^^^^^^ [ 64s] 32 | RES_CREATE_DIR = 21, [ 64s] | ^^^^^^^^^^^^^^ [ 64s] 33 | RES_REMOVE = 22, [ 64s] | ^^^^^^^^^^ [ 64s] 34 | RES_UNINSTALL = 23 [ 64s] | ^^^^^^^^^^^^^ [ 64s] [ 64s] warning: constant `TZ_SYS_GLOBALAPP_USER` is never used [ 64s] --> ./src/pkgmgr/server/signal.rs:97:7 [ 64s] | [ 64s] 97 | const TZ_SYS_GLOBALAPP_USER: c_int = 22; [ 64s] | ^^^^^^^^^^^^^^^^^^^^^ [ 64s] [ 64s] warning: function `tzplatform_getuid` is never used [ 64s] --> ./src/pkgmgr/server/signal.rs:53:12 [ 64s] | [ 64s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 64s] | ^^^^^^^^^^^^^^^^^ [ 64s] [ 64s] warning: constant `XML_READER_TYPE_ELEMENT` is never used [ 64s] --> ./src/pkgmgr/server/util.rs:29:7 [ 64s] | [ 64s] 29 | const XML_READER_TYPE_ELEMENT: i32 = 1; [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 64s] [ 64s] warning: constant `XML_READER_TYPE_TEXT` is never used [ 64s] --> ./src/pkgmgr/server/util.rs:30:7 [ 64s] | [ 64s] 30 | const XML_READER_TYPE_TEXT: i32 = 3; [ 64s] | ^^^^^^^^^^^^^^^^^^^^ [ 64s] [ 64s] warning: constant `XML_READER_TYPE_END_ELEMENT` is never used [ 64s] --> ./src/pkgmgr/server/util.rs:31:7 [ 64s] | [ 64s] 31 | const XML_READER_TYPE_END_ELEMENT: i32 = 15; [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 64s] [ 64s] warning: type alias `GIOChannel` is never used [ 64s] --> ./src/pkgmgr/server/util.rs:33:6 [ 64s] | [ 64s] 33 | type GIOChannel = *mut c_void; [ 64s] | ^^^^^^^^^^ [ 64s] [ 64s] warning: variants `PMINFO_UI_APP`, `PMINFO_SVC_APP`, `PMINFO_WIDGET_APP`, `PMINFO_WATCH_APP`, and `PMINFO_COMPONENT_BASED_APP` are never constructed [ 64s] --> ./src/pkgmgr/server/util.rs:136:5 [ 64s] | [ 64s] 134 | enum PKGMGRINFO_APP_COMPONENT { [ 64s] | ------------------------ variants in this enum [ 64s] 135 | PMINFO_ALL_APP = 0, //< All Application [ 64s] 136 | PMINFO_UI_APP, //< UI Application [ 64s] | ^^^^^^^^^^^^^ [ 64s] 137 | PMINFO_SVC_APP, //< Service Application [ 64s] | ^^^^^^^^^^^^^^ [ 64s] 138 | PMINFO_WIDGET_APP, //< Widget Application [ 64s] | ^^^^^^^^^^^^^^^^^ [ 64s] 139 | PMINFO_WATCH_APP, //< Watch Application [ 64s] | ^^^^^^^^^^^^^^^^ [ 64s] 140 | PMINFO_COMPONENT_BASED_APP, //< Component-based Application (Since 5.5) [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 64s] [ 64s] warning: associated functions `EnableAppSplashScreen` and `DisableAppSplashScreen` are never used [ 64s] --> ./src/pkgmgr/server/util.rs:766:12 [ 64s] | [ 64s] 384 | impl Util { [ 64s] | --------- associated functions in this implementation [ 64s] ... [ 64s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 64s] | ^^^^^^^^^^^^^^^^^^^^^ [ 64s] ... [ 64s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 64s] [ 64s] warning: function `pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db` is never used [ 64s] --> ./src/pkgmgr/server/util.rs:204:8 [ 64s] | [ 64s] 204 | fn pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db( [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 64s] [ 64s] warning: unused `Result` that must be used [ 64s] --> ./src/main.rs:14:5 [ 64s] | [ 64s] 14 | pkgmgr::server::Server::run(&mut server); [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 64s] | [ 64s] = note: this `Result` may be an `Err` variant, which should be handled [ 64s] = note: `#[warn(unused_must_use)]` on by default [ 64s] help: use `let _ = ...` to ignore the resulting value [ 64s] | [ 64s] 14 | let _ = pkgmgr::server::Server::run(&mut server); [ 64s] | +++++++ [ 64s] [ 64s] warning: unused `Result` that must be used [ 64s] --> ./src/pkgmgr/server/mod.rs:93:9 [ 64s] | [ 64s] 93 | admin_service.run(); [ 64s] | ^^^^^^^^^^^^^^^^^^^ [ 64s] | [ 64s] = note: this `Result` may be an `Err` variant, which should be handled [ 64s] help: use `let _ = ...` to ignore the resulting value [ 64s] | [ 64s] 93 | let _ = admin_service.run(); [ 64s] | +++++++ [ 64s] [ 64s] warning: unused `Result` that must be used [ 64s] --> ./src/pkgmgr/server/mod.rs:95:9 [ 64s] | [ 64s] 95 | cache_service.run(); [ 64s] | ^^^^^^^^^^^^^^^^^^^ [ 64s] | [ 64s] = note: this `Result` may be an `Err` variant, which should be handled [ 64s] help: use `let _ = ...` to ignore the resulting value [ 64s] | [ 64s] 95 | let _ = cache_service.run(); [ 64s] | +++++++ [ 64s] [ 64s] warning: unused `Result` that must be used [ 64s] --> ./src/pkgmgr/server/mod.rs:97:9 [ 64s] | [ 64s] 97 | info_service.run(); [ 64s] | ^^^^^^^^^^^^^^^^^^ [ 64s] | [ 64s] = note: this `Result` may be an `Err` variant, which should be handled [ 64s] help: use `let _ = ...` to ignore the resulting value [ 64s] | [ 64s] 97 | let _ = info_service.run(); [ 64s] | +++++++ [ 64s] [ 64s] warning: unused `Result` that must be used [ 64s] --> ./src/pkgmgr/server/mod.rs:99:9 [ 64s] | [ 64s] 99 | delayed_result_service.run(); [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 64s] | [ 64s] = note: this `Result` may be an `Err` variant, which should be handled [ 64s] help: use `let _ = ...` to ignore the resulting value [ 64s] | [ 64s] 99 | let _ = delayed_result_service.run(); [ 64s] | +++++++ [ 64s] [ 64s] warning: unused `Result` that must be used [ 64s] --> ./src/pkgmgr/server/mod.rs:109:9 [ 64s] | [ 64s] 109 | admin_service.stop(); [ 64s] | ^^^^^^^^^^^^^^^^^^^^ [ 64s] | [ 64s] = note: this `Result` may be an `Err` variant, which should be handled [ 64s] help: use `let _ = ...` to ignore the resulting value [ 64s] | [ 64s] 109 | let _ = admin_service.stop(); [ 64s] | +++++++ [ 64s] [ 64s] warning: unused `Result` that must be used [ 64s] --> ./src/pkgmgr/server/mod.rs:110:9 [ 64s] | [ 64s] 110 | cache_service.stop(); [ 64s] | ^^^^^^^^^^^^^^^^^^^^ [ 64s] | [ 64s] = note: this `Result` may be an `Err` variant, which should be handled [ 64s] help: use `let _ = ...` to ignore the resulting value [ 64s] | [ 64s] 110 | let _ = cache_service.stop(); [ 64s] | +++++++ [ 64s] [ 64s] warning: unused `Result` that must be used [ 64s] --> ./src/pkgmgr/server/mod.rs:111:9 [ 64s] | [ 64s] 111 | info_service.stop(); [ 64s] | ^^^^^^^^^^^^^^^^^^^ [ 64s] | [ 64s] = note: this `Result` may be an `Err` variant, which should be handled [ 64s] help: use `let _ = ...` to ignore the resulting value [ 64s] | [ 64s] 111 | let _ = info_service.stop(); [ 64s] | +++++++ [ 64s] [ 64s] warning: unused `Result` that must be used [ 64s] --> ./src/pkgmgr/server/mod.rs:112:9 [ 64s] | [ 64s] 112 | delayed_result_service.stop(); [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 64s] | [ 64s] = note: this `Result` may be an `Err` variant, which should be handled [ 64s] help: use `let _ = ...` to ignore the resulting value [ 64s] | [ 64s] 112 | let _ = delayed_result_service.stop(); [ 64s] | +++++++ [ 64s] [ 64s] warning: unused return value of `std::mem::size_of` that must be used [ 64s] --> ./src/pkgmgr/server/backend_queue.rs:40:9 [ 64s] | [ 64s] 40 | mem::size_of::(); [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 64s] | [ 64s] help: use `let _ = ...` to ignore the resulting value [ 64s] | [ 64s] 40 | let _ = mem::size_of::(); [ 64s] | +++++++ [ 64s] [ 64s] warning: structure field `rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 64s] --> ./src/pkgmgr/server/info_service.rs:35:9 [ 64s] | [ 64s] 35 | pub rpc_port_stub_PkgMgr_create_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_create_cb` [ 64s] | [ 64s] = note: `#[warn(non_snake_case)]` on by default [ 64s] [ 64s] warning: structure field `rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 64s] --> ./src/pkgmgr/server/info_service.rs:36:9 [ 64s] | [ 64s] 36 | pub rpc_port_stub_PkgMgr_terminate_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_terminate_cb` [ 64s] [ 64s] warning: structure field `rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 64s] --> ./src/pkgmgr/server/info_service.rs:37:9 [ 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_cb` [ 64s] [ 64s] warning: structure field `rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 64s] --> ./src/pkgmgr/server/info_service.rs:38:9 [ 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 64s] [ 64s] warning: structure field `rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 64s] --> ./src/pkgmgr/server/info_service.rs:39:9 [ 64s] | [ 64s] 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... [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 64s] [ 64s] warning: structure field `rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 64s] --> ./src/pkgmgr/server/info_service.rs:40:9 [ 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_check_cb` [ 64s] [ 64s] warning: function `impl_rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 64s] --> ./src/pkgmgr/server/info_service.rs:43:19 [ 64s] | [ 64s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_create_cb` [ 64s] [ 64s] warning: function `impl_rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 64s] --> ./src/pkgmgr/server/info_service.rs:48:19 [ 64s] | [ 64s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_terminate_cb` [ 64s] [ 64s] warning: function `impl_rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 64s] --> ./src/pkgmgr/server/info_service.rs:52:19 [ 64s] | [ 64s] 52 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSize_cb( [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_cb` [ 64s] [ 64s] warning: function `impl_rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 64s] --> ./src/pkgmgr/server/info_service.rs:112:19 [ 64s] | [ 64s] 112 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSizeSync_cb( [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 64s] [ 64s] warning: function `impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 64s] --> ./src/pkgmgr/server/info_service.rs:194:19 [ 64s] | [ 64s] 194 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb( [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 64s] [ 64s] warning: function `impl_rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 64s] --> ./src/pkgmgr/server/info_service.rs:221:19 [ 64s] | [ 64s] 221 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_Check_cb( [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_check_cb` [ 64s] [ 64s] warning: method `IsPackageReadonly` should have a snake case name [ 64s] --> ./src/pkgmgr/server/util.rs:389:12 [ 64s] | [ 64s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 64s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly` [ 64s] [ 64s] warning: method `GetPackageType` should have a snake case name [ 64s] --> ./src/pkgmgr/server/util.rs:420:12 [ 64s] | [ 64s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 64s] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type` [ 64s] [ 64s] warning: variable `xmlReaderTypes_XML_READER_TYPE_ELEMENT` should have a snake case name [ 64s] --> ./src/pkgmgr/server/util.rs:473:17 [ 64s] | [ 64s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_element` [ 64s] [ 64s] warning: variable `xmlReaderTypes_XML_READER_TYPE_TEXT` should have a snake case name [ 64s] --> ./src/pkgmgr/server/util.rs:478:17 [ 64s] | [ 64s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_text` [ 64s] [ 64s] warning: variable `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` should have a snake case name [ 64s] --> ./src/pkgmgr/server/util.rs:483:17 [ 64s] | [ 64s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_end_element` [ 64s] [ 64s] warning: constant `type_map` should have an upper case name [ 64s] --> ./src/pkgmgr/server/util.rs:623:15 [ 64s] | [ 64s] 623 | const type_map : [[&str; 2]; 3] = [ [ 64s] | ^^^^^^^^ help: convert the identifier to upper case: `TYPE_MAP` [ 64s] | [ 64s] = note: `#[warn(non_upper_case_globals)]` on by default [ 64s] [ 64s] warning: method `GenerateRequestId` should have a snake case name [ 64s] --> ./src/pkgmgr/server/util.rs:646:12 [ 64s] | [ 64s] 646 | pub fn GenerateRequestId(pkgid: &str) -> Option { [ 64s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_request_id` [ 64s] [ 64s] warning: method `CreatePkgUpdateInfo` should have a snake case name [ 64s] --> ./src/pkgmgr/server/util.rs:657:12 [ 64s] | [ 64s] 657 | pub fn CreatePkgUpdateInfo(pkgid: *const c_char, version: *const c_char, update_type: c_int) -> *mut c_void { [ 64s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info` [ 64s] [ 64s] warning: method `DestroyPkgUpdateInfo` should have a snake case name [ 64s] --> ./src/pkgmgr/server/util.rs:680:12 [ 64s] | [ 64s] 680 | pub fn DestroyPkgUpdateInfo(handle: *mut c_void) -> c_int { [ 64s] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroy_pkg_update_info` [ 64s] [ 64s] warning: method `RegisterPkgUpdateInfo` should have a snake case name [ 64s] --> ./src/pkgmgr/server/util.rs:686:12 [ 64s] | [ 64s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 64s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `register_pkg_update_info` [ 64s] [ 64s] warning: method `UnregisterPkgUpdateInfo` should have a snake case name [ 64s] --> ./src/pkgmgr/server/util.rs:696:12 [ 64s] | [ 64s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_pkg_update_info` [ 64s] [ 64s] warning: method `UnregisterAllPkgUpdateInfo` should have a snake case name [ 64s] --> ./src/pkgmgr/server/util.rs:706:12 [ 64s] | [ 64s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_all_pkg_update_info` [ 64s] [ 64s] warning: method `EnableApp` should have a snake case name [ 64s] --> ./src/pkgmgr/server/util.rs:728:12 [ 64s] | [ 64s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 64s] | ^^^^^^^^^ help: convert the identifier to snake case: `enable_app` [ 64s] [ 64s] warning: method `DisableApp` should have a snake case name [ 64s] --> ./src/pkgmgr/server/util.rs:738:12 [ 64s] | [ 64s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 64s] | ^^^^^^^^^^ help: convert the identifier to snake case: `disable_app` [ 64s] [ 64s] warning: method `EnableGlobalApp` should have a snake case name [ 64s] --> ./src/pkgmgr/server/util.rs:747:12 [ 64s] | [ 64s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 64s] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app` [ 64s] [ 64s] warning: method `DisableGlobalApp` should have a snake case name [ 64s] --> ./src/pkgmgr/server/util.rs:757:12 [ 64s] | [ 64s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 64s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app` [ 64s] [ 64s] warning: method `EnableAppSplashScreen` should have a snake case name [ 64s] --> ./src/pkgmgr/server/util.rs:766:12 [ 64s] | [ 64s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 64s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_app_splash_screen` [ 64s] [ 64s] warning: method `DisableAppSplashScreen` should have a snake case name [ 64s] --> ./src/pkgmgr/server/util.rs:775:12 [ 64s] | [ 64s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_app_splash_screen` [ 64s] [ 64s] warning: method `EnableGlobalAppSplashScreen` should have a snake case name [ 64s] --> ./src/pkgmgr/server/util.rs:784:12 [ 64s] | [ 64s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app_splash_screen` [ 64s] [ 64s] warning: method `DisableGlobalAppSplashScreen` should have a snake case name [ 64s] --> ./src/pkgmgr/server/util.rs:793:12 [ 64s] | [ 64s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 64s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app_splash_screen` [ 64s] [ 64s] warning: method `KillApp` should have a snake case name [ 64s] --> ./src/pkgmgr/server/util.rs:813:12 [ 64s] | [ 64s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 64s] | ^^^^^^^ help: convert the identifier to snake case: `kill_app` [ 64s] [ 64s] warning: method `KillAppsInPkg` should have a snake case name [ 64s] --> ./src/pkgmgr/server/util.rs:835:12 [ 64s] | [ 64s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 64s] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_apps_in_pkg` [ 64s] [ 64s] warning: method `IsAdminUser` should have a snake case name [ 64s] --> ./src/pkgmgr/server/util.rs:855:8 [ 64s] | [ 64s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 64s] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_admin_user` [ 64s] [ 76s] warning: 542 warnings emitted [ 76s] [ 76s] + export LD_LIBRARY_PATH=:/usr/lib/rustlib:/usr/lib/rustlib/dylib:/usr/lib/rustlib:/usr/lib/rustlib/dylib [ 76s] + LD_LIBRARY_PATH=:/usr/lib/rustlib:/usr/lib/rustlib/dylib:/usr/lib/rustlib:/usr/lib/rustlib/dylib [ 76s] ++ find /usr/lib -maxdepth 1 -name 'libstd-*.so' [ 76s] + __rust_std=/usr/lib/libstd-5246bcf1da9db1dd.so [ 76s] + /usr/bin/rustc -C prefer-dynamic --extern std=/usr/lib/libstd-5246bcf1da9db1dd.so -C codegen-units=1 -C debuginfo=2 -C opt-level=3 -C relocation-model=pic -C overflow-checks=on -C symbol-mangling-version=v0 -L/usr/lib/rustlib -L/usr/lib/rustlib/dylib --test --crate-type=bin --crate-name=unittests_rust_pkgmgr_server -L native=./tidl_pkgmgr_server -L native=./util_pkgmgr_server -l minizip --edition=2021 --extern libc=/usr/lib/rustlib/dylib/liblibc.so --cap-lints warn ./src/main.rs [ 76s] warning: unused import: `boxed` [ 76s] --> ./src/pkgmgr/server/admin_service.rs:4:11 [ 76s] | [ 76s] 4 | use std::{boxed, str}; [ 76s] | ^^^^^ [ 76s] | [ 76s] = note: `#[warn(unused_imports)]` on by default [ 76s] [ 76s] warning: unused import: `std::mem` [ 76s] --> ./src/pkgmgr/server/admin_service.rs:6:5 [ 76s] | [ 76s] 6 | use std::mem; [ 76s] | ^^^^^^^^ [ 76s] [ 76s] warning: unused import: `std::ptr` [ 76s] --> ./src/pkgmgr/server/admin_service.rs:7:5 [ 76s] | [ 76s] 7 | use std::ptr; [ 76s] | ^^^^^^^^ [ 76s] [ 76s] warning: unused import: `malloc` [ 76s] --> ./src/pkgmgr/server/admin_service.rs:8:18 [ 76s] | [ 76s] 8 | use libc::{free, malloc, strlen}; [ 76s] | ^^^^^^ [ 76s] [ 76s] warning: unused import: `super::Server` [ 76s] --> ./src/pkgmgr/server/admin_service.rs:10:5 [ 76s] | [ 76s] 10 | use super::Server; [ 76s] | ^^^^^^^^^^^^^ [ 76s] [ 76s] warning: type `rpc_port_stub_array_string_h` should have an upper camel case name [ 76s] --> ./src/pkgmgr/server/admin_service.rs:23:6 [ 76s] | [ 76s] 23 | type rpc_port_stub_array_string_h = *mut c_void; [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RpcPortStubArrayStringH` [ 76s] | [ 76s] = note: `#[warn(non_camel_case_types)]` on by default [ 76s] [ 76s] warning: unused imports: `pid_t`, `uid_t` [ 76s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 76s] | [ 76s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 76s] | ^^^^^ ^^^^^ [ 76s] [ 76s] warning: unused imports: `c_int`, `c_void` [ 76s] --> ./src/pkgmgr/server/backend_context.rs:4:16 [ 76s] | [ 76s] 4 | use std::ffi::{c_int, c_void}; [ 76s] | ^^^^^ ^^^^^^ [ 76s] [ 76s] warning: unused import: `std::path::Path` [ 76s] --> ./src/pkgmgr/server/backend_queue.rs:10:5 [ 76s] | [ 76s] 10 | use std::path::Path; [ 76s] | ^^^^^^^^^^^^^^^ [ 76s] [ 76s] warning: denote infinite loops with `loop { ... }` [ 76s] --> ./src/pkgmgr/server/backend_queue.rs:50:9 [ 76s] | [ 76s] 50 | while true { [ 76s] | ^^^^^^^^^^ help: use `loop` [ 76s] | [ 76s] = note: `#[warn(while_true)]` on by default [ 76s] [ 76s] warning: unnecessary parentheses around `if` condition [ 76s] --> ./src/pkgmgr/server/backend_queue.rs:73:8 [ 76s] | [ 76s] 73 | if (mut_queue.is_queue_empty()) { [ 76s] | ^ ^ [ 76s] | [ 76s] = note: `#[warn(unused_parens)]` on by default [ 76s] help: remove these parentheses [ 76s] | [ 76s] 73 - if (mut_queue.is_queue_empty()) { [ 76s] 73 + if mut_queue.is_queue_empty() { [ 76s] | [ 76s] [ 76s] warning: unnecessary trailing semicolon [ 76s] --> ./src/pkgmgr/server/backend_queue.rs:297:17 [ 76s] | [ 76s] 297 | ; [ 76s] | ^ help: remove this semicolon [ 76s] | [ 76s] = note: `#[warn(redundant_semicolons)]` on by default [ 76s] [ 76s] warning: unused import: `super::Server` [ 76s] --> ./src/pkgmgr/server/cache_service.rs:1:5 [ 76s] | [ 76s] 1 | use super::Server; [ 76s] | ^^^^^^^^^^^^^ [ 76s] [ 76s] warning: unused import: `super::Server` [ 76s] --> ./src/pkgmgr/server/delayed_service.rs:1:5 [ 76s] | [ 76s] 1 | use super::Server; [ 76s] | ^^^^^^^^^^^^^ [ 76s] [ 76s] warning: unused import: `super::backend_context::*` [ 76s] --> ./src/pkgmgr/server/delayed_service.rs:4:5 [ 76s] | [ 76s] 4 | use super::backend_context::*; [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 76s] [ 76s] warning: unused import: `super::request_result::*` [ 76s] --> ./src/pkgmgr/server/delayed_service.rs:5:5 [ 76s] | [ 76s] 5 | use super::request_result::*; [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 76s] [ 76s] warning: unused import: `super::request_type::*` [ 76s] --> ./src/pkgmgr/server/delayed_service.rs:6:5 [ 76s] | [ 76s] 6 | use super::request_type::*; [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 76s] [ 76s] warning: unused import: `super::util::*` [ 76s] --> ./src/pkgmgr/server/delayed_service.rs:7:5 [ 76s] | [ 76s] 7 | use super::util::*; [ 76s] | ^^^^^^^^^^^^^^ [ 76s] [ 76s] warning: unused imports: `pid_t`, `uid_t` [ 76s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 76s] | [ 76s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 76s] | ^^^^^ ^^^^^ [ 76s] [ 76s] warning: unused import: `std::io::Error` [ 76s] --> ./src/pkgmgr/server/info_service.rs:3:5 [ 76s] | [ 76s] 3 | use std::io::Error; [ 76s] | ^^^^^^^^^^^^^^ [ 76s] [ 76s] warning: unused import: `std::mem` [ 76s] --> ./src/pkgmgr/server/info_service.rs:6:5 [ 76s] | [ 76s] 6 | use std::mem; [ 76s] | ^^^^^^^^ [ 76s] [ 76s] warning: unused import: `std::ptr` [ 76s] --> ./src/pkgmgr/server/info_service.rs:7:5 [ 76s] | [ 76s] 7 | use std::ptr; [ 76s] | ^^^^^^^^ [ 76s] [ 76s] warning: unused imports: `free`, `malloc`, `strlen` [ 76s] --> ./src/pkgmgr/server/info_service.rs:8:12 [ 76s] | [ 76s] 8 | use libc::{free, malloc, strlen, mkfifo}; [ 76s] | ^^^^ ^^^^^^ ^^^^^^ [ 76s] [ 76s] warning: unused import: `super::Server` [ 76s] --> ./src/pkgmgr/server/info_service.rs:10:5 [ 76s] | [ 76s] 10 | use super::Server; [ 76s] | ^^^^^^^^^^^^^ [ 76s] [ 76s] warning: unused import: `super::service::Service` [ 76s] --> ./src/pkgmgr/server/info_service.rs:13:5 [ 76s] | [ 76s] 13 | use super::service::Service; [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 76s] [ 76s] warning: unnecessary trailing semicolon [ 76s] --> ./src/pkgmgr/server/info_service.rs:49:5 [ 76s] | [ 76s] 49 | ; [ 76s] | ^ help: remove this semicolon [ 76s] [ 76s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 76s] --> ./src/pkgmgr/server/request_result.rs:7:5 [ 76s] | [ 76s] 7 | GETSIZE_SYNC(String, i32, i32), [ 76s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 76s] [ 76s] warning: variant `GET_GENERATE_LICENSE_RESULT` should have an upper camel case name [ 76s] --> ./src/pkgmgr/server/request_result.rs:8:5 [ 76s] | [ 76s] 8 | GET_GENERATE_LICENSE_RESULT(String, i32, CString, CString), [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetGenerateLicenseResult` [ 76s] [ 76s] warning: variant `MOUNT_INSTALL` should have an upper camel case name [ 76s] --> ./src/pkgmgr/server/request_type.rs:3:5 [ 76s] | [ 76s] 3 | MOUNT_INSTALL, [ 76s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MountInstall` [ 76s] [ 76s] warning: variant `ENABLE_PKG` should have an upper camel case name [ 76s] --> ./src/pkgmgr/server/request_type.rs:7:5 [ 76s] | [ 76s] 7 | ENABLE_PKG, [ 76s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnablePkg` [ 76s] [ 76s] warning: variant `DISABLE_PKG` should have an upper camel case name [ 76s] --> ./src/pkgmgr/server/request_type.rs:8:5 [ 76s] | [ 76s] 8 | DISABLE_PKG, [ 76s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisablePkg` [ 76s] [ 76s] warning: variant `REGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 76s] --> ./src/pkgmgr/server/request_type.rs:9:5 [ 76s] | [ 76s] 9 | REGISTER_PKG_UPDATE_INFO, [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterPkgUpdateInfo` [ 76s] [ 76s] warning: variant `UNREGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 76s] --> ./src/pkgmgr/server/request_type.rs:10:5 [ 76s] | [ 76s] 10 | UNREGISTER_PKG_UPDATE_INFO, [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterPkgUpdateInfo` [ 76s] [ 76s] warning: variant `UNREGISTER_ALL_PKG_UPDATE_INFO` should have an upper camel case name [ 76s] --> ./src/pkgmgr/server/request_type.rs:11:5 [ 76s] | [ 76s] 11 | UNREGISTER_ALL_PKG_UPDATE_INFO, [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterAllPkgUpdateInfo` [ 76s] [ 76s] warning: variant `ENABLE_APP` should have an upper camel case name [ 76s] --> ./src/pkgmgr/server/request_type.rs:12:5 [ 76s] | [ 76s] 12 | ENABLE_APP, [ 76s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableApp` [ 76s] [ 76s] warning: variant `DISABLE_APP` should have an upper camel case name [ 76s] --> ./src/pkgmgr/server/request_type.rs:13:5 [ 76s] | [ 76s] 13 | DISABLE_APP, [ 76s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableApp` [ 76s] [ 76s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 76s] --> ./src/pkgmgr/server/request_type.rs:15:5 [ 76s] | [ 76s] 15 | GETSIZE_SYNC, [ 76s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 76s] [ 76s] warning: variant `ENABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 76s] --> ./src/pkgmgr/server/request_type.rs:18:5 [ 76s] | [ 76s] 18 | ENABLE_GLOBAL_APP_FOR_UID, [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableGlobalAppForUid` [ 76s] [ 76s] warning: variant `DISABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 76s] --> ./src/pkgmgr/server/request_type.rs:19:5 [ 76s] | [ 76s] 19 | DISABLE_GLOBAL_APP_FOR_UID, [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableGlobalAppForUid` [ 76s] [ 76s] warning: variant `GENERATE_LICENSE_REQUEST` should have an upper camel case name [ 76s] --> ./src/pkgmgr/server/request_type.rs:22:5 [ 76s] | [ 76s] 22 | GENERATE_LICENSE_REQUEST, [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GenerateLicenseRequest` [ 76s] [ 76s] warning: variant `REGISTER_LICENSE` should have an upper camel case name [ 76s] --> ./src/pkgmgr/server/request_type.rs:23:5 [ 76s] | [ 76s] 23 | REGISTER_LICENSE, [ 76s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterLicense` [ 76s] [ 76s] warning: variant `DECRYPT_PACKAGE` should have an upper camel case name [ 76s] --> ./src/pkgmgr/server/request_type.rs:24:5 [ 76s] | [ 76s] 24 | DECRYPT_PACKAGE, [ 76s] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DecryptPackage` [ 76s] [ 76s] warning: variant `ENABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 76s] --> ./src/pkgmgr/server/request_type.rs:25:5 [ 76s] | [ 76s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableAppSplashScreen` [ 76s] [ 76s] warning: variant `DISABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 76s] --> ./src/pkgmgr/server/request_type.rs:26:5 [ 76s] | [ 76s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableAppSplashScreen` [ 76s] [ 76s] warning: variant `SET_APP_LABEL` should have an upper camel case name [ 76s] --> ./src/pkgmgr/server/request_type.rs:27:5 [ 76s] | [ 76s] 27 | SET_APP_LABEL, [ 76s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppLabel` [ 76s] [ 76s] warning: variant `SET_APP_ICON` should have an upper camel case name [ 76s] --> ./src/pkgmgr/server/request_type.rs:28:5 [ 76s] | [ 76s] 28 | SET_APP_ICON, [ 76s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppIcon` [ 76s] [ 76s] warning: variant `MIGRATE_EXTERNAL_IMAGE` should have an upper camel case name [ 76s] --> ./src/pkgmgr/server/request_type.rs:29:5 [ 76s] | [ 76s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MigrateExternalImage` [ 76s] [ 76s] warning: variant `RESOURCE_SHARE_COPY` should have an upper camel case name [ 76s] --> ./src/pkgmgr/server/request_type.rs:30:5 [ 76s] | [ 76s] 30 | RESOURCE_SHARE_COPY, [ 76s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCopy` [ 76s] [ 76s] warning: variant `RESOURCE_SHARE_CREATE_DIR` should have an upper camel case name [ 76s] --> ./src/pkgmgr/server/request_type.rs:31:5 [ 76s] | [ 76s] 31 | RESOURCE_SHARE_CREATE_DIR, [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCreateDir` [ 76s] [ 76s] warning: variant `RESOURCE_SHARE_REMOVE` should have an upper camel case name [ 76s] --> ./src/pkgmgr/server/request_type.rs:32:5 [ 76s] | [ 76s] 32 | RESOURCE_SHARE_REMOVE, [ 76s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareRemove` [ 76s] [ 76s] warning: variant `RESOURCE_SHARE_UNINSTALL` should have an upper camel case name [ 76s] --> ./src/pkgmgr/server/request_type.rs:33:5 [ 76s] | [ 76s] 33 | RESOURCE_SHARE_UNINSTALL, [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareUninstall` [ 76s] [ 76s] warning: variant `REMOVE_FILE` should have an upper camel case name [ 76s] --> ./src/pkgmgr/server/request_type.rs:34:5 [ 76s] | [ 76s] 34 | REMOVE_FILE, [ 76s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RemoveFile` [ 76s] [ 76s] warning: unused import: `CStr` [ 76s] --> ./src/pkgmgr/server/signal.rs:1:39 [ 76s] | [ 76s] 1 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 76s] | ^^^^ [ 76s] [ 76s] warning: unused import: `pid_t` [ 76s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 76s] | [ 76s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: unused imports: `CStr`, `CString`, `c_char`, `c_void` [ 76s] --> ./src/pkgmgr/server/signal.rs:39:20 [ 76s] | [ 76s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 76s] | ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^ [ 76s] [ 76s] warning: unused import: `pid_t` [ 76s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 76s] | [ 76s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: unused import: `std::cell::RefCell` [ 76s] --> ./src/pkgmgr/server/util.rs:1:5 [ 76s] | [ 76s] 1 | use std::cell::RefCell; [ 76s] | ^^^^^^^^^^^^^^^^^^ [ 76s] [ 76s] warning: unused import: `std::rc::Rc` [ 76s] --> ./src/pkgmgr/server/util.rs:8:5 [ 76s] | [ 76s] 8 | use std::rc::Rc; [ 76s] | ^^^^^^^^^^^ [ 76s] [ 76s] warning: type `xmlChar` should have an upper camel case name [ 76s] --> ./src/pkgmgr/server/util.rs:34:6 [ 76s] | [ 76s] 34 | type xmlChar = c_uchar; [ 76s] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlChar` [ 76s] [ 76s] warning: type `xmlTextReaderPtr` should have an upper camel case name [ 76s] --> ./src/pkgmgr/server/util.rs:35:6 [ 76s] | [ 76s] 35 | type xmlTextReaderPtr = *mut c_void; [ 76s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlTextReaderPtr` [ 76s] [ 76s] warning: unused imports: `CStr`, `CString` [ 76s] --> ./src/pkgmgr/server/util.rs:39:43 [ 76s] | [ 76s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 76s] | ^^^^ ^^^^^^^ [ 76s] [ 76s] warning: unused import: `pid_t` [ 76s] --> ./src/pkgmgr/server/util.rs:40:37 [ 76s] | [ 76s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: unnecessary parentheses around `if` condition [ 76s] --> ./src/pkgmgr/server/util.rs:474:24 [ 76s] | [ 76s] 474 | if (cur == depth + 1) { [ 76s] | ^ ^ [ 76s] | [ 76s] help: remove these parentheses [ 76s] | [ 76s] 474 - if (cur == depth + 1) { [ 76s] 474 + if cur == depth + 1 { [ 76s] | [ 76s] [ 76s] warning: unnecessary parentheses around `if` condition [ 76s] --> ./src/pkgmgr/server/util.rs:571:12 [ 76s] | [ 76s] 571 | if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 76s] | ^ ^ [ 76s] | [ 76s] help: remove these parentheses [ 76s] | [ 76s] 571 - if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 76s] 571 + if unzOpenCurrentFile(uf) != UNZ_OK as c_int { [ 76s] | [ 76s] [ 76s] warning: unused import: `std::ffi::CStr` [ 76s] --> ./src/pkgmgr/server/test/util_tests.rs:4:5 [ 76s] | [ 76s] 4 | use std::ffi::CStr; [ 76s] | ^^^^^^^^^^^^^^ [ 76s] [ 76s] warning: unused import: `std::mem` [ 76s] --> ./src/pkgmgr/server/test/util_tests.rs:6:5 [ 76s] | [ 76s] 6 | use std::mem; [ 76s] | ^^^^^^^^ [ 76s] [ 76s] warning: unused import: `mockall::predicate::*` [ 76s] --> ./src/pkgmgr/server/test/util_tests.rs:8:5 [ 76s] | [ 76s] 8 | use mockall::predicate::*; [ 76s] | ^^^^^^^^^^^^^^^^^^^^^ [ 76s] [ 76s] warning: unused import: `mockall::*` [ 76s] --> ./src/pkgmgr/server/test/util_tests.rs:9:5 [ 76s] | [ 76s] 9 | use mockall::*; [ 76s] | ^^^^^^^^^^ [ 76s] [ 76s] warning: unused import: `std::ffi::CString` [ 76s] --> ./src/pkgmgr/server/test/signal_tests.rs:2:5 [ 76s] | [ 76s] 2 | use std::ffi::CString; [ 76s] | ^^^^^^^^^^^^^^^^^ [ 76s] [ 76s] warning: unused import: `std::ffi::CStr` [ 76s] --> ./src/pkgmgr/server/test/signal_tests.rs:3:5 [ 76s] | [ 76s] 3 | use std::ffi::CStr; [ 76s] | ^^^^^^^^^^^^^^ [ 76s] [ 76s] warning: unused import: `std::ffi::c_char` [ 76s] --> ./src/pkgmgr/server/test/signal_tests.rs:4:5 [ 76s] | [ 76s] 4 | use std::ffi::c_char; [ 76s] | ^^^^^^^^^^^^^^^^ [ 76s] [ 76s] warning: unused import: `std::mem` [ 76s] --> ./src/pkgmgr/server/test/signal_tests.rs:5:5 [ 76s] | [ 76s] 5 | use std::mem; [ 76s] | ^^^^^^^^ [ 76s] [ 76s] warning: unused import: `mockall::predicate::*` [ 76s] --> ./src/pkgmgr/server/test/signal_tests.rs:6:5 [ 76s] | [ 76s] 6 | use mockall::predicate::*; [ 76s] | ^^^^^^^^^^^^^^^^^^^^^ [ 76s] [ 76s] warning: unused import: `mockall::*` [ 76s] --> ./src/pkgmgr/server/test/signal_tests.rs:7:5 [ 76s] | [ 76s] 7 | use mockall::*; [ 76s] | ^^^^^^^^^^ [ 76s] [ 76s] warning: unused import: `pid_t` [ 76s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 76s] | [ 76s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: unused import: `std::cell::RefCell` [ 76s] --> ./src/pkgmgr/server/mod.rs:22:5 [ 76s] | [ 76s] 22 | use std::cell::RefCell; [ 76s] | ^^^^^^^^^^^^^^^^^^ [ 76s] [ 76s] warning: unused import: `std::rc::Rc` [ 76s] --> ./src/pkgmgr/server/mod.rs:26:5 [ 76s] | [ 76s] 26 | use std::rc::Rc; [ 76s] | ^^^^^^^^^^^ [ 76s] [ 76s] warning: unused import: `std::process::Command` [ 76s] --> ./src/main.rs:9:5 [ 76s] | [ 76s] 9 | use std::process::Command; [ 76s] | ^^^^^^^^^^^^^^^^^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:5:26 [ 76s] | [ 76s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 76s] | ^^^^^ [ 76s] | [ 76s] = note: `#[warn(deprecated)]` on by default [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:5:33 [ 76s] | [ 76s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:20:20 [ 76s] | [ 76s] 20 | const GLOBAL_USER: uid_t = 201; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:322:25 [ 76s] | [ 76s] 322 | let mut caller_uid: uid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:443:25 [ 76s] | [ 76s] 443 | let mut caller_uid: uid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:548:25 [ 76s] | [ 76s] 548 | let mut caller_uid: uid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:595:25 [ 76s] | [ 76s] 595 | let mut caller_uid: uid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:718:25 [ 76s] | [ 76s] 718 | let mut caller_uid: uid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:801:25 [ 76s] | [ 76s] 801 | let mut caller_uid: uid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:853:25 [ 76s] | [ 76s] 853 | let mut caller_uid: uid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:937:25 [ 76s] | [ 76s] 937 | let mut caller_uid: uid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:990:25 [ 76s] | [ 76s] 990 | let mut caller_uid: uid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1015:76 [ 76s] | [ 76s] 1015 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, true) { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1072:25 [ 76s] | [ 76s] 1072 | let mut caller_uid: uid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1097:76 [ 76s] | [ 76s] 1097 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, false) { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1151:25 [ 76s] | [ 76s] 1151 | let mut caller_pid: pid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1152:25 [ 76s] | [ 76s] 1152 | let mut caller_uid: uid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1166:62 [ 76s] | [ 76s] 1166 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1196:66 [ 76s] | [ 76s] 1196 | let ret = Util::RegisterPkgUpdateInfo(handle, uid as uid_t); [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1215:25 [ 76s] | [ 76s] 1215 | let mut caller_pid: pid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1216:25 [ 76s] | [ 76s] 1216 | let mut caller_uid: uid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1230:62 [ 76s] | [ 76s] 1230 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1254:109 [ 76s] | [ 76s] 1254 | RequestResult::DELAYED(generated_req_key, Util::UnregisterPkgUpdateInfo(pkg_id.as_ptr(), uid as uid_t)) [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1270:25 [ 76s] | [ 76s] 1270 | let mut caller_pid: pid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1271:25 [ 76s] | [ 76s] 1271 | let mut caller_uid: uid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1303:95 [ 76s] | [ 76s] 1303 | RequestResult::DELAYED(generated_req_key, Util::UnregisterAllPkgUpdateInfo(uid as uid_t, caller_uid)) [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1312:45 [ 76s] | [ 76s] 1312 | fn handle_enable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1359:60 [ 76s] | [ 76s] 1359 | fn handle_enable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1371:40 [ 76s] | [ 76s] 1371 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1373:40 [ 76s] | [ 76s] 1373 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1380:36 [ 76s] | [ 76s] 1380 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1382:36 [ 76s] | [ 76s] 1382 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1392:36 [ 76s] | [ 76s] 1392 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1394:36 [ 76s] | [ 76s] 1394 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1400:28 [ 76s] | [ 76s] 1400 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1403:46 [ 76s] | [ 76s] 1403 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1404:59 [ 76s] | [ 76s] 1404 | Util::EnableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1405:32 [ 76s] | [ 76s] 1405 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1409:28 [ 76s] | [ 76s] 1409 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1415:46 [ 76s] | [ 76s] 1415 | fn handle_disable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1463:61 [ 76s] | [ 76s] 1463 | fn handle_disable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1475:40 [ 76s] | [ 76s] 1475 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1477:40 [ 76s] | [ 76s] 1477 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1484:36 [ 76s] | [ 76s] 1484 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1486:36 [ 76s] | [ 76s] 1486 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1496:36 [ 76s] | [ 76s] 1496 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1498:36 [ 76s] | [ 76s] 1498 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1504:28 [ 76s] | [ 76s] 1504 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1507:46 [ 76s] | [ 76s] 1507 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1508:60 [ 76s] | [ 76s] 1508 | Util::DisableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1509:32 [ 76s] | [ 76s] 1509 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1513:28 [ 76s] | [ 76s] 1513 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1535:25 [ 76s] | [ 76s] 1535 | let mut caller_uid: uid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1562:70 [ 76s] | [ 76s] 1562 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1588:25 [ 76s] | [ 76s] 1588 | let mut caller_uid: uid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1615:71 [ 76s] | [ 76s] 1615 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1673:74 [ 76s] | [ 76s] 1673 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1735:75 [ 76s] | [ 76s] 1735 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1765:25 [ 76s] | [ 76s] 1765 | let mut caller_uid: uid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1792:85 [ 76s] | [ 76s] 1792 | RequestResult::VAL(handle_enable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1818:25 [ 76s] | [ 76s] 1818 | let mut caller_uid: uid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1845:86 [ 76s] | [ 76s] 1845 | RequestResult::VAL(handle_disable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1863:40 [ 76s] | [ 76s] 1863 | Util::KillAppsInPkg(pkg_id, uid as uid_t) [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1873:25 [ 76s] | [ 76s] 1873 | let mut caller_pid: pid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1874:25 [ 76s] | [ 76s] 1874 | let mut caller_uid: uid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1985:25 [ 76s] | [ 76s] 1985 | let mut caller_pid: pid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1986:25 [ 76s] | [ 76s] 1986 | let mut caller_uid: uid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:2035:25 [ 76s] | [ 76s] 2035 | let mut caller_pid: pid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:2036:25 [ 76s] | [ 76s] 2036 | let mut caller_uid: uid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:2083:54 [ 76s] | [ 76s] 2083 | Util::EnableGlobalAppSplashScreen(app_id, uid as uid_t) [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:2093:55 [ 76s] | [ 76s] 2093 | Util::DisableGlobalAppSplashScreen(app_id, uid as uid_t) [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:2105:25 [ 76s] | [ 76s] 2105 | let mut caller_pid: pid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:2106:25 [ 76s] | [ 76s] 2106 | let mut caller_uid: uid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:2137:102 [ 76s] | [ 76s] 2137 | RequestResult::DELAYED(generated_req_key, Util::update_app_label(app_id.as_ptr(), uid as uid_t , label.as_ptr())) [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:2155:25 [ 76s] | [ 76s] 2155 | let mut caller_pid: pid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:2156:25 [ 76s] | [ 76s] 2156 | let mut caller_uid: uid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:2187:101 [ 76s] | [ 76s] 2187 | RequestResult::DELAYED(generated_req_key, Util::update_app_icon(app_id.as_ptr(), uid as uid_t , icon_path.as_ptr())) [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:2312:25 [ 76s] | [ 76s] 2312 | let mut caller_uid: uid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:2313:25 [ 76s] | [ 76s] 2313 | let mut caller_pid: pid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:2383:25 [ 76s] | [ 76s] 2383 | let mut caller_uid: uid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:2384:25 [ 76s] | [ 76s] 2384 | let mut caller_pid: pid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:2453:25 [ 76s] | [ 76s] 2453 | let mut caller_uid: uid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:2454:25 [ 76s] | [ 76s] 2454 | let mut caller_pid: pid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:2532:25 [ 76s] | [ 76s] 2532 | let mut caller_uid: uid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:2622:41 [ 76s] | [ 76s] 2622 | if unsafe { check_valid_path(uid as uid_t, pkg_id, file_path) } != 0 { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:2681:19 [ 76s] | [ 76s] 2681 | pid: *mut pid_t, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/admin_service.rs:2682:19 [ 76s] | [ 76s] 2682 | uid: *mut uid_t [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 76s] | [ 76s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/backend_context.rs:3:33 [ 76s] | [ 76s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/cache_service.rs:12:26 [ 76s] | [ 76s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/cache_service.rs:12:33 [ 76s] | [ 76s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/cache_service.rs:23:14 [ 76s] | [ 76s] 23 | uid: uid_t, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/cache_service.rs:48:17 [ 76s] | [ 76s] 48 | target_uid: uid_t, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/cache_service.rs:53:25 [ 76s] | [ 76s] 53 | let mut caller_uid: uid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/cache_service.rs:106:19 [ 76s] | [ 76s] 106 | pid: *mut pid_t, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/cache_service.rs:107:19 [ 76s] | [ 76s] 107 | uid: *mut uid_t [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 76s] | [ 76s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/delayed_service.rs:13:33 [ 76s] | [ 76s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/info_service.rs:2:26 [ 76s] | [ 76s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/info_service.rs:2:33 [ 76s] | [ 76s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/info_service.rs:37:90 [ 76s] | [ 76s] 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... [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/info_service.rs:38:94 [ 76s] | [ 76s] 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... [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/info_service.rs:40:88 [ 76s] | [ 76s] 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... [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/info_service.rs:40:128 [ 76s] | [ 76s] 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... [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/info_service.rs:54:17 [ 76s] | [ 76s] 54 | target_uid: uid_t, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/info_service.rs:60:25 [ 76s] | [ 76s] 60 | let mut caller_pid: pid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/info_service.rs:61:25 [ 76s] | [ 76s] 61 | let mut caller_uid: uid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/info_service.rs:114:17 [ 76s] | [ 76s] 114 | target_uid: uid_t, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/info_service.rs:120:25 [ 76s] | [ 76s] 120 | let mut caller_pid: pid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/info_service.rs:121:25 [ 76s] | [ 76s] 121 | let mut caller_uid: uid_t = 0; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/info_service.rs:223:17 [ 76s] | [ 76s] 223 | target_uid: uid_t, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/info_service.rs:225:15 [ 76s] | [ 76s] 225 | pid: *mut pid_t, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/info_service.rs:228:43 [ 76s] | [ 76s] 228 | Util::check_app(pkg_id, target_uid as uid_t, pid) [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/info_service.rs:242:19 [ 76s] | [ 76s] 242 | pid: *mut pid_t, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/info_service.rs:243:19 [ 76s] | [ 76s] 243 | uid: *mut uid_t [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/signal.rs:2:26 [ 76s] | [ 76s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 76s] | [ 76s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/signal.rs:99:20 [ 76s] | [ 76s] 99 | const GLOBAL_USER: uid_t = 201; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/signal.rs:101:33 [ 76s] | [ 76s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/signal.rs:101:47 [ 76s] | [ 76s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/signal.rs:102:26 [ 76s] | [ 76s] 102 | let mut uid_vec: Vec = vec![]; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/signal.rs:110:28 [ 76s] | [ 76s] 110 | let mut uids: *mut uid_t = std::ptr::null_mut(); [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/signal.rs:124:14 [ 76s] | [ 76s] 124 | uid: uid_t, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/signal.rs:53:44 [ 76s] | [ 76s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/signal.rs:62:14 [ 76s] | [ 76s] 62 | uid: uid_t, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/signal.rs:86:14 [ 76s] | [ 76s] 86 | uid: uid_t, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/signal.rs:40:30 [ 76s] | [ 76s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 76s] | [ 76s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/signal.rs:44:45 [ 76s] | [ 76s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:4:26 [ 76s] | [ 76s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:4:33 [ 76s] | [ 76s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:22:21 [ 76s] | [ 76s] 22 | const REGULAR_USER: uid_t = 5000; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:23:20 [ 76s] | [ 76s] 23 | const GLOBAL_USER: uid_t = 201; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:25:18 [ 76s] | [ 76s] 25 | const APPFW_UID: uid_t = 301; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:307:36 [ 76s] | [ 76s] 307 | let uid : uid_t = user_data as uid_t; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:307:15 [ 76s] | [ 76s] 307 | let uid : uid_t = user_data as uid_t; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:326:81 [ 76s] | [ 76s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:326:93 [ 76s] | [ 76s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:326:25 [ 76s] | [ 76s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:326:37 [ 76s] | [ 76s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:389:57 [ 76s] | [ 76s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:420:55 [ 76s] | [ 76s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:686:62 [ 76s] | [ 76s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:696:63 [ 76s] | [ 76s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:706:44 [ 76s] | [ 76s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:706:63 [ 76s] | [ 76s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:728:49 [ 76s] | [ 76s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:738:50 [ 76s] | [ 76s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:747:55 [ 76s] | [ 76s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:757:56 [ 76s] | [ 76s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:766:61 [ 76s] | [ 76s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:775:62 [ 76s] | [ 76s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:784:67 [ 76s] | [ 76s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:793:68 [ 76s] | [ 76s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:802:54 [ 76s] | [ 76s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:802:64 [ 76s] | [ 76s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:813:47 [ 76s] | [ 76s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:835:53 [ 76s] | [ 76s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:855:25 [ 76s] | [ 76s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:983:69 [ 76s] | [ 76s] 983 | pub fn get_application_info_by_appid(appid: *const c_char, uid: uid_t) -> Option<(CString, bool)> { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:1012:41 [ 76s] | [ 76s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:1012:53 [ 76s] | [ 76s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:1029:71 [ 76s] | [ 76s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:1029:90 [ 76s] | [ 76s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:1076:56 [ 76s] | [ 76s] 1076 | pub fn update_app_label(appid: *const c_char, uid: uid_t, label: *const c_char) -> c_int { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:1080:55 [ 76s] | [ 76s] 1080 | pub fn update_app_icon(appid: *const c_char, uid: uid_t, icon_path: *const c_char) -> c_int { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:1108:49 [ 76s] | [ 76s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:1108:66 [ 76s] | [ 76s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:156:14 [ 76s] | [ 76s] 156 | uid: uid_t, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:166:14 [ 76s] | [ 76s] 166 | uid: uid_t, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:180:14 [ 76s] | [ 76s] 180 | uid: uid_t [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:185:14 [ 76s] | [ 76s] 185 | uid: uid_t [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:189:14 [ 76s] | [ 76s] 189 | uid: uid_t [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:194:14 [ 76s] | [ 76s] 194 | uid: uid_t, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:200:14 [ 76s] | [ 76s] 200 | uid: uid_t, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:206:14 [ 76s] | [ 76s] 206 | uid: uid_t, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:212:14 [ 76s] | [ 76s] 212 | uid: uid_t, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:218:14 [ 76s] | [ 76s] 218 | uid: uid_t, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:224:14 [ 76s] | [ 76s] 224 | uid: uid_t, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:237:32 [ 76s] | [ 76s] 237 | fn gum_user_get_sync(uid : uid_t, offline : c_int) -> *mut c_void; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:266:21 [ 76s] | [ 76s] 266 | caller_uid: uid_t [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:274:14 [ 76s] | [ 76s] 274 | uid: uid_t, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:40:30 [ 76s] | [ 76s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:40:37 [ 76s] | [ 76s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:46:18 [ 76s] | [ 76s] 46 | uid: uid_t, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:52:18 [ 76s] | [ 76s] 52 | uid: uid_t, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:67:18 [ 76s] | [ 76s] 67 | uid: uid_t, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:101:18 [ 76s] | [ 76s] 101 | uid: uid_t, [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:122:70 [ 76s] | [ 76s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:123:66 [ 76s] | [ 76s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:124:59 [ 76s] | [ 76s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/util.rs:125:97 [ 76s] | [ 76s] 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; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 76s] | [ 76s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 76s] | [ 76s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/test/signal_tests.rs:12:26 [ 76s] | [ 76s] 12 | let mut uid_vec: Vec = vec![]; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 76s] --> ./src/pkgmgr/server/test/signal_tests.rs:19:26 [ 76s] | [ 76s] 19 | let mut uid_vec: Vec = vec![]; [ 76s] | ^^^^^ [ 76s] [ 76s] warning: unreachable expression [ 76s] --> ./src/pkgmgr/server/backend_queue.rs:64:5 [ 76s] | [ 76s] 61 | return G_SOURCE_CONTINUE; [ 76s] | ------------------------ any code following this expression is unreachable [ 76s] ... [ 76s] 64 | 1 [ 76s] | ^ unreachable expression [ 76s] | [ 76s] = note: `#[warn(unreachable_code)]` on by default [ 76s] [ 77s] warning: unused import: `super::super::super::server::service::Service` [ 77s] --> ./src/pkgmgr/server/test/info_service_tests.rs:3:5 [ 77s] | [ 77s] 3 | use super::super::super::server::service::Service; [ 77s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 77s] [ 77s] warning: unused variable: `context` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:297:5 [ 77s] | [ 77s] 297 | context: *mut c_void, [ 77s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 77s] | [ 77s] = note: `#[warn(unused_variables)]` on by default [ 77s] [ 77s] warning: unused variable: `context` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:306:5 [ 77s] | [ 77s] 306 | context: *mut c_void, [ 77s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 77s] [ 77s] warning: unused variable: `user_data` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:307:5 [ 77s] | [ 77s] 307 | user_data: *mut c_void, [ 77s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 77s] [ 77s] warning: unused variable: `ret` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:323:9 [ 77s] | [ 77s] 323 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 77s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 77s] [ 77s] warning: unused variable: `req_id` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:318:5 [ 77s] | [ 77s] 318 | req_id: *const c_char, [ 77s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:415:9 [ 77s] | [ 77s] 415 | let mut backend_context = BackendContext::new( [ 77s] | ----^^^^^^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] | [ 77s] = note: `#[warn(unused_mut)]` on by default [ 77s] [ 77s] warning: unused variable: `ret` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:444:9 [ 77s] | [ 77s] 444 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 77s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 77s] [ 77s] warning: unused variable: `req_id` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:434:5 [ 77s] | [ 77s] 434 | req_id: *const c_char, [ 77s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:510:9 [ 77s] | [ 77s] 510 | let mut backend_context = BackendContext::new( [ 77s] | ----^^^^^^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: unused variable: `ret` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:549:9 [ 77s] | [ 77s] 549 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 77s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:571:9 [ 77s] | [ 77s] 571 | let mut backend_context = BackendContext::new( [ 77s] | ----^^^^^^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: unused variable: `ret` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:596:9 [ 77s] | [ 77s] 596 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 77s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 77s] [ 77s] warning: unused variable: `req_id` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:591:5 [ 77s] | [ 77s] 591 | req_id: *const c_char, [ 77s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:688:9 [ 77s] | [ 77s] 688 | let mut backend_context = BackendContext::new( [ 77s] | ----^^^^^^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: unused variable: `ret` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:719:9 [ 77s] | [ 77s] 719 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 77s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 77s] [ 77s] warning: unused variable: `req_id` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:706:5 [ 77s] | [ 77s] 706 | req_id: *const c_char, [ 77s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:763:9 [ 77s] | [ 77s] 763 | let mut backend_context = BackendContext::new( [ 77s] | ----^^^^^^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: unused variable: `ret` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:802:9 [ 77s] | [ 77s] 802 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 77s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:824:9 [ 77s] | [ 77s] 824 | let mut backend_context = BackendContext::new( [ 77s] | ----^^^^^^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: unused variable: `ret` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:854:9 [ 77s] | [ 77s] 854 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 77s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:898:9 [ 77s] | [ 77s] 898 | let mut backend_context = BackendContext::new( [ 77s] | ----^^^^^^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: unused variable: `ret` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:938:9 [ 77s] | [ 77s] 938 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 77s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:961:9 [ 77s] | [ 77s] 961 | let mut backend_context = BackendContext::new( [ 77s] | ----^^^^^^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: unused variable: `ret` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:991:9 [ 77s] | [ 77s] 991 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 77s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1038:17 [ 77s] | [ 77s] 1038 | let mut backend_context = BackendContext::new( [ 77s] | ----^^^^^^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: unused variable: `ret` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1073:9 [ 77s] | [ 77s] 1073 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 77s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1123:17 [ 77s] | [ 77s] 1123 | let mut backend_context = BackendContext::new( [ 77s] | ----^^^^^^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: unused variable: `pkg_id` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1186:9 [ 77s] | [ 77s] 1186 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) }); [ 77s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1180:9 [ 77s] | [ 77s] 1180 | let mut handle : *mut c_void = Util::CreatePkgUpdateInfo(pkg_id, version, update_type); [ 77s] | ----^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1190:9 [ 77s] | [ 77s] 1190 | let mut backend_context = BackendContext::new( [ 77s] | ----^^^^^^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1248:9 [ 77s] | [ 77s] 1248 | let mut backend_context = BackendContext::new( [ 77s] | ----^^^^^^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1297:9 [ 77s] | [ 77s] 1297 | let mut backend_context = BackendContext::new( [ 77s] | ----^^^^^^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: unused variable: `is_global` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1321:17 [ 77s] | [ 77s] 1321 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 77s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 77s] [ 77s] warning: unused variable: `is_global` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1368:17 [ 77s] | [ 77s] 1368 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 77s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 77s] [ 77s] warning: unused variable: `is_global` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1424:17 [ 77s] | [ 77s] 1424 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 77s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 77s] [ 77s] warning: unused variable: `is_global` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1472:17 [ 77s] | [ 77s] 1472 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 77s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 77s] [ 77s] warning: unused variable: `caller_uid` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1535:13 [ 77s] | [ 77s] 1535 | let mut caller_uid: uid_t = 0; [ 77s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 77s] [ 77s] warning: unused variable: `context` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1521:5 [ 77s] | [ 77s] 1521 | context: *mut c_void, [ 77s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1535:9 [ 77s] | [ 77s] 1535 | let mut caller_uid: uid_t = 0; [ 77s] | ----^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1558:13 [ 77s] | [ 77s] 1558 | let mut backend_context = BackendContext::new( [ 77s] | ----^^^^^^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: unused variable: `caller_uid` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1588:13 [ 77s] | [ 77s] 1588 | let mut caller_uid: uid_t = 0; [ 77s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 77s] [ 77s] warning: unused variable: `context` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1574:5 [ 77s] | [ 77s] 1574 | context: *mut c_void, [ 77s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1588:9 [ 77s] | [ 77s] 1588 | let mut caller_uid: uid_t = 0; [ 77s] | ----^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1611:13 [ 77s] | [ 77s] 1611 | let mut backend_context = BackendContext::new( [ 77s] | ----^^^^^^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: unused variable: `context` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1627:5 [ 77s] | [ 77s] 1627 | context: *mut c_void, [ 77s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1669:17 [ 77s] | [ 77s] 1669 | let mut backend_context = BackendContext::new( [ 77s] | ----^^^^^^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: unused variable: `context` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1689:5 [ 77s] | [ 77s] 1689 | context: *mut c_void, [ 77s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1731:17 [ 77s] | [ 77s] 1731 | let mut backend_context = BackendContext::new( [ 77s] | ----^^^^^^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: unused variable: `caller_uid` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1765:13 [ 77s] | [ 77s] 1765 | let mut caller_uid: uid_t = 0; [ 77s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 77s] [ 77s] warning: unused variable: `context` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1751:5 [ 77s] | [ 77s] 1751 | context: *mut c_void, [ 77s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1765:9 [ 77s] | [ 77s] 1765 | let mut caller_uid: uid_t = 0; [ 77s] | ----^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1788:13 [ 77s] | [ 77s] 1788 | let mut backend_context = BackendContext::new( [ 77s] | ----^^^^^^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: unused variable: `caller_uid` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1818:13 [ 77s] | [ 77s] 1818 | let mut caller_uid: uid_t = 0; [ 77s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 77s] [ 77s] warning: unused variable: `context` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1804:5 [ 77s] | [ 77s] 1804 | context: *mut c_void, [ 77s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1818:9 [ 77s] | [ 77s] 1818 | let mut caller_uid: uid_t = 0; [ 77s] | ----^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1841:13 [ 77s] | [ 77s] 1841 | let mut backend_context = BackendContext::new( [ 77s] | ----^^^^^^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: unused variable: `context` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1857:5 [ 77s] | [ 77s] 1857 | context: *mut c_void, [ 77s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 77s] [ 77s] warning: unused variable: `pid` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1860:5 [ 77s] | [ 77s] 1860 | pid: *mut c_int, [ 77s] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [ 77s] [ 77s] warning: unused variable: `user_data` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1861:5 [ 77s] | [ 77s] 1861 | user_data: *mut c_void, [ 77s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1900:9 [ 77s] | [ 77s] 1900 | let mut backend_context = BackendContext::new( [ 77s] | ----^^^^^^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: unused variable: `context` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:1932:5 [ 77s] | [ 77s] 1932 | context: *mut c_void, [ 77s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2012:9 [ 77s] | [ 77s] 2012 | let mut backend_context = BackendContext::new( [ 77s] | ----^^^^^^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2063:9 [ 77s] | [ 77s] 2063 | let mut backend_context = BackendContext::new( [ 77s] | ----^^^^^^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: unused variable: `context` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2078:5 [ 77s] | [ 77s] 2078 | context: *mut c_void, [ 77s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 77s] [ 77s] warning: unused variable: `user_data` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2081:5 [ 77s] | [ 77s] 2081 | user_data: *mut c_void, [ 77s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 77s] [ 77s] warning: unused variable: `context` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2088:5 [ 77s] | [ 77s] 2088 | context: *mut c_void, [ 77s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 77s] [ 77s] warning: unused variable: `user_data` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2091:5 [ 77s] | [ 77s] 2091 | user_data: *mut c_void, [ 77s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2133:9 [ 77s] | [ 77s] 2133 | let mut backend_context = BackendContext::new( [ 77s] | ----^^^^^^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2183:9 [ 77s] | [ 77s] 2183 | let mut backend_context = BackendContext::new( [ 77s] | ----^^^^^^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: unused variable: `context` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2198:5 [ 77s] | [ 77s] 2198 | context: *mut c_void, [ 77s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 77s] [ 77s] warning: unused variable: `uid` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2199:5 [ 77s] | [ 77s] 2199 | uid: c_int, [ 77s] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [ 77s] [ 77s] warning: unused variable: `pkg_id` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2200:5 [ 77s] | [ 77s] 2200 | pkg_id: *const c_char, [ 77s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 77s] [ 77s] warning: unused variable: `user_data` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2201:5 [ 77s] | [ 77s] 2201 | user_data: *mut c_void, [ 77s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2364:9 [ 77s] | [ 77s] 2364 | let mut backend_context = BackendContext::new( [ 77s] | ----^^^^^^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2434:9 [ 77s] | [ 77s] 2434 | let mut backend_context = BackendContext::new( [ 77s] | ----^^^^^^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2504:9 [ 77s] | [ 77s] 2504 | let mut backend_context = BackendContext::new( [ 77s] | ----^^^^^^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: unused variable: `ret` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2533:9 [ 77s] | [ 77s] 2533 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 77s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2552:9 [ 77s] | [ 77s] 2552 | let mut backend_context = BackendContext::new( [ 77s] | ----^^^^^^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: unused variable: `context` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2567:5 [ 77s] | [ 77s] 2567 | context: *mut c_void, [ 77s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2597:9 [ 77s] | [ 77s] 2597 | let mut backend_context = BackendContext::new( [ 77s] | ----^^^^^^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: unused variable: `context` [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2612:5 [ 77s] | [ 77s] 2612 | context: *mut c_void, [ 77s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/admin_service.rs:2656:9 [ 77s] | [ 77s] 2656 | let mut backend_context = BackendContext::new( [ 77s] | ----^^^^^^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: unused variable: `status` [ 77s] --> ./src/pkgmgr/server/backend_queue.rs:38:17 [ 77s] | [ 77s] 38 | let mut status: c_int; [ 77s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [ 77s] [ 77s] warning: unused variable: `io` [ 77s] --> ./src/pkgmgr/server/backend_queue.rs:30:33 [ 77s] | [ 77s] 30 | extern "C" fn signal_handler_cb(io: *mut glib_sys::GIOChannel, [ 77s] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [ 77s] [ 77s] warning: unused variable: `cond` [ 77s] --> ./src/pkgmgr/server/backend_queue.rs:31:9 [ 77s] | [ 77s] 31 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 77s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/backend_queue.rs:71:9 [ 77s] | [ 77s] 71 | let mut mut_queue = queue.borrow_mut(); [ 77s] | ----^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/backend_queue.rs:189:28 [ 77s] | [ 77s] 189 | pub fn push(&mut self, mut context: BackendContext) -> i32 { [ 77s] | ----^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: unused variable: `req_key` [ 77s] --> ./src/pkgmgr/server/backend_queue.rs:296:41 [ 77s] | [ 77s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 77s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_key` [ 77s] [ 77s] warning: unused variable: `ret` [ 77s] --> ./src/pkgmgr/server/backend_queue.rs:296:50 [ 77s] | [ 77s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 77s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 77s] [ 77s] warning: unused variable: `s` [ 77s] --> ./src/pkgmgr/server/backend_queue.rs:296:55 [ 77s] | [ 77s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 77s] | ^ help: if this is intentional, prefix it with an underscore: `_s` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/backend_queue.rs:278:25 [ 77s] | [ 77s] 278 | let mut backend: &mut Backend = backend.unwrap(); [ 77s] | ----^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: unused variable: `context` [ 77s] --> ./src/pkgmgr/server/cache_service.rs:31:5 [ 77s] | [ 77s] 31 | context: *mut c_void, [ 77s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 77s] [ 77s] warning: unused variable: `context` [ 77s] --> ./src/pkgmgr/server/cache_service.rs:40:5 [ 77s] | [ 77s] 40 | context: *mut c_void, [ 77s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 77s] [ 77s] warning: unused variable: `user_data` [ 77s] --> ./src/pkgmgr/server/cache_service.rs:41:5 [ 77s] | [ 77s] 41 | user_data: *mut c_void, [ 77s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 77s] [ 77s] warning: unused variable: `ret` [ 77s] --> ./src/pkgmgr/server/cache_service.rs:54:9 [ 77s] | [ 77s] 54 | let ret = unsafe { rpc_port_stub_PkgMgrForClearCache_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 77s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 77s] [ 77s] warning: value assigned to `pkg_type` is never read [ 77s] --> ./src/pkgmgr/server/cache_service.rs:63:13 [ 77s] | [ 77s] 63 | let mut pkg_type: String = String::new(); [ 77s] | ^^^^^^^^ [ 77s] | [ 77s] = help: maybe it is overwritten before being read? [ 77s] = note: `#[warn(unused_assignments)]` on by default [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/cache_service.rs:83:9 [ 77s] | [ 77s] 83 | let mut backend_context = BackendContext::new( [ 77s] | ----^^^^^^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: unused variable: `context` [ 77s] --> ./src/pkgmgr/server/delayed_service.rs:32:5 [ 77s] | [ 77s] 32 | context: *mut c_void, [ 77s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 77s] [ 77s] warning: unused variable: `context` [ 77s] --> ./src/pkgmgr/server/delayed_service.rs:41:5 [ 77s] | [ 77s] 41 | context: *mut c_void, [ 77s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 77s] [ 77s] warning: unused variable: `user_data` [ 77s] --> ./src/pkgmgr/server/delayed_service.rs:42:5 [ 77s] | [ 77s] 42 | user_data: *mut c_void, [ 77s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 77s] [ 77s] warning: unused variable: `context` [ 77s] --> ./src/pkgmgr/server/delayed_service.rs:48:5 [ 77s] | [ 77s] 48 | context: *mut c_void, [ 77s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 77s] [ 77s] warning: unused variable: `context` [ 77s] --> ./src/pkgmgr/server/info_service.rs:43:55 [ 77s] | [ 77s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 77s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 77s] [ 77s] warning: unused variable: `context` [ 77s] --> ./src/pkgmgr/server/info_service.rs:48:58 [ 77s] | [ 77s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 77s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 77s] [ 77s] warning: unused variable: `user_data` [ 77s] --> ./src/pkgmgr/server/info_service.rs:48:80 [ 77s] | [ 77s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 77s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/info_service.rs:98:9 [ 77s] | [ 77s] 98 | let mut backend_context = BackendContext::new( [ 77s] | ----^^^^^^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/info_service.rs:160:9 [ 77s] | [ 77s] 160 | let mut backend_context = BackendContext::new( [ 77s] | ----^^^^^^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 77s] warning: unused variable: `context` [ 77s] --> ./src/pkgmgr/server/info_service.rs:195:5 [ 77s] | [ 77s] 195 | context: *mut c_void, [ 77s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 77s] [ 77s] warning: unused variable: `context` [ 77s] --> ./src/pkgmgr/server/info_service.rs:222:5 [ 77s] | [ 77s] 222 | context: *mut c_void, [ 77s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 77s] [ 77s] warning: unused variable: `user_data` [ 77s] --> ./src/pkgmgr/server/info_service.rs:226:5 [ 77s] | [ 77s] 226 | user_data: *mut c_void [ 77s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 77s] [ 77s] warning: variable does not need to be mutable [ 77s] --> ./src/pkgmgr/server/signal.rs:144:13 [ 77s] | [ 77s] 144 | let mut c_req_type: c_int; [ 77s] | ----^^^^^^^^^^ [ 77s] | | [ 77s] | help: remove this `mut` [ 77s] [ 78s] warning: value assigned to `size_result` is never read [ 78s] --> ./src/pkgmgr/server/util.rs:351:17 [ 78s] | [ 78s] 351 | let mut size_result: i64 = -1; [ 78s] | ^^^^^^^^^^^ [ 78s] | [ 78s] = help: maybe it is overwritten before being read? [ 78s] [ 78s] warning: unused variable: `cond` [ 78s] --> ./src/pkgmgr/server/util.rs:341:9 [ 78s] | [ 78s] 341 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 78s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 78s] [ 78s] warning: value assigned to `ret` is never read [ 78s] --> ./src/pkgmgr/server/util.rs:425:21 [ 78s] | [ 78s] 425 | let mut ret: c_int = 0; [ 78s] | ^^^ [ 78s] | [ 78s] = help: maybe it is overwritten before being read? [ 78s] [ 78s] warning: unreachable pattern [ 78s] --> ./src/pkgmgr/server/util.rs:478:17 [ 78s] | [ 78s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 78s] | -------------------------------------- matches any value [ 78s] ... [ 78s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 78s] | [ 78s] = note: `#[warn(unreachable_patterns)]` on by default [ 78s] [ 78s] warning: unreachable pattern [ 78s] --> ./src/pkgmgr/server/util.rs:483:17 [ 78s] | [ 78s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 78s] | -------------------------------------- matches any value [ 78s] ... [ 78s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 78s] [ 78s] warning: unreachable pattern [ 78s] --> ./src/pkgmgr/server/util.rs:488:17 [ 78s] | [ 78s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 78s] | -------------------------------------- matches any value [ 78s] ... [ 78s] 488 | _ => { [ 78s] | ^ unreachable pattern [ 78s] [ 78s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 78s] --> ./src/pkgmgr/server/util.rs:473:17 [ 78s] | [ 78s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 78s] [ 78s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_TEXT` [ 78s] --> ./src/pkgmgr/server/util.rs:478:17 [ 78s] | [ 78s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_TEXT` [ 78s] [ 78s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 78s] --> ./src/pkgmgr/server/util.rs:483:17 [ 78s] | [ 78s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/util.rs:519:13 [ 78s] | [ 78s] 519 | let mut attr = xmlTextReaderGetAttribute(reader, RES_TYPE_ATTRIBUTE_KEY.as_ptr()); [ 78s] | ----^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/util.rs:588:13 [ 78s] | [ 78s] 588 | let mut reader = [ 78s] | ----^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: unused variable: `gid` [ 78s] --> ./src/pkgmgr/server/util.rs:891:52 [ 78s] | [ 78s] 891 | fn set_environment(mut envs: Vec<&mut String>, gid: libc::gid_t) -> bool { [ 78s] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:15:38 [ 78s] | [ 78s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:15:40 [ 78s] | [ 78s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `z` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:15:42 [ 78s] | [ 78s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:22:38 [ 78s] | [ 78s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:22:40 [ 78s] | [ 78s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `z` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:22:42 [ 78s] | [ 78s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:29:38 [ 78s] | [ 78s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:29:40 [ 78s] | [ 78s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `z` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:29:42 [ 78s] | [ 78s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:31:39 [ 78s] | [ 78s] 31 | ctx2.expect().times(1).returning(|x,y| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:31:41 [ 78s] | [ 78s] 31 | ctx2.expect().times(1).returning(|x,y| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:38:38 [ 78s] | [ 78s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:38:40 [ 78s] | [ 78s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `z` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:38:42 [ 78s] | [ 78s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:40:39 [ 78s] | [ 78s] 40 | ctx2.expect().times(1).returning(|x,y: *mut bool| { [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:45:40 [ 78s] | [ 78s] 45 | ctx_d.expect().times(1).returning(|x| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:52:38 [ 78s] | [ 78s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:52:40 [ 78s] | [ 78s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `z` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:52:42 [ 78s] | [ 78s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:54:39 [ 78s] | [ 78s] 54 | ctx2.expect().times(1).returning(|x,y: *mut bool| { [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:59:40 [ 78s] | [ 78s] 59 | ctx_d.expect().times(1).returning(|x| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:67:38 [ 78s] | [ 78s] 67 | ctx.expect().times(1).returning(|x,y| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:67:40 [ 78s] | [ 78s] 67 | ctx.expect().times(1).returning(|x,y| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:74:38 [ 78s] | [ 78s] 74 | ctx.expect().times(1).returning(|x,y| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:74:40 [ 78s] | [ 78s] 74 | ctx.expect().times(1).returning(|x,y| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:76:39 [ 78s] | [ 78s] 76 | ctx2.expect().times(1).returning(|x,y| -1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:76:41 [ 78s] | [ 78s] 76 | ctx2.expect().times(1).returning(|x,y| -1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:83:38 [ 78s] | [ 78s] 83 | ctx.expect().times(1).returning(|x,y| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:83:40 [ 78s] | [ 78s] 83 | ctx.expect().times(1).returning(|x,y| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:85:39 [ 78s] | [ 78s] 85 | ctx2.expect().times(1).returning(|x,y| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:85:41 [ 78s] | [ 78s] 85 | ctx2.expect().times(1).returning(|x,y| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:87:39 [ 78s] | [ 78s] 87 | ctx3.expect().times(1).returning(|x,y| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:87:41 [ 78s] | [ 78s] 87 | ctx3.expect().times(1).returning(|x,y| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:94:38 [ 78s] | [ 78s] 94 | ctx.expect().times(1).returning(|x,y| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:94:40 [ 78s] | [ 78s] 94 | ctx.expect().times(1).returning(|x,y| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:96:39 [ 78s] | [ 78s] 96 | ctx2.expect().times(1).returning(|x,y| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:96:41 [ 78s] | [ 78s] 96 | ctx2.expect().times(1).returning(|x,y| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:98:39 [ 78s] | [ 78s] 98 | ctx3.expect().times(1).returning(|x,y| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:98:41 [ 78s] | [ 78s] 98 | ctx3.expect().times(1).returning(|x,y| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:106:38 [ 78s] | [ 78s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:106:40 [ 78s] | [ 78s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `z` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:106:42 [ 78s] | [ 78s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:113:38 [ 78s] | [ 78s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:113:40 [ 78s] | [ 78s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `z` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:113:42 [ 78s] | [ 78s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:115:39 [ 78s] | [ 78s] 115 | ctx2.expect().times(1).returning(|x,y| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:115:41 [ 78s] | [ 78s] 115 | ctx2.expect().times(1).returning(|x,y| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:117:39 [ 78s] | [ 78s] 117 | ctx3.expect().times(1).returning(|x| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:124:38 [ 78s] | [ 78s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:124:40 [ 78s] | [ 78s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `z` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:124:42 [ 78s] | [ 78s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:126:39 [ 78s] | [ 78s] 126 | ctx2.expect().times(1).returning(|x,y| { [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:131:39 [ 78s] | [ 78s] 131 | ctx3.expect().times(1).returning(|x| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:138:38 [ 78s] | [ 78s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:138:40 [ 78s] | [ 78s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `z` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:138:42 [ 78s] | [ 78s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:140:39 [ 78s] | [ 78s] 140 | ctx2.expect().times(1).returning(|x,y| { [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:145:39 [ 78s] | [ 78s] 145 | ctx3.expect().times(1).returning(|x| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:153:38 [ 78s] | [ 78s] 153 | ctx.expect().times(1).returning(|x| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:160:38 [ 78s] | [ 78s] 160 | ctx.expect().times(1).returning(|x| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:162:39 [ 78s] | [ 78s] 162 | ctx2.expect().times(1).returning(|x,y| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:162:41 [ 78s] | [ 78s] 162 | ctx2.expect().times(1).returning(|x,y| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:164:40 [ 78s] | [ 78s] 164 | ctx_d.expect().times(1).returning(|x| -1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:171:38 [ 78s] | [ 78s] 171 | ctx.expect().times(1).returning(|x| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:173:39 [ 78s] | [ 78s] 173 | ctx2.expect().times(1).returning(|x,y| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:173:41 [ 78s] | [ 78s] 173 | ctx2.expect().times(1).returning(|x,y| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:175:39 [ 78s] | [ 78s] 175 | ctx3.expect().times(1).returning(|x,y| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:175:41 [ 78s] | [ 78s] 175 | ctx3.expect().times(1).returning(|x,y| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:177:40 [ 78s] | [ 78s] 177 | ctx_d.expect().times(1).returning(|x| -1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:184:38 [ 78s] | [ 78s] 184 | ctx.expect().times(1).returning(|x| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:186:39 [ 78s] | [ 78s] 186 | ctx2.expect().times(1).returning(|x,y| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:186:41 [ 78s] | [ 78s] 186 | ctx2.expect().times(1).returning(|x,y| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:188:39 [ 78s] | [ 78s] 188 | ctx3.expect().times(1).returning(|x,y| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:188:41 [ 78s] | [ 78s] 188 | ctx3.expect().times(1).returning(|x,y| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:190:39 [ 78s] | [ 78s] 190 | ctx4.expect().times(1).returning(|x,y| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:190:41 [ 78s] | [ 78s] 190 | ctx4.expect().times(1).returning(|x,y| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:192:40 [ 78s] | [ 78s] 192 | ctx_d.expect().times(1).returning(|x| -1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:199:38 [ 78s] | [ 78s] 199 | ctx.expect().times(1).returning(|x| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:201:39 [ 78s] | [ 78s] 201 | ctx2.expect().times(1).returning(|x,y| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:201:41 [ 78s] | [ 78s] 201 | ctx2.expect().times(1).returning(|x,y| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:203:39 [ 78s] | [ 78s] 203 | ctx3.expect().times(1).returning(|x,y| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:203:41 [ 78s] | [ 78s] 203 | ctx3.expect().times(1).returning(|x,y| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:205:39 [ 78s] | [ 78s] 205 | ctx4.expect().times(1).returning(|x,y| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:205:41 [ 78s] | [ 78s] 205 | ctx4.expect().times(1).returning(|x,y| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:213:38 [ 78s] | [ 78s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:213:40 [ 78s] | [ 78s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `z` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:213:42 [ 78s] | [ 78s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:220:38 [ 78s] | [ 78s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:220:40 [ 78s] | [ 78s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `z` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:220:42 [ 78s] | [ 78s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:222:39 [ 78s] | [ 78s] 222 | ctx2.expect().times(1).returning(|x,y| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:222:41 [ 78s] | [ 78s] 222 | ctx2.expect().times(1).returning(|x,y| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:224:40 [ 78s] | [ 78s] 224 | ctx_d.expect().times(1).returning(|x| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:231:38 [ 78s] | [ 78s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:231:40 [ 78s] | [ 78s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `z` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:231:42 [ 78s] | [ 78s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:233:39 [ 78s] | [ 78s] 233 | ctx2.expect().times(1).returning(|x,y| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:233:41 [ 78s] | [ 78s] 233 | ctx2.expect().times(1).returning(|x,y| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:235:39 [ 78s] | [ 78s] 235 | ctx3.expect().times(1).returning(|x,y| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:235:41 [ 78s] | [ 78s] 235 | ctx3.expect().times(1).returning(|x,y| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:237:40 [ 78s] | [ 78s] 237 | ctx_d.expect().times(1).returning(|x| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:244:38 [ 78s] | [ 78s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:244:40 [ 78s] | [ 78s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `z` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:244:42 [ 78s] | [ 78s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:246:39 [ 78s] | [ 78s] 246 | ctx2.expect().times(1).returning(|x,y| { [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:251:39 [ 78s] | [ 78s] 251 | ctx3.expect().times(1).returning(|x, y| { [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:256:40 [ 78s] | [ 78s] 256 | ctx_d.expect().times(1).returning(|x| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:264:38 [ 78s] | [ 78s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `y` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:264:40 [ 78s] | [ 78s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 78s] [ 78s] warning: unused variable: `z` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:264:42 [ 78s] | [ 78s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 78s] [ 78s] warning: unused variable: `e` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:264:44 [ 78s] | [ 78s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:271:38 [ 78s] | [ 78s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `z` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:271:42 [ 78s] | [ 78s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 78s] [ 78s] warning: unused variable: `e` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:271:44 [ 78s] | [ 78s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:285:38 [ 78s] | [ 78s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: unused variable: `z` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:285:42 [ 78s] | [ 78s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 78s] [ 78s] warning: unused variable: `e` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:285:44 [ 78s] | [ 78s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 78s] [ 78s] warning: unused variable: `x` [ 78s] --> ./src/pkgmgr/server/test/signal_tests.rs:21:38 [ 78s] | [ 78s] 21 | ctx.expect().times(1).returning(|x| 0); [ 78s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/test/signal_tests.rs:19:9 [ 78s] | [ 78s] 19 | let mut uid_vec: Vec = vec![]; [ 78s] | ----^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:7:9 [ 78s] | [ 78s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 78s] | ----^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:14:9 [ 78s] | [ 78s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 78s] | ----^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:7:9 [ 78s] | [ 78s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 78s] | ----^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:14:9 [ 78s] | [ 78s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 78s] | ----^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:7:9 [ 78s] | [ 78s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 78s] | ----^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:14:9 [ 78s] | [ 78s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 78s] | ----^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/test/info_service_tests.rs:7:9 [ 78s] | [ 78s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 78s] | ----^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/test/info_service_tests.rs:14:9 [ 78s] | [ 78s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 78s] | ----^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: variable does not need to be mutable [ 78s] --> ./src/pkgmgr/server/mod.rs:89:13 [ 78s] | [ 78s] 89 | let mut backend_queue = BackendQueue::new(self.mainloop); [ 78s] | ----^^^^^^^^^^^^^ [ 78s] | | [ 78s] | help: remove this `mut` [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/server/admin_service.rs:995:32 [ 78s] | [ 78s] 993 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] 994 | match CString::new(generated_req_key.clone()) { [ 78s] 995 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] = note: `#[warn(unused_unsafe)]` on by default [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/admin_service.rs:993:5 [ 78s] | [ 78s] 993 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 997 | error!("Fail to generate req key, err({:?})", e); [ 78s] | ------------------------------------------------ in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1023:46 [ 78s] | [ 78s] 993 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 1023 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1077:32 [ 78s] | [ 78s] 1075 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] 1076 | match CString::new(generated_req_key.clone()) { [ 78s] 1077 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 78s] | [ 78s] 1075 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 1079 | error!("Fail to generate req key, err({:?})", e); [ 78s] | ------------------------------------------------ in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 78s] | [ 78s] 1075 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 1106 | debug!("push disable pkg {pkg_id}"); [ 78s] | ----------------------------------- in this macro invocation [ 78s] | [ 78s] = 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) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1108:46 [ 78s] | [ 78s] 1075 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 1108 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1537:5 [ 78s] | [ 78s] 1537 | unsafe { [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1590:5 [ 78s] | [ 78s] 1590 | unsafe { [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1643:32 [ 78s] | [ 78s] 1641 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] 1642 | match CString::new(generated_req_key.clone()) { [ 78s] 1643 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/admin_service.rs:1641:5 [ 78s] | [ 78s] 1641 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 1645 | error!("Fail to generate req key, err({:?})", e); [ 78s] | ------------------------------------------------ in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1657:42 [ 78s] | [ 78s] 1641 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 1657 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1705:32 [ 78s] | [ 78s] 1703 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] 1704 | match CString::new(generated_req_key.clone()) { [ 78s] 1705 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/admin_service.rs:1703:5 [ 78s] | [ 78s] 1703 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 1707 | error!("Fail to generate req key, err({:?})", e); [ 78s] | ------------------------------------------------ in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1719:42 [ 78s] | [ 78s] 1703 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 1719 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1767:5 [ 78s] | [ 78s] 1767 | unsafe { [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/server/admin_service.rs:1820:5 [ 78s] | [ 78s] 1820 | unsafe { [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/server/admin_service.rs:2296:17 [ 78s] | [ 78s] 2294 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] 2295 | if !(*value.offset(i as isize)).is_null() { [ 78s] 2296 | unsafe { free(*value.offset(i as isize) as *mut _) }; [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/admin_service.rs:2793:9 [ 78s] | [ 78s] 2793 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] 2794 | let ret = rpc_port_stub_PkgMgrAdmin_register(&mut self.callbacks, self as *mut _ as *mut c_void); [ 78s] 2795 | debug!("admin service start : {ret}"); [ 78s] | ------------------------------------- in this macro invocation [ 78s] | [ 78s] = 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) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/admin_service.rs:2801:9 [ 78s] | [ 78s] 2801 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] 2802 | let ret = rpc_port_stub_PkgMgrAdmin_unregister(); [ 78s] 2803 | debug!("ret : {ret}"); [ 78s] | --------------------- in this macro invocation [ 78s] | [ 78s] = 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) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 78s] | [ 78s] 204 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 210 | error!("sigprocmask failed"); [ 78s] | ---------------------------- in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 78s] | [ 78s] 204 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 216 | error!("signalfd failed"); [ 78s] | ------------------------- in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/cache_service.rs:134:9 [ 78s] | [ 78s] 134 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 139 | debug!("cache service start : {ret}"); [ 78s] | ------------------------------------- in this macro invocation [ 78s] | [ 78s] = 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) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/cache_service.rs:145:9 [ 78s] | [ 78s] 145 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] 146 | let ret = rpc_port_stub_PkgMgrForClearCache_unregister(); [ 78s] 147 | debug!("ret : {ret}"); [ 78s] | --------------------- in this macro invocation [ 78s] | [ 78s] = 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) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/delayed_service.rs:107:9 [ 78s] | [ 78s] 107 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 112 | debug!("delayed result service start : {ret}"); [ 78s] | ---------------------------------------------- in this macro invocation [ 78s] | [ 78s] = 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) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/delayed_service.rs:118:9 [ 78s] | [ 78s] 118 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] 119 | let ret = rpc_port_stub_DelayedResult_unregister(); [ 78s] 120 | debug!("ret : {ret}"); [ 78s] | --------------------- in this macro invocation [ 78s] | [ 78s] = 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) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/info_service.rs:165:13 [ 78s] | [ 78s] 165 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] 166 | if mkfifo(fifo_path.as_ptr() as *const c_char, 0o600) < 0 { [ 78s] 167 | error!("Failed to mkfifo"); [ 78s] | -------------------------- in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/info_service.rs:268:9 [ 78s] | [ 78s] 268 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 273 | debug!("info service start : {ret}"); [ 78s] | ------------------------------------ in this macro invocation [ 78s] | [ 78s] = 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) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/info_service.rs:279:9 [ 78s] | [ 78s] 279 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] 280 | let ret = rpc_port_stub_PkgMgr_unregister(); [ 78s] 281 | debug!("ret : {ret}"); [ 78s] | --------------------- in this macro invocation [ 78s] | [ 78s] = 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) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 78s] | [ 78s] 131 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 134 | error!("Failure in creating the pkgmgr_installer object"); [ 78s] | --------------------------------------------------------- in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 78s] | [ 78s] 131 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 139 | error!("pkgmgr_installer_set_uid fail"); [ 78s] | --------------------------------------- in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 78s] | [ 78s] 131 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 154 | warn!("Unsupported req_type[{}]", req_type as c_int); [ 78s] | ---------------------------------------------------- in this macro invocation [ 78s] | [ 78s] = 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) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 78s] | [ 78s] 131 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 161 | error!("pkgmgr_installer_set_request_type fail"); [ 78s] | ------------------------------------------------ in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 78s] | [ 78s] 131 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 168 | error!("pkgmgr_installer_set_session_id fail : {:?}", c_req_id); [ 78s] | --------------------------------------------------------------- in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 78s] | [ 78s] 309 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] 310 | if pkgmgrinfo_appinfo_get_appid(pkgmgrinfo_appinfo_h, &mut app_id) != 0 { [ 78s] 311 | error!("Failed get appid"); [ 78s] | -------------------------- in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 78s] | [ 78s] 309 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 314 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 78s] | --------------------------------------------------------- in this macro invocation [ 78s] | [ 78s] = 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) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/server/util.rs:326:46 [ 78s] | [ 78s] 325 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 78s] | [ 78s] 325 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 329 | error!("Failed get appid"); [ 78s] | -------------------------- in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 78s] | [ 78s] 325 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 333 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 78s] | --------------------------------------------------------- in this macro invocation [ 78s] | [ 78s] = 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) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 78s] | [ 78s] 342 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 355 | error!("getsize fd read failed: {:?}", Util::c_char_to_cstr((*err).message)); [ 78s] | ---------------------------------------------------------------------------- in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 78s] | [ 78s] 342 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 361 | error!("empty result"); [ 78s] | ---------------------- in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 78s] | [ 78s] 390 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 399 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 78s] | --------------------------------------------------------- in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 78s] | [ 78s] 390 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 406 | error!("Fail to get is readonly"); [ 78s] | --------------------------------- in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 78s] | [ 78s] 422 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 429 | error!("Not found package"); [ 78s] | --------------------------- in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 78s] | [ 78s] 422 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 445 | debug!("pkgtype - {ret_string}"); [ 78s] | -------------------------------- in this macro invocation [ 78s] | [ 78s] = 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) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:803:9 [ 78s] | [ 78s] 803 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] 804 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 78s] 805 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 78s] | ------------------------------------------------------ in this macro invocation [ 78s] | [ 78s] = 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) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 78s] | [ 78s] 814 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] 815 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 78s] 816 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 78s] | ------------------------------------------------------ in this macro invocation [ 78s] | [ 78s] = 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) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 78s] | [ 78s] 814 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 822 | error!("Failed to get pid of app{:?}", CStr::from_ptr(appid)); [ 78s] | ------------------------------------------------------------- in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 78s] | [ 78s] 814 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 828 | error!("Failed to terminate app{:?}", CStr::from_ptr(appid)); [ 78s] | ------------------------------------------------------------ in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 78s] | [ 78s] 836 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 840 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 78s] | --------------------------------------------------------- in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 78s] | [ 78s] 836 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 848 | error!("Failed to get list for {:?}", CStr::from_ptr(pkgid)); [ 78s] | ------------------------------------------------------------ in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 78s] | [ 78s] 859 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 863 | warn!("cannot get user information from gumd, retry"); [ 78s] | ----------------------------------------------------- in this macro invocation [ 78s] | [ 78s] = 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) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 78s] | [ 78s] 859 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 871 | error!("cannot get user information from gumd, failed"); [ 78s] | ------------------------------------------------------- in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 78s] | [ 78s] 859 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 877 | error!("cannot get user type"); [ 78s] | ------------------------------ in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 78s] | [ 78s] 892 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 895 | error!("Failed to get the number of supplementary group IDs"); [ 78s] | ------------------------------------------------------------- in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 78s] | [ 78s] 892 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 901 | error!("Failed to get list of supplementary group IDs"); [ 78s] | ------------------------------------------------------- in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 78s] | [ 78s] 892 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 908 | error!("setgroups failed: {}", *__errno_location()); [ 78s] | --------------------------------------------------- in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 78s] | [ 78s] 928 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 942 | error!("getpwuid_r fail"); [ 78s] | ------------------------- in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 78s] | [ 78s] 928 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 949 | error!("Fail to get str, err({:?})", e); [ 78s] | --------------------------------------- in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 78s] | [ 78s] 928 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 957 | error!("Fail to get str, err({:?})", e); [ 78s] | --------------------------------------- in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 78s] | [ 78s] 928 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 966 | error!("Failed to set env for the user : {}", APPFW_UID); [ 78s] | -------------------------------------------------------- in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 78s] | [ 78s] 984 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 987 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 78s] | ----------------------------------------------------------------------------------- in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 78s] | [ 78s] 984 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 993 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 78s] | ---------------------------------------------------------------------------- in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 78s] | [ 78s] 984 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 1000 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 78s] | ---------------------------------------------------------------------------- in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/server/util.rs:1005:40 [ 78s] | [ 78s] 984 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 1005 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) } ); [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 78s] | [ 78s] 1081 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 1084 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 78s] | ----------------------------------------------------------------------------------- in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 78s] | [ 78s] 1081 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 1090 | error!("Failed get root path for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 78s] | --------------------------------------------------------------------------- in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 78s] | [ 78s] 1081 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 1098 | error!("Invalid path[{:?}]", Self::c_char_to_cstr(icon_path)); [ 78s] | ------------------------------------------------------------- in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:1109:9 [ 78s] | [ 78s] 1109 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 1119 | error!("Fail to get list for {:?}", CStr::from_ptr(pkgid)); [ 78s] | ---------------------------------------------------------- in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 78s] | [ 78s] 1129 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 1132 | error!("failed to open the fifo({}), errno({})", fifo_path, *__errno_location()); [ 78s] | -------------------------------------------------------------------------------- in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: unnecessary `unsafe` block [ 78s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 78s] | [ 78s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 78s] | ^^^^^^ unnecessary `unsafe` block [ 78s] | [ 78s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 78s] | [ 78s] 1129 | unsafe { [ 78s] | ------ because it's nested under this `unsafe` block [ 78s] ... [ 78s] 1155 | error!("failed to add io watch"); [ 78s] | -------------------------------- in this macro invocation [ 78s] | [ 78s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 78s] [ 78s] warning: constant `SD_LISTEN_FDS_START` is never used [ 78s] --> ./src/pkgmgr/server/mod.rs:28:7 [ 78s] | [ 78s] 28 | const SD_LISTEN_FDS_START: i32 = 3; [ 78s] | ^^^^^^^^^^^^^^^^^^^ [ 78s] | [ 78s] = note: `#[warn(dead_code)]` on by default [ 78s] [ 78s] warning: multiple variants are never constructed [ 78s] --> ./src/pkgmgr/server/mod.rs:43:5 [ 78s] | [ 78s] 42 | enum AUL_RETURN_VALUE { [ 78s] | ---------------- variants in this enum [ 78s] 43 | AUL_R_ENOMEM = -16, //< Out of memory (Since 5.5) [ 78s] | ^^^^^^^^^^^^ [ 78s] 44 | AUL_R_ENOENT = -15, //< App directory entry error [ 78s] | ^^^^^^^^^^^^ [ 78s] 45 | AUL_R_EREJECTED = -14, //< App disable for mode [ 78s] | ^^^^^^^^^^^^^^^ [ 78s] 46 | AUL_R_ENOAPP = -13, //< Failed to find app ID or pkg ID [ 78s] | ^^^^^^^^^^^^ [ 78s] 47 | AUL_R_EHIDDENFORGUEST = -11, //< App hidden for guest mode [ 78s] | ^^^^^^^^^^^^^^^^^^^^^ [ 78s] 48 | AUL_R_ENOLAUNCHPAD = -10, //< no launchpad [ 78s] | ^^^^^^^^^^^^^^^^^^ [ 78s] 49 | AUL_R_ETERMINATING = -9, //< application terminating [ 78s] | ^^^^^^^^^^^^^^^^^^ [ 78s] 50 | AUL_R_EILLACC = -8, //< Illegal Access [ 78s] | ^^^^^^^^^^^^^ [ 78s] 51 | AUL_R_LOCAL = -7, //< Launch by himself [ 78s] | ^^^^^^^^^^^ [ 78s] 52 | AUL_R_ETIMEOUT = -6, //< Timeout [ 78s] | ^^^^^^^^^^^^^^ [ 78s] 53 | AUL_R_ECANCELED = -5, //< Operation canceled [ 78s] | ^^^^^^^^^^^^^^^ [ 78s] 54 | AUL_R_EINVAL = -4, //< Invalid argument [ 78s] | ^^^^^^^^^^^^ [ 78s] 55 | AUL_R_ECOMM = -3, //< Comunication Error [ 78s] | ^^^^^^^^^^^ [ 78s] 56 | AUL_R_ENOINIT = -2, //< AUL handler NOT initialized [ 78s] | ^^^^^^^^^^^^^ [ 78s] 57 | AUL_R_ERROR = -1, //< General error [ 78s] | ^^^^^^^^^^^ [ 78s] [ 78s] warning: field `timer` is never read [ 78s] --> ./src/pkgmgr/server/mod.rs:63:5 [ 78s] | [ 78s] 61 | pub struct Server { [ 78s] | ------ field in this struct [ 78s] 62 | mainloop: *mut GMainLoop, [ 78s] 63 | timer: c_uint [ 78s] | ^^^^^ [ 78s] [ 78s] warning: variants `IO_ERROR`, `OUT_OF_MEMORY`, `INVALID_PARAMETER`, and `PERMISSION_DENIED` are never constructed [ 78s] --> ./src/pkgmgr/server/admin_service.rs:29:5 [ 78s] | [ 78s] 27 | enum RPC_PORT_ERROR { [ 78s] | -------------- variants in this enum [ 78s] 28 | NONE = 0, //< Successful [ 78s] 29 | IO_ERROR = -5, //< Internal I/O error [ 78s] | ^^^^^^^^ [ 78s] 30 | OUT_OF_MEMORY = -12, //< Out of memory [ 78s] | ^^^^^^^^^^^^^ [ 78s] 31 | INVALID_PARAMETER = -22, //< Invalid parameter [ 78s] | ^^^^^^^^^^^^^^^^^ [ 78s] 32 | PERMISSION_DENIED = -13, //< Permission denied [ 78s] | ^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: method `generate_request_id` is never used [ 78s] --> ./src/pkgmgr/server/admin_service.rs:2786:8 [ 78s] | [ 78s] 2713 | impl AdminService { [ 78s] | ----------------- method in this implementation [ 78s] ... [ 78s] 2786 | fn generate_request_id(&self) -> String { [ 78s] | ^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: field `request_type` is never read [ 78s] --> ./src/pkgmgr/server/backend_context.rs:7:5 [ 78s] | [ 78s] 6 | pub struct BackendContext { [ 78s] | -------------- field in this struct [ 78s] 7 | request_type: RequestType, [ 78s] | ^^^^^^^^^^^^ [ 78s] [ 78s] warning: type alias `GIOChannel` is never used [ 78s] --> ./src/pkgmgr/server/backend_queue.rs:14:6 [ 78s] | [ 78s] 14 | type GIOChannel = *mut c_void; [ 78s] | ^^^^^^^^^^ [ 78s] [ 78s] warning: type alias `GIOCondition` is never used [ 78s] --> ./src/pkgmgr/server/backend_queue.rs:15:6 [ 78s] | [ 78s] 15 | type GIOCondition = c_int; [ 78s] | ^^^^^^^^^^^^ [ 78s] [ 78s] warning: variants `EIO`, `ENOPKG`, `EPRIV`, `ETIMEOUT`, `EINVAL`, and `ECOMM` are never constructed [ 78s] --> ./src/pkgmgr/server/info_service.rs:22:5 [ 78s] | [ 78s] 20 | enum PKGMGR_RETURN_VALUE { [ 78s] | ------------------- variants in this enum [ 78s] 21 | ESYSTEM = -9, // Severe system error [ 78s] 22 | EIO = -8, // IO error [ 78s] | ^^^ [ 78s] 23 | ENOMEM = -7, // Out of memory [ 78s] 24 | ENOPKG = -6, // No such package [ 78s] | ^^^^^^ [ 78s] 25 | EPRIV = -5, // Privilege denied [ 78s] | ^^^^^ [ 78s] 26 | ETIMEOUT = -4, // Timeout [ 78s] | ^^^^^^^^ [ 78s] 27 | EINVAL = -3, // Invalid argument [ 78s] | ^^^^^^ [ 78s] 28 | ECOMM = -2, // Comunication Error [ 78s] | ^^^^^ [ 78s] [ 78s] warning: variants `EPRIV` and `ETIMEOUT` are never constructed [ 78s] --> ./src/pkgmgr/server/pkgmgr_return_value.rs:8:5 [ 78s] | [ 78s] 3 | pub enum PKGMGR_RETURN_VALUE { [ 78s] | ------------------- variants in this enum [ 78s] ... [ 78s] 8 | EPRIV = -5, // Privilege denied [ 78s] | ^^^^^ [ 78s] 9 | ETIMEOUT = -4, // Timeout [ 78s] | ^^^^^^^^ [ 78s] [ 78s] warning: variants `KILL`, `CHECK`, `ENABLE_APP_SPLASH_SCREEN`, `DISABLE_APP_SPLASH_SCREEN`, and `MIGRATE_EXTERNAL_IMAGE` are never constructed [ 78s] --> ./src/pkgmgr/server/request_type.rs:20:5 [ 78s] | [ 78s] 1 | pub enum RequestType { [ 78s] | ----------- variants in this enum [ 78s] ... [ 78s] 20 | KILL, [ 78s] | ^^^^ [ 78s] 21 | CHECK, [ 78s] | ^^^^^ [ 78s] ... [ 78s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] ... [ 78s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: multiple variants are never constructed [ 78s] --> ./src/pkgmgr/server/signal.rs:10:2 [ 78s] | [ 78s] 9 | enum PKGMGR_REQ { [ 78s] | ---------- variants in this enum [ 78s] 10 | PERM = -1, [ 78s] | ^^^^ [ 78s] 11 | INVALID = 0, [ 78s] | ^^^^^^^ [ 78s] 12 | INSTALL = 1, [ 78s] | ^^^^^^^ [ 78s] 13 | UNINSTALL = 2, [ 78s] | ^^^^^^^^^ [ 78s] 14 | CLEAR = 3, [ 78s] | ^^^^^ [ 78s] 15 | MOVE = 4, [ 78s] | ^^^^ [ 78s] 16 | RECOVER = 5, [ 78s] | ^^^^^^^ [ 78s] 17 | REINSTALL = 6, [ 78s] | ^^^^^^^^^ [ 78s] 18 | GETSIZE = 7, [ 78s] | ^^^^^^^ [ 78s] 19 | UPGRADE = 8, [ 78s] | ^^^^^^^ [ 78s] 20 | SMACK = 9, [ 78s] | ^^^^^ [ 78s] 21 | MANIFEST_DIRECT_INSTALL = 10, [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] ... [ 78s] 26 | MOUNT_INSTALL = 15, [ 78s] | ^^^^^^^^^^^^^ [ 78s] 27 | DISABLE_PKG = 16, [ 78s] | ^^^^^^^^^^^ [ 78s] 28 | ENABLE_PKG = 17, [ 78s] | ^^^^^^^^^^ [ 78s] 29 | MIGRATE_EXTIMG = 18, [ 78s] | ^^^^^^^^^^^^^^ [ 78s] 30 | RECOVER_DB = 19, [ 78s] | ^^^^^^^^^^ [ 78s] 31 | RES_COPY = 20, [ 78s] | ^^^^^^^^ [ 78s] 32 | RES_CREATE_DIR = 21, [ 78s] | ^^^^^^^^^^^^^^ [ 78s] 33 | RES_REMOVE = 22, [ 78s] | ^^^^^^^^^^ [ 78s] 34 | RES_UNINSTALL = 23 [ 78s] | ^^^^^^^^^^^^^ [ 78s] [ 78s] warning: constant `TZ_SYS_GLOBALAPP_USER` is never used [ 78s] --> ./src/pkgmgr/server/signal.rs:97:7 [ 78s] | [ 78s] 97 | const TZ_SYS_GLOBALAPP_USER: c_int = 22; [ 78s] | ^^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: function `tzplatform_getuid` is never used [ 78s] --> ./src/pkgmgr/server/signal.rs:53:12 [ 78s] | [ 78s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 78s] | ^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: function `sd_get_uids` is never used [ 78s] --> ./src/pkgmgr/server/signal.rs:44:16 [ 78s] | [ 78s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 78s] | ^^^^^^^^^^^ [ 78s] [ 78s] warning: constant `XML_READER_TYPE_ELEMENT` is never used [ 78s] --> ./src/pkgmgr/server/util.rs:29:7 [ 78s] | [ 78s] 29 | const XML_READER_TYPE_ELEMENT: i32 = 1; [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: constant `XML_READER_TYPE_TEXT` is never used [ 78s] --> ./src/pkgmgr/server/util.rs:30:7 [ 78s] | [ 78s] 30 | const XML_READER_TYPE_TEXT: i32 = 3; [ 78s] | ^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: constant `XML_READER_TYPE_END_ELEMENT` is never used [ 78s] --> ./src/pkgmgr/server/util.rs:31:7 [ 78s] | [ 78s] 31 | const XML_READER_TYPE_END_ELEMENT: i32 = 15; [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: type alias `GIOChannel` is never used [ 78s] --> ./src/pkgmgr/server/util.rs:33:6 [ 78s] | [ 78s] 33 | type GIOChannel = *mut c_void; [ 78s] | ^^^^^^^^^^ [ 78s] [ 78s] warning: variants `PMINFO_UI_APP`, `PMINFO_SVC_APP`, `PMINFO_WIDGET_APP`, `PMINFO_WATCH_APP`, and `PMINFO_COMPONENT_BASED_APP` are never constructed [ 78s] --> ./src/pkgmgr/server/util.rs:136:5 [ 78s] | [ 78s] 134 | enum PKGMGRINFO_APP_COMPONENT { [ 78s] | ------------------------ variants in this enum [ 78s] 135 | PMINFO_ALL_APP = 0, //< All Application [ 78s] 136 | PMINFO_UI_APP, //< UI Application [ 78s] | ^^^^^^^^^^^^^ [ 78s] 137 | PMINFO_SVC_APP, //< Service Application [ 78s] | ^^^^^^^^^^^^^^ [ 78s] 138 | PMINFO_WIDGET_APP, //< Widget Application [ 78s] | ^^^^^^^^^^^^^^^^^ [ 78s] 139 | PMINFO_WATCH_APP, //< Watch Application [ 78s] | ^^^^^^^^^^^^^^^^ [ 78s] 140 | PMINFO_COMPONENT_BASED_APP, //< Component-based Application (Since 5.5) [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: associated functions `EnableAppSplashScreen` and `DisableAppSplashScreen` are never used [ 78s] --> ./src/pkgmgr/server/util.rs:766:12 [ 78s] | [ 78s] 384 | impl Util { [ 78s] | --------- associated functions in this implementation [ 78s] ... [ 78s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^ [ 78s] ... [ 78s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: function `pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db` is never used [ 78s] --> ./src/pkgmgr/server/util.rs:204:8 [ 78s] | [ 78s] 204 | fn pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db( [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: function `pkgmgrinfo_pkginfo_get_usr_pkginfo` is never used [ 78s] --> ./src/pkgmgr/server/util.rs:44:16 [ 78s] | [ 78s] 44 | pub fn pkgmgrinfo_pkginfo_get_usr_pkginfo( [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: function `pkgmgrinfo_pkginfo_get_usr_disabled_pkginfo` is never used [ 78s] --> ./src/pkgmgr/server/util.rs:50:16 [ 78s] | [ 78s] 50 | pub fn pkgmgrinfo_pkginfo_get_usr_disabled_pkginfo( [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: function `pkgmgrinfo_pkginfo_is_readonly` is never used [ 78s] --> ./src/pkgmgr/server/util.rs:56:16 [ 78s] | [ 78s] 56 | pub fn pkgmgrinfo_pkginfo_is_readonly( [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: function `pkgmgrinfo_pkginfo_destroy_pkginfo` is never used [ 78s] --> ./src/pkgmgr/server/util.rs:61:16 [ 78s] | [ 78s] 61 | pub fn pkgmgrinfo_pkginfo_destroy_pkginfo( [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: function `pkgmgrinfo_pkginfo_get_usr_all_pkginfo` is never used [ 78s] --> ./src/pkgmgr/server/util.rs:65:16 [ 78s] | [ 78s] 65 | pub fn pkgmgrinfo_pkginfo_get_usr_all_pkginfo( [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: function `pkgmgrinfo_pkginfo_get_type` is never used [ 78s] --> ./src/pkgmgr/server/util.rs:71:16 [ 78s] | [ 78s] 71 | pub fn pkgmgrinfo_pkginfo_get_type( [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: function `pkgmgrinfo_updateinfo_create` is never used [ 78s] --> ./src/pkgmgr/server/util.rs:76:16 [ 78s] | [ 78s] 76 | pub fn pkgmgrinfo_updateinfo_create( [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: function `pkgmgrinfo_updateinfo_set_pkgid` is never used [ 78s] --> ./src/pkgmgr/server/util.rs:80:16 [ 78s] | [ 78s] 80 | pub fn pkgmgrinfo_updateinfo_set_pkgid( [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: function `pkgmgrinfo_updateinfo_set_version` is never used [ 78s] --> ./src/pkgmgr/server/util.rs:85:16 [ 78s] | [ 78s] 85 | pub fn pkgmgrinfo_updateinfo_set_version( [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: function `pkgmgrinfo_updateinfo_set_type` is never used [ 78s] --> ./src/pkgmgr/server/util.rs:90:16 [ 78s] | [ 78s] 90 | pub fn pkgmgrinfo_updateinfo_set_type( [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: function `pkgmgrinfo_updateinfo_destroy` is never used [ 78s] --> ./src/pkgmgr/server/util.rs:95:16 [ 78s] | [ 78s] 95 | pub fn pkgmgrinfo_updateinfo_destroy( [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: function `pkgmgrinfo_appinfo_get_usr_all_appinfo` is never used [ 78s] --> ./src/pkgmgr/server/util.rs:99:16 [ 78s] | [ 78s] 99 | pub fn pkgmgrinfo_appinfo_get_usr_all_appinfo( [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: function `pkgmgrinfo_appinfo_is_global` is never used [ 78s] --> ./src/pkgmgr/server/util.rs:105:16 [ 78s] | [ 78s] 105 | pub fn pkgmgrinfo_appinfo_is_global( [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: function `pkgmgrinfo_appinfo_get_pkgid` is never used [ 78s] --> ./src/pkgmgr/server/util.rs:110:16 [ 78s] | [ 78s] 110 | pub fn pkgmgrinfo_appinfo_get_pkgid( [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: function `pkgmgrinfo_appinfo_destroy_appinfo` is never used [ 78s] --> ./src/pkgmgr/server/util.rs:115:16 [ 78s] | [ 78s] 115 | pub fn pkgmgrinfo_appinfo_destroy_appinfo( [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: function `aul_app_is_running_for_uid` is never used [ 78s] --> ./src/pkgmgr/server/util.rs:122:16 [ 78s] | [ 78s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: function `aul_app_get_pid_for_uid` is never used [ 78s] --> ./src/pkgmgr/server/util.rs:123:16 [ 78s] | [ 78s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: function `aul_terminate_pid_for_uid` is never used [ 78s] --> ./src/pkgmgr/server/util.rs:124:16 [ 78s] | [ 78s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: function `aul_app_get_pkgid_bypid_for_uid` is never used [ 78s] --> ./src/pkgmgr/server/util.rs:125:16 [ 78s] | [ 78s] 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; [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] [ 78s] warning: unused `Result` that must be used [ 78s] --> ./src/main.rs:14:5 [ 78s] | [ 78s] 14 | pkgmgr::server::Server::run(&mut server); [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] | [ 78s] = note: this `Result` may be an `Err` variant, which should be handled [ 78s] = note: `#[warn(unused_must_use)]` on by default [ 78s] help: use `let _ = ...` to ignore the resulting value [ 78s] | [ 78s] 14 | let _ = pkgmgr::server::Server::run(&mut server); [ 78s] | +++++++ [ 78s] [ 78s] warning: unused `Result` that must be used [ 78s] --> ./src/pkgmgr/server/mod.rs:93:9 [ 78s] | [ 78s] 93 | admin_service.run(); [ 78s] | ^^^^^^^^^^^^^^^^^^^ [ 78s] | [ 78s] = note: this `Result` may be an `Err` variant, which should be handled [ 78s] help: use `let _ = ...` to ignore the resulting value [ 78s] | [ 78s] 93 | let _ = admin_service.run(); [ 78s] | +++++++ [ 78s] [ 78s] warning: unused `Result` that must be used [ 78s] --> ./src/pkgmgr/server/mod.rs:95:9 [ 78s] | [ 78s] 95 | cache_service.run(); [ 78s] | ^^^^^^^^^^^^^^^^^^^ [ 78s] | [ 78s] = note: this `Result` may be an `Err` variant, which should be handled [ 78s] help: use `let _ = ...` to ignore the resulting value [ 78s] | [ 78s] 95 | let _ = cache_service.run(); [ 78s] | +++++++ [ 78s] [ 78s] warning: unused `Result` that must be used [ 78s] --> ./src/pkgmgr/server/mod.rs:97:9 [ 78s] | [ 78s] 97 | info_service.run(); [ 78s] | ^^^^^^^^^^^^^^^^^^ [ 78s] | [ 78s] = note: this `Result` may be an `Err` variant, which should be handled [ 78s] help: use `let _ = ...` to ignore the resulting value [ 78s] | [ 78s] 97 | let _ = info_service.run(); [ 78s] | +++++++ [ 78s] [ 78s] warning: unused `Result` that must be used [ 78s] --> ./src/pkgmgr/server/mod.rs:99:9 [ 78s] | [ 78s] 99 | delayed_result_service.run(); [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] | [ 78s] = note: this `Result` may be an `Err` variant, which should be handled [ 78s] help: use `let _ = ...` to ignore the resulting value [ 78s] | [ 78s] 99 | let _ = delayed_result_service.run(); [ 78s] | +++++++ [ 78s] [ 78s] warning: unused `Result` that must be used [ 78s] --> ./src/pkgmgr/server/mod.rs:109:9 [ 78s] | [ 78s] 109 | admin_service.stop(); [ 78s] | ^^^^^^^^^^^^^^^^^^^^ [ 78s] | [ 78s] = note: this `Result` may be an `Err` variant, which should be handled [ 78s] help: use `let _ = ...` to ignore the resulting value [ 78s] | [ 78s] 109 | let _ = admin_service.stop(); [ 78s] | +++++++ [ 78s] [ 78s] warning: unused `Result` that must be used [ 78s] --> ./src/pkgmgr/server/mod.rs:110:9 [ 78s] | [ 78s] 110 | cache_service.stop(); [ 78s] | ^^^^^^^^^^^^^^^^^^^^ [ 78s] | [ 78s] = note: this `Result` may be an `Err` variant, which should be handled [ 78s] help: use `let _ = ...` to ignore the resulting value [ 78s] | [ 78s] 110 | let _ = cache_service.stop(); [ 78s] | +++++++ [ 78s] [ 78s] warning: unused `Result` that must be used [ 78s] --> ./src/pkgmgr/server/mod.rs:111:9 [ 78s] | [ 78s] 111 | info_service.stop(); [ 78s] | ^^^^^^^^^^^^^^^^^^^ [ 78s] | [ 78s] = note: this `Result` may be an `Err` variant, which should be handled [ 78s] help: use `let _ = ...` to ignore the resulting value [ 78s] | [ 78s] 111 | let _ = info_service.stop(); [ 78s] | +++++++ [ 78s] [ 78s] warning: unused `Result` that must be used [ 78s] --> ./src/pkgmgr/server/mod.rs:112:9 [ 78s] | [ 78s] 112 | delayed_result_service.stop(); [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] | [ 78s] = note: this `Result` may be an `Err` variant, which should be handled [ 78s] help: use `let _ = ...` to ignore the resulting value [ 78s] | [ 78s] 112 | let _ = delayed_result_service.stop(); [ 78s] | +++++++ [ 78s] [ 78s] warning: unused return value of `std::mem::size_of` that must be used [ 78s] --> ./src/pkgmgr/server/backend_queue.rs:40:9 [ 78s] | [ 78s] 40 | mem::size_of::(); [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 78s] | [ 78s] help: use `let _ = ...` to ignore the resulting value [ 78s] | [ 78s] 40 | let _ = mem::size_of::(); [ 78s] | +++++++ [ 78s] [ 78s] warning: structure field `rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 78s] --> ./src/pkgmgr/server/info_service.rs:35:9 [ 78s] | [ 78s] 35 | pub rpc_port_stub_PkgMgr_create_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_create_cb` [ 78s] | [ 78s] = note: `#[warn(non_snake_case)]` on by default [ 78s] [ 78s] warning: structure field `rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 78s] --> ./src/pkgmgr/server/info_service.rs:36:9 [ 78s] | [ 78s] 36 | pub rpc_port_stub_PkgMgr_terminate_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_terminate_cb` [ 78s] [ 78s] warning: structure field `rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 78s] --> ./src/pkgmgr/server/info_service.rs:37:9 [ 78s] | [ 78s] 37 | pub rpc_port_stub_PkgMgr_GetSize_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, get_type: c_int, r... [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_cb` [ 78s] [ 78s] warning: structure field `rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 78s] --> ./src/pkgmgr/server/info_service.rs:38:9 [ 78s] | [ 78s] 38 | pub rpc_port_stub_PkgMgr_GetSizeSync_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, get_type: c_in... [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 78s] [ 78s] warning: structure field `rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 78s] --> ./src/pkgmgr/server/info_service.rs:39:9 [ 78s] | [ 78s] 39 | pub rpc_port_stub_PkgMgr_GetResultSizeSync_cb: extern "C" fn(context: *mut c_void, req_key: *const c_char, result: *mut c_int, size_i... [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 78s] [ 78s] warning: structure field `rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 78s] --> ./src/pkgmgr/server/info_service.rs:40:9 [ 78s] | [ 78s] 40 | pub rpc_port_stub_PkgMgr_Check_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, pid: *mut pid_t, use... [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_check_cb` [ 78s] [ 78s] warning: function `impl_rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 78s] --> ./src/pkgmgr/server/info_service.rs:43:19 [ 78s] | [ 78s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_create_cb` [ 78s] [ 78s] warning: function `impl_rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 78s] --> ./src/pkgmgr/server/info_service.rs:48:19 [ 78s] | [ 78s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_terminate_cb` [ 78s] [ 78s] warning: function `impl_rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 78s] --> ./src/pkgmgr/server/info_service.rs:52:19 [ 78s] | [ 78s] 52 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSize_cb( [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_cb` [ 78s] [ 78s] warning: function `impl_rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 78s] --> ./src/pkgmgr/server/info_service.rs:112:19 [ 78s] | [ 78s] 112 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSizeSync_cb( [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 78s] [ 78s] warning: function `impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 78s] --> ./src/pkgmgr/server/info_service.rs:194:19 [ 78s] | [ 78s] 194 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb( [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 78s] [ 78s] warning: function `impl_rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 78s] --> ./src/pkgmgr/server/info_service.rs:221:19 [ 78s] | [ 78s] 221 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_Check_cb( [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_check_cb` [ 78s] [ 78s] warning: method `IsPackageReadonly` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:389:12 [ 78s] | [ 78s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 78s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly` [ 78s] [ 78s] warning: method `GetPackageType` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:420:12 [ 78s] | [ 78s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 78s] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type` [ 78s] [ 78s] warning: variable `xmlReaderTypes_XML_READER_TYPE_ELEMENT` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:473:17 [ 78s] | [ 78s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_element` [ 78s] [ 78s] warning: variable `xmlReaderTypes_XML_READER_TYPE_TEXT` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:478:17 [ 78s] | [ 78s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_text` [ 78s] [ 78s] warning: variable `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:483:17 [ 78s] | [ 78s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_end_element` [ 78s] [ 78s] warning: constant `type_map` should have an upper case name [ 78s] --> ./src/pkgmgr/server/util.rs:623:15 [ 78s] | [ 78s] 623 | const type_map : [[&str; 2]; 3] = [ [ 78s] | ^^^^^^^^ help: convert the identifier to upper case: `TYPE_MAP` [ 78s] | [ 78s] = note: `#[warn(non_upper_case_globals)]` on by default [ 78s] [ 78s] warning: method `GenerateRequestId` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:646:12 [ 78s] | [ 78s] 646 | pub fn GenerateRequestId(pkgid: &str) -> Option { [ 78s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_request_id` [ 78s] [ 78s] warning: method `CreatePkgUpdateInfo` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:657:12 [ 78s] | [ 78s] 657 | pub fn CreatePkgUpdateInfo(pkgid: *const c_char, version: *const c_char, update_type: c_int) -> *mut c_void { [ 78s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info` [ 78s] [ 78s] warning: method `DestroyPkgUpdateInfo` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:680:12 [ 78s] | [ 78s] 680 | pub fn DestroyPkgUpdateInfo(handle: *mut c_void) -> c_int { [ 78s] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroy_pkg_update_info` [ 78s] [ 78s] warning: method `RegisterPkgUpdateInfo` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:686:12 [ 78s] | [ 78s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `register_pkg_update_info` [ 78s] [ 78s] warning: method `UnregisterPkgUpdateInfo` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:696:12 [ 78s] | [ 78s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_pkg_update_info` [ 78s] [ 78s] warning: method `UnregisterAllPkgUpdateInfo` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:706:12 [ 78s] | [ 78s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_all_pkg_update_info` [ 78s] [ 78s] warning: method `EnableApp` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:728:12 [ 78s] | [ 78s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 78s] | ^^^^^^^^^ help: convert the identifier to snake case: `enable_app` [ 78s] [ 78s] warning: method `DisableApp` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:738:12 [ 78s] | [ 78s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 78s] | ^^^^^^^^^^ help: convert the identifier to snake case: `disable_app` [ 78s] [ 78s] warning: method `EnableGlobalApp` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:747:12 [ 78s] | [ 78s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 78s] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app` [ 78s] [ 78s] warning: method `DisableGlobalApp` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:757:12 [ 78s] | [ 78s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 78s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app` [ 78s] [ 78s] warning: method `EnableAppSplashScreen` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:766:12 [ 78s] | [ 78s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_app_splash_screen` [ 78s] [ 78s] warning: method `DisableAppSplashScreen` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:775:12 [ 78s] | [ 78s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_app_splash_screen` [ 78s] [ 78s] warning: method `EnableGlobalAppSplashScreen` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:784:12 [ 78s] | [ 78s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app_splash_screen` [ 78s] [ 78s] warning: method `DisableGlobalAppSplashScreen` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:793:12 [ 78s] | [ 78s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app_splash_screen` [ 78s] [ 78s] warning: method `KillApp` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:813:12 [ 78s] | [ 78s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 78s] | ^^^^^^^ help: convert the identifier to snake case: `kill_app` [ 78s] [ 78s] warning: method `KillAppsInPkg` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:835:12 [ 78s] | [ 78s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 78s] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_apps_in_pkg` [ 78s] [ 78s] warning: method `IsAdminUser` should have a snake case name [ 78s] --> ./src/pkgmgr/server/util.rs:855:8 [ 78s] | [ 78s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 78s] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_admin_user` [ 78s] [ 78s] warning: function `IsPackageReadonly_test_return_None_from_disable1` should have a snake case name [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:13:4 [ 78s] | [ 78s] 13 | fn IsPackageReadonly_test_return_None_from_disable1() { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_disable1` [ 78s] [ 78s] warning: getting the inner pointer of a temporary `CString` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:16:77 [ 78s] | [ 78s] 16 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, false)); [ 78s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 78s] | | [ 78s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 78s] | [ 78s] = 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 [ 78s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 78s] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [ 78s] [ 78s] warning: function `IsPackageReadonly_test_return_None_from_disable2` should have a snake case name [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:20:4 [ 78s] | [ 78s] 20 | fn IsPackageReadonly_test_return_None_from_disable2() { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_disable2` [ 78s] [ 78s] warning: getting the inner pointer of a temporary `CString` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:23:77 [ 78s] | [ 78s] 23 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 78s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 78s] | | [ 78s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 78s] | [ 78s] = 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 [ 78s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 78s] [ 78s] warning: function `IsPackageReadonly_test_return_None_from_readonly` should have a snake case name [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:27:4 [ 78s] | [ 78s] 27 | fn IsPackageReadonly_test_return_None_from_readonly() { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_readonly` [ 78s] [ 78s] warning: getting the inner pointer of a temporary `CString` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:32:77 [ 78s] | [ 78s] 32 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 78s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 78s] | | [ 78s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 78s] | [ 78s] = 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 [ 78s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 78s] [ 78s] warning: function `IsPackageReadonly_test_return_someTrue_from_readonly` should have a snake case name [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:36:4 [ 78s] | [ 78s] 36 | fn IsPackageReadonly_test_return_someTrue_from_readonly() { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_some_true_from_readonly` [ 78s] [ 78s] warning: getting the inner pointer of a temporary `CString` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:46:83 [ 78s] | [ 78s] 46 | assert_eq!(Some(true), Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 78s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 78s] | | [ 78s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 78s] | [ 78s] = 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 [ 78s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 78s] [ 78s] warning: function `IsPackageReadonly_test_return_someFalse_from_readonly` should have a snake case name [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:50:4 [ 78s] | [ 78s] 50 | fn IsPackageReadonly_test_return_someFalse_from_readonly() { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_some_false_from_readonly` [ 78s] [ 78s] warning: getting the inner pointer of a temporary `CString` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:60:84 [ 78s] | [ 78s] 60 | assert_eq!(Some(false), Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 78s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 78s] | | [ 78s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 78s] | [ 78s] = 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 [ 78s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 78s] [ 78s] warning: function `KillApp_test_return_0_from_running` should have a snake case name [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:65:4 [ 78s] | [ 78s] 65 | fn KillApp_test_return_0_from_running() { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_0_from_running` [ 78s] [ 78s] warning: getting the inner pointer of a temporary `CString` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:68:64 [ 78s] | [ 78s] 68 | assert_eq!(0, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 78s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 78s] | | [ 78s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 78s] | [ 78s] = 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 [ 78s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 78s] [ 78s] warning: function `KillApp_test_return_minus_from_getpid` should have a snake case name [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:72:4 [ 78s] | [ 78s] 72 | fn KillApp_test_return_minus_from_getpid() { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_minus_from_getpid` [ 78s] [ 78s] warning: getting the inner pointer of a temporary `CString` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:77:65 [ 78s] | [ 78s] 77 | assert_eq!(-1, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 78s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 78s] | | [ 78s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 78s] | [ 78s] = 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 [ 78s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 78s] [ 78s] warning: function `KillApp_test_return_minus_from_terminate` should have a snake case name [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:81:4 [ 78s] | [ 78s] 81 | fn KillApp_test_return_minus_from_terminate() { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_minus_from_terminate` [ 78s] [ 78s] warning: getting the inner pointer of a temporary `CString` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:88:65 [ 78s] | [ 78s] 88 | assert_eq!(-1, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 78s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 78s] | | [ 78s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 78s] | [ 78s] = 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 [ 78s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 78s] [ 78s] warning: function `KillApp_test_return_0_from_end` should have a snake case name [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:92:4 [ 78s] | [ 78s] 92 | fn KillApp_test_return_0_from_end() { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_0_from_end` [ 78s] [ 78s] warning: getting the inner pointer of a temporary `CString` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:99:64 [ 78s] | [ 78s] 99 | assert_eq!(0, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 78s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 78s] | | [ 78s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 78s] | [ 78s] = 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 [ 78s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 78s] [ 78s] warning: function `GetPackageType_test_return_new_from_all` should have a snake case name [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:104:4 [ 78s] | [ 78s] 104 | fn GetPackageType_test_return_new_from_all() { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_new_from_all` [ 78s] [ 78s] warning: getting the inner pointer of a temporary `CString` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:107:83 [ 78s] | [ 78s] 107 | assert_eq!(String::new(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 78s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 78s] | | [ 78s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 78s] | [ 78s] = 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 [ 78s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 78s] [ 78s] warning: function `GetPackageType_test_return_new_from_type` should have a snake case name [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:111:4 [ 78s] | [ 78s] 111 | fn GetPackageType_test_return_new_from_type() { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_new_from_type` [ 78s] [ 78s] warning: getting the inner pointer of a temporary `CString` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:118:83 [ 78s] | [ 78s] 118 | assert_eq!(String::new(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 78s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 78s] | | [ 78s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 78s] | [ 78s] = 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 [ 78s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 78s] [ 78s] warning: function `GetPackageType_test_return_rpk_from_end` should have a snake case name [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:122:4 [ 78s] | [ 78s] 122 | fn GetPackageType_test_return_rpk_from_end() { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_rpk_from_end` [ 78s] [ 78s] warning: getting the inner pointer of a temporary `CString` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:132:87 [ 78s] | [ 78s] 132 | assert_eq!("rpk".to_string(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 78s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 78s] | | [ 78s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 78s] | [ 78s] = 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 [ 78s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 78s] [ 78s] warning: function `GetPackageType_test_return_newtype_from_end` should have a snake case name [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:136:4 [ 78s] | [ 78s] 136 | fn GetPackageType_test_return_newtype_from_end() { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_newtype_from_end` [ 78s] [ 78s] warning: getting the inner pointer of a temporary `CString` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:146:87 [ 78s] | [ 78s] 146 | assert_eq!("ABC".to_string(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 78s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 78s] | | [ 78s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 78s] | [ 78s] = 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 [ 78s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 78s] [ 78s] warning: function `CreatePkgUpdateInfo_test_return_null1` should have a snake case name [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:151:4 [ 78s] | [ 78s] 151 | fn CreatePkgUpdateInfo_test_return_null1() { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null1` [ 78s] [ 78s] warning: getting the inner pointer of a temporary `CString` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:154:95 [ 78s] | [ 78s] 154 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 78s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 78s] | | [ 78s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 78s] | [ 78s] = 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 [ 78s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 78s] [ 78s] warning: getting the inner pointer of a temporary `CString` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:154:138 [ 78s] | [ 78s] 154 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 78s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 78s] | | [ 78s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 78s] | [ 78s] = 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 [ 78s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 78s] [ 78s] warning: function `CreatePkgUpdateInfo_test_return_null2` should have a snake case name [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:158:4 [ 78s] | [ 78s] 158 | fn CreatePkgUpdateInfo_test_return_null2() { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null2` [ 78s] [ 78s] warning: getting the inner pointer of a temporary `CString` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:165:95 [ 78s] | [ 78s] 165 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 78s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 78s] | | [ 78s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 78s] | [ 78s] = 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 [ 78s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 78s] [ 78s] warning: getting the inner pointer of a temporary `CString` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:165:138 [ 78s] | [ 78s] 165 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 78s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 78s] | | [ 78s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 78s] | [ 78s] = 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 [ 78s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 78s] [ 78s] warning: function `CreatePkgUpdateInfo_test_return_null3` should have a snake case name [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:169:4 [ 78s] | [ 78s] 169 | fn CreatePkgUpdateInfo_test_return_null3() { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null3` [ 78s] [ 78s] warning: getting the inner pointer of a temporary `CString` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:178:95 [ 78s] | [ 78s] 178 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 78s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 78s] | | [ 78s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 78s] | [ 78s] = 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 [ 78s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 78s] [ 78s] warning: getting the inner pointer of a temporary `CString` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:178:138 [ 78s] | [ 78s] 178 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 78s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 78s] | | [ 78s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 78s] | [ 78s] = 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 [ 78s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 78s] [ 78s] warning: function `CreatePkgUpdateInfo_test_return_null4` should have a snake case name [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:182:4 [ 78s] | [ 78s] 182 | fn CreatePkgUpdateInfo_test_return_null4() { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null4` [ 78s] [ 78s] warning: getting the inner pointer of a temporary `CString` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:193:95 [ 78s] | [ 78s] 193 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 78s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 78s] | | [ 78s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 78s] | [ 78s] = 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 [ 78s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 78s] [ 78s] warning: getting the inner pointer of a temporary `CString` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:193:138 [ 78s] | [ 78s] 193 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 78s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 78s] | | [ 78s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 78s] | [ 78s] = 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 [ 78s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 78s] [ 78s] warning: function `CreatePkgUpdateInfo_test_return_handle` should have a snake case name [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:197:4 [ 78s] | [ 78s] 197 | fn CreatePkgUpdateInfo_test_return_handle() { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_handle` [ 78s] [ 78s] warning: getting the inner pointer of a temporary `CString` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:206:95 [ 78s] | [ 78s] 206 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 78s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 78s] | | [ 78s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 78s] | [ 78s] = 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 [ 78s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 78s] [ 78s] warning: getting the inner pointer of a temporary `CString` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:206:138 [ 78s] | [ 78s] 206 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 78s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 78s] | | [ 78s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 78s] | [ 78s] = 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 [ 78s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 78s] [ 78s] warning: function `getapplicationinfobyappid_test_return_None_from_appinfo` should have a snake case name [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:211:4 [ 78s] | [ 78s] 211 | fn getapplicationinfobyappid_test_return_None_from_appinfo() { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_appinfo` [ 78s] [ 78s] warning: getting the inner pointer of a temporary `CString` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:214:89 [ 78s] | [ 78s] 214 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 78s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 78s] | | [ 78s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 78s] | [ 78s] = 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 [ 78s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 78s] [ 78s] warning: function `getapplicationinfobyappid_test_return_None_from_global` should have a snake case name [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:218:4 [ 78s] | [ 78s] 218 | fn getapplicationinfobyappid_test_return_None_from_global() { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_global` [ 78s] [ 78s] warning: getting the inner pointer of a temporary `CString` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:225:89 [ 78s] | [ 78s] 225 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 78s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 78s] | | [ 78s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 78s] | [ 78s] = 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 [ 78s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 78s] [ 78s] warning: function `getapplicationinfobyappid_test_return_None_from_pkgid` should have a snake case name [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:229:4 [ 78s] | [ 78s] 229 | fn getapplicationinfobyappid_test_return_None_from_pkgid() { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_pkgid` [ 78s] [ 78s] warning: getting the inner pointer of a temporary `CString` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:238:89 [ 78s] | [ 78s] 238 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 78s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 78s] | | [ 78s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 78s] | [ 78s] = 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 [ 78s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 78s] [ 78s] warning: function `getapplicationinfobyappid_test_return_Some_from_end` should have a snake case name [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:242:4 [ 78s] | [ 78s] 242 | fn getapplicationinfobyappid_test_return_Some_from_end() { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `getapplicationinfobyappid_test_return_some_from_end` [ 78s] [ 78s] warning: getting the inner pointer of a temporary `CString` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:257:127 [ 78s] | [ 78s] 257 | assert_eq!(Some((CString::new("aaa").unwrap(), true)), Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 78s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 78s] | | [ 78s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 78s] | [ 78s] = 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 [ 78s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 78s] [ 78s] warning: function `get_pkgid_bypid_for_uid_test_return_None` should have a snake case name [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:262:4 [ 78s] | [ 78s] 262 | fn get_pkgid_bypid_for_uid_test_return_None() { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_pkgid_bypid_for_uid_test_return_none` [ 78s] [ 78s] warning: function `get_pkgid_bypid_for_uid_test_return_Some` should have a snake case name [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:269:4 [ 78s] | [ 78s] 269 | fn get_pkgid_bypid_for_uid_test_return_Some() { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `get_pkgid_bypid_for_uid_test_return_some` [ 78s] [ 78s] warning: function `get_pkgid_bypid_for_uid_test_return_None_from_end` should have a snake case name [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:283:4 [ 78s] | [ 78s] 283 | fn get_pkgid_bypid_for_uid_test_return_None_from_end() { [ 78s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_pkgid_bypid_for_uid_test_return_none_from_end` [ 78s] [ 78s] warning: literal out of range for `i8` [ 78s] --> ./src/pkgmgr/server/test/util_tests.rs:287:28 [ 78s] | [ 78s] 287 | *y.offset(0) = 0xff [ 78s] | ^^^^ [ 78s] | [ 78s] = note: the literal `0xff` (decimal `255`) does not fit into the type `i8` and will become `-1i8` [ 78s] = help: consider using the type `u8` instead [ 78s] = note: `#[warn(overflowing_literals)]` on by default [ 78s] help: to use as a negative number (decimal `-1`), consider using the type `u8` for the literal and cast it to `i8` [ 78s] | [ 78s] 287 | *y.offset(0) = 0xffu8 as i8 [ 78s] | ~~~~~~~~~~~~ [ 78s] [ 95s] warning: 736 warnings emitted [ 95s] [ 95s] + exit 0 [ 95s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KYOvBh [ 95s] + umask 022 [ 95s] + cd /home/abuild/rpmbuild/BUILD [ 95s] + cd pkgmgr-server-1.0.15 [ 95s] + LANG=C [ 95s] + export LANG [ 95s] + unset DISPLAY [ 95s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.i386 [ 95s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.i386 [ 95s] + /bin/make DESTDIR=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.i386 INSTALL_ROOT=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.i386 install [ 95s] /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 [ 95s] /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 [ 95s] /bin/make -f CMakeFiles/Makefile2 all [ 95s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 95s] /bin/make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/depend [ 95s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 95s] 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= [ 95s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 95s] /bin/make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build [ 95s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 95s] make[2]: Nothing to be done for 'tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build'. [ 95s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 95s] [ 50%] Built target tidl_pkgmgr_server [ 95s] /bin/make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/depend [ 95s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 95s] 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= [ 95s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 95s] /bin/make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build [ 95s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 95s] make[2]: Nothing to be done for 'util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build'. [ 95s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 95s] [100%] Built target util_pkgmgr_server [ 95s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 95s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/CMakeFiles 0 [ 95s] /bin/make -f CMakeFiles/Makefile2 preinstall [ 95s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 95s] make[1]: Nothing to be done for 'preinstall'. [ 95s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 95s] Install the project... [ 95s] /usr/bin/cmake -P cmake_install.cmake [ 95s] -- Install configuration: "" [ 95s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.i386/usr/lib/systemd/system/package-manager.service [ 95s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.i386/usr/lib/systemd/system/package-manager.socket [ 95s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.i386/usr/lib/libtidl_pkgmgr_server.so [ 95s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.i386/usr/lib/libutil_pkgmgr_server.so [ 95s] + rm -f /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.i386/usr/share/info/dir [ 95s] + find /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.i386 -regex '.*\.la$' [ 95s] + xargs rm -f -- [ 95s] + find /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.i386 -regex '.*\.a$' [ 95s] + xargs rm -f -- [ 95s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.i386/usr/lib/systemd/system/basic.target.wants [ 95s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.i386/usr/lib/systemd/system/sockets.target.wants [ 95s] + ln -sf ../package-manager.socket /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.i386/usr/lib/systemd/system/sockets.target.wants/package-manager.socket [ 95s] + install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.i386/usr/bin [ 95s] + install -m 0755 ./rust_pkgmgr_server /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.i386/usr/bin/pkgmgr-server [ 95s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.i386/etc/package-manager/server [ 95s] + _target= [ 95s] + _symlinks=0 [ 95s] + _files=() [ 95s] + fdupes -q -n -r /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.i386 [ 95s] + read _file [ 95s] + /usr/lib/rpm/find-debuginfo.sh -j8 --build-id-seed 1.0.15-1 --unique-debug-src-base pkgmgr-server-1.0.15-1.i386 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 95s] 1+0 records in [ 95s] 1+0 records out [ 95s] 1+0 records in [ 95s] 1+0 records out [ 95s] 1+0 records in [ 95s] 1+0 records out [ 95s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.i386/usr/bin/pkgmgr-server [ 95s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.i386/usr/lib/libtidl_pkgmgr_server.so [ 95s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.i386/usr/lib/libutil_pkgmgr_server.so [ 95s] 0+0 records in [ 95s] 0+0 records out [ 95s] 0+0 records in [ 95s] 0+0 records out [ 95s] 0+0 records in [ 95s] 0+0 records out [ 95s] 797 blocks [ 95s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/pkgmgr-server-debuginfo.manifest [ 95s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/pkgmgr-server-debugsource.manifest [ 95s] + /usr/lib/rpm/check-buildroot [ 95s] + /usr/lib/rpm//brp-compress [ 95s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 95s] + /usr/lib/rpm/brp-python-hardlink [ 95s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.i386 [ 95s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/isu.list [ 95s] ~/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.i386 ~/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 95s] ~/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 95s] + /etc/hal/rootstrap/hal-rootstrap-checker.sh 0 /home/abuild/rpmbuild/SOURCES [ 95s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.LuqbzD [ 95s] + umask 022 [ 95s] + cd /home/abuild/rpmbuild/BUILD [ 95s] + cd pkgmgr-server-1.0.15 [ 95s] + export LD_LIBRARY_PATH=./util_pkgmgr_server/:./tidl_pkgmgr_server/:/usr/lib/rustlib/dylib [ 95s] + LD_LIBRARY_PATH=./util_pkgmgr_server/:./tidl_pkgmgr_server/:/usr/lib/rustlib/dylib [ 95s] + RUST_BACKTRACE=1 [ 95s] + RUST_TEST_THREADS=1 [ 95s] + ./unittests_rust_pkgmgr_server [ 95s] [ 95s] running 35 tests [ 96s] test pkgmgr::server::test::admin_service_tests::run_test ... ok [ 96s] test pkgmgr::server::test::admin_service_tests::stop_test ... ok [ 97s] test pkgmgr::server::test::cache_service_tests::run_test ... ok [ 97s] test pkgmgr::server::test::cache_service_tests::stop_test ... ok [ 97s] test pkgmgr::server::test::delayed_service_tests::run_test ... ok [ 97s] test pkgmgr::server::test::delayed_service_tests::stop_test ... ok [ 98s] test pkgmgr::server::test::info_service_tests::run_test ... ok [ 98s] test pkgmgr::server::test::info_service_tests::stop_test ... ok [ 98s] test pkgmgr::server::test::signal_tests::get_uid_list_test_return_uidvec1 ... ok [ 98s] test pkgmgr::server::test::signal_tests::get_uid_list_test_return_uidvec2 ... ok [ 98s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_handle ... ok [ 98s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null1 ... ok [ 98s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null2 ... ok [ 98s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null3 ... ok [ 98s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null4 ... ok [ 98s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_new_from_all ... ok [ 98s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_new_from_type ... ok [ 98s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_newtype_from_end ... ok [ 98s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_rpk_from_end ... ok [ 98s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_disable1 ... ok [ 98s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_disable2 ... ok [ 98s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_readonly ... ok [ 98s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_someFalse_from_readonly ... ok [ 98s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_someTrue_from_readonly ... ok [ 98s] test pkgmgr::server::test::util_tests::KillApp_test_return_0_from_end ... ok [ 98s] test pkgmgr::server::test::util_tests::KillApp_test_return_0_from_running ... ok [ 98s] test pkgmgr::server::test::util_tests::KillApp_test_return_minus_from_getpid ... ok [ 98s] test pkgmgr::server::test::util_tests::KillApp_test_return_minus_from_terminate ... ok [ 98s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_None ... ok [ 98s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_None_from_end ... ok [ 98s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_Some ... ok [ 98s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_appinfo ... ok [ 98s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_global ... ok [ 98s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_pkgid ... ok [ 98s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_Some_from_end ... ok [ 98s] [ 98s] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.41s [ 98s] [ 98s] + exit 0 [ 98s] Processing files: pkgmgr-server-1.0.15-1.i686 [ 98s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIiAvPgoJPC9y [ 98s] ZXF1ZXN0PgoJPGFzc2lnbj4KCQk8ZmlsZXN5c3RlbSBwYXRoPSIvdXNyL2Jpbi9w [ 98s] a2dtZ3Itc2VydmVyIiBsYWJlbD0iU3lzdGVtIiBleGVjX2xhYmVsPSJub25lIiAv [ 98s] PgoJCTxmaWxlc3lzdGVtIHBhdGg9Ii92YXIvbGliL3BhY2thZ2UtbWFuYWdlciIg [ 98s] bGFiZWw9IlN5c3RlbSIgLz4KCTwvYXNzaWduPgo8L21hbmlmZXN0Pgo= [ 98s] [ 98s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.S7p1PD [ 98s] + umask 022 [ 98s] + cd /home/abuild/rpmbuild/BUILD [ 98s] + cd pkgmgr-server-1.0.15 [ 98s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.i386/usr/share/licenses/pkgmgr-server [ 98s] + export LC_ALL=C [ 98s] + LC_ALL=C [ 98s] + export LICENSEDIR [ 98s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.i386/usr/share/licenses/pkgmgr-server [ 98s] + cp -pr LICENSE /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.i386/usr/share/licenses/pkgmgr-server [ 98s] + exit 0 [ 98s] Provides: libtidl_pkgmgr_server.so libutil_pkgmgr_server.so pkgmgr-server = 1.0.15-1 pkgmgr-server(x86-32) = 1.0.15-1 [ 98s] Requires(interp): /bin/sh [ 98s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 98s] Requires(post): /bin/sh [ 98s] Requires: libaul.so.0 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1.2) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libcapi-base-common.so.0 libdlog.so.0 libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgio-2.0.so.0 libglib-2.0.so.0 libgobject-2.0.so.0 libgum.so.0 libminizip.so.1 libpkgmgr-info.so.0 libpkgmgr_installer.so.0 libpkgmgr_parser.so.0 librpc-port.so.1 libstd-5246bcf1da9db1dd.so libsystemd.so.0 libsystemd.so.0(LIBSYSTEMD_209) libtidl_pkgmgr_server.so libtzplatform-config-2.0.so.2 libtzplatform-config-2.0.so.2(TPC) libutil_pkgmgr_server.so libxml2.so.2 libxml2.so.2(LIBXML2_2.4.30) libxml2.so.2(LIBXML2_2.5.0) libxml2.so.2(LIBXML2_2.6.0) [ 98s] Processing files: pkgmgr-server-debugsource-1.0.15-1.i686 [ 98s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 98s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 98s] [ 98s] Provides: pkgmgr-server-debugsource = 1.0.15-1 pkgmgr-server-debugsource(x86-32) = 1.0.15-1 [ 98s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 98s] Processing files: pkgmgr-server-debuginfo-1.0.15-1.i686 [ 98s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 98s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 98s] [ 98s] Provides: pkgmgr-server-debuginfo = 1.0.15-1 pkgmgr-server-debuginfo(x86-32) = 1.0.15-1 [ 98s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 98s] Recommends: pkgmgr-server-debugsource(x86-32) = 1.0.15-1 [ 98s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.i386 [ 98s] Wrote: /home/abuild/rpmbuild/SRPMS/pkgmgr-server-1.0.15-1.src.rpm [ 98s] XZ: Adjusted the number of threads from 48 to 21 to not exceed the memory usage limit of 3758096381 bytesWrote: /home/abuild/rpmbuild/RPMS/i686/pkgmgr-server-1.0.15-1.i686.rpm [ 98s] XZ: Adjusted the number of threads from 48 to 21 to not exceed the memory usage limit of 3758096381 bytesWrote: /home/abuild/rpmbuild/RPMS/i686/pkgmgr-server-debugsource-1.0.15-1.i686.rpm [ 99s] XZ: Adjusted the number of threads from 48 to 21 to not exceed the memory usage limit of 3758096381 bytesWrote: /home/abuild/rpmbuild/RPMS/i686/pkgmgr-server-debuginfo-1.0.15-1.i686.rpm [ 99s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.oVWZcK [ 99s] + umask 022 [ 99s] + cd /home/abuild/rpmbuild/BUILD [ 99s] + cd pkgmgr-server-1.0.15 [ 99s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.i386 [ 99s] + exit 0 [ 99s] ... checking for files with abuild user/group [ 99s] ... creating baselibs [ 99s] [ 99s] ip-192-168-56-69 finished "build pkgmgr-server.spec" at Thu Nov 21 02:54:51 UTC 2024. [ 99s]