[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.15 [ 0s] Using BUILD_ARCH=riscv64:noarch [ 0s] [ 0s] [ 0s] ip-192-168-56-225 started "build pkgmgr-server.spec" at Sat Jan 4 03:11:27 UTC 2025. [ 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/riscv64/RPMS --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241231.003954/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241231.003954/repos/standard/debug/ /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_standard/pkgmgr-server-1.0.15-1/pkgmgr-server.spec build ... [ 0s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.15/.srcfiles.cache ... [ 0s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.15/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_standard/riscv64/RPMS [ 0s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241231.003954/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_20241231.003954/repos/standard/debug/ [ 1s] expanding package dependencies... [ 2s] copying qemu [ 2s] [ 2s] registering binfmt handlers for cross build [ 2s] 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 [ 5s] deleting gst-plugins-base [ 5s] deleting gst-plugins-base-devel [ 5s] deleting gstreamer [ 5s] /sbin/ldconfig: relative path `0' used to build cache [ 5s] warning: %postun(gstreamer-1.22.8-17.riscv64) scriptlet failed, exit status 1 [ 5s] deleting gstreamer-devel [ 6s] deleting gstreamer-utils [ 6s] deleting hal-api-common [ 6s] deleting hal-api-tbm [ 6s] /var/tmp/rpm-tmp.Eht5Tk: line 2: /usr/bin/hal-compatibility-checker: No such file or directory [ 6s] warning: %postun(hal-api-tbm-1.0.0-1.riscv64) scriptlet failed, exit status 127 [ 6s] deleting libasound [ 6s] deleting libdrm [ 6s] deleting libogg [ 7s] deleting libpng [ 7s] deleting libtbm [ 7s] /sbin/ldconfig: relative path `0' used to build cache [ 7s] warning: %postun(libtbm-4.5.5-1.riscv64) scriptlet failed, exit status 1 [ 7s] deleting libtbm-devel [ 7s] deleting libtheora [ 7s] deleting libvorbis [ 7s] deleting libvorbisenc [ 7s] deleting libwayland-client [ 7s] deleting libwayland-server [ 8s] deleting opus [ 8s] deleting pixman [ 8s] [1/242] cumulate default-ac-domains-0.1-1.1 [ 8s] [2/242] keeping dlog-config-persistent-logs-9.0.1-1 [ 8s] [3/242] keeping libmagic-data-5.45-1.9 [ 8s] [4/242] keeping pcre2-syntax-10.40-1 [ 8s] [5/242] keeping python3-pyparsing-3.1.1-1.1 [ 8s] [6/242] keeping python3-six-1.16.0-1.1 [ 8s] [7/242] cumulate rust-std-static-1.74.0-1 [ 8s] [8/242] keeping setup-0.9-1.6 [ 8s] [9/242] keeping filesystem-3.1-1.1 [ 8s] [10/242] keeping python3-packaging-23.2-1.1 [ 8s] [11/242] keeping glibc-2.40-1.3 [ 8s] [12/242] keeping bash-3.2.57-1.1 [ 8s] [13/242] keeping capi-base-common-0.4.82-1 [ 8s] [14/242] keeping cpio-2.8-1.1 [ 8s] [15/242] keeping diffutils-3.10-1.1 [ 8s] [16/242] cumulate fdupes-2.2.1-1.12 [ 8s] [17/242] keeping findutils-4.3.8-1.9 [ 8s] [18/242] keeping gdbm-1.8.3-1.14 [ 8s] [19/242] keeping hostname-3.23-1.1 [ 8s] [20/242] cumulate iniparser-4.1-1.1 [ 8s] [21/242] keeping libatomic-14.2.0-1.13 [ 8s] [22/242] keeping libattr-2.5.1-1.10 [ 8s] [23/242] keeping libblkid-2.39.3-1.9 [ 8s] [24/242] keeping libbz2-1.0.8-1.12 [ 8s] [25/242] keeping libexpat-2.6.2-1.13 [ 8s] [26/242] keeping libffi-3.4.2-2.1 [ 8s] [27/242] keeping libfreebl3-3.98-1.15 [ 8s] [28/242] keeping libgcc-14.2.0-1.13 [ 8s] [29/242] keeping libgomp-14.2.0-1.13 [ 8s] [30/242] keeping libitm-14.2.0-1.13 [ 8s] [31/242] cumulate libjson-0.17-0 [ 8s] [32/242] keeping libltdl-2.4.7-1.14 [ 8s] [33/242] keeping liblua-5.1.5-1.9 [ 8s] [34/242] keeping liblzma-5.6.3-1.6 [ 8s] [35/242] cumulate libopenssl11-1.1.1w-1.13 [ 8s] [36/242] keeping libopenssl3-3.0.13-1.14 [ 8s] [37/242] keeping libpcre-8.45-1.9 [ 8s] [38/242] keeping libpopt-1.16-1.9 [ 8s] [39/242] keeping libpython3_121_0-3.12.0-1.12 [ 8s] [40/242] keeping libsmack-1.3.1-1.9 [ 8s] [41/242] keeping libsmartcols-2.39.3-1.9 [ 8s] [42/242] keeping libsqlite-3.48.0-1.6 [ 8s] [43/242] keeping libuuid-2.39.3-1.9 [ 8s] [44/242] keeping libxcrypt-4.4.36-1.12 [ 8s] [45/242] keeping libzstd1-1.5.6-1.5 [ 8s] [46/242] keeping m4-1.4.19-1.1 [ 8s] [47/242] keeping net-tools-2.0_20121208git-1.8 [ 8s] [48/242] keeping nspr-4.35-1.9 [ 8s] [49/242] keeping patch-2.7.6-1.9 [ 8s] [50/242] keeping pkg-config-0.29.2-1.11 [ 8s] [51/242] keeping sed-4.1c-1.9 [ 8s] [52/242] keeping update-alternatives-1.22.2-1.1 [ 8s] [53/242] keeping which-2.17-1.1 [ 8s] [54/242] cumulate xdgmime-0.0.17-1.1 [ 8s] [55/242] keeping zlib-1.3.1-1.6 [ 8s] [56/242] keeping pcre2-10.40-1 [ 8s] [57/242] keeping pcre2-utf16-10.40-1 [ 8s] [58/242] keeping pcre2-utf32-10.40-1 [ 8s] [59/242] keeping build-compare-2023.06.18-1.6 [ 8s] [60/242] keeping hal-rootstrap-checker-0.1.0-2.1 [ 8s] [61/242] keeping qemu-linux-user-x86_64-cross-5.2.0.2-21.6 [ 8s] [62/242] cumulate vconf-internal-keys-devel-0.0.191-0 [ 8s] [63/242] keeping binutils-libs-2.43-1.14 [ 8s] [64/242] keeping capi-base-common-devel-0.4.82-1 [ 8s] [65/242] keeping coreutils-6.9-14.5 [ 8s] [66/242] keeping cpp-14.2.0-1.13 [ 8s] [67/242] keeping gawk-3.1.5-1.1 [ 8s] [68/242] keeping gcc-c++-14.2.0-1.13 [ 8s] [69/242] keeping grep-2.5.2-1.9 [ 8s] [70/242] keeping libacl-2.3.2-1.9 [ 8s] [71/242] keeping libblkid-devel-2.39.3-1.9 [ 8s] [72/242] keeping libcap-2.69-1.11 [ 8s] [73/242] keeping libelf-0.189-1.13 [ 8s] [74/242] keeping libffi-devel-3.4.2-2.1 [ 8s] [75/242] keeping libgfortran-14.2.0-1.13 [ 8s] [76/242] keeping libmount-2.39.3-1.9 [ 8s] [77/242] keeping libstdc++-14.2.0-1.13 [ 8s] [78/242] cumulate libunwind-1.6.2-1.4 [ 8s] [79/242] keeping make-4.4-1.9 [ 8s] [80/242] cumulate minizip-1.3.1-1.6 [ 8s] [81/242] keeping nss-certs-3.98-1.15 [ 8s] [82/242] cumulate rust-std-shared-1.74.0-1 [ 8s] [83/242] keeping smack-1.3.1-1.9 [ 8s] [84/242] cumulate sqlite-3.48.0-1.6 [ 8s] [85/242] cumulate tidl-2.5.0-1 [ 8s] [86/242] cumulate unzip-610c25-1.6 [ 8s] [87/242] cumulate xdgmime-devel-0.0.17-1.1 [ 8s] [88/242] cumulate xz-devel-5.6.3-1.6 [ 8s] [89/242] keeping bzip2-1.0.8-1.12 [ 8s] [90/242] keeping libfdisk-2.39.3-1.9 [ 8s] [91/242] keeping libglib-2.80.5-0 [ 8s] [92/242] keeping libmagic-5.45-1.9 [ 8s] [93/242] keeping libxml2-2.12.5-1.11 [ 8s] [94/242] cumulate shadow-utils-4.1.4.2-7.6 [ 8s] [95/242] keeping xz-5.6.3-1.6 [ 8s] [96/242] cumulate libkmod-31-1.1 [ 8s] [97/242] keeping perl-5.38.0-1.11 [ 8s] [98/242] keeping pcre2-devel-10.40-1 [ 8s] [99/242] keeping build-mkbaselibs-20120927-1.1 [ 8s] [100/242] keeping libstdc++-devel-14.2.0-1.13 [ 8s] [101/242] keeping linux-glibc-devel-6.6-1.13 [ 8s] [102/242] cumulate acl-2.3.2-1.9 [ 8s] [103/242] keeping binutils-2.43-1.14 [ 8s] [104/242] keeping file-5.45-1.9 [ 8s] [105/242] cumulate libcap-tools-2.69-1.11 [ 8s] [106/242] keeping libgmodule-2.80.5-0 [ 8s] [107/242] keeping libgthread-2.80.5-0 [ 8s] [108/242] cumulate minizip-devel-1.3.1-1.6 [ 8s] [109/242] keeping tar-1.17-1.1 [ 8s] [110/242] keeping terminfo-base-full-6.4-1.14 [ 8s] [111/242] keeping autoconf-2.71-1.15 [ 8s] [112/242] keeping glibc-locale-2.40-1.3 [ 8s] [113/242] keeping gzip-1.3.12-1.9 [ 8s] [114/242] keeping libcc1-14.2.0-1.13 [ 8s] [115/242] keeping libgobject-2.80.5-0 [ 8s] [116/242] keeping libmount-devel-2.39.3-1.9 [ 8s] [117/242] keeping libubsan-14.2.0-1.13 [ 8s] [118/242] cumulate tizen-platform-config-5.0-1 [ 8s] [119/242] cumulate gettext-runtime-0.21.1-2.11 [ 8s] [120/242] keeping pam-1.1.6-1.9 [ 8s] [121/242] keeping tzdata-2023c-1.1 [ 8s] [122/242] keeping dlog-9.0.1-1 [ 8s] [123/242] cumulate cynara-db-migration-0.19.6-1 [ 8s] [124/242] keeping libdw-0.189-1.13 [ 8s] [125/242] cumulate ttrace-1.1.0-1 [ 8s] [126/242] keeping libarchive-3.7.2-1.12 [ 8s] [127/242] keeping shared-mime-info-1.7-0 [ 8s] [128/242] keeping dlog-logger-9.0.1-1 [ 8s] [129/242] cumulate libtzplatform-config-5.0-1 [ 8s] [130/242] keeping automake-1.16.5-1.14 [ 8s] [131/242] keeping libasm-0.189-1.13 [ 9s] [132/242] cumulate libncurses5-6.4-1.14 [ 9s] [133/242] keeping libncurses6-6.4-1.14 [ 9s] [134/242] keeping build-20120927-1.1 [ 9s] [135/242] keeping libgirepository2-2.80.5-0 [ 9s] [136/242] cumulate libsystemd-244-0 [ 9s] [137/242] cumulate gettext-tools-0.21.1-2.11 [ 9s] [138/242] cumulate security-config-1.0-1 [ 9s] [139/242] keeping gcc-14.2.0-1.13 [ 9s] [140/242] keeping libncurses-6.4-1.14 [ 9s] [141/242] cumulate dbus-libs-1.12.20-3 [ 9s] [142/242] keeping less-668-1.1 [ 9s] [143/242] keeping libreadline-5.2-1.11 [ 9s] [144/242] cumulate libtzplatform-config-devel-5.0-1 [ 9s] [145/242] keeping qemu-accel-x86_64-riscv64-0.4-1.6 [ 9s] [146/242] keeping libtool-2.4.7-1.14 [ 9s] [147/242] cumulate ncurses-devel-6.4-1.14 [ 9s] [148/242] keeping elfutils-0.189-1.13 [ 9s] [149/242] keeping libdlog-9.0.1-1 [ 9s] [150/242] cumulate cmake-3.25.2-1.12 [ 9s] [151/242] cumulate capi-system-resource-1.0.0-0 [ 9s] [152/242] cumulate readline-devel-5.2-1.11 [ 9s] [153/242] keeping libdlog-devel-9.0.1-1 [ 9s] [154/242] cumulate libxml2-tools-2.12.5-1.11 [ 9s] [155/242] cumulate parcel-0.17.3-0 [ 9s] [156/242] cumulate libcynara-commons-0.19.6-1 [ 9s] [157/242] cumulate capi-system-info-0.5.2-1 [ 9s] [158/242] keeping python3-base-3.12.0-1.12 [ 9s] [159/242] keeping util-linux-2.39.3-1.9 [ 9s] [160/242] cumulate systemd-244-0 [ 9s] [161/242] keeping python3-3.12.0-1.1 [ 9s] [162/242] cumulate capi-system-resource-devel-1.0.0-0 [ 9s] [163/242] cumulate parcel-devel-0.17.3-0 [ 9s] [164/242] cumulate pkgmgr-0.20.21-0 [ 9s] [165/242] cumulate systemd-devel-244-0 [ 9s] [166/242] keeping util-linux-su-2.39.3-1.9 [ 9s] [167/242] cumulate libcynara-creds-commons-0.19.6-1 [ 9s] [168/242] cumulate libcynara-session-0.19.6-1 [ 9s] [169/242] cumulate libcynara-client-0.19.6-1 [ 9s] [170/242] keeping python3-setuptools-69.0.2-1.6 [ 9s] [171/242] cumulate pkgmgr-types-devel-0.20.21-0 [ 9s] [172/242] cumulate libcynara-creds-socket-0.19.6-1 [ 9s] [173/242] cumulate dbus-1.12.20-3 [ 9s] [174/242] keeping libxcrypt-devel-4.4.36-1.12 [ 9s] [175/242] cumulate rust-devel-1.74.0-1 [ 9s] [176/242] keeping nss-3.98-1.15 [ 9s] [177/242] keeping libgio-2.80.5-0 [ 9s] [178/242] keeping gio-branding-upstream-2.80.5-0 [ 9s] [179/242] cumulate libjson-glib-1.8.0-0 [ 9s] [180/242] keeping glibc-devel-2.40-1.3 [ 9s] [181/242] keeping libsoftokn3-3.98-1.15 [ 9s] [182/242] cumulate rust-1.74.0-1 [ 9s] [183/242] keeping glib2-tools-2.80.5-0 [ 9s] [184/242] cumulate libgum-1.0.8-0 [ 9s] [185/242] cumulate libsyscommon-5.0.0-0 [ 9s] [186/242] cumulate buxton2-1.8.10-0 [ 9s] [187/242] keeping rpm-4.14.1.1-1.14 [ 9s] [188/242] cumulate rust-anstyle-0.3.5-1 [ 9s] [189/242] cumulate rust-cfg-if-1.0.0-1 [ 9s] [190/242] cumulate rust-downcast-0.11.0-1 [ 9s] [191/242] cumulate rust-either-1.8.1-1 [ 9s] [192/242] cumulate rust-libc-0.2.139-1 [ 9s] [193/242] cumulate rust-libm-0.2.6-1 [ 9s] [194/242] cumulate rust-minizip-sys-0.1.2-1 [ 9s] [195/242] cumulate rust-normalize-line-endings-0.3.0-1 [ 9s] [196/242] cumulate rust-scopeguard-1.1.0-1 [ 9s] [197/242] cumulate rust-termtree-0.4.1-1 [ 9s] [198/242] cumulate rust-unicode-ident-1.0.6-1 [ 9s] [199/242] keeping zlib-devel-1.3.1-1.6 [ 9s] [200/242] cumulate rust-difflib-0.4.0-1 [ 9s] [201/242] cumulate rust-fragile-2.0.0-1 [ 9s] [202/242] cumulate rust-predicates-core-1.0.6-1 [ 9s] [203/242] cumulate rust-regex-syntax-0.6.28-1 [ 9s] [204/242] cumulate sqlite-devel-3.48.0-1.6 [ 9s] [205/242] cumulate vconf-compat-1.8.10-0 [ 9s] [206/242] cumulate bundle-0.17.3-0 [ 9s] [207/242] cumulate gumd-1.0.8-0 [ 9s] [208/242] keeping rpm-build-4.14.1.1-1.14 [ 9s] [209/242] cumulate bundle-devel-0.17.3-0 [ 9s] [210/242] cumulate rust-lock_api-0.4.9-1 [ 9s] [211/242] cumulate rust-num-traits-0.2.15-1 [ 9s] [212/242] cumulate rust-glib-sys-0.17.10-1 [ 9s] [213/242] cumulate rust-itertools-0.10.5-1 [ 9s] [214/242] cumulate rust-proc-macro2-1.0.51-1 [ 9s] [215/242] cumulate rust-regex-1.7.1-1 [ 9s] [216/242] cumulate rust-predicates-tree-1.0.9-1 [ 9s] [217/242] cumulate libxml2-devel-2.12.5-1.11 [ 9s] [218/242] cumulate libstorage-1.0.0-0 [ 9s] [219/242] keeping glib2-devel-2.80.5-0 [ 9s] [220/242] cumulate pkgmgr-info-0.28.5-1 [ 9s] [221/242] cumulate libgum-devel-1.0.8-0 [ 9s] [222/242] cumulate pkgmgr-info-devel-0.28.5-1 [ 9s] [223/242] cumulate rust-float-cmp-0.9.0-1 [ 9s] [224/242] cumulate rust-spin-0.9.5-1 [ 10s] [225/242] cumulate vconf-compat-devel-1.8.10-0 [ 10s] [226/242] cumulate pkgmgr-info-parser-0.28.5-1 [ 10s] [227/242] cumulate rust-quote-1.0.23-1 [ 10s] [228/242] cumulate aul-0.67.1-1 [ 10s] [229/242] cumulate rust-lazy_static-1.4.0-1 [ 10s] [230/242] cumulate pkgmgr-info-parser-devel-0.28.5-1 [ 10s] [231/242] cumulate rust-syn-1.0.107-1 [ 10s] [232/242] cumulate aul-devel-0.67.1-1 [ 10s] [233/242] cumulate rust-predicates-3.0.4-1 [ 10s] [234/242] cumulate rpc-port-1.19.2-0 [ 10s] [235/242] cumulate rpc-port-devel-1.19.2-0 [ 10s] [236/242] cumulate rust-mockall_derive-0.11.4-1 [ 10s] [237/242] cumulate rust-mockall_double-0.3.0-1 [ 10s] [238/242] cumulate pkgmgr-client-0.20.21-0 [ 10s] [239/242] cumulate pkgmgr-installer-0.20.21-0 [ 10s] [240/242] cumulate pkgmgr-installer-devel-0.20.21-0 [ 10s] [241/242] cumulate pkgmgr-client-devel-0.20.21-0 [ 10s] [242/242] cumulate rust-mockall-0.11.4-1 [ 10s] now installing cumulated packages [ 10s] Preparing... ######################################## [ 10s] Updating / installing... [ 10s] rust-std-shared-1.74.0-1 ######################################## [ 11s] libsystemd-244-0 ######################################## [ 11s] shadow-utils-4.1.4.2-7.6 ######################################## [ 11s] parcel-0.17.3-0 ######################################## [ 11s] capi-system-resource-1.0.0-0 ######################################## [ 11s] rust-cfg-if-1.0.0-1 ######################################## [ 11s] tizen-platform-config-5.0-1 ######################################## [ 12s] ln: creating symbolic link `/opt/etc/skel/media/Shared/media_shared': File exists [ 12s] libtzplatform-config-5.0-1 ######################################## [ 12s] minizip-1.3.1-1.6 ######################################## [ 12s] rust-unicode-ident-1.0.6-1 ######################################## [ 12s] rust-proc-macro2-1.0.51-1 ######################################## [ 13s] rust-quote-1.0.23-1 ######################################## [ 13s] rust-syn-1.0.107-1 ######################################## [ 13s] rust-predicates-core-1.0.6-1 ######################################## [ 13s] xdgmime-0.0.17-1.1 ######################################## [ 14s] xdgmime-devel-0.0.17-1.1 ######################################## [ 14s] rust-mockall_derive-0.11.4-1 ######################################## [ 14s] libtzplatform-config-devel-5.0-1 ######################################## [ 14s] capi-system-resource-devel-1.0.0-0 ######################################## [ 14s] parcel-devel-0.17.3-0 ######################################## [ 14s] dbus-libs-1.12.20-3 ######################################## [ 20s] rust-devel-1.74.0-1 ######################################## [ 20s] rust-anstyle-0.3.5-1 ######################################## [ 20s] rust-downcast-0.11.0-1 ######################################## [ 21s] rust-either-1.8.1-1 ######################################## [ 21s] rust-itertools-0.10.5-1 ######################################## [ 21s] rust-libc-0.2.139-1 ######################################## [ 21s] rust-libm-0.2.6-1 ######################################## [ 21s] rust-num-traits-0.2.15-1 ######################################## [ 21s] rust-float-cmp-0.9.0-1 ######################################## [ 21s] rust-normalize-line-endings-0.3.0-1 ######################################## [ 21s] rust-scopeguard-1.1.0-1 ######################################## [ 22s] rust-lock_api-0.4.9-1 ######################################## [ 22s] rust-spin-0.9.5-1 ######################################## [ 22s] rust-lazy_static-1.4.0-1 ######################################## [ 22s] rust-termtree-0.4.1-1 ######################################## [ 22s] rust-predicates-tree-1.0.9-1 ######################################## [ 22s] rust-difflib-0.4.0-1 ######################################## [ 22s] rust-fragile-2.0.0-1 ######################################## [ 23s] rust-regex-syntax-0.6.28-1 ######################################## [ 23s] rust-regex-1.7.1-1 ######################################## [ 23s] rust-predicates-3.0.4-1 ######################################## [ 23s] libjson-glib-1.8.0-0 ######################################## [ 23s] bundle-0.17.3-0 ######################################## [ 23s] bundle-devel-0.17.3-0 ######################################## [ 23s] libxml2-tools-2.12.5-1.11 ######################################## [ 23s] libncurses5-6.4-1.14 ######################################## [ 24s] ncurses-devel-6.4-1.14 ######################################## [ 24s] readline-devel-5.2-1.11 ######################################## [ 24s] ttrace-1.1.0-1 ######################################## [ 24s] cynara-db-migration-0.19.6-1 ######################################## [ 24s] gettext-runtime-0.21.1-2.11 ######################################## [ 24s] libcap-tools-2.69-1.11 ######################################## [ 24s] security-config-1.0-1 ######################################## [ 24s] groupadd: group 'dbus' already exists [ 24s] groupadd: group 'system_fw' already exists [ 24s] groupadd: group 'crash_worker' already exists [ 24s] groupadd: group 'stability_monitor' already exists [ 24s] groupadd: group 'gumd' already exists [ 24s] groupadd: group 'web_fw' already exists [ 24s] groupadd: group 'app_fw' already exists [ 24s] groupadd: group 'buxton' already exists [ 24s] groupadd: group 'security_fw' already exists [ 24s] groupadd: group 'multimedia_fw' already exists [ 24s] groupadd: group 'graphic_fw' already exists [ 24s] groupadd: group 'ui_fw' already exists [ 24s] groupadd: group 'network_fw' already exists [ 24s] groupadd: group 'telephony' already exists [ 24s] groupadd: group 'service_fw' already exists [ 24s] groupadd: group 'messaging' already exists [ 24s] groupadd: group 'social' already exists [ 24s] groupadd: group 'location' already exists [ 24s] groupadd: group 'sensor' already exists [ 25s] groupadd: group 'sdk' already exists [ 25s] groupadd: group 'scm' already exists [ 25s] groupadd: group 'application' already exists [ 25s] groupadd: group 'broadcasting' already exists [ 25s] groupadd: group 'testing' already exists [ 25s] groupadd: group 'system_share' already exists [ 25s] groupadd: group 'priv_use_ir' already exists [ 25s] groupadd: group 'priv_tee_client' already exists [ 25s] groupadd: group 'priv_peripheralio' already exists [ 25s] groupadd: group 'priv_d2d_datasharing' already exists [ 25s] groupadd: group 'priv_vpnservice' already exists [ 25s] groupadd: group 'priv_vpnservice_admin' already exists [ 25s] groupadd: group 'priv_location_coarse' already exists [ 25s] groupadd: group 'priv_livecoredump' already exists [ 25s] groupadd: group 'priv_appdebugging' already exists [ 25s] groupadd: group 'priv_platform' already exists [ 25s] useradd: user 'dbus' already exists [ 25s] useradd: user 'system_fw' already exists [ 25s] useradd: user 'web_fw' already exists [ 25s] useradd: user 'app_fw' already exists [ 25s] useradd: user 'buxton' already exists [ 25s] useradd: user 'security_fw' already exists [ 25s] useradd: user 'multimedia_fw' already exists [ 25s] useradd: user 'graphic_fw' already exists [ 25s] useradd: user 'ui_fw' already exists [ 25s] useradd: user 'network_fw' already exists [ 25s] useradd: user 'telephony' already exists [ 25s] useradd: user 'service_fw' already exists [ 25s] useradd: user 'messaging' already exists [ 25s] useradd: user 'social' already exists [ 25s] useradd: user 'location' already exists [ 25s] useradd: user 'sensor' already exists [ 25s] useradd: user 'sdk' already exists [ 26s] useradd: user 'scm' already exists [ 26s] useradd: user 'application' already exists [ 26s] useradd: user 'broadcasting' already exists [ 26s] useradd: user 'testing' already exists [ 26s] useradd: user 'crash_worker' already exists [ 26s] useradd: user 'stability_monitor' already exists [ 27s] cat: /etc/tizen-build.conf: No such file or directory [ 27s] acl-2.3.2-1.9 ######################################## [ 27s] libkmod-31-1.1 ######################################## [ 28s] systemd-244-0 ######################################## [ 29s] update-alternatives: using /usr/lib/systemd/systemd-shutdown-original to provide /usr/lib/systemd/systemd-shutdown (systemd-shutdown) in auto mode [ 29s] update-alternatives: using /usr/sbin/reboot-original to provide /usr/sbin/reboot (reboot) in auto mode [ 29s] update-alternatives: using /usr/sbin/halt-original to provide /usr/sbin/halt (halt) in auto mode [ 29s] update-alternatives: using /usr/sbin/poweroff-original to provide /usr/sbin/poweroff (poweroff) in auto mode [ 29s] update-alternatives: using /usr/sbin/shutdown-original to provide /usr/sbin/shutdown (shutdown) in auto mode [ 29s] xz-devel-5.6.3-1.6 ######################################## [ 29s] libxml2-devel-2.12.5-1.11 ######################################## [ 29s] sqlite-3.48.0-1.6 ######################################## [ 29s] libunwind-1.6.2-1.4 ######################################## [ 29s] vconf-internal-keys-devel-0.0.191-0 ######################################## [ 29s] libopenssl11-1.1.1w-1.13 ######################################## [ 29s] libjson-0.17-0 ######################################## [ 29s] iniparser-4.1-1.1 ######################################## [ 30s] capi-system-info-0.5.2-1 ######################################## [ 30s] pkgmgr-0.20.21-0 ######################################## [ 30s] pkgmgr-types-devel-0.20.21-0 ######################################## [ 30s] libsyscommon-5.0.0-0 ######################################## [ 34s] rust-std-static-1.74.0-1 ######################################## [ 34s] default-ac-domains-0.1-1.1 ######################################## [ 34s] libcynara-commons-0.19.6-1 ######################################## [ 34s] libcynara-client-0.19.6-1 ######################################## [ 35s] libcynara-session-0.19.6-1 ######################################## [ 35s] dbus-1.12.20-3 ######################################## [ 35s] libgum-1.0.8-0 ######################################## [ 36s] gumd-1.0.8-0 ######################################## [ 36s] buxton2-1.8.10-0 ######################################## [ 36s] vconf-compat-1.8.10-0 ######################################## [ 37s] libstorage-1.0.0-0 ######################################## [ 37s] vconf-compat-devel-1.8.10-0 ######################################## [ 37s] libcynara-creds-commons-0.19.6-1 ######################################## [ 37s] libcynara-creds-socket-0.19.6-1 ######################################## [ 37s] pkgmgr-info-parser-0.28.5-1 ######################################## [ 38s] pkgmgr-info-0.28.5-1 ######################################## [ 38s] aul-0.67.1-1 ######################################## [ 38s] rpc-port-1.19.2-0 ######################################## [ 39s] pkgmgr-client-0.20.21-0 ######################################## [ 39s] pkgmgr-installer-0.20.21-0 ######################################## [ 39s] pkgmgr-info-devel-0.28.5-1 ######################################## [ 39s] pkgmgr-info-parser-devel-0.28.5-1 ######################################## [ 39s] pkgmgr-installer-devel-0.20.21-0 ######################################## [ 39s] pkgmgr-client-devel-0.20.21-0 ######################################## [ 39s] rpc-port-devel-1.19.2-0 ######################################## [ 39s] aul-devel-0.67.1-1 ######################################## [ 39s] libgum-devel-1.0.8-0 ######################################## [ 40s] rust-1.74.0-1 ######################################## [ 42s] cmake-3.25.2-1.12 ######################################## [ 42s] sqlite-devel-3.48.0-1.6 ######################################## [ 42s] systemd-devel-244-0 ######################################## [ 42s] gettext-tools-0.21.1-2.11 ######################################## [ 42s] rust-mockall-0.11.4-1 ######################################## [ 42s] rust-glib-sys-0.17.10-1 ######################################## [ 43s] rust-mockall_double-0.3.0-1 ######################################## [ 43s] minizip-devel-1.3.1-1.6 ######################################## [ 43s] rust-minizip-sys-0.1.2-1 ######################################## [ 43s] unzip-610c25-1.6 ######################################## [ 43s] tidl-2.5.0-1 ######################################## [ 43s] fdupes-2.2.1-1.12 ######################################## [ 43s] Running capi-system-info %posttrans script [ 43s] I/O warning : failed to load external entity "/etc/config/model-config.xml" [ 43s] iniparser: cannot open /etc/info.ini [ 44s] Running pkgmgr %posttrans script [ 44s] /var/tmp/rpm-tmp.gbUJbf: line 5: pkg_initdb: command not found [ 44s] /var/tmp/rpm-tmp.gbUJbf: line 6: install_preload_pkg: command not found [ 44s] /var/tmp/rpm-tmp.gbUJbf: line 13: pkgcmd: command not found [ 44s] /var/tmp/rpm-tmp.gbUJbf: line 15: /etc/package-manager/pkgmgr-label-initial-image.sh: No such file or directory [ 44s] Running buxton2 %posttrans script [ 44s] chmod: cannot access `/etc/buxton2/*': No such file or directory [ 44s] /etc/buxton2/*: No such file or directory [ 44s] chmod: cannot access `/var/lib/buxton2/*': No such file or directory [ 44s] /var/lib/buxton2/*: No such file or directory [ 46s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.riscv64.15/etc/nsswitch.conf... [ 46s] now finalizing build dir... [ 48s] ----------------------------------------------------------------- [ 48s] ----- building pkgmgr-server.spec (user abuild) [ 48s] ----------------------------------------------------------------- [ 48s] ----------------------------------------------------------------- [ 48s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_costomized_smp_mflags -j32' --define '_srcdefattr (-,root,root)' --nosignature --target=riscv64-tizen-linux --define '_build_create_debug 1' -ba /home/abuild/rpmbuild/SOURCES/pkgmgr-server.spec [ 48s] Building target platforms: riscv64-tizen-linux [ 48s] Building for target riscv64-tizen-linux [ 48s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FbGq3r [ 48s] + umask 022 [ 48s] + cd /home/abuild/rpmbuild/BUILD [ 48s] + cd /home/abuild/rpmbuild/BUILD [ 48s] + rm -rf pkgmgr-server-1.0.15 [ 48s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/pkgmgr-server-1.0.15.tar.gz [ 48s] + /bin/tar -xof - [ 48s] + STATUS=0 [ 48s] + '[' 0 -ne 0 ']' [ 48s] + cd pkgmgr-server-1.0.15 [ 48s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 48s] + cp /home/abuild/rpmbuild/SOURCES/pkgmgr-server.manifest . [ 48s] + tidlc -s -l C -e -i ./tidl_pkgmgr_server/PkgMgr.tidl -o tidl_pkgmgr_server [ 48s] + mv tidl_pkgmgr_server.c tidl_pkgmgr_server.h ./tidl_pkgmgr_server/ [ 48s] + exit 0 [ 48s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KoqOSx [ 48s] + umask 022 [ 48s] + cd /home/abuild/rpmbuild/BUILD [ 48s] + cd pkgmgr-server-1.0.15 [ 48s] + ref=/usr/lib/rpm [ 48s] + mints=0 [ 48s] + case $(uname -m) in [ 48s] ++ uname -m [ 48s] + mints=20160911 [ 48s] + for s in guess sub [ 48s] ++ find -maxdepth 8 -name config.guess [ 48s] + for s in guess sub [ 48s] ++ find -maxdepth 8 -name config.sub [ 48s] + LANG=C [ 48s] + export LANG [ 48s] + unset DISPLAY [ 48s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g' [ 48s] + export CFLAGS [ 48s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g' [ 48s] + export CXXFLAGS [ 48s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I%_fmoddir' [ 48s] + export FFLAGS [ 48s] + LDFLAGS= [ 48s] + export LDFLAGS [ 48s] + export 'CFLAGS=-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -DTIZEN_DEBUG_ENABLE' [ 48s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -DTIZEN_DEBUG_ENABLE' [ 48s] + export 'CXXFLAGS=-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -DTIZEN_DEBUG_ENABLE' [ 48s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -DTIZEN_DEBUG_ENABLE' [ 48s] + export 'FFLAGS=-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 48s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 48s] ++ awk 'BEGIN {FS="."}{print $1}' [ 48s] ++ echo 1.0.15 [ 48s] + MAJORVER=1 [ 48s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -DTIZEN_DEBUG_ENABLE' [ 48s] + export CFLAGS [ 48s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -DTIZEN_DEBUG_ENABLE' [ 48s] + export CXXFLAGS [ 48s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 48s] + export FFLAGS [ 48s] + /usr/bin/cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64 -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DCMAKE_SKIP_RPATH:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -DFULLVER=1.0.15 -DMAJORVER=1 -DUNITDIR=/usr/lib/systemd/system . [ 48s] -- The C compiler identification is GNU 14.2.0 [ 48s] -- The CXX compiler identification is GNU 14.2.0 [ 48s] -- Detecting C compiler ABI info [ 49s] -- Detecting C compiler ABI info - done [ 49s] -- Check for working C compiler: /bin/cc - skipped [ 49s] -- Detecting C compile features [ 49s] -- Detecting C compile features - done [ 49s] -- Detecting CXX compiler ABI info [ 49s] -- Detecting CXX compiler ABI info - done [ 49s] -- Check for working CXX compiler: /bin/c++ - skipped [ 49s] -- Detecting CXX compile features [ 49s] -- Detecting CXX compile features - done [ 49s] -- Found PkgConfig: /bin/pkg-config (found version "0.29.2") [ 49s] -- Checking for module 'rpc-port' [ 49s] -- Found rpc-port, version [ 49s] -- Checking for module 'dlog' [ 50s] -- Found dlog, version 1.0 [ 50s] -- Checking for module 'gio-2.0' [ 50s] -- Found gio-2.0, version 2.80.5 [ 51s] -- Checking for module 'glib-2.0' [ 51s] -- Found glib-2.0, version 2.80.5 [ 52s] -- Checking for module 'capi-base-common' [ 52s] -- Found capi-base-common, version 0.4.82 [ 53s] -- Checking for module 'pkgmgr' [ 53s] -- Found pkgmgr, version 0.20.21 [ 53s] -- Checking for module 'libtzplatform-config' [ 53s] -- Found libtzplatform-config, version 2.0 [ 54s] -- Configuring done [ 54s] -- Generating done [ 54s] CMake Warning: [ 54s] Manually-specified variables were not used by the project: [ 54s] [ 54s] FULLVER [ 54s] INCLUDE_INSTALL_DIR [ 54s] LIB_SUFFIX [ 54s] MAJORVER [ 54s] SHARE_INSTALL_PREFIX [ 54s] SYSCONF_INSTALL_DIR [ 54s] [ 54s] [ 54s] -- Build files have been written to: /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 54s] + make -j8 [ 54s] /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 [ 54s] /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 [ 54s] make -f CMakeFiles/Makefile2 all [ 54s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 54s] make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/depend [ 54s] make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/depend [ 54s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 54s] 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= [ 54s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 54s] 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= [ 54s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 54s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 54s] make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build [ 54s] make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build [ 54s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 54s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 54s] [ 50%] Building C object util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o [ 54s] [ 50%] Building C object tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o [ 54s] cd /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server && /bin/cc -DLIBDIR=\"/usr/lib64\" -Dutil_pkgmgr_server_EXPORTS -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server/SYSTEM -I/usr/include/rpc-port -I/usr/include/dlog -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -fPIC -I/usr/include/rpc-port -I/usr/include/dlog -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/ -MD -MT util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o -MF CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o.d -o CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o -c /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server/util_pkgmgr_server.c [ 54s] cd /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server && /bin/cc -DLIBDIR=\"/usr/lib64\" -Dtidl_pkgmgr_server_EXPORTS -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server/SYSTEM -I/usr/include/rpc-port -I/usr/include/dlog -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -fPIC -I/usr/include/rpc-port -I/usr/include/dlog -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -MD -MT tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o -MF CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o.d -o CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o -c /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server/tidl_pkgmgr_server.c [ 54s] [ 75%] Linking C shared library libutil_pkgmgr_server.so [ 54s] 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 [ 54s] /bin/cc -fPIC -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -shared -Wl,-soname,libutil_pkgmgr_server.so -o libutil_pkgmgr_server.so CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o -lrpc-port -ldlog -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lglib-2.0 -lcapi-base-common -lpkgmgr-client -ltzplatform-config-2.0 -ldl [ 54s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 54s] [ 75%] Built target util_pkgmgr_server [ 56s] [100%] Linking C shared library libtidl_pkgmgr_server.so [ 56s] 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 [ 56s] /bin/cc -fPIC -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -shared -Wl,-soname,libtidl_pkgmgr_server.so -o libtidl_pkgmgr_server.so CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o -lrpc-port -ldlog -lglib-2.0 -lcapi-base-common -ldl [ 56s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 56s] [100%] Built target tidl_pkgmgr_server [ 56s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 56s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/CMakeFiles 0 [ 56s] + export LD_LIBRARY_PATH=:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib [ 56s] + LD_LIBRARY_PATH=:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib [ 56s] ++ find /usr/lib64 -maxdepth 1 -name 'libstd-*.so' [ 56s] + __rust_std=/usr/lib64/libstd-3fecb5e5a54e748b.so [ 56s] + /usr/bin/rustc -C prefer-dynamic --extern std=/usr/lib64/libstd-3fecb5e5a54e748b.so -C codegen-units=1 -C debuginfo=2 -C opt-level=3 -C relocation-model=pic -C overflow-checks=on -C symbol-mangling-version=v0 -L/usr/lib64/rustlib -L/usr/lib64/rustlib/dylib --crate-type=bin --crate-name=rust_pkgmgr_server -L native=./tidl_pkgmgr_server -L native=./util_pkgmgr_server -l minizip --edition=2021 --extern libc=/usr/lib64/rustlib/dylib/liblibc.so ./src/main.rs [ 58s] warning: unused import: `boxed` [ 58s] --> ./src/pkgmgr/server/admin_service.rs:4:11 [ 58s] | [ 58s] 4 | use std::{boxed, str}; [ 58s] | ^^^^^ [ 58s] | [ 58s] = note: `#[warn(unused_imports)]` on by default [ 58s] [ 58s] warning: unused import: `std::mem` [ 58s] --> ./src/pkgmgr/server/admin_service.rs:6:5 [ 58s] | [ 58s] 6 | use std::mem; [ 58s] | ^^^^^^^^ [ 58s] [ 58s] warning: unused import: `std::ptr` [ 58s] --> ./src/pkgmgr/server/admin_service.rs:7:5 [ 58s] | [ 58s] 7 | use std::ptr; [ 58s] | ^^^^^^^^ [ 58s] [ 58s] warning: unused import: `malloc` [ 58s] --> ./src/pkgmgr/server/admin_service.rs:8:18 [ 58s] | [ 58s] 8 | use libc::{free, malloc, strlen}; [ 58s] | ^^^^^^ [ 58s] [ 58s] warning: unused import: `super::Server` [ 58s] --> ./src/pkgmgr/server/admin_service.rs:10:5 [ 58s] | [ 58s] 10 | use super::Server; [ 58s] | ^^^^^^^^^^^^^ [ 58s] [ 58s] warning: type `rpc_port_stub_array_string_h` should have an upper camel case name [ 58s] --> ./src/pkgmgr/server/admin_service.rs:23:6 [ 58s] | [ 58s] 23 | type rpc_port_stub_array_string_h = *mut c_void; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RpcPortStubArrayStringH` [ 58s] | [ 58s] = note: `#[warn(non_camel_case_types)]` on by default [ 58s] [ 58s] warning: unused imports: `pid_t`, `uid_t` [ 58s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 58s] | [ 58s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 58s] | ^^^^^ ^^^^^ [ 58s] [ 58s] warning: unused imports: `c_int`, `c_void` [ 58s] --> ./src/pkgmgr/server/backend_context.rs:4:16 [ 58s] | [ 58s] 4 | use std::ffi::{c_int, c_void}; [ 58s] | ^^^^^ ^^^^^^ [ 58s] [ 58s] warning: unused import: `std::path::Path` [ 58s] --> ./src/pkgmgr/server/backend_queue.rs:10:5 [ 58s] | [ 58s] 10 | use std::path::Path; [ 58s] | ^^^^^^^^^^^^^^^ [ 58s] [ 58s] warning: denote infinite loops with `loop { ... }` [ 58s] --> ./src/pkgmgr/server/backend_queue.rs:50:9 [ 58s] | [ 58s] 50 | while true { [ 58s] | ^^^^^^^^^^ help: use `loop` [ 58s] | [ 58s] = note: `#[warn(while_true)]` on by default [ 58s] [ 58s] warning: unnecessary parentheses around `if` condition [ 58s] --> ./src/pkgmgr/server/backend_queue.rs:73:8 [ 58s] | [ 58s] 73 | if (mut_queue.is_queue_empty()) { [ 58s] | ^ ^ [ 58s] | [ 58s] = note: `#[warn(unused_parens)]` on by default [ 58s] help: remove these parentheses [ 58s] | [ 58s] 73 - if (mut_queue.is_queue_empty()) { [ 58s] 73 + if mut_queue.is_queue_empty() { [ 58s] | [ 58s] [ 58s] warning: unnecessary trailing semicolon [ 58s] --> ./src/pkgmgr/server/backend_queue.rs:297:17 [ 58s] | [ 58s] 297 | ; [ 58s] | ^ help: remove this semicolon [ 58s] | [ 58s] = note: `#[warn(redundant_semicolons)]` on by default [ 58s] [ 58s] warning: unused import: `super::Server` [ 58s] --> ./src/pkgmgr/server/cache_service.rs:1:5 [ 58s] | [ 58s] 1 | use super::Server; [ 58s] | ^^^^^^^^^^^^^ [ 58s] [ 58s] warning: unused import: `super::Server` [ 58s] --> ./src/pkgmgr/server/delayed_service.rs:1:5 [ 58s] | [ 58s] 1 | use super::Server; [ 58s] | ^^^^^^^^^^^^^ [ 58s] [ 58s] warning: unused import: `super::backend_context::*` [ 58s] --> ./src/pkgmgr/server/delayed_service.rs:4:5 [ 58s] | [ 58s] 4 | use super::backend_context::*; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 58s] [ 58s] warning: unused import: `super::request_result::*` [ 58s] --> ./src/pkgmgr/server/delayed_service.rs:5:5 [ 58s] | [ 58s] 5 | use super::request_result::*; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 58s] [ 58s] warning: unused import: `super::request_type::*` [ 58s] --> ./src/pkgmgr/server/delayed_service.rs:6:5 [ 58s] | [ 58s] 6 | use super::request_type::*; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 58s] [ 58s] warning: unused import: `super::util::*` [ 58s] --> ./src/pkgmgr/server/delayed_service.rs:7:5 [ 58s] | [ 58s] 7 | use super::util::*; [ 58s] | ^^^^^^^^^^^^^^ [ 58s] [ 58s] warning: unused imports: `pid_t`, `uid_t` [ 58s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 58s] | [ 58s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 58s] | ^^^^^ ^^^^^ [ 58s] [ 58s] warning: unused import: `std::io::Error` [ 58s] --> ./src/pkgmgr/server/info_service.rs:3:5 [ 58s] | [ 58s] 3 | use std::io::Error; [ 58s] | ^^^^^^^^^^^^^^ [ 58s] [ 58s] warning: unused import: `std::mem` [ 58s] --> ./src/pkgmgr/server/info_service.rs:6:5 [ 58s] | [ 58s] 6 | use std::mem; [ 58s] | ^^^^^^^^ [ 58s] [ 58s] warning: unused import: `std::ptr` [ 58s] --> ./src/pkgmgr/server/info_service.rs:7:5 [ 58s] | [ 58s] 7 | use std::ptr; [ 58s] | ^^^^^^^^ [ 58s] [ 58s] warning: unused imports: `free`, `malloc`, `strlen` [ 58s] --> ./src/pkgmgr/server/info_service.rs:8:12 [ 58s] | [ 58s] 8 | use libc::{free, malloc, strlen, mkfifo}; [ 58s] | ^^^^ ^^^^^^ ^^^^^^ [ 58s] [ 58s] warning: unused import: `super::Server` [ 58s] --> ./src/pkgmgr/server/info_service.rs:10:5 [ 58s] | [ 58s] 10 | use super::Server; [ 58s] | ^^^^^^^^^^^^^ [ 58s] [ 58s] warning: unused import: `super::service::Service` [ 58s] --> ./src/pkgmgr/server/info_service.rs:13:5 [ 58s] | [ 58s] 13 | use super::service::Service; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 58s] [ 58s] warning: unnecessary trailing semicolon [ 58s] --> ./src/pkgmgr/server/info_service.rs:49:5 [ 58s] | [ 58s] 49 | ; [ 58s] | ^ help: remove this semicolon [ 58s] [ 58s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 58s] --> ./src/pkgmgr/server/request_result.rs:7:5 [ 58s] | [ 58s] 7 | GETSIZE_SYNC(String, i32, i32), [ 58s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 58s] [ 58s] warning: variant `GET_GENERATE_LICENSE_RESULT` should have an upper camel case name [ 58s] --> ./src/pkgmgr/server/request_result.rs:8:5 [ 58s] | [ 58s] 8 | GET_GENERATE_LICENSE_RESULT(String, i32, CString, CString), [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetGenerateLicenseResult` [ 58s] [ 58s] warning: variant `MOUNT_INSTALL` should have an upper camel case name [ 58s] --> ./src/pkgmgr/server/request_type.rs:3:5 [ 58s] | [ 58s] 3 | MOUNT_INSTALL, [ 58s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MountInstall` [ 58s] [ 58s] warning: variant `ENABLE_PKG` should have an upper camel case name [ 58s] --> ./src/pkgmgr/server/request_type.rs:7:5 [ 58s] | [ 58s] 7 | ENABLE_PKG, [ 58s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnablePkg` [ 58s] [ 58s] warning: variant `DISABLE_PKG` should have an upper camel case name [ 58s] --> ./src/pkgmgr/server/request_type.rs:8:5 [ 58s] | [ 58s] 8 | DISABLE_PKG, [ 58s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisablePkg` [ 58s] [ 58s] warning: variant `REGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 58s] --> ./src/pkgmgr/server/request_type.rs:9:5 [ 58s] | [ 58s] 9 | REGISTER_PKG_UPDATE_INFO, [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterPkgUpdateInfo` [ 58s] [ 58s] warning: variant `UNREGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 58s] --> ./src/pkgmgr/server/request_type.rs:10:5 [ 58s] | [ 58s] 10 | UNREGISTER_PKG_UPDATE_INFO, [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterPkgUpdateInfo` [ 58s] [ 58s] warning: variant `UNREGISTER_ALL_PKG_UPDATE_INFO` should have an upper camel case name [ 58s] --> ./src/pkgmgr/server/request_type.rs:11:5 [ 58s] | [ 58s] 11 | UNREGISTER_ALL_PKG_UPDATE_INFO, [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterAllPkgUpdateInfo` [ 58s] [ 58s] warning: variant `ENABLE_APP` should have an upper camel case name [ 58s] --> ./src/pkgmgr/server/request_type.rs:12:5 [ 58s] | [ 58s] 12 | ENABLE_APP, [ 58s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableApp` [ 58s] [ 58s] warning: variant `DISABLE_APP` should have an upper camel case name [ 58s] --> ./src/pkgmgr/server/request_type.rs:13:5 [ 58s] | [ 58s] 13 | DISABLE_APP, [ 58s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableApp` [ 58s] [ 58s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 58s] --> ./src/pkgmgr/server/request_type.rs:15:5 [ 58s] | [ 58s] 15 | GETSIZE_SYNC, [ 58s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 58s] [ 58s] warning: variant `ENABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 58s] --> ./src/pkgmgr/server/request_type.rs:18:5 [ 58s] | [ 58s] 18 | ENABLE_GLOBAL_APP_FOR_UID, [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableGlobalAppForUid` [ 58s] [ 58s] warning: variant `DISABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 58s] --> ./src/pkgmgr/server/request_type.rs:19:5 [ 58s] | [ 58s] 19 | DISABLE_GLOBAL_APP_FOR_UID, [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableGlobalAppForUid` [ 58s] [ 58s] warning: variant `GENERATE_LICENSE_REQUEST` should have an upper camel case name [ 58s] --> ./src/pkgmgr/server/request_type.rs:22:5 [ 58s] | [ 58s] 22 | GENERATE_LICENSE_REQUEST, [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GenerateLicenseRequest` [ 58s] [ 58s] warning: variant `REGISTER_LICENSE` should have an upper camel case name [ 58s] --> ./src/pkgmgr/server/request_type.rs:23:5 [ 58s] | [ 58s] 23 | REGISTER_LICENSE, [ 58s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterLicense` [ 58s] [ 58s] warning: variant `DECRYPT_PACKAGE` should have an upper camel case name [ 58s] --> ./src/pkgmgr/server/request_type.rs:24:5 [ 58s] | [ 58s] 24 | DECRYPT_PACKAGE, [ 58s] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DecryptPackage` [ 58s] [ 58s] warning: variant `ENABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 58s] --> ./src/pkgmgr/server/request_type.rs:25:5 [ 58s] | [ 58s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableAppSplashScreen` [ 58s] [ 58s] warning: variant `DISABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 58s] --> ./src/pkgmgr/server/request_type.rs:26:5 [ 58s] | [ 58s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableAppSplashScreen` [ 58s] [ 58s] warning: variant `SET_APP_LABEL` should have an upper camel case name [ 58s] --> ./src/pkgmgr/server/request_type.rs:27:5 [ 58s] | [ 58s] 27 | SET_APP_LABEL, [ 58s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppLabel` [ 58s] [ 58s] warning: variant `SET_APP_ICON` should have an upper camel case name [ 58s] --> ./src/pkgmgr/server/request_type.rs:28:5 [ 58s] | [ 58s] 28 | SET_APP_ICON, [ 58s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppIcon` [ 58s] [ 58s] warning: variant `MIGRATE_EXTERNAL_IMAGE` should have an upper camel case name [ 58s] --> ./src/pkgmgr/server/request_type.rs:29:5 [ 58s] | [ 58s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MigrateExternalImage` [ 58s] [ 58s] warning: variant `RESOURCE_SHARE_COPY` should have an upper camel case name [ 58s] --> ./src/pkgmgr/server/request_type.rs:30:5 [ 58s] | [ 58s] 30 | RESOURCE_SHARE_COPY, [ 58s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCopy` [ 58s] [ 58s] warning: variant `RESOURCE_SHARE_CREATE_DIR` should have an upper camel case name [ 58s] --> ./src/pkgmgr/server/request_type.rs:31:5 [ 58s] | [ 58s] 31 | RESOURCE_SHARE_CREATE_DIR, [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCreateDir` [ 58s] [ 58s] warning: variant `RESOURCE_SHARE_REMOVE` should have an upper camel case name [ 58s] --> ./src/pkgmgr/server/request_type.rs:32:5 [ 58s] | [ 58s] 32 | RESOURCE_SHARE_REMOVE, [ 58s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareRemove` [ 58s] [ 58s] warning: variant `RESOURCE_SHARE_UNINSTALL` should have an upper camel case name [ 58s] --> ./src/pkgmgr/server/request_type.rs:33:5 [ 58s] | [ 58s] 33 | RESOURCE_SHARE_UNINSTALL, [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareUninstall` [ 58s] [ 58s] warning: variant `REMOVE_FILE` should have an upper camel case name [ 58s] --> ./src/pkgmgr/server/request_type.rs:34:5 [ 58s] | [ 58s] 34 | REMOVE_FILE, [ 58s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RemoveFile` [ 58s] [ 58s] warning: unused import: `CStr` [ 58s] --> ./src/pkgmgr/server/signal.rs:1:39 [ 58s] | [ 58s] 1 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 58s] | ^^^^ [ 58s] [ 58s] warning: unused import: `pid_t` [ 58s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 58s] | [ 58s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: unused imports: `CStr`, `CString`, `c_char`, `c_void` [ 58s] --> ./src/pkgmgr/server/signal.rs:39:20 [ 58s] | [ 58s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 58s] | ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^ [ 58s] [ 58s] warning: unused import: `pid_t` [ 58s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 58s] | [ 58s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: unused import: `std::cell::RefCell` [ 58s] --> ./src/pkgmgr/server/util.rs:1:5 [ 58s] | [ 58s] 1 | use std::cell::RefCell; [ 58s] | ^^^^^^^^^^^^^^^^^^ [ 58s] [ 58s] warning: unused import: `std::rc::Rc` [ 58s] --> ./src/pkgmgr/server/util.rs:8:5 [ 58s] | [ 58s] 8 | use std::rc::Rc; [ 58s] | ^^^^^^^^^^^ [ 58s] [ 58s] warning: type `xmlChar` should have an upper camel case name [ 58s] --> ./src/pkgmgr/server/util.rs:34:6 [ 58s] | [ 58s] 34 | type xmlChar = c_uchar; [ 58s] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlChar` [ 58s] [ 58s] warning: type `xmlTextReaderPtr` should have an upper camel case name [ 58s] --> ./src/pkgmgr/server/util.rs:35:6 [ 58s] | [ 58s] 35 | type xmlTextReaderPtr = *mut c_void; [ 58s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlTextReaderPtr` [ 58s] [ 58s] warning: unused imports: `CStr`, `CString` [ 58s] --> ./src/pkgmgr/server/util.rs:39:43 [ 58s] | [ 58s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 58s] | ^^^^ ^^^^^^^ [ 58s] [ 58s] warning: unused import: `pid_t` [ 58s] --> ./src/pkgmgr/server/util.rs:40:37 [ 58s] | [ 58s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: unnecessary parentheses around `if` condition [ 58s] --> ./src/pkgmgr/server/util.rs:474:24 [ 58s] | [ 58s] 474 | if (cur == depth + 1) { [ 58s] | ^ ^ [ 58s] | [ 58s] help: remove these parentheses [ 58s] | [ 58s] 474 - if (cur == depth + 1) { [ 58s] 474 + if cur == depth + 1 { [ 58s] | [ 58s] [ 58s] warning: unnecessary parentheses around `if` condition [ 58s] --> ./src/pkgmgr/server/util.rs:571:12 [ 58s] | [ 58s] 571 | if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 58s] | ^ ^ [ 58s] | [ 58s] help: remove these parentheses [ 58s] | [ 58s] 571 - if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 58s] 571 + if unzOpenCurrentFile(uf) != UNZ_OK as c_int { [ 58s] | [ 58s] [ 58s] warning: unused import: `super::super::super::server::signal::*` [ 58s] --> ./src/pkgmgr/server/test/signal_tests.rs:1:5 [ 58s] | [ 58s] 1 | use super::super::super::server::signal::*; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 58s] | [ 58s] help: consider adding a `#[cfg(test)]` to the containing module [ 58s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 58s] | [ 58s] 3 | pub mod signal_tests; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^ [ 58s] [ 58s] warning: unused import: `std::ffi::CString` [ 58s] --> ./src/pkgmgr/server/test/signal_tests.rs:2:5 [ 58s] | [ 58s] 2 | use std::ffi::CString; [ 58s] | ^^^^^^^^^^^^^^^^^ [ 58s] | [ 58s] help: consider adding a `#[cfg(test)]` to the containing module [ 58s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 58s] | [ 58s] 3 | pub mod signal_tests; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^ [ 58s] [ 58s] warning: unused import: `std::ffi::CStr` [ 58s] --> ./src/pkgmgr/server/test/signal_tests.rs:3:5 [ 58s] | [ 58s] 3 | use std::ffi::CStr; [ 58s] | ^^^^^^^^^^^^^^ [ 58s] | [ 58s] help: consider adding a `#[cfg(test)]` to the containing module [ 58s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 58s] | [ 58s] 3 | pub mod signal_tests; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^ [ 58s] [ 58s] warning: unused import: `std::ffi::c_char` [ 58s] --> ./src/pkgmgr/server/test/signal_tests.rs:4:5 [ 58s] | [ 58s] 4 | use std::ffi::c_char; [ 58s] | ^^^^^^^^^^^^^^^^ [ 58s] | [ 58s] help: consider adding a `#[cfg(test)]` to the containing module [ 58s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 58s] | [ 58s] 3 | pub mod signal_tests; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^ [ 58s] [ 58s] warning: unused import: `std::mem` [ 58s] --> ./src/pkgmgr/server/test/signal_tests.rs:5:5 [ 58s] | [ 58s] 5 | use std::mem; [ 58s] | ^^^^^^^^ [ 58s] | [ 58s] help: consider adding a `#[cfg(test)]` to the containing module [ 58s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 58s] | [ 58s] 3 | pub mod signal_tests; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^ [ 58s] [ 58s] warning: unused import: `mockall::predicate::*` [ 58s] --> ./src/pkgmgr/server/test/signal_tests.rs:6:5 [ 58s] | [ 58s] 6 | use mockall::predicate::*; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^ [ 58s] | [ 58s] help: consider adding a `#[cfg(test)]` to the containing module [ 58s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 58s] | [ 58s] 3 | pub mod signal_tests; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^ [ 58s] [ 58s] warning: unused import: `mockall::*` [ 58s] --> ./src/pkgmgr/server/test/signal_tests.rs:7:5 [ 58s] | [ 58s] 7 | use mockall::*; [ 58s] | ^^^^^^^^^^ [ 58s] | [ 58s] help: consider adding a `#[cfg(test)]` to the containing module [ 58s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 58s] | [ 58s] 3 | pub mod signal_tests; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^ [ 58s] [ 58s] warning: unused imports: `pid_t`, `uid_t` [ 58s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 58s] | [ 58s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 58s] | ^^^^^ ^^^^^ [ 58s] | [ 58s] help: consider adding a `#[cfg(test)]` to the containing module [ 58s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 58s] | [ 58s] 3 | pub mod signal_tests; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^ [ 58s] [ 58s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 58s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:1:5 [ 58s] | [ 58s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 58s] | [ 58s] help: consider adding a `#[cfg(test)]` to the containing module [ 58s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 58s] | [ 58s] 4 | pub mod admin_service_tests; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 58s] [ 58s] warning: unused import: `super::super::super::server::admin_service::AdminService` [ 58s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:2:5 [ 58s] | [ 58s] 2 | use super::super::super::server::admin_service::AdminService; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 58s] | [ 58s] help: consider adding a `#[cfg(test)]` to the containing module [ 58s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 58s] | [ 58s] 4 | pub mod admin_service_tests; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 58s] [ 58s] warning: unused import: `super::super::super::server::service::Service` [ 58s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:3:5 [ 58s] | [ 58s] 3 | use super::super::super::server::service::Service; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 58s] | [ 58s] help: consider adding a `#[cfg(test)]` to the containing module [ 58s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 58s] | [ 58s] 4 | pub mod admin_service_tests; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 58s] [ 58s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 58s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:1:5 [ 58s] | [ 58s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 58s] | [ 58s] help: consider adding a `#[cfg(test)]` to the containing module [ 58s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 58s] | [ 58s] 5 | pub mod cache_service_tests; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 58s] [ 58s] warning: unused import: `super::super::super::server::cache_service::CacheService` [ 58s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:2:5 [ 58s] | [ 58s] 2 | use super::super::super::server::cache_service::CacheService; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 58s] | [ 58s] help: consider adding a `#[cfg(test)]` to the containing module [ 58s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 58s] | [ 58s] 5 | pub mod cache_service_tests; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 58s] [ 58s] warning: unused import: `super::super::super::server::service::Service` [ 58s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:3:5 [ 58s] | [ 58s] 3 | use super::super::super::server::service::Service; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 58s] | [ 58s] help: consider adding a `#[cfg(test)]` to the containing module [ 58s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 58s] | [ 58s] 5 | pub mod cache_service_tests; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 58s] [ 58s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 58s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:1:5 [ 58s] | [ 58s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 58s] | [ 58s] help: consider adding a `#[cfg(test)]` to the containing module [ 58s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 58s] | [ 58s] 6 | pub mod delayed_service_tests; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 58s] [ 58s] warning: unused import: `super::super::super::server::delayed_service::DelayedService` [ 58s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:2:5 [ 58s] | [ 58s] 2 | use super::super::super::server::delayed_service::DelayedService; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 58s] | [ 58s] help: consider adding a `#[cfg(test)]` to the containing module [ 58s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 58s] | [ 58s] 6 | pub mod delayed_service_tests; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 58s] [ 58s] warning: unused import: `super::super::super::server::service::Service` [ 58s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:3:5 [ 58s] | [ 58s] 3 | use super::super::super::server::service::Service; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 58s] | [ 58s] help: consider adding a `#[cfg(test)]` to the containing module [ 58s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 58s] | [ 58s] 6 | pub mod delayed_service_tests; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 58s] [ 58s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 58s] --> ./src/pkgmgr/server/test/info_service_tests.rs:1:5 [ 58s] | [ 58s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 58s] | [ 58s] help: consider adding a `#[cfg(test)]` to the containing module [ 58s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 58s] | [ 58s] 7 | pub mod info_service_tests; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 58s] [ 58s] warning: unused import: `super::super::super::server::info_service::InfoService` [ 58s] --> ./src/pkgmgr/server/test/info_service_tests.rs:2:5 [ 58s] | [ 58s] 2 | use super::super::super::server::info_service::InfoService; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 58s] | [ 58s] help: consider adding a `#[cfg(test)]` to the containing module [ 58s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 58s] | [ 58s] 7 | pub mod info_service_tests; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 58s] [ 58s] warning: unused import: `super::super::super::server::service::Service` [ 58s] --> ./src/pkgmgr/server/test/info_service_tests.rs:3:5 [ 58s] | [ 58s] 3 | use super::super::super::server::service::Service; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 58s] | [ 58s] help: consider adding a `#[cfg(test)]` to the containing module [ 58s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 58s] | [ 58s] 7 | pub mod info_service_tests; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 58s] [ 58s] warning: unused import: `std::cell::RefCell` [ 58s] --> ./src/pkgmgr/server/mod.rs:22:5 [ 58s] | [ 58s] 22 | use std::cell::RefCell; [ 58s] | ^^^^^^^^^^^^^^^^^^ [ 58s] [ 58s] warning: unused import: `std::rc::Rc` [ 58s] --> ./src/pkgmgr/server/mod.rs:26:5 [ 58s] | [ 58s] 26 | use std::rc::Rc; [ 58s] | ^^^^^^^^^^^ [ 58s] [ 58s] warning: unused import: `std::process::Command` [ 58s] --> ./src/main.rs:9:5 [ 58s] | [ 58s] 9 | use std::process::Command; [ 58s] | ^^^^^^^^^^^^^^^^^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:5:26 [ 58s] | [ 58s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 58s] | ^^^^^ [ 58s] | [ 58s] = note: `#[warn(deprecated)]` on by default [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:5:33 [ 58s] | [ 58s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:20:20 [ 58s] | [ 58s] 20 | const GLOBAL_USER: uid_t = 201; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:322:25 [ 58s] | [ 58s] 322 | let mut caller_uid: uid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:443:25 [ 58s] | [ 58s] 443 | let mut caller_uid: uid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:548:25 [ 58s] | [ 58s] 548 | let mut caller_uid: uid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:595:25 [ 58s] | [ 58s] 595 | let mut caller_uid: uid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:718:25 [ 58s] | [ 58s] 718 | let mut caller_uid: uid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:801:25 [ 58s] | [ 58s] 801 | let mut caller_uid: uid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:853:25 [ 58s] | [ 58s] 853 | let mut caller_uid: uid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:937:25 [ 58s] | [ 58s] 937 | let mut caller_uid: uid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:990:25 [ 58s] | [ 58s] 990 | let mut caller_uid: uid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1015:76 [ 58s] | [ 58s] 1015 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, true) { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1072:25 [ 58s] | [ 58s] 1072 | let mut caller_uid: uid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1097:76 [ 58s] | [ 58s] 1097 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, false) { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1151:25 [ 58s] | [ 58s] 1151 | let mut caller_pid: pid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1152:25 [ 58s] | [ 58s] 1152 | let mut caller_uid: uid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1166:62 [ 58s] | [ 58s] 1166 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1196:66 [ 58s] | [ 58s] 1196 | let ret = Util::RegisterPkgUpdateInfo(handle, uid as uid_t); [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1215:25 [ 58s] | [ 58s] 1215 | let mut caller_pid: pid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1216:25 [ 58s] | [ 58s] 1216 | let mut caller_uid: uid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1230:62 [ 58s] | [ 58s] 1230 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1254:109 [ 58s] | [ 58s] 1254 | RequestResult::DELAYED(generated_req_key, Util::UnregisterPkgUpdateInfo(pkg_id.as_ptr(), uid as uid_t)) [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1270:25 [ 58s] | [ 58s] 1270 | let mut caller_pid: pid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1271:25 [ 58s] | [ 58s] 1271 | let mut caller_uid: uid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1303:95 [ 58s] | [ 58s] 1303 | RequestResult::DELAYED(generated_req_key, Util::UnregisterAllPkgUpdateInfo(uid as uid_t, caller_uid)) [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1312:45 [ 58s] | [ 58s] 1312 | fn handle_enable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1359:60 [ 58s] | [ 58s] 1359 | fn handle_enable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1371:40 [ 58s] | [ 58s] 1371 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1373:40 [ 58s] | [ 58s] 1373 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1380:36 [ 58s] | [ 58s] 1380 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1382:36 [ 58s] | [ 58s] 1382 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1392:36 [ 58s] | [ 58s] 1392 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1394:36 [ 58s] | [ 58s] 1394 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1400:28 [ 58s] | [ 58s] 1400 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1403:46 [ 58s] | [ 58s] 1403 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1404:59 [ 58s] | [ 58s] 1404 | Util::EnableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1405:32 [ 58s] | [ 58s] 1405 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1409:28 [ 58s] | [ 58s] 1409 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1415:46 [ 58s] | [ 58s] 1415 | fn handle_disable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1463:61 [ 58s] | [ 58s] 1463 | fn handle_disable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1475:40 [ 58s] | [ 58s] 1475 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1477:40 [ 58s] | [ 58s] 1477 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1484:36 [ 58s] | [ 58s] 1484 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1486:36 [ 58s] | [ 58s] 1486 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1496:36 [ 58s] | [ 58s] 1496 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1498:36 [ 58s] | [ 58s] 1498 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1504:28 [ 58s] | [ 58s] 1504 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1507:46 [ 58s] | [ 58s] 1507 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1508:60 [ 58s] | [ 58s] 1508 | Util::DisableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1509:32 [ 58s] | [ 58s] 1509 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1513:28 [ 58s] | [ 58s] 1513 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1535:25 [ 58s] | [ 58s] 1535 | let mut caller_uid: uid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1562:70 [ 58s] | [ 58s] 1562 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1588:25 [ 58s] | [ 58s] 1588 | let mut caller_uid: uid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1615:71 [ 58s] | [ 58s] 1615 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1673:74 [ 58s] | [ 58s] 1673 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1735:75 [ 58s] | [ 58s] 1735 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1765:25 [ 58s] | [ 58s] 1765 | let mut caller_uid: uid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1792:85 [ 58s] | [ 58s] 1792 | RequestResult::VAL(handle_enable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1818:25 [ 58s] | [ 58s] 1818 | let mut caller_uid: uid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1845:86 [ 58s] | [ 58s] 1845 | RequestResult::VAL(handle_disable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1863:40 [ 58s] | [ 58s] 1863 | Util::KillAppsInPkg(pkg_id, uid as uid_t) [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1873:25 [ 58s] | [ 58s] 1873 | let mut caller_pid: pid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1874:25 [ 58s] | [ 58s] 1874 | let mut caller_uid: uid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1985:25 [ 58s] | [ 58s] 1985 | let mut caller_pid: pid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:1986:25 [ 58s] | [ 58s] 1986 | let mut caller_uid: uid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:2035:25 [ 58s] | [ 58s] 2035 | let mut caller_pid: pid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:2036:25 [ 58s] | [ 58s] 2036 | let mut caller_uid: uid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:2083:54 [ 58s] | [ 58s] 2083 | Util::EnableGlobalAppSplashScreen(app_id, uid as uid_t) [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:2093:55 [ 58s] | [ 58s] 2093 | Util::DisableGlobalAppSplashScreen(app_id, uid as uid_t) [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:2105:25 [ 58s] | [ 58s] 2105 | let mut caller_pid: pid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:2106:25 [ 58s] | [ 58s] 2106 | let mut caller_uid: uid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:2137:102 [ 58s] | [ 58s] 2137 | RequestResult::DELAYED(generated_req_key, Util::update_app_label(app_id.as_ptr(), uid as uid_t , label.as_ptr())) [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:2155:25 [ 58s] | [ 58s] 2155 | let mut caller_pid: pid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:2156:25 [ 58s] | [ 58s] 2156 | let mut caller_uid: uid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:2187:101 [ 58s] | [ 58s] 2187 | RequestResult::DELAYED(generated_req_key, Util::update_app_icon(app_id.as_ptr(), uid as uid_t , icon_path.as_ptr())) [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:2312:25 [ 58s] | [ 58s] 2312 | let mut caller_uid: uid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:2313:25 [ 58s] | [ 58s] 2313 | let mut caller_pid: pid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:2383:25 [ 58s] | [ 58s] 2383 | let mut caller_uid: uid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:2384:25 [ 58s] | [ 58s] 2384 | let mut caller_pid: pid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:2453:25 [ 58s] | [ 58s] 2453 | let mut caller_uid: uid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:2454:25 [ 58s] | [ 58s] 2454 | let mut caller_pid: pid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:2532:25 [ 58s] | [ 58s] 2532 | let mut caller_uid: uid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:2622:41 [ 58s] | [ 58s] 2622 | if unsafe { check_valid_path(uid as uid_t, pkg_id, file_path) } != 0 { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:2681:19 [ 58s] | [ 58s] 2681 | pid: *mut pid_t, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/admin_service.rs:2682:19 [ 58s] | [ 58s] 2682 | uid: *mut uid_t [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 58s] | [ 58s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/backend_context.rs:3:33 [ 58s] | [ 58s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/cache_service.rs:12:26 [ 58s] | [ 58s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/cache_service.rs:12:33 [ 58s] | [ 58s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/cache_service.rs:23:14 [ 58s] | [ 58s] 23 | uid: uid_t, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/cache_service.rs:48:17 [ 58s] | [ 58s] 48 | target_uid: uid_t, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/cache_service.rs:53:25 [ 58s] | [ 58s] 53 | let mut caller_uid: uid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/cache_service.rs:106:19 [ 58s] | [ 58s] 106 | pid: *mut pid_t, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/cache_service.rs:107:19 [ 58s] | [ 58s] 107 | uid: *mut uid_t [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 58s] | [ 58s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/delayed_service.rs:13:33 [ 58s] | [ 58s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/info_service.rs:2:26 [ 58s] | [ 58s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/info_service.rs:2:33 [ 58s] | [ 58s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/info_service.rs:37:90 [ 58s] | [ 58s] 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... [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/info_service.rs:38:94 [ 58s] | [ 58s] 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... [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/info_service.rs:40:88 [ 58s] | [ 58s] 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... [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/info_service.rs:40:128 [ 58s] | [ 58s] 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... [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/info_service.rs:54:17 [ 58s] | [ 58s] 54 | target_uid: uid_t, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/info_service.rs:60:25 [ 58s] | [ 58s] 60 | let mut caller_pid: pid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/info_service.rs:61:25 [ 58s] | [ 58s] 61 | let mut caller_uid: uid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/info_service.rs:114:17 [ 58s] | [ 58s] 114 | target_uid: uid_t, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/info_service.rs:120:25 [ 58s] | [ 58s] 120 | let mut caller_pid: pid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/info_service.rs:121:25 [ 58s] | [ 58s] 121 | let mut caller_uid: uid_t = 0; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/info_service.rs:223:17 [ 58s] | [ 58s] 223 | target_uid: uid_t, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/info_service.rs:225:15 [ 58s] | [ 58s] 225 | pid: *mut pid_t, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/info_service.rs:228:43 [ 58s] | [ 58s] 228 | Util::check_app(pkg_id, target_uid as uid_t, pid) [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/info_service.rs:242:19 [ 58s] | [ 58s] 242 | pid: *mut pid_t, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/info_service.rs:243:19 [ 58s] | [ 58s] 243 | uid: *mut uid_t [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/signal.rs:2:26 [ 58s] | [ 58s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 58s] | [ 58s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/signal.rs:99:20 [ 58s] | [ 58s] 99 | const GLOBAL_USER: uid_t = 201; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/signal.rs:101:33 [ 58s] | [ 58s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/signal.rs:101:47 [ 58s] | [ 58s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/signal.rs:102:26 [ 58s] | [ 58s] 102 | let mut uid_vec: Vec = vec![]; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/signal.rs:110:28 [ 58s] | [ 58s] 110 | let mut uids: *mut uid_t = std::ptr::null_mut(); [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/signal.rs:124:14 [ 58s] | [ 58s] 124 | uid: uid_t, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/signal.rs:53:44 [ 58s] | [ 58s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/signal.rs:62:14 [ 58s] | [ 58s] 62 | uid: uid_t, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/signal.rs:86:14 [ 58s] | [ 58s] 86 | uid: uid_t, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/signal.rs:40:30 [ 58s] | [ 58s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 58s] | [ 58s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/signal.rs:44:45 [ 58s] | [ 58s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:4:26 [ 58s] | [ 58s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:4:33 [ 58s] | [ 58s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:22:21 [ 58s] | [ 58s] 22 | const REGULAR_USER: uid_t = 5000; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:23:20 [ 58s] | [ 58s] 23 | const GLOBAL_USER: uid_t = 201; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:25:18 [ 58s] | [ 58s] 25 | const APPFW_UID: uid_t = 301; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:307:36 [ 58s] | [ 58s] 307 | let uid : uid_t = user_data as uid_t; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:307:15 [ 58s] | [ 58s] 307 | let uid : uid_t = user_data as uid_t; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:326:81 [ 58s] | [ 58s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:326:93 [ 58s] | [ 58s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:326:25 [ 58s] | [ 58s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:326:37 [ 58s] | [ 58s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:389:57 [ 58s] | [ 58s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:420:55 [ 58s] | [ 58s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:686:62 [ 58s] | [ 58s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:696:63 [ 58s] | [ 58s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:706:44 [ 58s] | [ 58s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:706:63 [ 58s] | [ 58s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:728:49 [ 58s] | [ 58s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:738:50 [ 58s] | [ 58s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:747:55 [ 58s] | [ 58s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:757:56 [ 58s] | [ 58s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:766:61 [ 58s] | [ 58s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:775:62 [ 58s] | [ 58s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:784:67 [ 58s] | [ 58s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:793:68 [ 58s] | [ 58s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:802:54 [ 58s] | [ 58s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:802:64 [ 58s] | [ 58s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:813:47 [ 58s] | [ 58s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:835:53 [ 58s] | [ 58s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:855:25 [ 58s] | [ 58s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:983:69 [ 58s] | [ 58s] 983 | pub fn get_application_info_by_appid(appid: *const c_char, uid: uid_t) -> Option<(CString, bool)> { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:1012:41 [ 58s] | [ 58s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:1012:53 [ 58s] | [ 58s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:1029:71 [ 58s] | [ 58s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:1029:90 [ 58s] | [ 58s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:1076:56 [ 58s] | [ 58s] 1076 | pub fn update_app_label(appid: *const c_char, uid: uid_t, label: *const c_char) -> c_int { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:1080:55 [ 58s] | [ 58s] 1080 | pub fn update_app_icon(appid: *const c_char, uid: uid_t, icon_path: *const c_char) -> c_int { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:1108:49 [ 58s] | [ 58s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:1108:66 [ 58s] | [ 58s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:156:14 [ 58s] | [ 58s] 156 | uid: uid_t, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:166:14 [ 58s] | [ 58s] 166 | uid: uid_t, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:180:14 [ 58s] | [ 58s] 180 | uid: uid_t [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:185:14 [ 58s] | [ 58s] 185 | uid: uid_t [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:189:14 [ 58s] | [ 58s] 189 | uid: uid_t [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:194:14 [ 58s] | [ 58s] 194 | uid: uid_t, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:200:14 [ 58s] | [ 58s] 200 | uid: uid_t, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:206:14 [ 58s] | [ 58s] 206 | uid: uid_t, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:212:14 [ 58s] | [ 58s] 212 | uid: uid_t, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:218:14 [ 58s] | [ 58s] 218 | uid: uid_t, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:224:14 [ 58s] | [ 58s] 224 | uid: uid_t, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:237:32 [ 58s] | [ 58s] 237 | fn gum_user_get_sync(uid : uid_t, offline : c_int) -> *mut c_void; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:266:21 [ 58s] | [ 58s] 266 | caller_uid: uid_t [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:274:14 [ 58s] | [ 58s] 274 | uid: uid_t, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:40:30 [ 58s] | [ 58s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:40:37 [ 58s] | [ 58s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:46:18 [ 58s] | [ 58s] 46 | uid: uid_t, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:52:18 [ 58s] | [ 58s] 52 | uid: uid_t, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:67:18 [ 58s] | [ 58s] 67 | uid: uid_t, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:101:18 [ 58s] | [ 58s] 101 | uid: uid_t, [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:122:70 [ 58s] | [ 58s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:123:66 [ 58s] | [ 58s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:124:59 [ 58s] | [ 58s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/util.rs:125:97 [ 58s] | [ 58s] 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; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 58s] | [ 58s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 58s] | ^^^^^ [ 58s] [ 58s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 58s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 58s] | [ 58s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 58s] | ^^^^^ [ 58s] [ 60s] warning: unreachable expression [ 60s] --> ./src/pkgmgr/server/backend_queue.rs:64:5 [ 60s] | [ 60s] 61 | return G_SOURCE_CONTINUE; [ 60s] | ------------------------ any code following this expression is unreachable [ 60s] ... [ 60s] 64 | 1 [ 60s] | ^ unreachable expression [ 60s] | [ 60s] = note: `#[warn(unreachable_code)]` on by default [ 60s] [ 61s] warning: unused variable: `context` [ 61s] --> ./src/pkgmgr/server/admin_service.rs:297:5 [ 61s] | [ 61s] 297 | context: *mut c_void, [ 61s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 61s] | [ 61s] = note: `#[warn(unused_variables)]` on by default [ 61s] [ 62s] warning: unused variable: `context` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:306:5 [ 62s] | [ 62s] 306 | context: *mut c_void, [ 62s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 62s] [ 62s] warning: unused variable: `user_data` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:307:5 [ 62s] | [ 62s] 307 | user_data: *mut c_void, [ 62s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 62s] [ 62s] warning: unused variable: `ret` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:323:9 [ 62s] | [ 62s] 323 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 62s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 62s] [ 62s] warning: unused variable: `req_id` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:318:5 [ 62s] | [ 62s] 318 | req_id: *const c_char, [ 62s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:415:9 [ 62s] | [ 62s] 415 | let mut backend_context = BackendContext::new( [ 62s] | ----^^^^^^^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] | [ 62s] = note: `#[warn(unused_mut)]` on by default [ 62s] [ 62s] warning: unused variable: `ret` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:444:9 [ 62s] | [ 62s] 444 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 62s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 62s] [ 62s] warning: unused variable: `req_id` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:434:5 [ 62s] | [ 62s] 434 | req_id: *const c_char, [ 62s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:510:9 [ 62s] | [ 62s] 510 | let mut backend_context = BackendContext::new( [ 62s] | ----^^^^^^^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 62s] warning: unused variable: `ret` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:549:9 [ 62s] | [ 62s] 549 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 62s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:571:9 [ 62s] | [ 62s] 571 | let mut backend_context = BackendContext::new( [ 62s] | ----^^^^^^^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 62s] warning: unused variable: `ret` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:596:9 [ 62s] | [ 62s] 596 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 62s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 62s] [ 62s] warning: unused variable: `req_id` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:591:5 [ 62s] | [ 62s] 591 | req_id: *const c_char, [ 62s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:688:9 [ 62s] | [ 62s] 688 | let mut backend_context = BackendContext::new( [ 62s] | ----^^^^^^^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 62s] warning: unused variable: `ret` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:719:9 [ 62s] | [ 62s] 719 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 62s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 62s] [ 62s] warning: unused variable: `req_id` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:706:5 [ 62s] | [ 62s] 706 | req_id: *const c_char, [ 62s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:763:9 [ 62s] | [ 62s] 763 | let mut backend_context = BackendContext::new( [ 62s] | ----^^^^^^^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 62s] warning: unused variable: `ret` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:802:9 [ 62s] | [ 62s] 802 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 62s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:824:9 [ 62s] | [ 62s] 824 | let mut backend_context = BackendContext::new( [ 62s] | ----^^^^^^^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 62s] warning: unused variable: `ret` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:854:9 [ 62s] | [ 62s] 854 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 62s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:898:9 [ 62s] | [ 62s] 898 | let mut backend_context = BackendContext::new( [ 62s] | ----^^^^^^^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 62s] warning: unused variable: `ret` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:938:9 [ 62s] | [ 62s] 938 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 62s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:961:9 [ 62s] | [ 62s] 961 | let mut backend_context = BackendContext::new( [ 62s] | ----^^^^^^^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 62s] warning: unused variable: `ret` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:991:9 [ 62s] | [ 62s] 991 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 62s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1038:17 [ 62s] | [ 62s] 1038 | let mut backend_context = BackendContext::new( [ 62s] | ----^^^^^^^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 62s] warning: unused variable: `ret` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1073:9 [ 62s] | [ 62s] 1073 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 62s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1123:17 [ 62s] | [ 62s] 1123 | let mut backend_context = BackendContext::new( [ 62s] | ----^^^^^^^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 62s] warning: unused variable: `pkg_id` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1186:9 [ 62s] | [ 62s] 1186 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) }); [ 62s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1180:9 [ 62s] | [ 62s] 1180 | let mut handle : *mut c_void = Util::CreatePkgUpdateInfo(pkg_id, version, update_type); [ 62s] | ----^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1190:9 [ 62s] | [ 62s] 1190 | let mut backend_context = BackendContext::new( [ 62s] | ----^^^^^^^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1248:9 [ 62s] | [ 62s] 1248 | let mut backend_context = BackendContext::new( [ 62s] | ----^^^^^^^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1297:9 [ 62s] | [ 62s] 1297 | let mut backend_context = BackendContext::new( [ 62s] | ----^^^^^^^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 62s] warning: unused variable: `is_global` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1321:17 [ 62s] | [ 62s] 1321 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 62s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 62s] [ 62s] warning: unused variable: `is_global` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1368:17 [ 62s] | [ 62s] 1368 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 62s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 62s] [ 62s] warning: unused variable: `is_global` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1424:17 [ 62s] | [ 62s] 1424 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 62s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 62s] [ 62s] warning: unused variable: `is_global` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1472:17 [ 62s] | [ 62s] 1472 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 62s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 62s] [ 62s] warning: unused variable: `caller_uid` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1535:13 [ 62s] | [ 62s] 1535 | let mut caller_uid: uid_t = 0; [ 62s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 62s] [ 62s] warning: unused variable: `context` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1521:5 [ 62s] | [ 62s] 1521 | context: *mut c_void, [ 62s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1535:9 [ 62s] | [ 62s] 1535 | let mut caller_uid: uid_t = 0; [ 62s] | ----^^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1558:13 [ 62s] | [ 62s] 1558 | let mut backend_context = BackendContext::new( [ 62s] | ----^^^^^^^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 62s] warning: unused variable: `caller_uid` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1588:13 [ 62s] | [ 62s] 1588 | let mut caller_uid: uid_t = 0; [ 62s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 62s] [ 62s] warning: unused variable: `context` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1574:5 [ 62s] | [ 62s] 1574 | context: *mut c_void, [ 62s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1588:9 [ 62s] | [ 62s] 1588 | let mut caller_uid: uid_t = 0; [ 62s] | ----^^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1611:13 [ 62s] | [ 62s] 1611 | let mut backend_context = BackendContext::new( [ 62s] | ----^^^^^^^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 62s] warning: unused variable: `context` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1627:5 [ 62s] | [ 62s] 1627 | context: *mut c_void, [ 62s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1669:17 [ 62s] | [ 62s] 1669 | let mut backend_context = BackendContext::new( [ 62s] | ----^^^^^^^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 62s] warning: unused variable: `context` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1689:5 [ 62s] | [ 62s] 1689 | context: *mut c_void, [ 62s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1731:17 [ 62s] | [ 62s] 1731 | let mut backend_context = BackendContext::new( [ 62s] | ----^^^^^^^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 62s] warning: unused variable: `caller_uid` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1765:13 [ 62s] | [ 62s] 1765 | let mut caller_uid: uid_t = 0; [ 62s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 62s] [ 62s] warning: unused variable: `context` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1751:5 [ 62s] | [ 62s] 1751 | context: *mut c_void, [ 62s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1765:9 [ 62s] | [ 62s] 1765 | let mut caller_uid: uid_t = 0; [ 62s] | ----^^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1788:13 [ 62s] | [ 62s] 1788 | let mut backend_context = BackendContext::new( [ 62s] | ----^^^^^^^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 62s] warning: unused variable: `caller_uid` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1818:13 [ 62s] | [ 62s] 1818 | let mut caller_uid: uid_t = 0; [ 62s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 62s] [ 62s] warning: unused variable: `context` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1804:5 [ 62s] | [ 62s] 1804 | context: *mut c_void, [ 62s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1818:9 [ 62s] | [ 62s] 1818 | let mut caller_uid: uid_t = 0; [ 62s] | ----^^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1841:13 [ 62s] | [ 62s] 1841 | let mut backend_context = BackendContext::new( [ 62s] | ----^^^^^^^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 62s] warning: unused variable: `context` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1857:5 [ 62s] | [ 62s] 1857 | context: *mut c_void, [ 62s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 62s] [ 62s] warning: unused variable: `pid` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1860:5 [ 62s] | [ 62s] 1860 | pid: *mut c_int, [ 62s] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [ 62s] [ 62s] warning: unused variable: `user_data` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1861:5 [ 62s] | [ 62s] 1861 | user_data: *mut c_void, [ 62s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1900:9 [ 62s] | [ 62s] 1900 | let mut backend_context = BackendContext::new( [ 62s] | ----^^^^^^^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 62s] warning: unused variable: `context` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:1932:5 [ 62s] | [ 62s] 1932 | context: *mut c_void, [ 62s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:2012:9 [ 62s] | [ 62s] 2012 | let mut backend_context = BackendContext::new( [ 62s] | ----^^^^^^^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:2063:9 [ 62s] | [ 62s] 2063 | let mut backend_context = BackendContext::new( [ 62s] | ----^^^^^^^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 62s] warning: unused variable: `context` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:2078:5 [ 62s] | [ 62s] 2078 | context: *mut c_void, [ 62s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 62s] [ 62s] warning: unused variable: `user_data` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:2081:5 [ 62s] | [ 62s] 2081 | user_data: *mut c_void, [ 62s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 62s] [ 62s] warning: unused variable: `context` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:2088:5 [ 62s] | [ 62s] 2088 | context: *mut c_void, [ 62s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 62s] [ 62s] warning: unused variable: `user_data` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:2091:5 [ 62s] | [ 62s] 2091 | user_data: *mut c_void, [ 62s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:2133:9 [ 62s] | [ 62s] 2133 | let mut backend_context = BackendContext::new( [ 62s] | ----^^^^^^^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:2183:9 [ 62s] | [ 62s] 2183 | let mut backend_context = BackendContext::new( [ 62s] | ----^^^^^^^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 62s] warning: unused variable: `context` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:2198:5 [ 62s] | [ 62s] 2198 | context: *mut c_void, [ 62s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 62s] [ 62s] warning: unused variable: `uid` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:2199:5 [ 62s] | [ 62s] 2199 | uid: c_int, [ 62s] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [ 62s] [ 62s] warning: unused variable: `pkg_id` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:2200:5 [ 62s] | [ 62s] 2200 | pkg_id: *const c_char, [ 62s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 62s] [ 62s] warning: unused variable: `user_data` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:2201:5 [ 62s] | [ 62s] 2201 | user_data: *mut c_void, [ 62s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:2364:9 [ 62s] | [ 62s] 2364 | let mut backend_context = BackendContext::new( [ 62s] | ----^^^^^^^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:2434:9 [ 62s] | [ 62s] 2434 | let mut backend_context = BackendContext::new( [ 62s] | ----^^^^^^^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:2504:9 [ 62s] | [ 62s] 2504 | let mut backend_context = BackendContext::new( [ 62s] | ----^^^^^^^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 62s] warning: unused variable: `ret` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:2533:9 [ 62s] | [ 62s] 2533 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 62s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:2552:9 [ 62s] | [ 62s] 2552 | let mut backend_context = BackendContext::new( [ 62s] | ----^^^^^^^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 62s] warning: unused variable: `context` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:2567:5 [ 62s] | [ 62s] 2567 | context: *mut c_void, [ 62s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:2597:9 [ 62s] | [ 62s] 2597 | let mut backend_context = BackendContext::new( [ 62s] | ----^^^^^^^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 62s] warning: unused variable: `context` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:2612:5 [ 62s] | [ 62s] 2612 | context: *mut c_void, [ 62s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/admin_service.rs:2656:9 [ 62s] | [ 62s] 2656 | let mut backend_context = BackendContext::new( [ 62s] | ----^^^^^^^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 62s] warning: unused variable: `status` [ 62s] --> ./src/pkgmgr/server/backend_queue.rs:38:17 [ 62s] | [ 62s] 38 | let mut status: c_int; [ 62s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [ 62s] [ 62s] warning: unused variable: `io` [ 62s] --> ./src/pkgmgr/server/backend_queue.rs:30:33 [ 62s] | [ 62s] 30 | extern "C" fn signal_handler_cb(io: *mut glib_sys::GIOChannel, [ 62s] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [ 62s] [ 62s] warning: unused variable: `cond` [ 62s] --> ./src/pkgmgr/server/backend_queue.rs:31:9 [ 62s] | [ 62s] 31 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 62s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 62s] [ 62s] warning: variable does not need to be mutable [ 62s] --> ./src/pkgmgr/server/backend_queue.rs:71:9 [ 62s] | [ 62s] 71 | let mut mut_queue = queue.borrow_mut(); [ 62s] | ----^^^^^^^^^ [ 62s] | | [ 62s] | help: remove this `mut` [ 62s] [ 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] [ 63s] warning: variable does not need to be mutable [ 63s] --> ./src/pkgmgr/server/mod.rs:89:13 [ 63s] | [ 63s] 89 | let mut backend_queue = BackendQueue::new(self.mainloop); [ 63s] | ----^^^^^^^^^^^^^ [ 63s] | | [ 63s] | help: remove this `mut` [ 63s] [ 63s] warning: unnecessary `unsafe` block [ 63s] --> ./src/pkgmgr/server/admin_service.rs:995:32 [ 63s] | [ 63s] 993 | unsafe { [ 63s] | ------ because it's nested under this `unsafe` block [ 63s] 994 | match CString::new(generated_req_key.clone()) { [ 63s] 995 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 63s] | ^^^^^^ unnecessary `unsafe` block [ 63s] | [ 63s] = note: `#[warn(unused_unsafe)]` on by default [ 63s] [ 63s] warning: unnecessary `unsafe` block [ 63s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 63s] | [ 63s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 63s] | ^^^^^^ unnecessary `unsafe` block [ 63s] | [ 63s] ::: ./src/pkgmgr/server/admin_service.rs:993:5 [ 63s] | [ 63s] 993 | unsafe { [ 63s] | ------ because it's nested under this `unsafe` block [ 63s] ... [ 63s] 997 | error!("Fail to generate req key, err({:?})", e); [ 63s] | ------------------------------------------------ in this macro invocation [ 63s] | [ 63s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 63s] [ 63s] warning: unnecessary `unsafe` block [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1023:46 [ 63s] | [ 63s] 993 | unsafe { [ 63s] | ------ because it's nested under this `unsafe` block [ 63s] ... [ 63s] 1023 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 63s] | ^^^^^^ unnecessary `unsafe` block [ 63s] [ 63s] warning: unnecessary `unsafe` block [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1077:32 [ 63s] | [ 63s] 1075 | unsafe { [ 63s] | ------ because it's nested under this `unsafe` block [ 63s] 1076 | match CString::new(generated_req_key.clone()) { [ 63s] 1077 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 63s] | ^^^^^^ unnecessary `unsafe` block [ 63s] [ 63s] warning: unnecessary `unsafe` block [ 63s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 63s] | [ 63s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 63s] | ^^^^^^ unnecessary `unsafe` block [ 63s] | [ 63s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 63s] | [ 63s] 1075 | unsafe { [ 63s] | ------ because it's nested under this `unsafe` block [ 63s] ... [ 63s] 1079 | error!("Fail to generate req key, err({:?})", e); [ 63s] | ------------------------------------------------ in this macro invocation [ 63s] | [ 63s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 63s] [ 63s] warning: unnecessary `unsafe` block [ 63s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 63s] | [ 63s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 63s] | ^^^^^^ unnecessary `unsafe` block [ 63s] | [ 63s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 63s] | [ 63s] 1075 | unsafe { [ 63s] | ------ because it's nested under this `unsafe` block [ 63s] ... [ 63s] 1106 | debug!("push disable pkg {pkg_id}"); [ 63s] | ----------------------------------- in this macro invocation [ 63s] | [ 63s] = 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) [ 63s] [ 63s] warning: unnecessary `unsafe` block [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1108:46 [ 63s] | [ 63s] 1075 | unsafe { [ 63s] | ------ because it's nested under this `unsafe` block [ 63s] ... [ 63s] 1108 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 63s] | ^^^^^^ unnecessary `unsafe` block [ 63s] [ 63s] warning: unnecessary `unsafe` block [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1537:5 [ 63s] | [ 63s] 1537 | unsafe { [ 63s] | ^^^^^^ unnecessary `unsafe` block [ 63s] [ 63s] warning: unnecessary `unsafe` block [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1590:5 [ 63s] | [ 63s] 1590 | unsafe { [ 63s] | ^^^^^^ unnecessary `unsafe` block [ 63s] [ 63s] warning: unnecessary `unsafe` block [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1643:32 [ 63s] | [ 63s] 1641 | unsafe { [ 63s] | ------ because it's nested under this `unsafe` block [ 63s] 1642 | match CString::new(generated_req_key.clone()) { [ 63s] 1643 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 63s] | ^^^^^^ unnecessary `unsafe` block [ 63s] [ 63s] warning: unnecessary `unsafe` block [ 63s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 63s] | [ 63s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 63s] | ^^^^^^ unnecessary `unsafe` block [ 63s] | [ 63s] ::: ./src/pkgmgr/server/admin_service.rs:1641:5 [ 63s] | [ 63s] 1641 | unsafe { [ 63s] | ------ because it's nested under this `unsafe` block [ 63s] ... [ 63s] 1645 | error!("Fail to generate req key, err({:?})", e); [ 63s] | ------------------------------------------------ in this macro invocation [ 63s] | [ 63s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 63s] [ 63s] warning: unnecessary `unsafe` block [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1657:42 [ 63s] | [ 63s] 1641 | unsafe { [ 63s] | ------ because it's nested under this `unsafe` block [ 63s] ... [ 63s] 1657 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 63s] | ^^^^^^ unnecessary `unsafe` block [ 63s] [ 63s] warning: unnecessary `unsafe` block [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1705:32 [ 63s] | [ 63s] 1703 | unsafe { [ 63s] | ------ because it's nested under this `unsafe` block [ 63s] 1704 | match CString::new(generated_req_key.clone()) { [ 63s] 1705 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 63s] | ^^^^^^ unnecessary `unsafe` block [ 63s] [ 63s] warning: unnecessary `unsafe` block [ 63s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 63s] | [ 63s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 63s] | ^^^^^^ unnecessary `unsafe` block [ 63s] | [ 63s] ::: ./src/pkgmgr/server/admin_service.rs:1703:5 [ 63s] | [ 63s] 1703 | unsafe { [ 63s] | ------ because it's nested under this `unsafe` block [ 63s] ... [ 63s] 1707 | error!("Fail to generate req key, err({:?})", e); [ 63s] | ------------------------------------------------ in this macro invocation [ 63s] | [ 63s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 63s] [ 63s] warning: unnecessary `unsafe` block [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1719:42 [ 63s] | [ 63s] 1703 | unsafe { [ 63s] | ------ because it's nested under this `unsafe` block [ 63s] ... [ 63s] 1719 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 63s] | ^^^^^^ unnecessary `unsafe` block [ 63s] [ 63s] warning: unnecessary `unsafe` block [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1767:5 [ 63s] | [ 63s] 1767 | unsafe { [ 63s] | ^^^^^^ unnecessary `unsafe` block [ 63s] [ 63s] warning: unnecessary `unsafe` block [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1820:5 [ 63s] | [ 63s] 1820 | unsafe { [ 63s] | ^^^^^^ unnecessary `unsafe` block [ 63s] [ 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] [ 110s] warning: 542 warnings emitted [ 110s] [ 110s] + export LD_LIBRARY_PATH=:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib [ 110s] + LD_LIBRARY_PATH=:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib [ 110s] ++ find /usr/lib64 -maxdepth 1 -name 'libstd-*.so' [ 110s] + __rust_std=/usr/lib64/libstd-3fecb5e5a54e748b.so [ 110s] + /usr/bin/rustc -C prefer-dynamic --extern std=/usr/lib64/libstd-3fecb5e5a54e748b.so -C codegen-units=1 -C debuginfo=2 -C opt-level=3 -C relocation-model=pic -C overflow-checks=on -C symbol-mangling-version=v0 -L/usr/lib64/rustlib -L/usr/lib64/rustlib/dylib --test --crate-type=bin --crate-name=unittests_rust_pkgmgr_server -L native=./tidl_pkgmgr_server -L native=./util_pkgmgr_server -l minizip --edition=2021 --extern libc=/usr/lib64/rustlib/dylib/liblibc.so --cap-lints warn ./src/main.rs [ 113s] warning: unused import: `boxed` [ 113s] --> ./src/pkgmgr/server/admin_service.rs:4:11 [ 113s] | [ 113s] 4 | use std::{boxed, str}; [ 113s] | ^^^^^ [ 113s] | [ 113s] = note: `#[warn(unused_imports)]` on by default [ 113s] [ 113s] warning: unused import: `std::mem` [ 113s] --> ./src/pkgmgr/server/admin_service.rs:6:5 [ 113s] | [ 113s] 6 | use std::mem; [ 113s] | ^^^^^^^^ [ 113s] [ 113s] warning: unused import: `std::ptr` [ 113s] --> ./src/pkgmgr/server/admin_service.rs:7:5 [ 113s] | [ 113s] 7 | use std::ptr; [ 113s] | ^^^^^^^^ [ 113s] [ 113s] warning: unused import: `malloc` [ 113s] --> ./src/pkgmgr/server/admin_service.rs:8:18 [ 113s] | [ 113s] 8 | use libc::{free, malloc, strlen}; [ 113s] | ^^^^^^ [ 113s] [ 113s] warning: unused import: `super::Server` [ 113s] --> ./src/pkgmgr/server/admin_service.rs:10:5 [ 113s] | [ 113s] 10 | use super::Server; [ 113s] | ^^^^^^^^^^^^^ [ 113s] [ 113s] warning: type `rpc_port_stub_array_string_h` should have an upper camel case name [ 113s] --> ./src/pkgmgr/server/admin_service.rs:23:6 [ 113s] | [ 113s] 23 | type rpc_port_stub_array_string_h = *mut c_void; [ 113s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RpcPortStubArrayStringH` [ 113s] | [ 113s] = note: `#[warn(non_camel_case_types)]` on by default [ 113s] [ 113s] warning: unused imports: `pid_t`, `uid_t` [ 113s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 113s] | [ 113s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 113s] | ^^^^^ ^^^^^ [ 113s] [ 113s] warning: unused imports: `c_int`, `c_void` [ 113s] --> ./src/pkgmgr/server/backend_context.rs:4:16 [ 113s] | [ 113s] 4 | use std::ffi::{c_int, c_void}; [ 113s] | ^^^^^ ^^^^^^ [ 113s] [ 113s] warning: unused import: `std::path::Path` [ 113s] --> ./src/pkgmgr/server/backend_queue.rs:10:5 [ 113s] | [ 113s] 10 | use std::path::Path; [ 113s] | ^^^^^^^^^^^^^^^ [ 113s] [ 113s] warning: denote infinite loops with `loop { ... }` [ 113s] --> ./src/pkgmgr/server/backend_queue.rs:50:9 [ 113s] | [ 113s] 50 | while true { [ 113s] | ^^^^^^^^^^ help: use `loop` [ 113s] | [ 113s] = note: `#[warn(while_true)]` on by default [ 113s] [ 113s] warning: unnecessary parentheses around `if` condition [ 113s] --> ./src/pkgmgr/server/backend_queue.rs:73:8 [ 113s] | [ 113s] 73 | if (mut_queue.is_queue_empty()) { [ 113s] | ^ ^ [ 113s] | [ 113s] = note: `#[warn(unused_parens)]` on by default [ 113s] help: remove these parentheses [ 113s] | [ 113s] 73 - if (mut_queue.is_queue_empty()) { [ 113s] 73 + if mut_queue.is_queue_empty() { [ 113s] | [ 113s] [ 113s] warning: unnecessary trailing semicolon [ 113s] --> ./src/pkgmgr/server/backend_queue.rs:297:17 [ 113s] | [ 113s] 297 | ; [ 113s] | ^ help: remove this semicolon [ 113s] | [ 113s] = note: `#[warn(redundant_semicolons)]` on by default [ 113s] [ 113s] warning: unused import: `super::Server` [ 113s] --> ./src/pkgmgr/server/cache_service.rs:1:5 [ 113s] | [ 113s] 1 | use super::Server; [ 113s] | ^^^^^^^^^^^^^ [ 113s] [ 113s] warning: unused import: `super::Server` [ 113s] --> ./src/pkgmgr/server/delayed_service.rs:1:5 [ 113s] | [ 113s] 1 | use super::Server; [ 113s] | ^^^^^^^^^^^^^ [ 113s] [ 113s] warning: unused import: `super::backend_context::*` [ 113s] --> ./src/pkgmgr/server/delayed_service.rs:4:5 [ 113s] | [ 113s] 4 | use super::backend_context::*; [ 113s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 113s] [ 113s] warning: unused import: `super::request_result::*` [ 113s] --> ./src/pkgmgr/server/delayed_service.rs:5:5 [ 113s] | [ 113s] 5 | use super::request_result::*; [ 113s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 113s] [ 113s] warning: unused import: `super::request_type::*` [ 113s] --> ./src/pkgmgr/server/delayed_service.rs:6:5 [ 113s] | [ 113s] 6 | use super::request_type::*; [ 113s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 113s] [ 113s] warning: unused import: `super::util::*` [ 113s] --> ./src/pkgmgr/server/delayed_service.rs:7:5 [ 113s] | [ 113s] 7 | use super::util::*; [ 113s] | ^^^^^^^^^^^^^^ [ 113s] [ 113s] warning: unused imports: `pid_t`, `uid_t` [ 113s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 113s] | [ 113s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 113s] | ^^^^^ ^^^^^ [ 113s] [ 113s] warning: unused import: `std::io::Error` [ 113s] --> ./src/pkgmgr/server/info_service.rs:3:5 [ 113s] | [ 113s] 3 | use std::io::Error; [ 113s] | ^^^^^^^^^^^^^^ [ 113s] [ 113s] warning: unused import: `std::mem` [ 113s] --> ./src/pkgmgr/server/info_service.rs:6:5 [ 113s] | [ 113s] 6 | use std::mem; [ 113s] | ^^^^^^^^ [ 113s] [ 113s] warning: unused import: `std::ptr` [ 113s] --> ./src/pkgmgr/server/info_service.rs:7:5 [ 113s] | [ 113s] 7 | use std::ptr; [ 113s] | ^^^^^^^^ [ 113s] [ 113s] warning: unused imports: `free`, `malloc`, `strlen` [ 113s] --> ./src/pkgmgr/server/info_service.rs:8:12 [ 113s] | [ 113s] 8 | use libc::{free, malloc, strlen, mkfifo}; [ 113s] | ^^^^ ^^^^^^ ^^^^^^ [ 113s] [ 113s] warning: unused import: `super::Server` [ 113s] --> ./src/pkgmgr/server/info_service.rs:10:5 [ 113s] | [ 113s] 10 | use super::Server; [ 113s] | ^^^^^^^^^^^^^ [ 113s] [ 113s] warning: unused import: `super::service::Service` [ 113s] --> ./src/pkgmgr/server/info_service.rs:13:5 [ 113s] | [ 113s] 13 | use super::service::Service; [ 113s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 113s] [ 113s] warning: unnecessary trailing semicolon [ 113s] --> ./src/pkgmgr/server/info_service.rs:49:5 [ 113s] | [ 113s] 49 | ; [ 113s] | ^ help: remove this semicolon [ 113s] [ 113s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 113s] --> ./src/pkgmgr/server/request_result.rs:7:5 [ 113s] | [ 113s] 7 | GETSIZE_SYNC(String, i32, i32), [ 113s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 113s] [ 113s] warning: variant `GET_GENERATE_LICENSE_RESULT` should have an upper camel case name [ 113s] --> ./src/pkgmgr/server/request_result.rs:8:5 [ 113s] | [ 113s] 8 | GET_GENERATE_LICENSE_RESULT(String, i32, CString, CString), [ 113s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetGenerateLicenseResult` [ 113s] [ 113s] warning: variant `MOUNT_INSTALL` should have an upper camel case name [ 113s] --> ./src/pkgmgr/server/request_type.rs:3:5 [ 113s] | [ 113s] 3 | MOUNT_INSTALL, [ 113s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MountInstall` [ 113s] [ 113s] warning: variant `ENABLE_PKG` should have an upper camel case name [ 113s] --> ./src/pkgmgr/server/request_type.rs:7:5 [ 113s] | [ 113s] 7 | ENABLE_PKG, [ 113s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnablePkg` [ 113s] [ 113s] warning: variant `DISABLE_PKG` should have an upper camel case name [ 113s] --> ./src/pkgmgr/server/request_type.rs:8:5 [ 113s] | [ 113s] 8 | DISABLE_PKG, [ 113s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisablePkg` [ 113s] [ 113s] warning: variant `REGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 113s] --> ./src/pkgmgr/server/request_type.rs:9:5 [ 113s] | [ 113s] 9 | REGISTER_PKG_UPDATE_INFO, [ 113s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterPkgUpdateInfo` [ 113s] [ 113s] warning: variant `UNREGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 113s] --> ./src/pkgmgr/server/request_type.rs:10:5 [ 113s] | [ 113s] 10 | UNREGISTER_PKG_UPDATE_INFO, [ 113s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterPkgUpdateInfo` [ 113s] [ 113s] warning: variant `UNREGISTER_ALL_PKG_UPDATE_INFO` should have an upper camel case name [ 113s] --> ./src/pkgmgr/server/request_type.rs:11:5 [ 113s] | [ 113s] 11 | UNREGISTER_ALL_PKG_UPDATE_INFO, [ 113s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterAllPkgUpdateInfo` [ 113s] [ 113s] warning: variant `ENABLE_APP` should have an upper camel case name [ 113s] --> ./src/pkgmgr/server/request_type.rs:12:5 [ 113s] | [ 113s] 12 | ENABLE_APP, [ 113s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableApp` [ 113s] [ 113s] warning: variant `DISABLE_APP` should have an upper camel case name [ 113s] --> ./src/pkgmgr/server/request_type.rs:13:5 [ 113s] | [ 113s] 13 | DISABLE_APP, [ 113s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableApp` [ 113s] [ 113s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 113s] --> ./src/pkgmgr/server/request_type.rs:15:5 [ 113s] | [ 113s] 15 | GETSIZE_SYNC, [ 113s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 113s] [ 113s] warning: variant `ENABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 113s] --> ./src/pkgmgr/server/request_type.rs:18:5 [ 113s] | [ 113s] 18 | ENABLE_GLOBAL_APP_FOR_UID, [ 113s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableGlobalAppForUid` [ 113s] [ 113s] warning: variant `DISABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 113s] --> ./src/pkgmgr/server/request_type.rs:19:5 [ 113s] | [ 113s] 19 | DISABLE_GLOBAL_APP_FOR_UID, [ 113s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableGlobalAppForUid` [ 113s] [ 113s] warning: variant `GENERATE_LICENSE_REQUEST` should have an upper camel case name [ 113s] --> ./src/pkgmgr/server/request_type.rs:22:5 [ 113s] | [ 113s] 22 | GENERATE_LICENSE_REQUEST, [ 113s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GenerateLicenseRequest` [ 113s] [ 113s] warning: variant `REGISTER_LICENSE` should have an upper camel case name [ 113s] --> ./src/pkgmgr/server/request_type.rs:23:5 [ 113s] | [ 113s] 23 | REGISTER_LICENSE, [ 113s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterLicense` [ 113s] [ 113s] warning: variant `DECRYPT_PACKAGE` should have an upper camel case name [ 113s] --> ./src/pkgmgr/server/request_type.rs:24:5 [ 113s] | [ 113s] 24 | DECRYPT_PACKAGE, [ 113s] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DecryptPackage` [ 113s] [ 113s] warning: variant `ENABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 113s] --> ./src/pkgmgr/server/request_type.rs:25:5 [ 113s] | [ 113s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 113s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableAppSplashScreen` [ 113s] [ 113s] warning: variant `DISABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 113s] --> ./src/pkgmgr/server/request_type.rs:26:5 [ 113s] | [ 113s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 113s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableAppSplashScreen` [ 113s] [ 113s] warning: variant `SET_APP_LABEL` should have an upper camel case name [ 113s] --> ./src/pkgmgr/server/request_type.rs:27:5 [ 113s] | [ 113s] 27 | SET_APP_LABEL, [ 113s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppLabel` [ 113s] [ 113s] warning: variant `SET_APP_ICON` should have an upper camel case name [ 113s] --> ./src/pkgmgr/server/request_type.rs:28:5 [ 113s] | [ 113s] 28 | SET_APP_ICON, [ 113s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppIcon` [ 113s] [ 113s] warning: variant `MIGRATE_EXTERNAL_IMAGE` should have an upper camel case name [ 113s] --> ./src/pkgmgr/server/request_type.rs:29:5 [ 113s] | [ 113s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 113s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MigrateExternalImage` [ 113s] [ 113s] warning: variant `RESOURCE_SHARE_COPY` should have an upper camel case name [ 113s] --> ./src/pkgmgr/server/request_type.rs:30:5 [ 113s] | [ 113s] 30 | RESOURCE_SHARE_COPY, [ 113s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCopy` [ 113s] [ 113s] warning: variant `RESOURCE_SHARE_CREATE_DIR` should have an upper camel case name [ 113s] --> ./src/pkgmgr/server/request_type.rs:31:5 [ 113s] | [ 113s] 31 | RESOURCE_SHARE_CREATE_DIR, [ 113s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCreateDir` [ 113s] [ 113s] warning: variant `RESOURCE_SHARE_REMOVE` should have an upper camel case name [ 113s] --> ./src/pkgmgr/server/request_type.rs:32:5 [ 113s] | [ 113s] 32 | RESOURCE_SHARE_REMOVE, [ 113s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareRemove` [ 113s] [ 113s] warning: variant `RESOURCE_SHARE_UNINSTALL` should have an upper camel case name [ 113s] --> ./src/pkgmgr/server/request_type.rs:33:5 [ 113s] | [ 113s] 33 | RESOURCE_SHARE_UNINSTALL, [ 113s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareUninstall` [ 113s] [ 113s] warning: variant `REMOVE_FILE` should have an upper camel case name [ 113s] --> ./src/pkgmgr/server/request_type.rs:34:5 [ 113s] | [ 113s] 34 | REMOVE_FILE, [ 113s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RemoveFile` [ 113s] [ 113s] warning: unused import: `CStr` [ 113s] --> ./src/pkgmgr/server/signal.rs:1:39 [ 113s] | [ 113s] 1 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 113s] | ^^^^ [ 113s] [ 113s] warning: unused import: `pid_t` [ 113s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 113s] | [ 113s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 113s] | ^^^^^ [ 113s] [ 113s] warning: unused imports: `CStr`, `CString`, `c_char`, `c_void` [ 113s] --> ./src/pkgmgr/server/signal.rs:39:20 [ 113s] | [ 113s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 113s] | ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^ [ 113s] [ 113s] warning: unused import: `pid_t` [ 113s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 113s] | [ 113s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 113s] | ^^^^^ [ 113s] [ 113s] warning: unused import: `std::cell::RefCell` [ 113s] --> ./src/pkgmgr/server/util.rs:1:5 [ 113s] | [ 113s] 1 | use std::cell::RefCell; [ 113s] | ^^^^^^^^^^^^^^^^^^ [ 113s] [ 113s] warning: unused import: `std::rc::Rc` [ 113s] --> ./src/pkgmgr/server/util.rs:8:5 [ 113s] | [ 113s] 8 | use std::rc::Rc; [ 113s] | ^^^^^^^^^^^ [ 113s] [ 113s] warning: type `xmlChar` should have an upper camel case name [ 113s] --> ./src/pkgmgr/server/util.rs:34:6 [ 113s] | [ 113s] 34 | type xmlChar = c_uchar; [ 113s] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlChar` [ 113s] [ 113s] warning: type `xmlTextReaderPtr` should have an upper camel case name [ 113s] --> ./src/pkgmgr/server/util.rs:35:6 [ 113s] | [ 113s] 35 | type xmlTextReaderPtr = *mut c_void; [ 113s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlTextReaderPtr` [ 113s] [ 113s] warning: unused imports: `CStr`, `CString` [ 113s] --> ./src/pkgmgr/server/util.rs:39:43 [ 113s] | [ 113s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 113s] | ^^^^ ^^^^^^^ [ 113s] [ 113s] warning: unused import: `pid_t` [ 113s] --> ./src/pkgmgr/server/util.rs:40:37 [ 113s] | [ 113s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 113s] | ^^^^^ [ 113s] [ 113s] warning: unnecessary parentheses around `if` condition [ 113s] --> ./src/pkgmgr/server/util.rs:474:24 [ 113s] | [ 113s] 474 | if (cur == depth + 1) { [ 113s] | ^ ^ [ 113s] | [ 113s] help: remove these parentheses [ 113s] | [ 113s] 474 - if (cur == depth + 1) { [ 113s] 474 + if cur == depth + 1 { [ 113s] | [ 113s] [ 113s] warning: unnecessary parentheses around `if` condition [ 113s] --> ./src/pkgmgr/server/util.rs:571:12 [ 113s] | [ 113s] 571 | if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 113s] | ^ ^ [ 113s] | [ 113s] help: remove these parentheses [ 113s] | [ 113s] 571 - if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 113s] 571 + if unzOpenCurrentFile(uf) != UNZ_OK as c_int { [ 113s] | [ 113s] [ 113s] warning: unused import: `std::ffi::CStr` [ 113s] --> ./src/pkgmgr/server/test/util_tests.rs:4:5 [ 113s] | [ 113s] 4 | use std::ffi::CStr; [ 113s] | ^^^^^^^^^^^^^^ [ 113s] [ 113s] warning: unused import: `std::mem` [ 113s] --> ./src/pkgmgr/server/test/util_tests.rs:6:5 [ 113s] | [ 113s] 6 | use std::mem; [ 113s] | ^^^^^^^^ [ 113s] [ 113s] warning: unused import: `mockall::predicate::*` [ 113s] --> ./src/pkgmgr/server/test/util_tests.rs:8:5 [ 113s] | [ 113s] 8 | use mockall::predicate::*; [ 113s] | ^^^^^^^^^^^^^^^^^^^^^ [ 113s] [ 113s] warning: unused import: `mockall::*` [ 113s] --> ./src/pkgmgr/server/test/util_tests.rs:9:5 [ 113s] | [ 113s] 9 | use mockall::*; [ 113s] | ^^^^^^^^^^ [ 113s] [ 113s] warning: unused import: `std::ffi::CString` [ 113s] --> ./src/pkgmgr/server/test/signal_tests.rs:2:5 [ 113s] | [ 113s] 2 | use std::ffi::CString; [ 113s] | ^^^^^^^^^^^^^^^^^ [ 113s] [ 113s] warning: unused import: `std::ffi::CStr` [ 113s] --> ./src/pkgmgr/server/test/signal_tests.rs:3:5 [ 113s] | [ 113s] 3 | use std::ffi::CStr; [ 113s] | ^^^^^^^^^^^^^^ [ 113s] [ 113s] warning: unused import: `std::ffi::c_char` [ 113s] --> ./src/pkgmgr/server/test/signal_tests.rs:4:5 [ 113s] | [ 113s] 4 | use std::ffi::c_char; [ 113s] | ^^^^^^^^^^^^^^^^ [ 113s] [ 113s] warning: unused import: `std::mem` [ 113s] --> ./src/pkgmgr/server/test/signal_tests.rs:5:5 [ 113s] | [ 113s] 5 | use std::mem; [ 113s] | ^^^^^^^^ [ 113s] [ 113s] warning: unused import: `mockall::predicate::*` [ 113s] --> ./src/pkgmgr/server/test/signal_tests.rs:6:5 [ 113s] | [ 113s] 6 | use mockall::predicate::*; [ 113s] | ^^^^^^^^^^^^^^^^^^^^^ [ 113s] [ 113s] warning: unused import: `mockall::*` [ 113s] --> ./src/pkgmgr/server/test/signal_tests.rs:7:5 [ 113s] | [ 113s] 7 | use mockall::*; [ 113s] | ^^^^^^^^^^ [ 113s] [ 113s] warning: unused import: `pid_t` [ 113s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 113s] | [ 113s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 113s] | ^^^^^ [ 113s] [ 113s] warning: unused import: `std::cell::RefCell` [ 113s] --> ./src/pkgmgr/server/mod.rs:22:5 [ 113s] | [ 113s] 22 | use std::cell::RefCell; [ 113s] | ^^^^^^^^^^^^^^^^^^ [ 113s] [ 113s] warning: unused import: `std::rc::Rc` [ 113s] --> ./src/pkgmgr/server/mod.rs:26:5 [ 113s] | [ 113s] 26 | use std::rc::Rc; [ 113s] | ^^^^^^^^^^^ [ 113s] [ 113s] warning: unused import: `std::process::Command` [ 113s] --> ./src/main.rs:9:5 [ 113s] | [ 113s] 9 | use std::process::Command; [ 113s] | ^^^^^^^^^^^^^^^^^^^^^ [ 113s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:5:26 [ 114s] | [ 114s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 114s] | ^^^^^ [ 114s] | [ 114s] = note: `#[warn(deprecated)]` on by default [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:5:33 [ 114s] | [ 114s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:20:20 [ 114s] | [ 114s] 20 | const GLOBAL_USER: uid_t = 201; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:322:25 [ 114s] | [ 114s] 322 | let mut caller_uid: uid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:443:25 [ 114s] | [ 114s] 443 | let mut caller_uid: uid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:548:25 [ 114s] | [ 114s] 548 | let mut caller_uid: uid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:595:25 [ 114s] | [ 114s] 595 | let mut caller_uid: uid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:718:25 [ 114s] | [ 114s] 718 | let mut caller_uid: uid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:801:25 [ 114s] | [ 114s] 801 | let mut caller_uid: uid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:853:25 [ 114s] | [ 114s] 853 | let mut caller_uid: uid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:937:25 [ 114s] | [ 114s] 937 | let mut caller_uid: uid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:990:25 [ 114s] | [ 114s] 990 | let mut caller_uid: uid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1015:76 [ 114s] | [ 114s] 1015 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, true) { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1072:25 [ 114s] | [ 114s] 1072 | let mut caller_uid: uid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1097:76 [ 114s] | [ 114s] 1097 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, false) { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1151:25 [ 114s] | [ 114s] 1151 | let mut caller_pid: pid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1152:25 [ 114s] | [ 114s] 1152 | let mut caller_uid: uid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1166:62 [ 114s] | [ 114s] 1166 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1196:66 [ 114s] | [ 114s] 1196 | let ret = Util::RegisterPkgUpdateInfo(handle, uid as uid_t); [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1215:25 [ 114s] | [ 114s] 1215 | let mut caller_pid: pid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1216:25 [ 114s] | [ 114s] 1216 | let mut caller_uid: uid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1230:62 [ 114s] | [ 114s] 1230 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1254:109 [ 114s] | [ 114s] 1254 | RequestResult::DELAYED(generated_req_key, Util::UnregisterPkgUpdateInfo(pkg_id.as_ptr(), uid as uid_t)) [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1270:25 [ 114s] | [ 114s] 1270 | let mut caller_pid: pid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1271:25 [ 114s] | [ 114s] 1271 | let mut caller_uid: uid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1303:95 [ 114s] | [ 114s] 1303 | RequestResult::DELAYED(generated_req_key, Util::UnregisterAllPkgUpdateInfo(uid as uid_t, caller_uid)) [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1312:45 [ 114s] | [ 114s] 1312 | fn handle_enable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1359:60 [ 114s] | [ 114s] 1359 | fn handle_enable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1371:40 [ 114s] | [ 114s] 1371 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1373:40 [ 114s] | [ 114s] 1373 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1380:36 [ 114s] | [ 114s] 1380 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1382:36 [ 114s] | [ 114s] 1382 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1392:36 [ 114s] | [ 114s] 1392 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1394:36 [ 114s] | [ 114s] 1394 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1400:28 [ 114s] | [ 114s] 1400 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1403:46 [ 114s] | [ 114s] 1403 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1404:59 [ 114s] | [ 114s] 1404 | Util::EnableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1405:32 [ 114s] | [ 114s] 1405 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1409:28 [ 114s] | [ 114s] 1409 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1415:46 [ 114s] | [ 114s] 1415 | fn handle_disable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1463:61 [ 114s] | [ 114s] 1463 | fn handle_disable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1475:40 [ 114s] | [ 114s] 1475 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1477:40 [ 114s] | [ 114s] 1477 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1484:36 [ 114s] | [ 114s] 1484 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1486:36 [ 114s] | [ 114s] 1486 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1496:36 [ 114s] | [ 114s] 1496 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1498:36 [ 114s] | [ 114s] 1498 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1504:28 [ 114s] | [ 114s] 1504 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1507:46 [ 114s] | [ 114s] 1507 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1508:60 [ 114s] | [ 114s] 1508 | Util::DisableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1509:32 [ 114s] | [ 114s] 1509 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1513:28 [ 114s] | [ 114s] 1513 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1535:25 [ 114s] | [ 114s] 1535 | let mut caller_uid: uid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1562:70 [ 114s] | [ 114s] 1562 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1588:25 [ 114s] | [ 114s] 1588 | let mut caller_uid: uid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1615:71 [ 114s] | [ 114s] 1615 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1673:74 [ 114s] | [ 114s] 1673 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1735:75 [ 114s] | [ 114s] 1735 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1765:25 [ 114s] | [ 114s] 1765 | let mut caller_uid: uid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1792:85 [ 114s] | [ 114s] 1792 | RequestResult::VAL(handle_enable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1818:25 [ 114s] | [ 114s] 1818 | let mut caller_uid: uid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1845:86 [ 114s] | [ 114s] 1845 | RequestResult::VAL(handle_disable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1863:40 [ 114s] | [ 114s] 1863 | Util::KillAppsInPkg(pkg_id, uid as uid_t) [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1873:25 [ 114s] | [ 114s] 1873 | let mut caller_pid: pid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1874:25 [ 114s] | [ 114s] 1874 | let mut caller_uid: uid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1985:25 [ 114s] | [ 114s] 1985 | let mut caller_pid: pid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:1986:25 [ 114s] | [ 114s] 1986 | let mut caller_uid: uid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:2035:25 [ 114s] | [ 114s] 2035 | let mut caller_pid: pid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:2036:25 [ 114s] | [ 114s] 2036 | let mut caller_uid: uid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:2083:54 [ 114s] | [ 114s] 2083 | Util::EnableGlobalAppSplashScreen(app_id, uid as uid_t) [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:2093:55 [ 114s] | [ 114s] 2093 | Util::DisableGlobalAppSplashScreen(app_id, uid as uid_t) [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:2105:25 [ 114s] | [ 114s] 2105 | let mut caller_pid: pid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:2106:25 [ 114s] | [ 114s] 2106 | let mut caller_uid: uid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:2137:102 [ 114s] | [ 114s] 2137 | RequestResult::DELAYED(generated_req_key, Util::update_app_label(app_id.as_ptr(), uid as uid_t , label.as_ptr())) [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:2155:25 [ 114s] | [ 114s] 2155 | let mut caller_pid: pid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:2156:25 [ 114s] | [ 114s] 2156 | let mut caller_uid: uid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:2187:101 [ 114s] | [ 114s] 2187 | RequestResult::DELAYED(generated_req_key, Util::update_app_icon(app_id.as_ptr(), uid as uid_t , icon_path.as_ptr())) [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:2312:25 [ 114s] | [ 114s] 2312 | let mut caller_uid: uid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:2313:25 [ 114s] | [ 114s] 2313 | let mut caller_pid: pid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:2383:25 [ 114s] | [ 114s] 2383 | let mut caller_uid: uid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:2384:25 [ 114s] | [ 114s] 2384 | let mut caller_pid: pid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:2453:25 [ 114s] | [ 114s] 2453 | let mut caller_uid: uid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:2454:25 [ 114s] | [ 114s] 2454 | let mut caller_pid: pid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:2532:25 [ 114s] | [ 114s] 2532 | let mut caller_uid: uid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:2622:41 [ 114s] | [ 114s] 2622 | if unsafe { check_valid_path(uid as uid_t, pkg_id, file_path) } != 0 { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:2681:19 [ 114s] | [ 114s] 2681 | pid: *mut pid_t, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/admin_service.rs:2682:19 [ 114s] | [ 114s] 2682 | uid: *mut uid_t [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 114s] | [ 114s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/backend_context.rs:3:33 [ 114s] | [ 114s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/cache_service.rs:12:26 [ 114s] | [ 114s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/cache_service.rs:12:33 [ 114s] | [ 114s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/cache_service.rs:23:14 [ 114s] | [ 114s] 23 | uid: uid_t, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/cache_service.rs:48:17 [ 114s] | [ 114s] 48 | target_uid: uid_t, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/cache_service.rs:53:25 [ 114s] | [ 114s] 53 | let mut caller_uid: uid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/cache_service.rs:106:19 [ 114s] | [ 114s] 106 | pid: *mut pid_t, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/cache_service.rs:107:19 [ 114s] | [ 114s] 107 | uid: *mut uid_t [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 114s] | [ 114s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/delayed_service.rs:13:33 [ 114s] | [ 114s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/info_service.rs:2:26 [ 114s] | [ 114s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/info_service.rs:2:33 [ 114s] | [ 114s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/info_service.rs:37:90 [ 114s] | [ 114s] 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... [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/info_service.rs:38:94 [ 114s] | [ 114s] 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... [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/info_service.rs:40:88 [ 114s] | [ 114s] 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... [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/info_service.rs:40:128 [ 114s] | [ 114s] 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... [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/info_service.rs:54:17 [ 114s] | [ 114s] 54 | target_uid: uid_t, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/info_service.rs:60:25 [ 114s] | [ 114s] 60 | let mut caller_pid: pid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/info_service.rs:61:25 [ 114s] | [ 114s] 61 | let mut caller_uid: uid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/info_service.rs:114:17 [ 114s] | [ 114s] 114 | target_uid: uid_t, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/info_service.rs:120:25 [ 114s] | [ 114s] 120 | let mut caller_pid: pid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/info_service.rs:121:25 [ 114s] | [ 114s] 121 | let mut caller_uid: uid_t = 0; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/info_service.rs:223:17 [ 114s] | [ 114s] 223 | target_uid: uid_t, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/info_service.rs:225:15 [ 114s] | [ 114s] 225 | pid: *mut pid_t, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/info_service.rs:228:43 [ 114s] | [ 114s] 228 | Util::check_app(pkg_id, target_uid as uid_t, pid) [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/info_service.rs:242:19 [ 114s] | [ 114s] 242 | pid: *mut pid_t, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/info_service.rs:243:19 [ 114s] | [ 114s] 243 | uid: *mut uid_t [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/signal.rs:2:26 [ 114s] | [ 114s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 114s] | [ 114s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/signal.rs:99:20 [ 114s] | [ 114s] 99 | const GLOBAL_USER: uid_t = 201; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/signal.rs:101:33 [ 114s] | [ 114s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/signal.rs:101:47 [ 114s] | [ 114s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/signal.rs:102:26 [ 114s] | [ 114s] 102 | let mut uid_vec: Vec = vec![]; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/signal.rs:110:28 [ 114s] | [ 114s] 110 | let mut uids: *mut uid_t = std::ptr::null_mut(); [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/signal.rs:124:14 [ 114s] | [ 114s] 124 | uid: uid_t, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/signal.rs:53:44 [ 114s] | [ 114s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/signal.rs:62:14 [ 114s] | [ 114s] 62 | uid: uid_t, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/signal.rs:86:14 [ 114s] | [ 114s] 86 | uid: uid_t, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/signal.rs:40:30 [ 114s] | [ 114s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 114s] | [ 114s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/signal.rs:44:45 [ 114s] | [ 114s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:4:26 [ 114s] | [ 114s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:4:33 [ 114s] | [ 114s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:22:21 [ 114s] | [ 114s] 22 | const REGULAR_USER: uid_t = 5000; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:23:20 [ 114s] | [ 114s] 23 | const GLOBAL_USER: uid_t = 201; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:25:18 [ 114s] | [ 114s] 25 | const APPFW_UID: uid_t = 301; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:307:36 [ 114s] | [ 114s] 307 | let uid : uid_t = user_data as uid_t; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:307:15 [ 114s] | [ 114s] 307 | let uid : uid_t = user_data as uid_t; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:326:81 [ 114s] | [ 114s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:326:93 [ 114s] | [ 114s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:326:25 [ 114s] | [ 114s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:326:37 [ 114s] | [ 114s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:389:57 [ 114s] | [ 114s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:420:55 [ 114s] | [ 114s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:686:62 [ 114s] | [ 114s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:696:63 [ 114s] | [ 114s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:706:44 [ 114s] | [ 114s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:706:63 [ 114s] | [ 114s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:728:49 [ 114s] | [ 114s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:738:50 [ 114s] | [ 114s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:747:55 [ 114s] | [ 114s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:757:56 [ 114s] | [ 114s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:766:61 [ 114s] | [ 114s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:775:62 [ 114s] | [ 114s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:784:67 [ 114s] | [ 114s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:793:68 [ 114s] | [ 114s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:802:54 [ 114s] | [ 114s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:802:64 [ 114s] | [ 114s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:813:47 [ 114s] | [ 114s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:835:53 [ 114s] | [ 114s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:855:25 [ 114s] | [ 114s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:983:69 [ 114s] | [ 114s] 983 | pub fn get_application_info_by_appid(appid: *const c_char, uid: uid_t) -> Option<(CString, bool)> { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:1012:41 [ 114s] | [ 114s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:1012:53 [ 114s] | [ 114s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:1029:71 [ 114s] | [ 114s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:1029:90 [ 114s] | [ 114s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:1076:56 [ 114s] | [ 114s] 1076 | pub fn update_app_label(appid: *const c_char, uid: uid_t, label: *const c_char) -> c_int { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:1080:55 [ 114s] | [ 114s] 1080 | pub fn update_app_icon(appid: *const c_char, uid: uid_t, icon_path: *const c_char) -> c_int { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:1108:49 [ 114s] | [ 114s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:1108:66 [ 114s] | [ 114s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:156:14 [ 114s] | [ 114s] 156 | uid: uid_t, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:166:14 [ 114s] | [ 114s] 166 | uid: uid_t, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:180:14 [ 114s] | [ 114s] 180 | uid: uid_t [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:185:14 [ 114s] | [ 114s] 185 | uid: uid_t [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:189:14 [ 114s] | [ 114s] 189 | uid: uid_t [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:194:14 [ 114s] | [ 114s] 194 | uid: uid_t, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:200:14 [ 114s] | [ 114s] 200 | uid: uid_t, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:206:14 [ 114s] | [ 114s] 206 | uid: uid_t, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:212:14 [ 114s] | [ 114s] 212 | uid: uid_t, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:218:14 [ 114s] | [ 114s] 218 | uid: uid_t, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:224:14 [ 114s] | [ 114s] 224 | uid: uid_t, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:237:32 [ 114s] | [ 114s] 237 | fn gum_user_get_sync(uid : uid_t, offline : c_int) -> *mut c_void; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:266:21 [ 114s] | [ 114s] 266 | caller_uid: uid_t [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:274:14 [ 114s] | [ 114s] 274 | uid: uid_t, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:40:30 [ 114s] | [ 114s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:40:37 [ 114s] | [ 114s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:46:18 [ 114s] | [ 114s] 46 | uid: uid_t, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:52:18 [ 114s] | [ 114s] 52 | uid: uid_t, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:67:18 [ 114s] | [ 114s] 67 | uid: uid_t, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:101:18 [ 114s] | [ 114s] 101 | uid: uid_t, [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:122:70 [ 114s] | [ 114s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:123:66 [ 114s] | [ 114s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:124:59 [ 114s] | [ 114s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/util.rs:125:97 [ 114s] | [ 114s] 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; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 114s] | [ 114s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 114s] | [ 114s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/test/signal_tests.rs:12:26 [ 114s] | [ 114s] 12 | let mut uid_vec: Vec = vec![]; [ 114s] | ^^^^^ [ 114s] [ 114s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 114s] --> ./src/pkgmgr/server/test/signal_tests.rs:19:26 [ 114s] | [ 114s] 19 | let mut uid_vec: Vec = vec![]; [ 114s] | ^^^^^ [ 114s] [ 118s] warning: unreachable expression [ 118s] --> ./src/pkgmgr/server/backend_queue.rs:64:5 [ 118s] | [ 118s] 61 | return G_SOURCE_CONTINUE; [ 118s] | ------------------------ any code following this expression is unreachable [ 118s] ... [ 118s] 64 | 1 [ 118s] | ^ unreachable expression [ 118s] | [ 118s] = note: `#[warn(unreachable_code)]` on by default [ 118s] [ 125s] warning: unused import: `super::super::super::server::service::Service` [ 125s] --> ./src/pkgmgr/server/test/info_service_tests.rs:3:5 [ 125s] | [ 125s] 3 | use super::super::super::server::service::Service; [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 125s] [ 125s] warning: unused variable: `context` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:297:5 [ 125s] | [ 125s] 297 | context: *mut c_void, [ 125s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 125s] | [ 125s] = note: `#[warn(unused_variables)]` on by default [ 125s] [ 125s] warning: unused variable: `context` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:306:5 [ 125s] | [ 125s] 306 | context: *mut c_void, [ 125s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 125s] [ 125s] warning: unused variable: `user_data` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:307:5 [ 125s] | [ 125s] 307 | user_data: *mut c_void, [ 125s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 125s] [ 125s] warning: unused variable: `ret` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:323:9 [ 125s] | [ 125s] 323 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 125s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 125s] [ 125s] warning: unused variable: `req_id` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:318:5 [ 125s] | [ 125s] 318 | req_id: *const c_char, [ 125s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 125s] [ 125s] warning: variable does not need to be mutable [ 125s] --> ./src/pkgmgr/server/admin_service.rs:415:9 [ 125s] | [ 125s] 415 | let mut backend_context = BackendContext::new( [ 125s] | ----^^^^^^^^^^^^^^^ [ 125s] | | [ 125s] | help: remove this `mut` [ 125s] | [ 125s] = note: `#[warn(unused_mut)]` on by default [ 125s] [ 125s] warning: unused variable: `ret` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:444:9 [ 125s] | [ 125s] 444 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 125s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 125s] [ 125s] warning: unused variable: `req_id` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:434:5 [ 125s] | [ 125s] 434 | req_id: *const c_char, [ 125s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 125s] [ 125s] warning: variable does not need to be mutable [ 125s] --> ./src/pkgmgr/server/admin_service.rs:510:9 [ 125s] | [ 125s] 510 | let mut backend_context = BackendContext::new( [ 125s] | ----^^^^^^^^^^^^^^^ [ 125s] | | [ 125s] | help: remove this `mut` [ 125s] [ 125s] warning: unused variable: `ret` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:549:9 [ 125s] | [ 125s] 549 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 125s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 125s] [ 125s] warning: variable does not need to be mutable [ 125s] --> ./src/pkgmgr/server/admin_service.rs:571:9 [ 125s] | [ 125s] 571 | let mut backend_context = BackendContext::new( [ 125s] | ----^^^^^^^^^^^^^^^ [ 125s] | | [ 125s] | help: remove this `mut` [ 125s] [ 125s] warning: unused variable: `ret` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:596:9 [ 125s] | [ 125s] 596 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 125s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 125s] [ 125s] warning: unused variable: `req_id` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:591:5 [ 125s] | [ 125s] 591 | req_id: *const c_char, [ 125s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 125s] [ 125s] warning: variable does not need to be mutable [ 125s] --> ./src/pkgmgr/server/admin_service.rs:688:9 [ 125s] | [ 125s] 688 | let mut backend_context = BackendContext::new( [ 125s] | ----^^^^^^^^^^^^^^^ [ 125s] | | [ 125s] | help: remove this `mut` [ 125s] [ 125s] warning: unused variable: `ret` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:719:9 [ 125s] | [ 125s] 719 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 125s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 125s] [ 125s] warning: unused variable: `req_id` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:706:5 [ 125s] | [ 125s] 706 | req_id: *const c_char, [ 125s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 125s] [ 125s] warning: variable does not need to be mutable [ 125s] --> ./src/pkgmgr/server/admin_service.rs:763:9 [ 125s] | [ 125s] 763 | let mut backend_context = BackendContext::new( [ 125s] | ----^^^^^^^^^^^^^^^ [ 125s] | | [ 125s] | help: remove this `mut` [ 125s] [ 125s] warning: unused variable: `ret` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:802:9 [ 125s] | [ 125s] 802 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 125s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 125s] [ 125s] warning: variable does not need to be mutable [ 125s] --> ./src/pkgmgr/server/admin_service.rs:824:9 [ 125s] | [ 125s] 824 | let mut backend_context = BackendContext::new( [ 125s] | ----^^^^^^^^^^^^^^^ [ 125s] | | [ 125s] | help: remove this `mut` [ 125s] [ 125s] warning: unused variable: `ret` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:854:9 [ 125s] | [ 125s] 854 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 125s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 125s] [ 125s] warning: variable does not need to be mutable [ 125s] --> ./src/pkgmgr/server/admin_service.rs:898:9 [ 125s] | [ 125s] 898 | let mut backend_context = BackendContext::new( [ 125s] | ----^^^^^^^^^^^^^^^ [ 125s] | | [ 125s] | help: remove this `mut` [ 125s] [ 125s] warning: unused variable: `ret` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:938:9 [ 125s] | [ 125s] 938 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 125s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 125s] [ 125s] warning: variable does not need to be mutable [ 125s] --> ./src/pkgmgr/server/admin_service.rs:961:9 [ 125s] | [ 125s] 961 | let mut backend_context = BackendContext::new( [ 125s] | ----^^^^^^^^^^^^^^^ [ 125s] | | [ 125s] | help: remove this `mut` [ 125s] [ 125s] warning: unused variable: `ret` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:991:9 [ 125s] | [ 125s] 991 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 125s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 125s] [ 125s] warning: variable does not need to be mutable [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1038:17 [ 125s] | [ 125s] 1038 | let mut backend_context = BackendContext::new( [ 125s] | ----^^^^^^^^^^^^^^^ [ 125s] | | [ 125s] | help: remove this `mut` [ 125s] [ 125s] warning: unused variable: `ret` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1073:9 [ 125s] | [ 125s] 1073 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 125s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 125s] [ 125s] warning: variable does not need to be mutable [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1123:17 [ 125s] | [ 125s] 1123 | let mut backend_context = BackendContext::new( [ 125s] | ----^^^^^^^^^^^^^^^ [ 125s] | | [ 125s] | help: remove this `mut` [ 125s] [ 125s] warning: unused variable: `pkg_id` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1186:9 [ 125s] | [ 125s] 1186 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) }); [ 125s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 125s] [ 125s] warning: variable does not need to be mutable [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1180:9 [ 125s] | [ 125s] 1180 | let mut handle : *mut c_void = Util::CreatePkgUpdateInfo(pkg_id, version, update_type); [ 125s] | ----^^^^^^ [ 125s] | | [ 125s] | help: remove this `mut` [ 125s] [ 125s] warning: variable does not need to be mutable [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1190:9 [ 125s] | [ 125s] 1190 | let mut backend_context = BackendContext::new( [ 125s] | ----^^^^^^^^^^^^^^^ [ 125s] | | [ 125s] | help: remove this `mut` [ 125s] [ 125s] warning: variable does not need to be mutable [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1248:9 [ 125s] | [ 125s] 1248 | let mut backend_context = BackendContext::new( [ 125s] | ----^^^^^^^^^^^^^^^ [ 125s] | | [ 125s] | help: remove this `mut` [ 125s] [ 125s] warning: variable does not need to be mutable [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1297:9 [ 125s] | [ 125s] 1297 | let mut backend_context = BackendContext::new( [ 125s] | ----^^^^^^^^^^^^^^^ [ 125s] | | [ 125s] | help: remove this `mut` [ 125s] [ 125s] warning: unused variable: `is_global` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1321:17 [ 125s] | [ 125s] 1321 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 125s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 125s] [ 125s] warning: unused variable: `is_global` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1368:17 [ 125s] | [ 125s] 1368 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 125s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 125s] [ 125s] warning: unused variable: `is_global` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1424:17 [ 125s] | [ 125s] 1424 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 125s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 125s] [ 125s] warning: unused variable: `is_global` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1472:17 [ 125s] | [ 125s] 1472 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 125s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 125s] [ 125s] warning: unused variable: `caller_uid` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1535:13 [ 125s] | [ 125s] 1535 | let mut caller_uid: uid_t = 0; [ 125s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 125s] [ 125s] warning: unused variable: `context` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1521:5 [ 125s] | [ 125s] 1521 | context: *mut c_void, [ 125s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 125s] [ 125s] warning: variable does not need to be mutable [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1535:9 [ 125s] | [ 125s] 1535 | let mut caller_uid: uid_t = 0; [ 125s] | ----^^^^^^^^^^ [ 125s] | | [ 125s] | help: remove this `mut` [ 125s] [ 125s] warning: variable does not need to be mutable [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1558:13 [ 125s] | [ 125s] 1558 | let mut backend_context = BackendContext::new( [ 125s] | ----^^^^^^^^^^^^^^^ [ 125s] | | [ 125s] | help: remove this `mut` [ 125s] [ 125s] warning: unused variable: `caller_uid` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1588:13 [ 125s] | [ 125s] 1588 | let mut caller_uid: uid_t = 0; [ 125s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 125s] [ 125s] warning: unused variable: `context` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1574:5 [ 125s] | [ 125s] 1574 | context: *mut c_void, [ 125s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 125s] [ 125s] warning: variable does not need to be mutable [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1588:9 [ 125s] | [ 125s] 1588 | let mut caller_uid: uid_t = 0; [ 125s] | ----^^^^^^^^^^ [ 125s] | | [ 125s] | help: remove this `mut` [ 125s] [ 125s] warning: variable does not need to be mutable [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1611:13 [ 125s] | [ 125s] 1611 | let mut backend_context = BackendContext::new( [ 125s] | ----^^^^^^^^^^^^^^^ [ 125s] | | [ 125s] | help: remove this `mut` [ 125s] [ 125s] warning: unused variable: `context` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1627:5 [ 125s] | [ 125s] 1627 | context: *mut c_void, [ 125s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 125s] [ 125s] warning: variable does not need to be mutable [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1669:17 [ 125s] | [ 125s] 1669 | let mut backend_context = BackendContext::new( [ 125s] | ----^^^^^^^^^^^^^^^ [ 125s] | | [ 125s] | help: remove this `mut` [ 125s] [ 125s] warning: unused variable: `context` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1689:5 [ 125s] | [ 125s] 1689 | context: *mut c_void, [ 125s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 125s] [ 125s] warning: variable does not need to be mutable [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1731:17 [ 125s] | [ 125s] 1731 | let mut backend_context = BackendContext::new( [ 125s] | ----^^^^^^^^^^^^^^^ [ 125s] | | [ 125s] | help: remove this `mut` [ 125s] [ 125s] warning: unused variable: `caller_uid` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1765:13 [ 125s] | [ 125s] 1765 | let mut caller_uid: uid_t = 0; [ 125s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 125s] [ 125s] warning: unused variable: `context` [ 125s] --> ./src/pkgmgr/server/admin_service.rs:1751:5 [ 125s] | [ 125s] 1751 | context: *mut c_void, [ 125s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 125s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1765:9 [ 126s] | [ 126s] 1765 | let mut caller_uid: uid_t = 0; [ 126s] | ----^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1788:13 [ 126s] | [ 126s] 1788 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `caller_uid` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1818:13 [ 126s] | [ 126s] 1818 | let mut caller_uid: uid_t = 0; [ 126s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 126s] [ 126s] warning: unused variable: `context` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1804:5 [ 126s] | [ 126s] 1804 | context: *mut c_void, [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1818:9 [ 126s] | [ 126s] 1818 | let mut caller_uid: uid_t = 0; [ 126s] | ----^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1841:13 [ 126s] | [ 126s] 1841 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `context` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1857:5 [ 126s] | [ 126s] 1857 | context: *mut c_void, [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 126s] [ 126s] warning: unused variable: `pid` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1860:5 [ 126s] | [ 126s] 1860 | pid: *mut c_int, [ 126s] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [ 126s] [ 126s] warning: unused variable: `user_data` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1861:5 [ 126s] | [ 126s] 1861 | user_data: *mut c_void, [ 126s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1900:9 [ 126s] | [ 126s] 1900 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `context` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:1932:5 [ 126s] | [ 126s] 1932 | context: *mut c_void, [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2012:9 [ 126s] | [ 126s] 2012 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2063:9 [ 126s] | [ 126s] 2063 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `context` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2078:5 [ 126s] | [ 126s] 2078 | context: *mut c_void, [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 126s] [ 126s] warning: unused variable: `user_data` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2081:5 [ 126s] | [ 126s] 2081 | user_data: *mut c_void, [ 126s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 126s] [ 126s] warning: unused variable: `context` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2088:5 [ 126s] | [ 126s] 2088 | context: *mut c_void, [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 126s] [ 126s] warning: unused variable: `user_data` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2091:5 [ 126s] | [ 126s] 2091 | user_data: *mut c_void, [ 126s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2133:9 [ 126s] | [ 126s] 2133 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2183:9 [ 126s] | [ 126s] 2183 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `context` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2198:5 [ 126s] | [ 126s] 2198 | context: *mut c_void, [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 126s] [ 126s] warning: unused variable: `uid` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2199:5 [ 126s] | [ 126s] 2199 | uid: c_int, [ 126s] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [ 126s] [ 126s] warning: unused variable: `pkg_id` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2200:5 [ 126s] | [ 126s] 2200 | pkg_id: *const c_char, [ 126s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 126s] [ 126s] warning: unused variable: `user_data` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2201:5 [ 126s] | [ 126s] 2201 | user_data: *mut c_void, [ 126s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2364:9 [ 126s] | [ 126s] 2364 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2434:9 [ 126s] | [ 126s] 2434 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2504:9 [ 126s] | [ 126s] 2504 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `ret` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2533:9 [ 126s] | [ 126s] 2533 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 126s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2552:9 [ 126s] | [ 126s] 2552 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `context` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2567:5 [ 126s] | [ 126s] 2567 | context: *mut c_void, [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2597:9 [ 126s] | [ 126s] 2597 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `context` [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2612:5 [ 126s] | [ 126s] 2612 | context: *mut c_void, [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/admin_service.rs:2656:9 [ 126s] | [ 126s] 2656 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `status` [ 126s] --> ./src/pkgmgr/server/backend_queue.rs:38:17 [ 126s] | [ 126s] 38 | let mut status: c_int; [ 126s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [ 126s] [ 126s] warning: unused variable: `io` [ 126s] --> ./src/pkgmgr/server/backend_queue.rs:30:33 [ 126s] | [ 126s] 30 | extern "C" fn signal_handler_cb(io: *mut glib_sys::GIOChannel, [ 126s] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [ 126s] [ 126s] warning: unused variable: `cond` [ 126s] --> ./src/pkgmgr/server/backend_queue.rs:31:9 [ 126s] | [ 126s] 31 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 126s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/backend_queue.rs:71:9 [ 126s] | [ 126s] 71 | let mut mut_queue = queue.borrow_mut(); [ 126s] | ----^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/backend_queue.rs:189:28 [ 126s] | [ 126s] 189 | pub fn push(&mut self, mut context: BackendContext) -> i32 { [ 126s] | ----^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `req_key` [ 126s] --> ./src/pkgmgr/server/backend_queue.rs:296:41 [ 126s] | [ 126s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_key` [ 126s] [ 126s] warning: unused variable: `ret` [ 126s] --> ./src/pkgmgr/server/backend_queue.rs:296:50 [ 126s] | [ 126s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 126s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 126s] [ 126s] warning: unused variable: `s` [ 126s] --> ./src/pkgmgr/server/backend_queue.rs:296:55 [ 126s] | [ 126s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 126s] | ^ help: if this is intentional, prefix it with an underscore: `_s` [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/backend_queue.rs:278:25 [ 126s] | [ 126s] 278 | let mut backend: &mut Backend = backend.unwrap(); [ 126s] | ----^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 126s] warning: unused variable: `context` [ 126s] --> ./src/pkgmgr/server/cache_service.rs:31:5 [ 126s] | [ 126s] 31 | context: *mut c_void, [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 126s] [ 126s] warning: unused variable: `context` [ 126s] --> ./src/pkgmgr/server/cache_service.rs:40:5 [ 126s] | [ 126s] 40 | context: *mut c_void, [ 126s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 126s] [ 126s] warning: unused variable: `user_data` [ 126s] --> ./src/pkgmgr/server/cache_service.rs:41:5 [ 126s] | [ 126s] 41 | user_data: *mut c_void, [ 126s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 126s] [ 126s] warning: unused variable: `ret` [ 126s] --> ./src/pkgmgr/server/cache_service.rs:54:9 [ 126s] | [ 126s] 54 | let ret = unsafe { rpc_port_stub_PkgMgrForClearCache_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 126s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 126s] [ 126s] warning: value assigned to `pkg_type` is never read [ 126s] --> ./src/pkgmgr/server/cache_service.rs:63:13 [ 126s] | [ 126s] 63 | let mut pkg_type: String = String::new(); [ 126s] | ^^^^^^^^ [ 126s] | [ 126s] = help: maybe it is overwritten before being read? [ 126s] = note: `#[warn(unused_assignments)]` on by default [ 126s] [ 126s] warning: variable does not need to be mutable [ 126s] --> ./src/pkgmgr/server/cache_service.rs:83:9 [ 126s] | [ 126s] 83 | let mut backend_context = BackendContext::new( [ 126s] | ----^^^^^^^^^^^^^^^ [ 126s] | | [ 126s] | help: remove this `mut` [ 126s] [ 127s] warning: unused variable: `context` [ 127s] --> ./src/pkgmgr/server/delayed_service.rs:32:5 [ 127s] | [ 127s] 32 | context: *mut c_void, [ 127s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 127s] [ 127s] warning: unused variable: `context` [ 127s] --> ./src/pkgmgr/server/delayed_service.rs:41:5 [ 127s] | [ 127s] 41 | context: *mut c_void, [ 127s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 127s] [ 127s] warning: unused variable: `user_data` [ 127s] --> ./src/pkgmgr/server/delayed_service.rs:42:5 [ 127s] | [ 127s] 42 | user_data: *mut c_void, [ 127s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 127s] [ 127s] warning: unused variable: `context` [ 127s] --> ./src/pkgmgr/server/delayed_service.rs:48:5 [ 127s] | [ 127s] 48 | context: *mut c_void, [ 127s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 127s] [ 127s] warning: unused variable: `context` [ 127s] --> ./src/pkgmgr/server/info_service.rs:43:55 [ 127s] | [ 127s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 127s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 127s] [ 127s] warning: unused variable: `context` [ 127s] --> ./src/pkgmgr/server/info_service.rs:48:58 [ 127s] | [ 127s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 127s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 127s] [ 127s] warning: unused variable: `user_data` [ 127s] --> ./src/pkgmgr/server/info_service.rs:48:80 [ 127s] | [ 127s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 127s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 127s] [ 127s] warning: variable does not need to be mutable [ 127s] --> ./src/pkgmgr/server/info_service.rs:98:9 [ 127s] | [ 127s] 98 | let mut backend_context = BackendContext::new( [ 127s] | ----^^^^^^^^^^^^^^^ [ 127s] | | [ 127s] | help: remove this `mut` [ 127s] [ 127s] warning: variable does not need to be mutable [ 127s] --> ./src/pkgmgr/server/info_service.rs:160:9 [ 127s] | [ 127s] 160 | let mut backend_context = BackendContext::new( [ 127s] | ----^^^^^^^^^^^^^^^ [ 127s] | | [ 127s] | help: remove this `mut` [ 127s] [ 127s] warning: unused variable: `context` [ 127s] --> ./src/pkgmgr/server/info_service.rs:195:5 [ 127s] | [ 127s] 195 | context: *mut c_void, [ 127s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 127s] [ 127s] warning: unused variable: `context` [ 127s] --> ./src/pkgmgr/server/info_service.rs:222:5 [ 127s] | [ 127s] 222 | context: *mut c_void, [ 127s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 127s] [ 127s] warning: unused variable: `user_data` [ 127s] --> ./src/pkgmgr/server/info_service.rs:226:5 [ 127s] | [ 127s] 226 | user_data: *mut c_void [ 127s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 127s] [ 127s] warning: variable does not need to be mutable [ 127s] --> ./src/pkgmgr/server/signal.rs:144:13 [ 127s] | [ 127s] 144 | let mut c_req_type: c_int; [ 127s] | ----^^^^^^^^^^ [ 127s] | | [ 127s] | help: remove this `mut` [ 127s] [ 132s] warning: value assigned to `size_result` is never read [ 132s] --> ./src/pkgmgr/server/util.rs:351:17 [ 132s] | [ 132s] 351 | let mut size_result: i64 = -1; [ 132s] | ^^^^^^^^^^^ [ 132s] | [ 132s] = help: maybe it is overwritten before being read? [ 132s] [ 132s] warning: unused variable: `cond` [ 132s] --> ./src/pkgmgr/server/util.rs:341:9 [ 132s] | [ 132s] 341 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 132s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 132s] [ 132s] warning: value assigned to `ret` is never read [ 132s] --> ./src/pkgmgr/server/util.rs:425:21 [ 132s] | [ 132s] 425 | let mut ret: c_int = 0; [ 132s] | ^^^ [ 132s] | [ 132s] = help: maybe it is overwritten before being read? [ 132s] [ 132s] warning: unreachable pattern [ 132s] --> ./src/pkgmgr/server/util.rs:478:17 [ 132s] | [ 132s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 132s] | -------------------------------------- matches any value [ 132s] ... [ 132s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 132s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 132s] | [ 132s] = note: `#[warn(unreachable_patterns)]` on by default [ 132s] [ 132s] warning: unreachable pattern [ 132s] --> ./src/pkgmgr/server/util.rs:483:17 [ 132s] | [ 132s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 132s] | -------------------------------------- matches any value [ 132s] ... [ 132s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 132s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 132s] [ 132s] warning: unreachable pattern [ 132s] --> ./src/pkgmgr/server/util.rs:488:17 [ 132s] | [ 132s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 132s] | -------------------------------------- matches any value [ 132s] ... [ 132s] 488 | _ => { [ 132s] | ^ unreachable pattern [ 132s] [ 132s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 132s] --> ./src/pkgmgr/server/util.rs:473:17 [ 132s] | [ 132s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 132s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 132s] [ 132s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_TEXT` [ 132s] --> ./src/pkgmgr/server/util.rs:478:17 [ 132s] | [ 132s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 132s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_TEXT` [ 132s] [ 132s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 132s] --> ./src/pkgmgr/server/util.rs:483:17 [ 132s] | [ 132s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 132s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 132s] [ 132s] warning: variable does not need to be mutable [ 132s] --> ./src/pkgmgr/server/util.rs:519:13 [ 132s] | [ 132s] 519 | let mut attr = xmlTextReaderGetAttribute(reader, RES_TYPE_ATTRIBUTE_KEY.as_ptr()); [ 132s] | ----^^^^ [ 132s] | | [ 132s] | help: remove this `mut` [ 132s] [ 132s] warning: variable does not need to be mutable [ 132s] --> ./src/pkgmgr/server/util.rs:588:13 [ 132s] | [ 132s] 588 | let mut reader = [ 132s] | ----^^^^^^ [ 132s] | | [ 132s] | help: remove this `mut` [ 132s] [ 132s] warning: unused variable: `gid` [ 132s] --> ./src/pkgmgr/server/util.rs:891:52 [ 132s] | [ 132s] 891 | fn set_environment(mut envs: Vec<&mut String>, gid: libc::gid_t) -> bool { [ 132s] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:15:38 [ 132s] | [ 132s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `y` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:15:40 [ 132s] | [ 132s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 132s] [ 132s] warning: unused variable: `z` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:15:42 [ 132s] | [ 132s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:22:38 [ 132s] | [ 132s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `y` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:22:40 [ 132s] | [ 132s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 132s] [ 132s] warning: unused variable: `z` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:22:42 [ 132s] | [ 132s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:29:38 [ 132s] | [ 132s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `y` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:29:40 [ 132s] | [ 132s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 132s] [ 132s] warning: unused variable: `z` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:29:42 [ 132s] | [ 132s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:31:39 [ 132s] | [ 132s] 31 | ctx2.expect().times(1).returning(|x,y| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `y` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:31:41 [ 132s] | [ 132s] 31 | ctx2.expect().times(1).returning(|x,y| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:38:38 [ 132s] | [ 132s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `y` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:38:40 [ 132s] | [ 132s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 132s] [ 132s] warning: unused variable: `z` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:38:42 [ 132s] | [ 132s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:40:39 [ 132s] | [ 132s] 40 | ctx2.expect().times(1).returning(|x,y: *mut bool| { [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:45:40 [ 132s] | [ 132s] 45 | ctx_d.expect().times(1).returning(|x| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:52:38 [ 132s] | [ 132s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `y` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:52:40 [ 132s] | [ 132s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 132s] [ 132s] warning: unused variable: `z` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:52:42 [ 132s] | [ 132s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:54:39 [ 132s] | [ 132s] 54 | ctx2.expect().times(1).returning(|x,y: *mut bool| { [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:59:40 [ 132s] | [ 132s] 59 | ctx_d.expect().times(1).returning(|x| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:67:38 [ 132s] | [ 132s] 67 | ctx.expect().times(1).returning(|x,y| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `y` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:67:40 [ 132s] | [ 132s] 67 | ctx.expect().times(1).returning(|x,y| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:74:38 [ 132s] | [ 132s] 74 | ctx.expect().times(1).returning(|x,y| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `y` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:74:40 [ 132s] | [ 132s] 74 | ctx.expect().times(1).returning(|x,y| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:76:39 [ 132s] | [ 132s] 76 | ctx2.expect().times(1).returning(|x,y| -1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `y` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:76:41 [ 132s] | [ 132s] 76 | ctx2.expect().times(1).returning(|x,y| -1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:83:38 [ 132s] | [ 132s] 83 | ctx.expect().times(1).returning(|x,y| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `y` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:83:40 [ 132s] | [ 132s] 83 | ctx.expect().times(1).returning(|x,y| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:85:39 [ 132s] | [ 132s] 85 | ctx2.expect().times(1).returning(|x,y| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `y` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:85:41 [ 132s] | [ 132s] 85 | ctx2.expect().times(1).returning(|x,y| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:87:39 [ 132s] | [ 132s] 87 | ctx3.expect().times(1).returning(|x,y| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `y` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:87:41 [ 132s] | [ 132s] 87 | ctx3.expect().times(1).returning(|x,y| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:94:38 [ 132s] | [ 132s] 94 | ctx.expect().times(1).returning(|x,y| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `y` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:94:40 [ 132s] | [ 132s] 94 | ctx.expect().times(1).returning(|x,y| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:96:39 [ 132s] | [ 132s] 96 | ctx2.expect().times(1).returning(|x,y| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `y` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:96:41 [ 132s] | [ 132s] 96 | ctx2.expect().times(1).returning(|x,y| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:98:39 [ 132s] | [ 132s] 98 | ctx3.expect().times(1).returning(|x,y| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `y` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:98:41 [ 132s] | [ 132s] 98 | ctx3.expect().times(1).returning(|x,y| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:106:38 [ 132s] | [ 132s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `y` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:106:40 [ 132s] | [ 132s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 132s] [ 132s] warning: unused variable: `z` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:106:42 [ 132s] | [ 132s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:113:38 [ 132s] | [ 132s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `y` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:113:40 [ 132s] | [ 132s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 132s] [ 132s] warning: unused variable: `z` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:113:42 [ 132s] | [ 132s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:115:39 [ 132s] | [ 132s] 115 | ctx2.expect().times(1).returning(|x,y| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `y` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:115:41 [ 132s] | [ 132s] 115 | ctx2.expect().times(1).returning(|x,y| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:117:39 [ 132s] | [ 132s] 117 | ctx3.expect().times(1).returning(|x| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:124:38 [ 132s] | [ 132s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `y` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:124:40 [ 132s] | [ 132s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 132s] [ 132s] warning: unused variable: `z` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:124:42 [ 132s] | [ 132s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:126:39 [ 132s] | [ 132s] 126 | ctx2.expect().times(1).returning(|x,y| { [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:131:39 [ 132s] | [ 132s] 131 | ctx3.expect().times(1).returning(|x| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:138:38 [ 132s] | [ 132s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `y` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:138:40 [ 132s] | [ 132s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 132s] [ 132s] warning: unused variable: `z` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:138:42 [ 132s] | [ 132s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:140:39 [ 132s] | [ 132s] 140 | ctx2.expect().times(1).returning(|x,y| { [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:145:39 [ 132s] | [ 132s] 145 | ctx3.expect().times(1).returning(|x| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:153:38 [ 132s] | [ 132s] 153 | ctx.expect().times(1).returning(|x| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:160:38 [ 132s] | [ 132s] 160 | ctx.expect().times(1).returning(|x| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:162:39 [ 132s] | [ 132s] 162 | ctx2.expect().times(1).returning(|x,y| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `y` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:162:41 [ 132s] | [ 132s] 162 | ctx2.expect().times(1).returning(|x,y| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:164:40 [ 132s] | [ 132s] 164 | ctx_d.expect().times(1).returning(|x| -1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:171:38 [ 132s] | [ 132s] 171 | ctx.expect().times(1).returning(|x| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:173:39 [ 132s] | [ 132s] 173 | ctx2.expect().times(1).returning(|x,y| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `y` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:173:41 [ 132s] | [ 132s] 173 | ctx2.expect().times(1).returning(|x,y| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:175:39 [ 132s] | [ 132s] 175 | ctx3.expect().times(1).returning(|x,y| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `y` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:175:41 [ 132s] | [ 132s] 175 | ctx3.expect().times(1).returning(|x,y| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:177:40 [ 132s] | [ 132s] 177 | ctx_d.expect().times(1).returning(|x| -1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:184:38 [ 132s] | [ 132s] 184 | ctx.expect().times(1).returning(|x| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:186:39 [ 132s] | [ 132s] 186 | ctx2.expect().times(1).returning(|x,y| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `y` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:186:41 [ 132s] | [ 132s] 186 | ctx2.expect().times(1).returning(|x,y| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:188:39 [ 132s] | [ 132s] 188 | ctx3.expect().times(1).returning(|x,y| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `y` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:188:41 [ 132s] | [ 132s] 188 | ctx3.expect().times(1).returning(|x,y| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:190:39 [ 132s] | [ 132s] 190 | ctx4.expect().times(1).returning(|x,y| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `y` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:190:41 [ 132s] | [ 132s] 190 | ctx4.expect().times(1).returning(|x,y| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:192:40 [ 132s] | [ 132s] 192 | ctx_d.expect().times(1).returning(|x| -1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:199:38 [ 132s] | [ 132s] 199 | ctx.expect().times(1).returning(|x| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:201:39 [ 132s] | [ 132s] 201 | ctx2.expect().times(1).returning(|x,y| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `y` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:201:41 [ 132s] | [ 132s] 201 | ctx2.expect().times(1).returning(|x,y| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:203:39 [ 132s] | [ 132s] 203 | ctx3.expect().times(1).returning(|x,y| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `y` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:203:41 [ 132s] | [ 132s] 203 | ctx3.expect().times(1).returning(|x,y| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:205:39 [ 132s] | [ 132s] 205 | ctx4.expect().times(1).returning(|x,y| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `y` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:205:41 [ 132s] | [ 132s] 205 | ctx4.expect().times(1).returning(|x,y| 0); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 132s] [ 132s] warning: unused variable: `x` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:213:38 [ 132s] | [ 132s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 132s] [ 132s] warning: unused variable: `y` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:213:40 [ 132s] | [ 132s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 132s] [ 132s] warning: unused variable: `z` [ 132s] --> ./src/pkgmgr/server/test/util_tests.rs:213:42 [ 132s] | [ 132s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 132s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 132s] [ 133s] warning: unused variable: `x` [ 133s] --> ./src/pkgmgr/server/test/util_tests.rs:220:38 [ 133s] | [ 133s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 133s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 133s] [ 133s] warning: unused variable: `y` [ 133s] --> ./src/pkgmgr/server/test/util_tests.rs:220:40 [ 133s] | [ 133s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 133s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 133s] [ 133s] warning: unused variable: `z` [ 133s] --> ./src/pkgmgr/server/test/util_tests.rs:220:42 [ 133s] | [ 133s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 133s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 133s] [ 133s] warning: unused variable: `x` [ 133s] --> ./src/pkgmgr/server/test/util_tests.rs:222:39 [ 133s] | [ 133s] 222 | ctx2.expect().times(1).returning(|x,y| 1); [ 133s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 133s] [ 133s] warning: unused variable: `y` [ 133s] --> ./src/pkgmgr/server/test/util_tests.rs:222:41 [ 133s] | [ 133s] 222 | ctx2.expect().times(1).returning(|x,y| 1); [ 133s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 133s] [ 133s] warning: unused variable: `x` [ 133s] --> ./src/pkgmgr/server/test/util_tests.rs:224:40 [ 133s] | [ 133s] 224 | ctx_d.expect().times(1).returning(|x| 0); [ 133s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 133s] [ 133s] warning: unused variable: `x` [ 133s] --> ./src/pkgmgr/server/test/util_tests.rs:231:38 [ 133s] | [ 133s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 133s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 133s] [ 133s] warning: unused variable: `y` [ 133s] --> ./src/pkgmgr/server/test/util_tests.rs:231:40 [ 133s] | [ 133s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 133s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 133s] [ 133s] warning: unused variable: `z` [ 133s] --> ./src/pkgmgr/server/test/util_tests.rs:231:42 [ 133s] | [ 133s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 133s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 133s] [ 133s] warning: unused variable: `x` [ 133s] --> ./src/pkgmgr/server/test/util_tests.rs:233:39 [ 133s] | [ 133s] 233 | ctx2.expect().times(1).returning(|x,y| 0); [ 133s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 133s] [ 133s] warning: unused variable: `y` [ 133s] --> ./src/pkgmgr/server/test/util_tests.rs:233:41 [ 133s] | [ 133s] 233 | ctx2.expect().times(1).returning(|x,y| 0); [ 133s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 133s] [ 133s] warning: unused variable: `x` [ 133s] --> ./src/pkgmgr/server/test/util_tests.rs:235:39 [ 133s] | [ 133s] 235 | ctx3.expect().times(1).returning(|x,y| 1); [ 133s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 133s] [ 133s] warning: unused variable: `y` [ 133s] --> ./src/pkgmgr/server/test/util_tests.rs:235:41 [ 133s] | [ 133s] 235 | ctx3.expect().times(1).returning(|x,y| 1); [ 133s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 133s] [ 133s] warning: unused variable: `x` [ 133s] --> ./src/pkgmgr/server/test/util_tests.rs:237:40 [ 133s] | [ 133s] 237 | ctx_d.expect().times(1).returning(|x| 0); [ 133s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 133s] [ 133s] warning: unused variable: `x` [ 133s] --> ./src/pkgmgr/server/test/util_tests.rs:244:38 [ 133s] | [ 133s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 133s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 133s] [ 133s] warning: unused variable: `y` [ 133s] --> ./src/pkgmgr/server/test/util_tests.rs:244:40 [ 133s] | [ 133s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 133s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 133s] [ 133s] warning: unused variable: `z` [ 133s] --> ./src/pkgmgr/server/test/util_tests.rs:244:42 [ 133s] | [ 133s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 133s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 133s] [ 133s] warning: unused variable: `x` [ 133s] --> ./src/pkgmgr/server/test/util_tests.rs:246:39 [ 133s] | [ 133s] 246 | ctx2.expect().times(1).returning(|x,y| { [ 133s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 133s] [ 133s] warning: unused variable: `x` [ 133s] --> ./src/pkgmgr/server/test/util_tests.rs:251:39 [ 133s] | [ 133s] 251 | ctx3.expect().times(1).returning(|x, y| { [ 133s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 133s] [ 133s] warning: unused variable: `x` [ 133s] --> ./src/pkgmgr/server/test/util_tests.rs:256:40 [ 133s] | [ 133s] 256 | ctx_d.expect().times(1).returning(|x| 0); [ 133s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 133s] [ 133s] warning: unused variable: `x` [ 133s] --> ./src/pkgmgr/server/test/util_tests.rs:264:38 [ 133s] | [ 133s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 133s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 133s] [ 133s] warning: unused variable: `y` [ 133s] --> ./src/pkgmgr/server/test/util_tests.rs:264:40 [ 133s] | [ 133s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 133s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 133s] [ 133s] warning: unused variable: `z` [ 133s] --> ./src/pkgmgr/server/test/util_tests.rs:264:42 [ 133s] | [ 133s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 133s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 133s] [ 133s] warning: unused variable: `e` [ 133s] --> ./src/pkgmgr/server/test/util_tests.rs:264:44 [ 133s] | [ 133s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 133s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 133s] [ 133s] warning: unused variable: `x` [ 133s] --> ./src/pkgmgr/server/test/util_tests.rs:271:38 [ 133s] | [ 133s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 133s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 133s] [ 133s] warning: unused variable: `z` [ 133s] --> ./src/pkgmgr/server/test/util_tests.rs:271:42 [ 133s] | [ 133s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 133s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 133s] [ 133s] warning: unused variable: `e` [ 133s] --> ./src/pkgmgr/server/test/util_tests.rs:271:44 [ 133s] | [ 133s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 133s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 133s] [ 133s] warning: unused variable: `x` [ 133s] --> ./src/pkgmgr/server/test/util_tests.rs:285:38 [ 133s] | [ 133s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 133s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 133s] [ 133s] warning: unused variable: `z` [ 133s] --> ./src/pkgmgr/server/test/util_tests.rs:285:42 [ 133s] | [ 133s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 133s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 133s] [ 133s] warning: unused variable: `e` [ 133s] --> ./src/pkgmgr/server/test/util_tests.rs:285:44 [ 133s] | [ 133s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 133s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 133s] [ 133s] warning: unused variable: `x` [ 133s] --> ./src/pkgmgr/server/test/signal_tests.rs:21:38 [ 133s] | [ 133s] 21 | ctx.expect().times(1).returning(|x| 0); [ 133s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 133s] [ 133s] warning: variable does not need to be mutable [ 133s] --> ./src/pkgmgr/server/test/signal_tests.rs:19:9 [ 133s] | [ 133s] 19 | let mut uid_vec: Vec = vec![]; [ 133s] | ----^^^^^^^ [ 133s] | | [ 133s] | help: remove this `mut` [ 133s] [ 133s] warning: variable does not need to be mutable [ 133s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:7:9 [ 133s] | [ 133s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 133s] | ----^^^^^^^^^^^^^ [ 133s] | | [ 133s] | help: remove this `mut` [ 133s] [ 133s] warning: variable does not need to be mutable [ 133s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:14:9 [ 133s] | [ 133s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 133s] | ----^^^^^^^^^^^^^ [ 133s] | | [ 133s] | help: remove this `mut` [ 133s] [ 133s] warning: variable does not need to be mutable [ 133s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:7:9 [ 133s] | [ 133s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 133s] | ----^^^^^^^^^^^^^ [ 133s] | | [ 133s] | help: remove this `mut` [ 133s] [ 133s] warning: variable does not need to be mutable [ 133s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:14:9 [ 133s] | [ 133s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 133s] | ----^^^^^^^^^^^^^ [ 133s] | | [ 133s] | help: remove this `mut` [ 133s] [ 133s] warning: variable does not need to be mutable [ 133s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:7:9 [ 133s] | [ 133s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 133s] | ----^^^^^^^^^^^^^ [ 133s] | | [ 133s] | help: remove this `mut` [ 133s] [ 133s] warning: variable does not need to be mutable [ 133s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:14:9 [ 133s] | [ 133s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 133s] | ----^^^^^^^^^^^^^ [ 133s] | | [ 133s] | help: remove this `mut` [ 133s] [ 133s] warning: variable does not need to be mutable [ 133s] --> ./src/pkgmgr/server/test/info_service_tests.rs:7:9 [ 133s] | [ 133s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 133s] | ----^^^^^^^^^^^^^ [ 133s] | | [ 133s] | help: remove this `mut` [ 133s] [ 133s] warning: variable does not need to be mutable [ 133s] --> ./src/pkgmgr/server/test/info_service_tests.rs:14:9 [ 133s] | [ 133s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 133s] | ----^^^^^^^^^^^^^ [ 133s] | | [ 133s] | help: remove this `mut` [ 133s] [ 133s] warning: variable does not need to be mutable [ 133s] --> ./src/pkgmgr/server/mod.rs:89:13 [ 133s] | [ 133s] 89 | let mut backend_queue = BackendQueue::new(self.mainloop); [ 133s] | ----^^^^^^^^^^^^^ [ 133s] | | [ 133s] | help: remove this `mut` [ 133s] [ 133s] warning: unnecessary `unsafe` block [ 133s] --> ./src/pkgmgr/server/admin_service.rs:995:32 [ 133s] | [ 133s] 993 | unsafe { [ 133s] | ------ because it's nested under this `unsafe` block [ 133s] 994 | match CString::new(generated_req_key.clone()) { [ 133s] 995 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 133s] | ^^^^^^ unnecessary `unsafe` block [ 133s] | [ 133s] = note: `#[warn(unused_unsafe)]` on by default [ 133s] [ 133s] warning: unnecessary `unsafe` block [ 133s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 133s] | [ 133s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 133s] | ^^^^^^ unnecessary `unsafe` block [ 133s] | [ 133s] ::: ./src/pkgmgr/server/admin_service.rs:993:5 [ 133s] | [ 133s] 993 | unsafe { [ 133s] | ------ because it's nested under this `unsafe` block [ 133s] ... [ 133s] 997 | error!("Fail to generate req key, err({:?})", e); [ 133s] | ------------------------------------------------ in this macro invocation [ 133s] | [ 133s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 133s] [ 133s] warning: unnecessary `unsafe` block [ 133s] --> ./src/pkgmgr/server/admin_service.rs:1023:46 [ 133s] | [ 133s] 993 | unsafe { [ 133s] | ------ because it's nested under this `unsafe` block [ 133s] ... [ 133s] 1023 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 133s] | ^^^^^^ unnecessary `unsafe` block [ 133s] [ 133s] warning: unnecessary `unsafe` block [ 133s] --> ./src/pkgmgr/server/admin_service.rs:1077:32 [ 133s] | [ 133s] 1075 | unsafe { [ 133s] | ------ because it's nested under this `unsafe` block [ 133s] 1076 | match CString::new(generated_req_key.clone()) { [ 133s] 1077 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 133s] | ^^^^^^ unnecessary `unsafe` block [ 133s] [ 133s] warning: unnecessary `unsafe` block [ 133s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 133s] | [ 133s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 133s] | ^^^^^^ unnecessary `unsafe` block [ 133s] | [ 133s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 133s] | [ 133s] 1075 | unsafe { [ 133s] | ------ because it's nested under this `unsafe` block [ 133s] ... [ 133s] 1079 | error!("Fail to generate req key, err({:?})", e); [ 133s] | ------------------------------------------------ in this macro invocation [ 133s] | [ 133s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 133s] [ 133s] warning: unnecessary `unsafe` block [ 133s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 133s] | [ 133s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 133s] | ^^^^^^ unnecessary `unsafe` block [ 133s] | [ 133s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 133s] | [ 133s] 1075 | unsafe { [ 133s] | ------ because it's nested under this `unsafe` block [ 133s] ... [ 133s] 1106 | debug!("push disable pkg {pkg_id}"); [ 133s] | ----------------------------------- in this macro invocation [ 133s] | [ 133s] = 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) [ 133s] [ 133s] warning: unnecessary `unsafe` block [ 133s] --> ./src/pkgmgr/server/admin_service.rs:1108:46 [ 133s] | [ 133s] 1075 | unsafe { [ 133s] | ------ because it's nested under this `unsafe` block [ 133s] ... [ 133s] 1108 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 133s] | ^^^^^^ unnecessary `unsafe` block [ 133s] [ 133s] warning: unnecessary `unsafe` block [ 133s] --> ./src/pkgmgr/server/admin_service.rs:1537:5 [ 133s] | [ 133s] 1537 | unsafe { [ 133s] | ^^^^^^ unnecessary `unsafe` block [ 133s] [ 133s] warning: unnecessary `unsafe` block [ 133s] --> ./src/pkgmgr/server/admin_service.rs:1590:5 [ 133s] | [ 133s] 1590 | unsafe { [ 133s] | ^^^^^^ unnecessary `unsafe` block [ 133s] [ 133s] warning: unnecessary `unsafe` block [ 133s] --> ./src/pkgmgr/server/admin_service.rs:1643:32 [ 133s] | [ 133s] 1641 | unsafe { [ 133s] | ------ because it's nested under this `unsafe` block [ 133s] 1642 | match CString::new(generated_req_key.clone()) { [ 133s] 1643 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 133s] | ^^^^^^ unnecessary `unsafe` block [ 133s] [ 133s] warning: unnecessary `unsafe` block [ 133s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 133s] | [ 133s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 133s] | ^^^^^^ unnecessary `unsafe` block [ 133s] | [ 133s] ::: ./src/pkgmgr/server/admin_service.rs:1641:5 [ 133s] | [ 133s] 1641 | unsafe { [ 133s] | ------ because it's nested under this `unsafe` block [ 133s] ... [ 133s] 1645 | error!("Fail to generate req key, err({:?})", e); [ 133s] | ------------------------------------------------ in this macro invocation [ 133s] | [ 133s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 133s] [ 133s] warning: unnecessary `unsafe` block [ 133s] --> ./src/pkgmgr/server/admin_service.rs:1657:42 [ 133s] | [ 133s] 1641 | unsafe { [ 133s] | ------ because it's nested under this `unsafe` block [ 133s] ... [ 133s] 1657 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 133s] | ^^^^^^ unnecessary `unsafe` block [ 133s] [ 133s] warning: unnecessary `unsafe` block [ 133s] --> ./src/pkgmgr/server/admin_service.rs:1705:32 [ 133s] | [ 133s] 1703 | unsafe { [ 133s] | ------ because it's nested under this `unsafe` block [ 133s] 1704 | match CString::new(generated_req_key.clone()) { [ 133s] 1705 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 133s] | ^^^^^^ unnecessary `unsafe` block [ 133s] [ 133s] warning: unnecessary `unsafe` block [ 133s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 133s] | [ 133s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 133s] | ^^^^^^ unnecessary `unsafe` block [ 133s] | [ 133s] ::: ./src/pkgmgr/server/admin_service.rs:1703:5 [ 133s] | [ 133s] 1703 | unsafe { [ 133s] | ------ because it's nested under this `unsafe` block [ 133s] ... [ 133s] 1707 | error!("Fail to generate req key, err({:?})", e); [ 133s] | ------------------------------------------------ in this macro invocation [ 133s] | [ 133s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 133s] [ 133s] warning: unnecessary `unsafe` block [ 133s] --> ./src/pkgmgr/server/admin_service.rs:1719:42 [ 133s] | [ 133s] 1703 | unsafe { [ 133s] | ------ because it's nested under this `unsafe` block [ 133s] ... [ 133s] 1719 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 133s] | ^^^^^^ unnecessary `unsafe` block [ 133s] [ 133s] warning: unnecessary `unsafe` block [ 133s] --> ./src/pkgmgr/server/admin_service.rs:1767:5 [ 133s] | [ 133s] 1767 | unsafe { [ 133s] | ^^^^^^ unnecessary `unsafe` block [ 133s] [ 133s] warning: unnecessary `unsafe` block [ 133s] --> ./src/pkgmgr/server/admin_service.rs:1820:5 [ 133s] | [ 133s] 1820 | unsafe { [ 133s] | ^^^^^^ unnecessary `unsafe` block [ 133s] [ 133s] warning: unnecessary `unsafe` block [ 133s] --> ./src/pkgmgr/server/admin_service.rs:2296:17 [ 133s] | [ 133s] 2294 | unsafe { [ 133s] | ------ because it's nested under this `unsafe` block [ 133s] 2295 | if !(*value.offset(i as isize)).is_null() { [ 133s] 2296 | unsafe { free(*value.offset(i as isize) as *mut _) }; [ 133s] | ^^^^^^ unnecessary `unsafe` block [ 133s] [ 133s] warning: unnecessary `unsafe` block [ 133s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 133s] | [ 133s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 133s] | ^^^^^^ unnecessary `unsafe` block [ 133s] | [ 133s] ::: ./src/pkgmgr/server/admin_service.rs:2793:9 [ 133s] | [ 133s] 2793 | unsafe { [ 133s] | ------ because it's nested under this `unsafe` block [ 133s] 2794 | let ret = rpc_port_stub_PkgMgrAdmin_register(&mut self.callbacks, self as *mut _ as *mut c_void); [ 133s] 2795 | debug!("admin service start : {ret}"); [ 133s] | ------------------------------------- in this macro invocation [ 133s] | [ 133s] = 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) [ 133s] [ 133s] warning: unnecessary `unsafe` block [ 133s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 133s] | [ 133s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 133s] | ^^^^^^ unnecessary `unsafe` block [ 133s] | [ 133s] ::: ./src/pkgmgr/server/admin_service.rs:2801:9 [ 133s] | [ 133s] 2801 | unsafe { [ 133s] | ------ because it's nested under this `unsafe` block [ 133s] 2802 | let ret = rpc_port_stub_PkgMgrAdmin_unregister(); [ 133s] 2803 | debug!("ret : {ret}"); [ 133s] | --------------------- in this macro invocation [ 133s] | [ 133s] = 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) [ 133s] [ 133s] warning: unnecessary `unsafe` block [ 133s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 133s] | [ 133s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 133s] | ^^^^^^ unnecessary `unsafe` block [ 133s] | [ 133s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 133s] | [ 133s] 204 | unsafe { [ 133s] | ------ because it's nested under this `unsafe` block [ 133s] ... [ 133s] 210 | error!("sigprocmask failed"); [ 133s] | ---------------------------- in this macro invocation [ 133s] | [ 133s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 133s] [ 133s] warning: unnecessary `unsafe` block [ 133s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 133s] | [ 133s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 133s] | ^^^^^^ unnecessary `unsafe` block [ 133s] | [ 133s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 133s] | [ 133s] 204 | unsafe { [ 133s] | ------ because it's nested under this `unsafe` block [ 133s] ... [ 133s] 216 | error!("signalfd failed"); [ 133s] | ------------------------- in this macro invocation [ 133s] | [ 133s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 133s] [ 133s] warning: unnecessary `unsafe` block [ 133s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 133s] | [ 133s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 133s] | ^^^^^^ unnecessary `unsafe` block [ 133s] | [ 133s] ::: ./src/pkgmgr/server/cache_service.rs:134:9 [ 133s] | [ 133s] 134 | unsafe { [ 133s] | ------ because it's nested under this `unsafe` block [ 133s] ... [ 133s] 139 | debug!("cache service start : {ret}"); [ 133s] | ------------------------------------- in this macro invocation [ 133s] | [ 133s] = 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) [ 133s] [ 133s] warning: unnecessary `unsafe` block [ 133s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 133s] | [ 133s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 133s] | ^^^^^^ unnecessary `unsafe` block [ 133s] | [ 133s] ::: ./src/pkgmgr/server/cache_service.rs:145:9 [ 133s] | [ 133s] 145 | unsafe { [ 133s] | ------ because it's nested under this `unsafe` block [ 133s] 146 | let ret = rpc_port_stub_PkgMgrForClearCache_unregister(); [ 133s] 147 | debug!("ret : {ret}"); [ 133s] | --------------------- in this macro invocation [ 133s] | [ 133s] = 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) [ 133s] [ 133s] warning: unnecessary `unsafe` block [ 133s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 133s] | [ 133s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 133s] | ^^^^^^ unnecessary `unsafe` block [ 133s] | [ 133s] ::: ./src/pkgmgr/server/delayed_service.rs:107:9 [ 133s] | [ 133s] 107 | unsafe { [ 133s] | ------ because it's nested under this `unsafe` block [ 133s] ... [ 133s] 112 | debug!("delayed result service start : {ret}"); [ 133s] | ---------------------------------------------- in this macro invocation [ 133s] | [ 133s] = 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) [ 133s] [ 133s] warning: unnecessary `unsafe` block [ 133s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 133s] | [ 133s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 133s] | ^^^^^^ unnecessary `unsafe` block [ 133s] | [ 133s] ::: ./src/pkgmgr/server/delayed_service.rs:118:9 [ 133s] | [ 133s] 118 | unsafe { [ 133s] | ------ because it's nested under this `unsafe` block [ 133s] 119 | let ret = rpc_port_stub_DelayedResult_unregister(); [ 133s] 120 | debug!("ret : {ret}"); [ 133s] | --------------------- in this macro invocation [ 133s] | [ 133s] = 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) [ 133s] [ 133s] warning: unnecessary `unsafe` block [ 133s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 133s] | [ 133s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 133s] | ^^^^^^ unnecessary `unsafe` block [ 133s] | [ 133s] ::: ./src/pkgmgr/server/info_service.rs:165:13 [ 133s] | [ 133s] 165 | unsafe { [ 133s] | ------ because it's nested under this `unsafe` block [ 133s] 166 | if mkfifo(fifo_path.as_ptr() as *const c_char, 0o600) < 0 { [ 133s] 167 | error!("Failed to mkfifo"); [ 133s] | -------------------------- in this macro invocation [ 133s] | [ 133s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 133s] [ 133s] warning: unnecessary `unsafe` block [ 133s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 133s] | [ 133s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 133s] | ^^^^^^ unnecessary `unsafe` block [ 133s] | [ 133s] ::: ./src/pkgmgr/server/info_service.rs:268:9 [ 133s] | [ 133s] 268 | unsafe { [ 133s] | ------ because it's nested under this `unsafe` block [ 133s] ... [ 133s] 273 | debug!("info service start : {ret}"); [ 133s] | ------------------------------------ in this macro invocation [ 133s] | [ 133s] = 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) [ 133s] [ 133s] warning: unnecessary `unsafe` block [ 133s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 133s] | [ 133s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 133s] | ^^^^^^ unnecessary `unsafe` block [ 133s] | [ 133s] ::: ./src/pkgmgr/server/info_service.rs:279:9 [ 133s] | [ 133s] 279 | unsafe { [ 133s] | ------ because it's nested under this `unsafe` block [ 133s] 280 | let ret = rpc_port_stub_PkgMgr_unregister(); [ 133s] 281 | debug!("ret : {ret}"); [ 133s] | --------------------- in this macro invocation [ 133s] | [ 133s] = 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) [ 133s] [ 133s] warning: unnecessary `unsafe` block [ 133s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 133s] | [ 133s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 133s] | ^^^^^^ unnecessary `unsafe` block [ 133s] | [ 133s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 133s] | [ 133s] 131 | unsafe { [ 133s] | ------ because it's nested under this `unsafe` block [ 133s] ... [ 133s] 134 | error!("Failure in creating the pkgmgr_installer object"); [ 133s] | --------------------------------------------------------- in this macro invocation [ 133s] | [ 133s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 133s] [ 133s] warning: unnecessary `unsafe` block [ 133s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 133s] | [ 133s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 133s] | ^^^^^^ unnecessary `unsafe` block [ 133s] | [ 133s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 133s] | [ 133s] 131 | unsafe { [ 133s] | ------ because it's nested under this `unsafe` block [ 133s] ... [ 133s] 139 | error!("pkgmgr_installer_set_uid fail"); [ 133s] | --------------------------------------- in this macro invocation [ 133s] | [ 133s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 133s] [ 133s] warning: unnecessary `unsafe` block [ 133s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 133s] | [ 133s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 133s] | ^^^^^^ unnecessary `unsafe` block [ 133s] | [ 133s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 133s] | [ 133s] 131 | unsafe { [ 133s] | ------ because it's nested under this `unsafe` block [ 133s] ... [ 133s] 154 | warn!("Unsupported req_type[{}]", req_type as c_int); [ 133s] | ---------------------------------------------------- in this macro invocation [ 133s] | [ 133s] = 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) [ 133s] [ 133s] warning: unnecessary `unsafe` block [ 133s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 133s] | [ 133s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 133s] | ^^^^^^ unnecessary `unsafe` block [ 133s] | [ 133s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 133s] | [ 133s] 131 | unsafe { [ 133s] | ------ because it's nested under this `unsafe` block [ 133s] ... [ 133s] 161 | error!("pkgmgr_installer_set_request_type fail"); [ 133s] | ------------------------------------------------ in this macro invocation [ 133s] | [ 133s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 133s] [ 133s] warning: unnecessary `unsafe` block [ 133s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 133s] | [ 133s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 133s] | ^^^^^^ unnecessary `unsafe` block [ 133s] | [ 133s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 133s] | [ 133s] 131 | unsafe { [ 133s] | ------ because it's nested under this `unsafe` block [ 133s] ... [ 133s] 168 | error!("pkgmgr_installer_set_session_id fail : {:?}", c_req_id); [ 133s] | --------------------------------------------------------------- in this macro invocation [ 133s] | [ 133s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 133s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 134s] | [ 134s] 309 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] 310 | if pkgmgrinfo_appinfo_get_appid(pkgmgrinfo_appinfo_h, &mut app_id) != 0 { [ 134s] 311 | error!("Failed get appid"); [ 134s] | -------------------------- in this macro invocation [ 134s] | [ 134s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 134s] | [ 134s] 309 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] ... [ 134s] 314 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 134s] | --------------------------------------------------------- in this macro invocation [ 134s] | [ 134s] = 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) [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/server/util.rs:326:46 [ 134s] | [ 134s] 325 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 134s] | [ 134s] 325 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] ... [ 134s] 329 | error!("Failed get appid"); [ 134s] | -------------------------- in this macro invocation [ 134s] | [ 134s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 134s] | [ 134s] 325 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] ... [ 134s] 333 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 134s] | --------------------------------------------------------- in this macro invocation [ 134s] | [ 134s] = 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) [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 134s] | [ 134s] 342 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] ... [ 134s] 355 | error!("getsize fd read failed: {:?}", Util::c_char_to_cstr((*err).message)); [ 134s] | ---------------------------------------------------------------------------- in this macro invocation [ 134s] | [ 134s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 134s] | [ 134s] 342 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] ... [ 134s] 361 | error!("empty result"); [ 134s] | ---------------------- in this macro invocation [ 134s] | [ 134s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 134s] | [ 134s] 390 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] ... [ 134s] 399 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 134s] | --------------------------------------------------------- in this macro invocation [ 134s] | [ 134s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 134s] | [ 134s] 390 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] ... [ 134s] 406 | error!("Fail to get is readonly"); [ 134s] | --------------------------------- in this macro invocation [ 134s] | [ 134s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 134s] | [ 134s] 422 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] ... [ 134s] 429 | error!("Not found package"); [ 134s] | --------------------------- in this macro invocation [ 134s] | [ 134s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 134s] | [ 134s] 422 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] ... [ 134s] 445 | debug!("pkgtype - {ret_string}"); [ 134s] | -------------------------------- in this macro invocation [ 134s] | [ 134s] = 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) [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:803:9 [ 134s] | [ 134s] 803 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] 804 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 134s] 805 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 134s] | ------------------------------------------------------ in this macro invocation [ 134s] | [ 134s] = 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) [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 134s] | [ 134s] 814 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] 815 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 134s] 816 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 134s] | ------------------------------------------------------ in this macro invocation [ 134s] | [ 134s] = 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) [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 134s] | [ 134s] 814 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] ... [ 134s] 822 | error!("Failed to get pid of app{:?}", CStr::from_ptr(appid)); [ 134s] | ------------------------------------------------------------- in this macro invocation [ 134s] | [ 134s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 134s] | [ 134s] 814 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] ... [ 134s] 828 | error!("Failed to terminate app{:?}", CStr::from_ptr(appid)); [ 134s] | ------------------------------------------------------------ in this macro invocation [ 134s] | [ 134s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 134s] | [ 134s] 836 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] ... [ 134s] 840 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 134s] | --------------------------------------------------------- in this macro invocation [ 134s] | [ 134s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 134s] | [ 134s] 836 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] ... [ 134s] 848 | error!("Failed to get list for {:?}", CStr::from_ptr(pkgid)); [ 134s] | ------------------------------------------------------------ in this macro invocation [ 134s] | [ 134s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 134s] | [ 134s] 859 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] ... [ 134s] 863 | warn!("cannot get user information from gumd, retry"); [ 134s] | ----------------------------------------------------- in this macro invocation [ 134s] | [ 134s] = 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) [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 134s] | [ 134s] 859 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] ... [ 134s] 871 | error!("cannot get user information from gumd, failed"); [ 134s] | ------------------------------------------------------- in this macro invocation [ 134s] | [ 134s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 134s] | [ 134s] 859 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] ... [ 134s] 877 | error!("cannot get user type"); [ 134s] | ------------------------------ in this macro invocation [ 134s] | [ 134s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 134s] | [ 134s] 892 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] ... [ 134s] 895 | error!("Failed to get the number of supplementary group IDs"); [ 134s] | ------------------------------------------------------------- in this macro invocation [ 134s] | [ 134s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 134s] | [ 134s] 892 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] ... [ 134s] 901 | error!("Failed to get list of supplementary group IDs"); [ 134s] | ------------------------------------------------------- in this macro invocation [ 134s] | [ 134s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 134s] | [ 134s] 892 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] ... [ 134s] 908 | error!("setgroups failed: {}", *__errno_location()); [ 134s] | --------------------------------------------------- in this macro invocation [ 134s] | [ 134s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 134s] | [ 134s] 928 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] ... [ 134s] 942 | error!("getpwuid_r fail"); [ 134s] | ------------------------- in this macro invocation [ 134s] | [ 134s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 134s] | [ 134s] 928 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] ... [ 134s] 949 | error!("Fail to get str, err({:?})", e); [ 134s] | --------------------------------------- in this macro invocation [ 134s] | [ 134s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 134s] | [ 134s] 928 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] ... [ 134s] 957 | error!("Fail to get str, err({:?})", e); [ 134s] | --------------------------------------- in this macro invocation [ 134s] | [ 134s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 134s] | [ 134s] 928 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] ... [ 134s] 966 | error!("Failed to set env for the user : {}", APPFW_UID); [ 134s] | -------------------------------------------------------- in this macro invocation [ 134s] | [ 134s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 134s] | [ 134s] 984 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] ... [ 134s] 987 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 134s] | ----------------------------------------------------------------------------------- in this macro invocation [ 134s] | [ 134s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 134s] | [ 134s] 984 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] ... [ 134s] 993 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 134s] | ---------------------------------------------------------------------------- in this macro invocation [ 134s] | [ 134s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 134s] | [ 134s] 984 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] ... [ 134s] 1000 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 134s] | ---------------------------------------------------------------------------- in this macro invocation [ 134s] | [ 134s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/server/util.rs:1005:40 [ 134s] | [ 134s] 984 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] ... [ 134s] 1005 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) } ); [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 134s] | [ 134s] 1081 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] ... [ 134s] 1084 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 134s] | ----------------------------------------------------------------------------------- in this macro invocation [ 134s] | [ 134s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 134s] | [ 134s] 1081 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] ... [ 134s] 1090 | error!("Failed get root path for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 134s] | --------------------------------------------------------------------------- in this macro invocation [ 134s] | [ 134s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 134s] | [ 134s] 1081 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] ... [ 134s] 1098 | error!("Invalid path[{:?}]", Self::c_char_to_cstr(icon_path)); [ 134s] | ------------------------------------------------------------- in this macro invocation [ 134s] | [ 134s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:1109:9 [ 134s] | [ 134s] 1109 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] ... [ 134s] 1119 | error!("Fail to get list for {:?}", CStr::from_ptr(pkgid)); [ 134s] | ---------------------------------------------------------- in this macro invocation [ 134s] | [ 134s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 134s] | [ 134s] 1129 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] ... [ 134s] 1132 | error!("failed to open the fifo({}), errno({})", fifo_path, *__errno_location()); [ 134s] | -------------------------------------------------------------------------------- in this macro invocation [ 134s] | [ 134s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 134s] [ 134s] warning: unnecessary `unsafe` block [ 134s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 134s] | [ 134s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 134s] | ^^^^^^ unnecessary `unsafe` block [ 134s] | [ 134s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 134s] | [ 134s] 1129 | unsafe { [ 134s] | ------ because it's nested under this `unsafe` block [ 134s] ... [ 134s] 1155 | error!("failed to add io watch"); [ 134s] | -------------------------------- in this macro invocation [ 134s] | [ 134s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 134s] [ 134s] warning: constant `SD_LISTEN_FDS_START` is never used [ 134s] --> ./src/pkgmgr/server/mod.rs:28:7 [ 134s] | [ 134s] 28 | const SD_LISTEN_FDS_START: i32 = 3; [ 134s] | ^^^^^^^^^^^^^^^^^^^ [ 134s] | [ 134s] = note: `#[warn(dead_code)]` on by default [ 134s] [ 134s] warning: multiple variants are never constructed [ 134s] --> ./src/pkgmgr/server/mod.rs:43:5 [ 134s] | [ 134s] 42 | enum AUL_RETURN_VALUE { [ 134s] | ---------------- variants in this enum [ 134s] 43 | AUL_R_ENOMEM = -16, //< Out of memory (Since 5.5) [ 134s] | ^^^^^^^^^^^^ [ 134s] 44 | AUL_R_ENOENT = -15, //< App directory entry error [ 134s] | ^^^^^^^^^^^^ [ 134s] 45 | AUL_R_EREJECTED = -14, //< App disable for mode [ 134s] | ^^^^^^^^^^^^^^^ [ 134s] 46 | AUL_R_ENOAPP = -13, //< Failed to find app ID or pkg ID [ 134s] | ^^^^^^^^^^^^ [ 134s] 47 | AUL_R_EHIDDENFORGUEST = -11, //< App hidden for guest mode [ 134s] | ^^^^^^^^^^^^^^^^^^^^^ [ 134s] 48 | AUL_R_ENOLAUNCHPAD = -10, //< no launchpad [ 134s] | ^^^^^^^^^^^^^^^^^^ [ 134s] 49 | AUL_R_ETERMINATING = -9, //< application terminating [ 134s] | ^^^^^^^^^^^^^^^^^^ [ 134s] 50 | AUL_R_EILLACC = -8, //< Illegal Access [ 134s] | ^^^^^^^^^^^^^ [ 134s] 51 | AUL_R_LOCAL = -7, //< Launch by himself [ 134s] | ^^^^^^^^^^^ [ 134s] 52 | AUL_R_ETIMEOUT = -6, //< Timeout [ 134s] | ^^^^^^^^^^^^^^ [ 134s] 53 | AUL_R_ECANCELED = -5, //< Operation canceled [ 134s] | ^^^^^^^^^^^^^^^ [ 134s] 54 | AUL_R_EINVAL = -4, //< Invalid argument [ 134s] | ^^^^^^^^^^^^ [ 134s] 55 | AUL_R_ECOMM = -3, //< Comunication Error [ 134s] | ^^^^^^^^^^^ [ 134s] 56 | AUL_R_ENOINIT = -2, //< AUL handler NOT initialized [ 134s] | ^^^^^^^^^^^^^ [ 134s] 57 | AUL_R_ERROR = -1, //< General error [ 134s] | ^^^^^^^^^^^ [ 134s] [ 134s] warning: field `timer` is never read [ 134s] --> ./src/pkgmgr/server/mod.rs:63:5 [ 134s] | [ 134s] 61 | pub struct Server { [ 134s] | ------ field in this struct [ 134s] 62 | mainloop: *mut GMainLoop, [ 134s] 63 | timer: c_uint [ 134s] | ^^^^^ [ 134s] [ 134s] warning: variants `IO_ERROR`, `OUT_OF_MEMORY`, `INVALID_PARAMETER`, and `PERMISSION_DENIED` are never constructed [ 134s] --> ./src/pkgmgr/server/admin_service.rs:29:5 [ 134s] | [ 134s] 27 | enum RPC_PORT_ERROR { [ 134s] | -------------- variants in this enum [ 134s] 28 | NONE = 0, //< Successful [ 134s] 29 | IO_ERROR = -5, //< Internal I/O error [ 134s] | ^^^^^^^^ [ 134s] 30 | OUT_OF_MEMORY = -12, //< Out of memory [ 134s] | ^^^^^^^^^^^^^ [ 134s] 31 | INVALID_PARAMETER = -22, //< Invalid parameter [ 134s] | ^^^^^^^^^^^^^^^^^ [ 134s] 32 | PERMISSION_DENIED = -13, //< Permission denied [ 134s] | ^^^^^^^^^^^^^^^^^ [ 134s] [ 134s] warning: method `generate_request_id` is never used [ 134s] --> ./src/pkgmgr/server/admin_service.rs:2786:8 [ 134s] | [ 134s] 2713 | impl AdminService { [ 134s] | ----------------- method in this implementation [ 134s] ... [ 134s] 2786 | fn generate_request_id(&self) -> String { [ 134s] | ^^^^^^^^^^^^^^^^^^^ [ 134s] [ 134s] warning: field `request_type` is never read [ 134s] --> ./src/pkgmgr/server/backend_context.rs:7:5 [ 134s] | [ 134s] 6 | pub struct BackendContext { [ 134s] | -------------- field in this struct [ 134s] 7 | request_type: RequestType, [ 134s] | ^^^^^^^^^^^^ [ 134s] [ 134s] warning: type alias `GIOChannel` is never used [ 134s] --> ./src/pkgmgr/server/backend_queue.rs:14:6 [ 134s] | [ 134s] 14 | type GIOChannel = *mut c_void; [ 134s] | ^^^^^^^^^^ [ 134s] [ 134s] warning: type alias `GIOCondition` is never used [ 134s] --> ./src/pkgmgr/server/backend_queue.rs:15:6 [ 134s] | [ 134s] 15 | type GIOCondition = c_int; [ 134s] | ^^^^^^^^^^^^ [ 134s] [ 134s] warning: variants `EIO`, `ENOPKG`, `EPRIV`, `ETIMEOUT`, `EINVAL`, and `ECOMM` are never constructed [ 134s] --> ./src/pkgmgr/server/info_service.rs:22:5 [ 134s] | [ 134s] 20 | enum PKGMGR_RETURN_VALUE { [ 134s] | ------------------- variants in this enum [ 134s] 21 | ESYSTEM = -9, // Severe system error [ 134s] 22 | EIO = -8, // IO error [ 134s] | ^^^ [ 134s] 23 | ENOMEM = -7, // Out of memory [ 134s] 24 | ENOPKG = -6, // No such package [ 134s] | ^^^^^^ [ 134s] 25 | EPRIV = -5, // Privilege denied [ 134s] | ^^^^^ [ 134s] 26 | ETIMEOUT = -4, // Timeout [ 134s] | ^^^^^^^^ [ 134s] 27 | EINVAL = -3, // Invalid argument [ 134s] | ^^^^^^ [ 134s] 28 | ECOMM = -2, // Comunication Error [ 134s] | ^^^^^ [ 134s] [ 134s] warning: variants `EPRIV` and `ETIMEOUT` are never constructed [ 134s] --> ./src/pkgmgr/server/pkgmgr_return_value.rs:8:5 [ 134s] | [ 134s] 3 | pub enum PKGMGR_RETURN_VALUE { [ 134s] | ------------------- variants in this enum [ 134s] ... [ 134s] 8 | EPRIV = -5, // Privilege denied [ 134s] | ^^^^^ [ 134s] 9 | ETIMEOUT = -4, // Timeout [ 134s] | ^^^^^^^^ [ 134s] [ 134s] warning: variants `KILL`, `CHECK`, `ENABLE_APP_SPLASH_SCREEN`, `DISABLE_APP_SPLASH_SCREEN`, and `MIGRATE_EXTERNAL_IMAGE` are never constructed [ 134s] --> ./src/pkgmgr/server/request_type.rs:20:5 [ 134s] | [ 134s] 1 | pub enum RequestType { [ 134s] | ----------- variants in this enum [ 134s] ... [ 134s] 20 | KILL, [ 134s] | ^^^^ [ 134s] 21 | CHECK, [ 134s] | ^^^^^ [ 134s] ... [ 134s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 134s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 134s] ... [ 134s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 134s] [ 134s] warning: multiple variants are never constructed [ 134s] --> ./src/pkgmgr/server/signal.rs:10:2 [ 134s] | [ 134s] 9 | enum PKGMGR_REQ { [ 134s] | ---------- variants in this enum [ 134s] 10 | PERM = -1, [ 134s] | ^^^^ [ 134s] 11 | INVALID = 0, [ 134s] | ^^^^^^^ [ 134s] 12 | INSTALL = 1, [ 134s] | ^^^^^^^ [ 134s] 13 | UNINSTALL = 2, [ 134s] | ^^^^^^^^^ [ 134s] 14 | CLEAR = 3, [ 134s] | ^^^^^ [ 134s] 15 | MOVE = 4, [ 134s] | ^^^^ [ 134s] 16 | RECOVER = 5, [ 134s] | ^^^^^^^ [ 134s] 17 | REINSTALL = 6, [ 134s] | ^^^^^^^^^ [ 134s] 18 | GETSIZE = 7, [ 134s] | ^^^^^^^ [ 134s] 19 | UPGRADE = 8, [ 134s] | ^^^^^^^ [ 134s] 20 | SMACK = 9, [ 134s] | ^^^^^ [ 134s] 21 | MANIFEST_DIRECT_INSTALL = 10, [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 134s] ... [ 134s] 26 | MOUNT_INSTALL = 15, [ 134s] | ^^^^^^^^^^^^^ [ 134s] 27 | DISABLE_PKG = 16, [ 134s] | ^^^^^^^^^^^ [ 134s] 28 | ENABLE_PKG = 17, [ 134s] | ^^^^^^^^^^ [ 134s] 29 | MIGRATE_EXTIMG = 18, [ 134s] | ^^^^^^^^^^^^^^ [ 134s] 30 | RECOVER_DB = 19, [ 134s] | ^^^^^^^^^^ [ 134s] 31 | RES_COPY = 20, [ 134s] | ^^^^^^^^ [ 134s] 32 | RES_CREATE_DIR = 21, [ 134s] | ^^^^^^^^^^^^^^ [ 134s] 33 | RES_REMOVE = 22, [ 134s] | ^^^^^^^^^^ [ 134s] 34 | RES_UNINSTALL = 23 [ 134s] | ^^^^^^^^^^^^^ [ 134s] [ 134s] warning: constant `TZ_SYS_GLOBALAPP_USER` is never used [ 134s] --> ./src/pkgmgr/server/signal.rs:97:7 [ 134s] | [ 134s] 97 | const TZ_SYS_GLOBALAPP_USER: c_int = 22; [ 134s] | ^^^^^^^^^^^^^^^^^^^^^ [ 134s] [ 134s] warning: function `tzplatform_getuid` is never used [ 134s] --> ./src/pkgmgr/server/signal.rs:53:12 [ 134s] | [ 134s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 134s] | ^^^^^^^^^^^^^^^^^ [ 134s] [ 134s] warning: function `sd_get_uids` is never used [ 134s] --> ./src/pkgmgr/server/signal.rs:44:16 [ 134s] | [ 134s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 134s] | ^^^^^^^^^^^ [ 134s] [ 134s] warning: constant `XML_READER_TYPE_ELEMENT` is never used [ 134s] --> ./src/pkgmgr/server/util.rs:29:7 [ 134s] | [ 134s] 29 | const XML_READER_TYPE_ELEMENT: i32 = 1; [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 134s] [ 134s] warning: constant `XML_READER_TYPE_TEXT` is never used [ 134s] --> ./src/pkgmgr/server/util.rs:30:7 [ 134s] | [ 134s] 30 | const XML_READER_TYPE_TEXT: i32 = 3; [ 134s] | ^^^^^^^^^^^^^^^^^^^^ [ 134s] [ 134s] warning: constant `XML_READER_TYPE_END_ELEMENT` is never used [ 134s] --> ./src/pkgmgr/server/util.rs:31:7 [ 134s] | [ 134s] 31 | const XML_READER_TYPE_END_ELEMENT: i32 = 15; [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 134s] [ 134s] warning: type alias `GIOChannel` is never used [ 134s] --> ./src/pkgmgr/server/util.rs:33:6 [ 134s] | [ 134s] 33 | type GIOChannel = *mut c_void; [ 134s] | ^^^^^^^^^^ [ 134s] [ 134s] warning: variants `PMINFO_UI_APP`, `PMINFO_SVC_APP`, `PMINFO_WIDGET_APP`, `PMINFO_WATCH_APP`, and `PMINFO_COMPONENT_BASED_APP` are never constructed [ 134s] --> ./src/pkgmgr/server/util.rs:136:5 [ 134s] | [ 134s] 134 | enum PKGMGRINFO_APP_COMPONENT { [ 134s] | ------------------------ variants in this enum [ 134s] 135 | PMINFO_ALL_APP = 0, //< All Application [ 134s] 136 | PMINFO_UI_APP, //< UI Application [ 134s] | ^^^^^^^^^^^^^ [ 134s] 137 | PMINFO_SVC_APP, //< Service Application [ 134s] | ^^^^^^^^^^^^^^ [ 134s] 138 | PMINFO_WIDGET_APP, //< Widget Application [ 134s] | ^^^^^^^^^^^^^^^^^ [ 134s] 139 | PMINFO_WATCH_APP, //< Watch Application [ 134s] | ^^^^^^^^^^^^^^^^ [ 134s] 140 | PMINFO_COMPONENT_BASED_APP, //< Component-based Application (Since 5.5) [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 134s] [ 134s] warning: associated functions `EnableAppSplashScreen` and `DisableAppSplashScreen` are never used [ 134s] --> ./src/pkgmgr/server/util.rs:766:12 [ 134s] | [ 134s] 384 | impl Util { [ 134s] | --------- associated functions in this implementation [ 134s] ... [ 134s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^ [ 134s] ... [ 134s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 134s] [ 134s] warning: function `pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db` is never used [ 134s] --> ./src/pkgmgr/server/util.rs:204:8 [ 134s] | [ 134s] 204 | fn pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db( [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 134s] [ 134s] warning: function `pkgmgrinfo_pkginfo_get_usr_pkginfo` is never used [ 134s] --> ./src/pkgmgr/server/util.rs:44:16 [ 134s] | [ 134s] 44 | pub fn pkgmgrinfo_pkginfo_get_usr_pkginfo( [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 134s] [ 134s] warning: function `pkgmgrinfo_pkginfo_get_usr_disabled_pkginfo` is never used [ 134s] --> ./src/pkgmgr/server/util.rs:50:16 [ 134s] | [ 134s] 50 | pub fn pkgmgrinfo_pkginfo_get_usr_disabled_pkginfo( [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 134s] [ 134s] warning: function `pkgmgrinfo_pkginfo_is_readonly` is never used [ 134s] --> ./src/pkgmgr/server/util.rs:56:16 [ 134s] | [ 134s] 56 | pub fn pkgmgrinfo_pkginfo_is_readonly( [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 134s] [ 134s] warning: function `pkgmgrinfo_pkginfo_destroy_pkginfo` is never used [ 134s] --> ./src/pkgmgr/server/util.rs:61:16 [ 134s] | [ 134s] 61 | pub fn pkgmgrinfo_pkginfo_destroy_pkginfo( [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 134s] [ 134s] warning: function `pkgmgrinfo_pkginfo_get_usr_all_pkginfo` is never used [ 134s] --> ./src/pkgmgr/server/util.rs:65:16 [ 134s] | [ 134s] 65 | pub fn pkgmgrinfo_pkginfo_get_usr_all_pkginfo( [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 134s] [ 134s] warning: function `pkgmgrinfo_pkginfo_get_type` is never used [ 134s] --> ./src/pkgmgr/server/util.rs:71:16 [ 134s] | [ 134s] 71 | pub fn pkgmgrinfo_pkginfo_get_type( [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 134s] [ 134s] warning: function `pkgmgrinfo_updateinfo_create` is never used [ 134s] --> ./src/pkgmgr/server/util.rs:76:16 [ 134s] | [ 134s] 76 | pub fn pkgmgrinfo_updateinfo_create( [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 134s] [ 134s] warning: function `pkgmgrinfo_updateinfo_set_pkgid` is never used [ 134s] --> ./src/pkgmgr/server/util.rs:80:16 [ 134s] | [ 134s] 80 | pub fn pkgmgrinfo_updateinfo_set_pkgid( [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 134s] [ 134s] warning: function `pkgmgrinfo_updateinfo_set_version` is never used [ 134s] --> ./src/pkgmgr/server/util.rs:85:16 [ 134s] | [ 134s] 85 | pub fn pkgmgrinfo_updateinfo_set_version( [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 134s] [ 134s] warning: function `pkgmgrinfo_updateinfo_set_type` is never used [ 134s] --> ./src/pkgmgr/server/util.rs:90:16 [ 134s] | [ 134s] 90 | pub fn pkgmgrinfo_updateinfo_set_type( [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 134s] [ 134s] warning: function `pkgmgrinfo_updateinfo_destroy` is never used [ 134s] --> ./src/pkgmgr/server/util.rs:95:16 [ 134s] | [ 134s] 95 | pub fn pkgmgrinfo_updateinfo_destroy( [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 134s] [ 134s] warning: function `pkgmgrinfo_appinfo_get_usr_all_appinfo` is never used [ 134s] --> ./src/pkgmgr/server/util.rs:99:16 [ 134s] | [ 134s] 99 | pub fn pkgmgrinfo_appinfo_get_usr_all_appinfo( [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 134s] [ 134s] warning: function `pkgmgrinfo_appinfo_is_global` is never used [ 134s] --> ./src/pkgmgr/server/util.rs:105:16 [ 134s] | [ 134s] 105 | pub fn pkgmgrinfo_appinfo_is_global( [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 134s] [ 134s] warning: function `pkgmgrinfo_appinfo_get_pkgid` is never used [ 134s] --> ./src/pkgmgr/server/util.rs:110:16 [ 134s] | [ 134s] 110 | pub fn pkgmgrinfo_appinfo_get_pkgid( [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 134s] [ 134s] warning: function `pkgmgrinfo_appinfo_destroy_appinfo` is never used [ 134s] --> ./src/pkgmgr/server/util.rs:115:16 [ 134s] | [ 134s] 115 | pub fn pkgmgrinfo_appinfo_destroy_appinfo( [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 134s] [ 134s] warning: function `aul_app_is_running_for_uid` is never used [ 134s] --> ./src/pkgmgr/server/util.rs:122:16 [ 134s] | [ 134s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 134s] [ 134s] warning: function `aul_app_get_pid_for_uid` is never used [ 134s] --> ./src/pkgmgr/server/util.rs:123:16 [ 134s] | [ 134s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 134s] [ 134s] warning: function `aul_terminate_pid_for_uid` is never used [ 134s] --> ./src/pkgmgr/server/util.rs:124:16 [ 134s] | [ 134s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 134s] [ 134s] warning: function `aul_app_get_pkgid_bypid_for_uid` is never used [ 134s] --> ./src/pkgmgr/server/util.rs:125:16 [ 134s] | [ 134s] 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; [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 134s] [ 134s] warning: unused `Result` that must be used [ 134s] --> ./src/main.rs:14:5 [ 134s] | [ 134s] 14 | pkgmgr::server::Server::run(&mut server); [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 134s] | [ 134s] = note: this `Result` may be an `Err` variant, which should be handled [ 134s] = note: `#[warn(unused_must_use)]` on by default [ 134s] help: use `let _ = ...` to ignore the resulting value [ 134s] | [ 134s] 14 | let _ = pkgmgr::server::Server::run(&mut server); [ 134s] | +++++++ [ 134s] [ 134s] warning: unused `Result` that must be used [ 134s] --> ./src/pkgmgr/server/mod.rs:93:9 [ 134s] | [ 134s] 93 | admin_service.run(); [ 134s] | ^^^^^^^^^^^^^^^^^^^ [ 134s] | [ 134s] = note: this `Result` may be an `Err` variant, which should be handled [ 134s] help: use `let _ = ...` to ignore the resulting value [ 134s] | [ 134s] 93 | let _ = admin_service.run(); [ 134s] | +++++++ [ 134s] [ 134s] warning: unused `Result` that must be used [ 134s] --> ./src/pkgmgr/server/mod.rs:95:9 [ 134s] | [ 134s] 95 | cache_service.run(); [ 134s] | ^^^^^^^^^^^^^^^^^^^ [ 134s] | [ 134s] = note: this `Result` may be an `Err` variant, which should be handled [ 134s] help: use `let _ = ...` to ignore the resulting value [ 134s] | [ 134s] 95 | let _ = cache_service.run(); [ 134s] | +++++++ [ 134s] [ 134s] warning: unused `Result` that must be used [ 134s] --> ./src/pkgmgr/server/mod.rs:97:9 [ 134s] | [ 134s] 97 | info_service.run(); [ 134s] | ^^^^^^^^^^^^^^^^^^ [ 134s] | [ 134s] = note: this `Result` may be an `Err` variant, which should be handled [ 134s] help: use `let _ = ...` to ignore the resulting value [ 134s] | [ 134s] 97 | let _ = info_service.run(); [ 134s] | +++++++ [ 134s] [ 134s] warning: unused `Result` that must be used [ 134s] --> ./src/pkgmgr/server/mod.rs:99:9 [ 134s] | [ 134s] 99 | delayed_result_service.run(); [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 134s] | [ 134s] = note: this `Result` may be an `Err` variant, which should be handled [ 134s] help: use `let _ = ...` to ignore the resulting value [ 134s] | [ 134s] 99 | let _ = delayed_result_service.run(); [ 134s] | +++++++ [ 134s] [ 134s] warning: unused `Result` that must be used [ 134s] --> ./src/pkgmgr/server/mod.rs:109:9 [ 134s] | [ 134s] 109 | admin_service.stop(); [ 134s] | ^^^^^^^^^^^^^^^^^^^^ [ 134s] | [ 134s] = note: this `Result` may be an `Err` variant, which should be handled [ 134s] help: use `let _ = ...` to ignore the resulting value [ 134s] | [ 134s] 109 | let _ = admin_service.stop(); [ 134s] | +++++++ [ 134s] [ 134s] warning: unused `Result` that must be used [ 134s] --> ./src/pkgmgr/server/mod.rs:110:9 [ 134s] | [ 134s] 110 | cache_service.stop(); [ 134s] | ^^^^^^^^^^^^^^^^^^^^ [ 134s] | [ 134s] = note: this `Result` may be an `Err` variant, which should be handled [ 134s] help: use `let _ = ...` to ignore the resulting value [ 134s] | [ 134s] 110 | let _ = cache_service.stop(); [ 134s] | +++++++ [ 134s] [ 134s] warning: unused `Result` that must be used [ 134s] --> ./src/pkgmgr/server/mod.rs:111:9 [ 134s] | [ 134s] 111 | info_service.stop(); [ 134s] | ^^^^^^^^^^^^^^^^^^^ [ 134s] | [ 134s] = note: this `Result` may be an `Err` variant, which should be handled [ 134s] help: use `let _ = ...` to ignore the resulting value [ 134s] | [ 134s] 111 | let _ = info_service.stop(); [ 134s] | +++++++ [ 134s] [ 134s] warning: unused `Result` that must be used [ 134s] --> ./src/pkgmgr/server/mod.rs:112:9 [ 134s] | [ 134s] 112 | delayed_result_service.stop(); [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 134s] | [ 134s] = note: this `Result` may be an `Err` variant, which should be handled [ 134s] help: use `let _ = ...` to ignore the resulting value [ 134s] | [ 134s] 112 | let _ = delayed_result_service.stop(); [ 134s] | +++++++ [ 134s] [ 134s] warning: unused return value of `std::mem::size_of` that must be used [ 134s] --> ./src/pkgmgr/server/backend_queue.rs:40:9 [ 134s] | [ 134s] 40 | mem::size_of::(); [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 134s] | [ 134s] help: use `let _ = ...` to ignore the resulting value [ 134s] | [ 134s] 40 | let _ = mem::size_of::(); [ 134s] | +++++++ [ 134s] [ 134s] warning: structure field `rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 134s] --> ./src/pkgmgr/server/info_service.rs:35:9 [ 134s] | [ 134s] 35 | pub rpc_port_stub_PkgMgr_create_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_create_cb` [ 134s] | [ 134s] = note: `#[warn(non_snake_case)]` on by default [ 134s] [ 134s] warning: structure field `rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 134s] --> ./src/pkgmgr/server/info_service.rs:36:9 [ 134s] | [ 134s] 36 | pub rpc_port_stub_PkgMgr_terminate_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_terminate_cb` [ 134s] [ 134s] warning: structure field `rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 134s] --> ./src/pkgmgr/server/info_service.rs:37:9 [ 134s] | [ 134s] 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... [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_cb` [ 134s] [ 134s] warning: structure field `rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 134s] --> ./src/pkgmgr/server/info_service.rs:38:9 [ 134s] | [ 134s] 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... [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 134s] [ 134s] warning: structure field `rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 134s] --> ./src/pkgmgr/server/info_service.rs:39:9 [ 134s] | [ 134s] 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... [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 134s] [ 134s] warning: structure field `rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 134s] --> ./src/pkgmgr/server/info_service.rs:40:9 [ 134s] | [ 134s] 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... [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_check_cb` [ 134s] [ 134s] warning: function `impl_rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 134s] --> ./src/pkgmgr/server/info_service.rs:43:19 [ 134s] | [ 134s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_create_cb` [ 134s] [ 134s] warning: function `impl_rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 134s] --> ./src/pkgmgr/server/info_service.rs:48:19 [ 134s] | [ 134s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_terminate_cb` [ 134s] [ 134s] warning: function `impl_rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 134s] --> ./src/pkgmgr/server/info_service.rs:52:19 [ 134s] | [ 134s] 52 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSize_cb( [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_cb` [ 134s] [ 134s] warning: function `impl_rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 134s] --> ./src/pkgmgr/server/info_service.rs:112:19 [ 134s] | [ 134s] 112 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSizeSync_cb( [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 134s] [ 134s] warning: function `impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 134s] --> ./src/pkgmgr/server/info_service.rs:194:19 [ 134s] | [ 134s] 194 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb( [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 134s] [ 134s] warning: function `impl_rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 134s] --> ./src/pkgmgr/server/info_service.rs:221:19 [ 134s] | [ 134s] 221 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_Check_cb( [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_check_cb` [ 134s] [ 134s] warning: method `IsPackageReadonly` should have a snake case name [ 134s] --> ./src/pkgmgr/server/util.rs:389:12 [ 134s] | [ 134s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 134s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly` [ 134s] [ 134s] warning: method `GetPackageType` should have a snake case name [ 134s] --> ./src/pkgmgr/server/util.rs:420:12 [ 134s] | [ 134s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 134s] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type` [ 134s] [ 134s] warning: variable `xmlReaderTypes_XML_READER_TYPE_ELEMENT` should have a snake case name [ 134s] --> ./src/pkgmgr/server/util.rs:473:17 [ 134s] | [ 134s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_element` [ 134s] [ 134s] warning: variable `xmlReaderTypes_XML_READER_TYPE_TEXT` should have a snake case name [ 134s] --> ./src/pkgmgr/server/util.rs:478:17 [ 134s] | [ 134s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_text` [ 134s] [ 134s] warning: variable `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` should have a snake case name [ 134s] --> ./src/pkgmgr/server/util.rs:483:17 [ 134s] | [ 134s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_end_element` [ 134s] [ 134s] warning: constant `type_map` should have an upper case name [ 134s] --> ./src/pkgmgr/server/util.rs:623:15 [ 134s] | [ 134s] 623 | const type_map : [[&str; 2]; 3] = [ [ 134s] | ^^^^^^^^ help: convert the identifier to upper case: `TYPE_MAP` [ 134s] | [ 134s] = note: `#[warn(non_upper_case_globals)]` on by default [ 134s] [ 134s] warning: method `GenerateRequestId` should have a snake case name [ 134s] --> ./src/pkgmgr/server/util.rs:646:12 [ 134s] | [ 134s] 646 | pub fn GenerateRequestId(pkgid: &str) -> Option { [ 134s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_request_id` [ 134s] [ 134s] warning: method `CreatePkgUpdateInfo` should have a snake case name [ 134s] --> ./src/pkgmgr/server/util.rs:657:12 [ 134s] | [ 134s] 657 | pub fn CreatePkgUpdateInfo(pkgid: *const c_char, version: *const c_char, update_type: c_int) -> *mut c_void { [ 134s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info` [ 134s] [ 134s] warning: method `DestroyPkgUpdateInfo` should have a snake case name [ 134s] --> ./src/pkgmgr/server/util.rs:680:12 [ 134s] | [ 134s] 680 | pub fn DestroyPkgUpdateInfo(handle: *mut c_void) -> c_int { [ 134s] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroy_pkg_update_info` [ 134s] [ 134s] warning: method `RegisterPkgUpdateInfo` should have a snake case name [ 134s] --> ./src/pkgmgr/server/util.rs:686:12 [ 134s] | [ 134s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `register_pkg_update_info` [ 134s] [ 134s] warning: method `UnregisterPkgUpdateInfo` should have a snake case name [ 134s] --> ./src/pkgmgr/server/util.rs:696:12 [ 134s] | [ 134s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_pkg_update_info` [ 134s] [ 134s] warning: method `UnregisterAllPkgUpdateInfo` should have a snake case name [ 134s] --> ./src/pkgmgr/server/util.rs:706:12 [ 134s] | [ 134s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_all_pkg_update_info` [ 134s] [ 134s] warning: method `EnableApp` should have a snake case name [ 134s] --> ./src/pkgmgr/server/util.rs:728:12 [ 134s] | [ 134s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 134s] | ^^^^^^^^^ help: convert the identifier to snake case: `enable_app` [ 134s] [ 134s] warning: method `DisableApp` should have a snake case name [ 134s] --> ./src/pkgmgr/server/util.rs:738:12 [ 134s] | [ 134s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 134s] | ^^^^^^^^^^ help: convert the identifier to snake case: `disable_app` [ 134s] [ 134s] warning: method `EnableGlobalApp` should have a snake case name [ 134s] --> ./src/pkgmgr/server/util.rs:747:12 [ 134s] | [ 134s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 134s] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app` [ 134s] [ 134s] warning: method `DisableGlobalApp` should have a snake case name [ 134s] --> ./src/pkgmgr/server/util.rs:757:12 [ 134s] | [ 134s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 134s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app` [ 134s] [ 134s] warning: method `EnableAppSplashScreen` should have a snake case name [ 134s] --> ./src/pkgmgr/server/util.rs:766:12 [ 134s] | [ 134s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_app_splash_screen` [ 134s] [ 134s] warning: method `DisableAppSplashScreen` should have a snake case name [ 134s] --> ./src/pkgmgr/server/util.rs:775:12 [ 134s] | [ 134s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_app_splash_screen` [ 134s] [ 134s] warning: method `EnableGlobalAppSplashScreen` should have a snake case name [ 134s] --> ./src/pkgmgr/server/util.rs:784:12 [ 134s] | [ 134s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app_splash_screen` [ 134s] [ 134s] warning: method `DisableGlobalAppSplashScreen` should have a snake case name [ 134s] --> ./src/pkgmgr/server/util.rs:793:12 [ 134s] | [ 134s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app_splash_screen` [ 134s] [ 134s] warning: method `KillApp` should have a snake case name [ 134s] --> ./src/pkgmgr/server/util.rs:813:12 [ 134s] | [ 134s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 134s] | ^^^^^^^ help: convert the identifier to snake case: `kill_app` [ 134s] [ 134s] warning: method `KillAppsInPkg` should have a snake case name [ 134s] --> ./src/pkgmgr/server/util.rs:835:12 [ 134s] | [ 134s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 134s] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_apps_in_pkg` [ 134s] [ 134s] warning: method `IsAdminUser` should have a snake case name [ 134s] --> ./src/pkgmgr/server/util.rs:855:8 [ 134s] | [ 134s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 134s] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_admin_user` [ 134s] [ 134s] warning: function `IsPackageReadonly_test_return_None_from_disable1` should have a snake case name [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:13:4 [ 134s] | [ 134s] 13 | fn IsPackageReadonly_test_return_None_from_disable1() { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_disable1` [ 134s] [ 134s] warning: getting the inner pointer of a temporary `CString` [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:16:77 [ 134s] | [ 134s] 16 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, false)); [ 134s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 134s] | | [ 134s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 134s] | [ 134s] = 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 [ 134s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 134s] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [ 134s] [ 134s] warning: function `IsPackageReadonly_test_return_None_from_disable2` should have a snake case name [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:20:4 [ 134s] | [ 134s] 20 | fn IsPackageReadonly_test_return_None_from_disable2() { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_disable2` [ 134s] [ 134s] warning: getting the inner pointer of a temporary `CString` [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:23:77 [ 134s] | [ 134s] 23 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 134s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 134s] | | [ 134s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 134s] | [ 134s] = 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 [ 134s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 134s] [ 134s] warning: function `IsPackageReadonly_test_return_None_from_readonly` should have a snake case name [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:27:4 [ 134s] | [ 134s] 27 | fn IsPackageReadonly_test_return_None_from_readonly() { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_readonly` [ 134s] [ 134s] warning: getting the inner pointer of a temporary `CString` [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:32:77 [ 134s] | [ 134s] 32 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 134s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 134s] | | [ 134s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 134s] | [ 134s] = 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 [ 134s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 134s] [ 134s] warning: function `IsPackageReadonly_test_return_someTrue_from_readonly` should have a snake case name [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:36:4 [ 134s] | [ 134s] 36 | fn IsPackageReadonly_test_return_someTrue_from_readonly() { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_some_true_from_readonly` [ 134s] [ 134s] warning: getting the inner pointer of a temporary `CString` [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:46:83 [ 134s] | [ 134s] 46 | assert_eq!(Some(true), Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 134s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 134s] | | [ 134s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 134s] | [ 134s] = 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 [ 134s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 134s] [ 134s] warning: function `IsPackageReadonly_test_return_someFalse_from_readonly` should have a snake case name [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:50:4 [ 134s] | [ 134s] 50 | fn IsPackageReadonly_test_return_someFalse_from_readonly() { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_some_false_from_readonly` [ 134s] [ 134s] warning: getting the inner pointer of a temporary `CString` [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:60:84 [ 134s] | [ 134s] 60 | assert_eq!(Some(false), Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 134s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 134s] | | [ 134s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 134s] | [ 134s] = 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 [ 134s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 134s] [ 134s] warning: function `KillApp_test_return_0_from_running` should have a snake case name [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:65:4 [ 134s] | [ 134s] 65 | fn KillApp_test_return_0_from_running() { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_0_from_running` [ 134s] [ 134s] warning: getting the inner pointer of a temporary `CString` [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:68:64 [ 134s] | [ 134s] 68 | assert_eq!(0, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 134s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 134s] | | [ 134s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 134s] | [ 134s] = 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 [ 134s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 134s] [ 134s] warning: function `KillApp_test_return_minus_from_getpid` should have a snake case name [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:72:4 [ 134s] | [ 134s] 72 | fn KillApp_test_return_minus_from_getpid() { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_minus_from_getpid` [ 134s] [ 134s] warning: getting the inner pointer of a temporary `CString` [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:77:65 [ 134s] | [ 134s] 77 | assert_eq!(-1, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 134s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 134s] | | [ 134s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 134s] | [ 134s] = 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 [ 134s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 134s] [ 134s] warning: function `KillApp_test_return_minus_from_terminate` should have a snake case name [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:81:4 [ 134s] | [ 134s] 81 | fn KillApp_test_return_minus_from_terminate() { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_minus_from_terminate` [ 134s] [ 134s] warning: getting the inner pointer of a temporary `CString` [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:88:65 [ 134s] | [ 134s] 88 | assert_eq!(-1, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 134s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 134s] | | [ 134s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 134s] | [ 134s] = 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 [ 134s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 134s] [ 134s] warning: function `KillApp_test_return_0_from_end` should have a snake case name [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:92:4 [ 134s] | [ 134s] 92 | fn KillApp_test_return_0_from_end() { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_0_from_end` [ 134s] [ 134s] warning: getting the inner pointer of a temporary `CString` [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:99:64 [ 134s] | [ 134s] 99 | assert_eq!(0, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 134s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 134s] | | [ 134s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 134s] | [ 134s] = 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 [ 134s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 134s] [ 134s] warning: function `GetPackageType_test_return_new_from_all` should have a snake case name [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:104:4 [ 134s] | [ 134s] 104 | fn GetPackageType_test_return_new_from_all() { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_new_from_all` [ 134s] [ 134s] warning: getting the inner pointer of a temporary `CString` [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:107:83 [ 134s] | [ 134s] 107 | assert_eq!(String::new(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 134s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 134s] | | [ 134s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 134s] | [ 134s] = 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 [ 134s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 134s] [ 134s] warning: function `GetPackageType_test_return_new_from_type` should have a snake case name [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:111:4 [ 134s] | [ 134s] 111 | fn GetPackageType_test_return_new_from_type() { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_new_from_type` [ 134s] [ 134s] warning: getting the inner pointer of a temporary `CString` [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:118:83 [ 134s] | [ 134s] 118 | assert_eq!(String::new(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 134s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 134s] | | [ 134s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 134s] | [ 134s] = 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 [ 134s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 134s] [ 134s] warning: function `GetPackageType_test_return_rpk_from_end` should have a snake case name [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:122:4 [ 134s] | [ 134s] 122 | fn GetPackageType_test_return_rpk_from_end() { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_rpk_from_end` [ 134s] [ 134s] warning: getting the inner pointer of a temporary `CString` [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:132:87 [ 134s] | [ 134s] 132 | assert_eq!("rpk".to_string(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 134s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 134s] | | [ 134s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 134s] | [ 134s] = 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 [ 134s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 134s] [ 134s] warning: function `GetPackageType_test_return_newtype_from_end` should have a snake case name [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:136:4 [ 134s] | [ 134s] 136 | fn GetPackageType_test_return_newtype_from_end() { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_newtype_from_end` [ 134s] [ 134s] warning: getting the inner pointer of a temporary `CString` [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:146:87 [ 134s] | [ 134s] 146 | assert_eq!("ABC".to_string(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 134s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 134s] | | [ 134s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 134s] | [ 134s] = 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 [ 134s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 134s] [ 134s] warning: function `CreatePkgUpdateInfo_test_return_null1` should have a snake case name [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:151:4 [ 134s] | [ 134s] 151 | fn CreatePkgUpdateInfo_test_return_null1() { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null1` [ 134s] [ 134s] warning: getting the inner pointer of a temporary `CString` [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:154:95 [ 134s] | [ 134s] 154 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 134s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 134s] | | [ 134s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 134s] | [ 134s] = 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 [ 134s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 134s] [ 134s] warning: getting the inner pointer of a temporary `CString` [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:154:138 [ 134s] | [ 134s] 154 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 134s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 134s] | | [ 134s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 134s] | [ 134s] = 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 [ 134s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 134s] [ 134s] warning: function `CreatePkgUpdateInfo_test_return_null2` should have a snake case name [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:158:4 [ 134s] | [ 134s] 158 | fn CreatePkgUpdateInfo_test_return_null2() { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null2` [ 134s] [ 134s] warning: getting the inner pointer of a temporary `CString` [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:165:95 [ 134s] | [ 134s] 165 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 134s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 134s] | | [ 134s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 134s] | [ 134s] = 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 [ 134s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 134s] [ 134s] warning: getting the inner pointer of a temporary `CString` [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:165:138 [ 134s] | [ 134s] 165 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 134s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 134s] | | [ 134s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 134s] | [ 134s] = 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 [ 134s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 134s] [ 134s] warning: function `CreatePkgUpdateInfo_test_return_null3` should have a snake case name [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:169:4 [ 134s] | [ 134s] 169 | fn CreatePkgUpdateInfo_test_return_null3() { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null3` [ 134s] [ 134s] warning: getting the inner pointer of a temporary `CString` [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:178:95 [ 134s] | [ 134s] 178 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 134s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 134s] | | [ 134s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 134s] | [ 134s] = 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 [ 134s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 134s] [ 134s] warning: getting the inner pointer of a temporary `CString` [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:178:138 [ 134s] | [ 134s] 178 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 134s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 134s] | | [ 134s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 134s] | [ 134s] = 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 [ 134s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 134s] [ 134s] warning: function `CreatePkgUpdateInfo_test_return_null4` should have a snake case name [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:182:4 [ 134s] | [ 134s] 182 | fn CreatePkgUpdateInfo_test_return_null4() { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null4` [ 134s] [ 134s] warning: getting the inner pointer of a temporary `CString` [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:193:95 [ 134s] | [ 134s] 193 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 134s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 134s] | | [ 134s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 134s] | [ 134s] = 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 [ 134s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 134s] [ 134s] warning: getting the inner pointer of a temporary `CString` [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:193:138 [ 134s] | [ 134s] 193 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 134s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 134s] | | [ 134s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 134s] | [ 134s] = 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 [ 134s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 134s] [ 134s] warning: function `CreatePkgUpdateInfo_test_return_handle` should have a snake case name [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:197:4 [ 134s] | [ 134s] 197 | fn CreatePkgUpdateInfo_test_return_handle() { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_handle` [ 134s] [ 134s] warning: getting the inner pointer of a temporary `CString` [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:206:95 [ 134s] | [ 134s] 206 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 134s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 134s] | | [ 134s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 134s] | [ 134s] = 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 [ 134s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 134s] [ 134s] warning: getting the inner pointer of a temporary `CString` [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:206:138 [ 134s] | [ 134s] 206 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 134s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 134s] | | [ 134s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 134s] | [ 134s] = 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 [ 134s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 134s] [ 134s] warning: function `getapplicationinfobyappid_test_return_None_from_appinfo` should have a snake case name [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:211:4 [ 134s] | [ 134s] 211 | fn getapplicationinfobyappid_test_return_None_from_appinfo() { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_appinfo` [ 134s] [ 134s] warning: getting the inner pointer of a temporary `CString` [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:214:89 [ 134s] | [ 134s] 214 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 134s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 134s] | | [ 134s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 134s] | [ 134s] = 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 [ 134s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 134s] [ 134s] warning: function `getapplicationinfobyappid_test_return_None_from_global` should have a snake case name [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:218:4 [ 134s] | [ 134s] 218 | fn getapplicationinfobyappid_test_return_None_from_global() { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_global` [ 134s] [ 134s] warning: getting the inner pointer of a temporary `CString` [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:225:89 [ 134s] | [ 134s] 225 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 134s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 134s] | | [ 134s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 134s] | [ 134s] = 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 [ 134s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 134s] [ 134s] warning: function `getapplicationinfobyappid_test_return_None_from_pkgid` should have a snake case name [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:229:4 [ 134s] | [ 134s] 229 | fn getapplicationinfobyappid_test_return_None_from_pkgid() { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_pkgid` [ 134s] [ 134s] warning: getting the inner pointer of a temporary `CString` [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:238:89 [ 134s] | [ 134s] 238 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 134s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 134s] | | [ 134s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 134s] | [ 134s] = 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 [ 134s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 134s] [ 134s] warning: function `getapplicationinfobyappid_test_return_Some_from_end` should have a snake case name [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:242:4 [ 134s] | [ 134s] 242 | fn getapplicationinfobyappid_test_return_Some_from_end() { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `getapplicationinfobyappid_test_return_some_from_end` [ 134s] [ 134s] warning: getting the inner pointer of a temporary `CString` [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:257:127 [ 134s] | [ 134s] 257 | assert_eq!(Some((CString::new("aaa").unwrap(), true)), Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 134s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 134s] | | [ 134s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 134s] | [ 134s] = 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 [ 134s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 134s] [ 134s] warning: function `get_pkgid_bypid_for_uid_test_return_None` should have a snake case name [ 134s] --> ./src/pkgmgr/server/test/util_tests.rs:262:4 [ 134s] | [ 134s] 262 | fn get_pkgid_bypid_for_uid_test_return_None() { [ 134s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_pkgid_bypid_for_uid_test_return_none` [ 134s] [ 135s] warning: function `get_pkgid_bypid_for_uid_test_return_Some` should have a snake case name [ 135s] --> ./src/pkgmgr/server/test/util_tests.rs:269:4 [ 135s] | [ 135s] 269 | fn get_pkgid_bypid_for_uid_test_return_Some() { [ 135s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `get_pkgid_bypid_for_uid_test_return_some` [ 135s] [ 135s] warning: function `get_pkgid_bypid_for_uid_test_return_None_from_end` should have a snake case name [ 135s] --> ./src/pkgmgr/server/test/util_tests.rs:283:4 [ 135s] | [ 135s] 283 | fn get_pkgid_bypid_for_uid_test_return_None_from_end() { [ 135s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_pkgid_bypid_for_uid_test_return_none_from_end` [ 135s] [ 228s] warning: 735 warnings emitted [ 228s] [ 228s] + exit 0 [ 228s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gTNkFS [ 228s] + umask 022 [ 228s] + cd /home/abuild/rpmbuild/BUILD [ 228s] + cd pkgmgr-server-1.0.15 [ 228s] + LANG=C [ 228s] + export LANG [ 228s] + unset DISPLAY [ 228s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64 [ 228s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64 [ 228s] + /bin/make DESTDIR=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64 INSTALL_ROOT=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64 install [ 228s] /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 [ 228s] /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 [ 228s] /bin/make -f CMakeFiles/Makefile2 all [ 228s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 228s] /bin/make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/depend [ 228s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 228s] 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= [ 228s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 228s] /bin/make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build [ 228s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 228s] make[2]: Nothing to be done for 'tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build'. [ 228s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 228s] [ 50%] Built target tidl_pkgmgr_server [ 228s] /bin/make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/depend [ 228s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 228s] 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= [ 228s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 228s] /bin/make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build [ 228s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 228s] make[2]: Nothing to be done for 'util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build'. [ 228s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 228s] [100%] Built target util_pkgmgr_server [ 228s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 228s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/CMakeFiles 0 [ 228s] /bin/make -f CMakeFiles/Makefile2 preinstall [ 228s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 228s] make[1]: Nothing to be done for 'preinstall'. [ 228s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 228s] Install the project... [ 228s] /usr/bin/cmake -P cmake_install.cmake [ 228s] -- Install configuration: "" [ 228s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64/usr/lib/systemd/system/package-manager.service [ 228s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64/usr/lib/systemd/system/package-manager.socket [ 228s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64/usr/lib64/libtidl_pkgmgr_server.so [ 228s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64/usr/lib64/libutil_pkgmgr_server.so [ 228s] + rm -f /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64/usr/share/info/dir [ 228s] + find /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64 -regex '.*\.la$' [ 228s] + xargs rm -f -- [ 228s] + find /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64 -regex '.*\.a$' [ 228s] + xargs rm -f -- [ 228s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64/usr/lib/systemd/system/basic.target.wants [ 228s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64/usr/lib/systemd/system/sockets.target.wants [ 228s] + ln -sf ../package-manager.socket /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64/usr/lib/systemd/system/sockets.target.wants/package-manager.socket [ 228s] + install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64/usr/bin [ 228s] + install -m 0755 ./rust_pkgmgr_server /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64/usr/bin/pkgmgr-server [ 229s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64/etc/package-manager/server [ 229s] + _target= [ 229s] + _symlinks=0 [ 229s] + _files=() [ 229s] + fdupes -q -n -r /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64 [ 229s] + read _file [ 229s] + /usr/lib/rpm/find-debuginfo.sh -j8 --build-id-seed 1.0.15-1 --unique-debug-src-base pkgmgr-server-1.0.15-1.riscv64 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 229s] 1+0 records in [ 229s] 1+0 records out [ 229s] 1+0 records in [ 229s] 1+0 records out [ 229s] 1+0 records in [ 229s] 1+0 records out [ 229s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64/usr/lib64/libutil_pkgmgr_server.so [ 229s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64/usr/bin/pkgmgr-server [ 229s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64/usr/lib64/libtidl_pkgmgr_server.so [ 229s] 0+0 records in [ 229s] 0+0 records out [ 229s] 0+0 records in [ 229s] 0+0 records out [ 229s] 0+0 records in [ 229s] 0+0 records out [ 229s] 797 blocks [ 229s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/pkgmgr-server-debuginfo.manifest [ 229s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/pkgmgr-server-debugsource.manifest [ 229s] + /usr/lib/rpm/check-buildroot [ 229s] + /usr/lib/rpm//brp-compress [ 229s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 229s] + /usr/lib/rpm/brp-python-hardlink [ 229s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64 [ 229s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/isu.list [ 229s] ~/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64 ~/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 229s] ~/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 229s] + /etc/hal/rootstrap/hal-rootstrap-checker.sh 0 /home/abuild/rpmbuild/SOURCES [ 229s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.fnJONy [ 229s] + umask 022 [ 229s] + cd /home/abuild/rpmbuild/BUILD [ 229s] + cd pkgmgr-server-1.0.15 [ 229s] + export LD_LIBRARY_PATH=./util_pkgmgr_server/:./tidl_pkgmgr_server/:/usr/lib64/rustlib/dylib [ 229s] + LD_LIBRARY_PATH=./util_pkgmgr_server/:./tidl_pkgmgr_server/:/usr/lib64/rustlib/dylib [ 229s] + RUST_BACKTRACE=1 [ 229s] + RUST_TEST_THREADS=1 [ 229s] + ./unittests_rust_pkgmgr_server [ 229s] [ 229s] running 35 tests [ 230s] test pkgmgr::server::test::admin_service_tests::run_test ... ok [ 230s] test pkgmgr::server::test::admin_service_tests::stop_test ... ok [ 231s] test pkgmgr::server::test::cache_service_tests::run_test ... ok [ 231s] test pkgmgr::server::test::cache_service_tests::stop_test ... ok [ 231s] test pkgmgr::server::test::delayed_service_tests::run_test ... ok [ 231s] test pkgmgr::server::test::delayed_service_tests::stop_test ... ok [ 232s] test pkgmgr::server::test::info_service_tests::run_test ... ok [ 232s] test pkgmgr::server::test::info_service_tests::stop_test ... ok [ 232s] test pkgmgr::server::test::signal_tests::get_uid_list_test_return_uidvec1 ... ok [ 232s] test pkgmgr::server::test::signal_tests::get_uid_list_test_return_uidvec2 ... ok [ 232s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_handle ... ok [ 232s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null1 ... ok [ 232s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null2 ... ok [ 232s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null3 ... ok [ 232s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null4 ... ok [ 232s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_new_from_all ... ok [ 232s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_new_from_type ... ok [ 232s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_newtype_from_end ... ok [ 232s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_rpk_from_end ... ok [ 232s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_disable1 ... ok [ 232s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_disable2 ... ok [ 232s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_readonly ... ok [ 232s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_someFalse_from_readonly ... ok [ 232s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_someTrue_from_readonly ... ok [ 232s] test pkgmgr::server::test::util_tests::KillApp_test_return_0_from_end ... ok [ 232s] test pkgmgr::server::test::util_tests::KillApp_test_return_0_from_running ... ok [ 232s] test pkgmgr::server::test::util_tests::KillApp_test_return_minus_from_getpid ... ok [ 232s] test pkgmgr::server::test::util_tests::KillApp_test_return_minus_from_terminate ... ok [ 232s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_None ... ok [ 232s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_None_from_end ... ok [ 232s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_Some ... ok [ 232s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_appinfo ... ok [ 232s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_global ... ok [ 232s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_pkgid ... ok [ 232s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_Some_from_end ... ok [ 232s] [ 232s] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.49s [ 232s] [ 232s] + exit 0 [ 232s] Processing files: pkgmgr-server-1.0.15-1.riscv64 [ 232s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIiAvPgoJPC9y [ 232s] ZXF1ZXN0PgoJPGFzc2lnbj4KCQk8ZmlsZXN5c3RlbSBwYXRoPSIvdXNyL2Jpbi9w [ 232s] a2dtZ3Itc2VydmVyIiBsYWJlbD0iU3lzdGVtIiBleGVjX2xhYmVsPSJub25lIiAv [ 232s] PgoJCTxmaWxlc3lzdGVtIHBhdGg9Ii92YXIvbGliL3BhY2thZ2UtbWFuYWdlciIg [ 232s] bGFiZWw9IlN5c3RlbSIgLz4KCTwvYXNzaWduPgo8L21hbmlmZXN0Pgo= [ 232s] [ 232s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Mwv7XP [ 232s] + umask 022 [ 232s] + cd /home/abuild/rpmbuild/BUILD [ 232s] + cd pkgmgr-server-1.0.15 [ 232s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64/usr/share/licenses/pkgmgr-server [ 232s] + export LC_ALL=C [ 232s] + LC_ALL=C [ 232s] + export LICENSEDIR [ 232s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64/usr/share/licenses/pkgmgr-server [ 232s] + cp -pr LICENSE /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64/usr/share/licenses/pkgmgr-server [ 232s] + exit 0 [ 232s] Provides: libtidl_pkgmgr_server.so()(64bit) libutil_pkgmgr_server.so()(64bit) pkgmgr-server = 1.0.15-1 pkgmgr-server(riscv-64) = 1.0.15-1 [ 232s] Requires(interp): /bin/sh [ 232s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 232s] Requires(post): /bin/sh [ 232s] Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libaul.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcapi-base-common.so.0()(64bit) libdlog.so.0()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgum.so.0()(64bit) libminizip.so.1()(64bit) libpkgmgr-info.so.0()(64bit) libpkgmgr_installer.so.0()(64bit) libpkgmgr_parser.so.0()(64bit) librpc-port.so.1()(64bit) libstd-3fecb5e5a54e748b.so()(64bit) libsystemd.so.0()(64bit) libsystemd.so.0(LIBSYSTEMD_209)(64bit) libtidl_pkgmgr_server.so()(64bit) libtzplatform-config-2.0.so.2()(64bit) libtzplatform-config-2.0.so.2(TPC)(64bit) libutil_pkgmgr_server.so()(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libxml2.so.2(LIBXML2_2.5.0)(64bit) libxml2.so.2(LIBXML2_2.6.0)(64bit) [ 232s] Processing files: pkgmgr-server-debugsource-1.0.15-1.riscv64 [ 232s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 232s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 232s] [ 232s] Provides: pkgmgr-server-debugsource = 1.0.15-1 pkgmgr-server-debugsource(riscv-64) = 1.0.15-1 [ 232s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 232s] Processing files: pkgmgr-server-debuginfo-1.0.15-1.riscv64 [ 232s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 232s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 232s] [ 232s] Provides: pkgmgr-server-debuginfo = 1.0.15-1 pkgmgr-server-debuginfo(riscv-64) = 1.0.15-1 [ 232s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 232s] Recommends: pkgmgr-server-debugsource(riscv-64) = 1.0.15-1 [ 232s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64 [ 232s] Wrote: /home/abuild/rpmbuild/SRPMS/pkgmgr-server-1.0.15-1.src.rpm [ 232s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/pkgmgr-server-1.0.15-1.riscv64.rpm [ 232s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/pkgmgr-server-debugsource-1.0.15-1.riscv64.rpm [ 233s] Wrote: /home/abuild/rpmbuild/RPMS/riscv64/pkgmgr-server-debuginfo-1.0.15-1.riscv64.rpm [ 233s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Nxpq5p [ 233s] + umask 022 [ 233s] + cd /home/abuild/rpmbuild/BUILD [ 233s] + cd pkgmgr-server-1.0.15 [ 233s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.riscv64 [ 233s] + exit 0 [ 233s] ... checking for files with abuild user/group [ 233s] ... creating baselibs [ 234s] [ 234s] ip-192-168-56-225 finished "build pkgmgr-server.spec" at Sat Jan 4 03:15:21 UTC 2025. [ 234s]