[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.14 [ 0s] Using BUILD_ARCH=armv7l:armv7el:armv6l:armv5tejl:armv5tel:armv5l:armv4tl:armv4l:armv3l:noarch [ 0s] [ 0s] [ 0s] ip-192-168-56-145 started "build pkgmgr-server.spec" at Thu Dec 19 07:23:55 UTC 2024. [ 0s] [ 0s] [ 0s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_standard/pkgmgr-server-1.0.15-1/pkgmgr-server.spec ... [ 0s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache --define jobs 8 --define _smp_mflags -j8 --define _costomized_smp_mflags -j32 --repository /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_standard/armv7l/RPMS --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241215.110758/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241215.110758/repos/standard/debug/ /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.armv7l.14/.srcfiles.cache ... [ 0s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.14/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_standard/armv7l/RPMS [ 1s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241215.110758/repos/standard/packages/ [ 1s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241215.110758/repos/standard/debug/ [ 2s] expanding package dependencies... [ 3s] copying qemu [ 3s] [ 3s] registering binfmt handlers for cross build [ 3s] calculating packages to download... [ 5s] reordering...cycle: gio-branding-upstream -> libgio [ 5s] breaking dependency libgio -> gio-branding-upstream [ 5s] cycle: pkgmgr-info -> pkgmgr-info-parser [ 5s] breaking dependency pkgmgr-info -> pkgmgr-info-parser [ 5s] cycle: libgum -> gumd [ 5s] breaking dependency libgum -> gumd [ 5s] cycle: glibc-devel -> libxcrypt-devel [ 5s] breaking dependency libxcrypt-devel -> glibc-devel [ 5s] cycle: rust -> rust-devel [ 5s] breaking dependency rust-devel -> rust [ 5s] cycle: libsoftokn3 -> nss [ 5s] breaking dependency nss -> libsoftokn3 [ 5s] reordering done [ 6s] deleting gst-plugins-base [ 6s] deleting gst-plugins-base-devel [ 6s] deleting gstreamer [ 6s] /sbin/ldconfig: relative path `0' used to build cache [ 6s] warning: %postun(gstreamer-1.22.8-17.armv7l) scriptlet failed, exit status 1 [ 6s] deleting gstreamer-devel [ 6s] deleting gstreamer-utils [ 6s] deleting gtest [ 6s] /sbin/ldconfig: relative path `0' used to build cache [ 6s] warning: %postun(gtest-1.14.0-0.armv7l) scriptlet failed, exit status 1 [ 6s] deleting gtest-devel [ 6s] deleting hal-api-common [ 6s] deleting hal-api-tbm [ 7s] /var/tmp/rpm-tmp.d8ETkB: line 2: /usr/bin/hal-compatibility-checker: No such file or directory [ 7s] warning: %postun(hal-api-tbm-0.1.2-1.armv7l) scriptlet failed, exit status 127 [ 7s] deleting iniparser-devel [ 7s] deleting libasound [ 7s] deleting libdrm [ 7s] 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.armv7l) scriptlet failed, exit status 1 [ 8s] deleting libtbm-devel [ 8s] deleting libtheora [ 8s] deleting libvorbis [ 8s] deleting libvorbisenc [ 8s] deleting libwayland-client [ 8s] deleting libwayland-server [ 8s] deleting opus [ 8s] deleting pixman [ 9s] [1/241] cumulate default-ac-domains-0.1-1.1 [ 9s] [2/241] keeping dlog-config-persistent-logs-9.0.1-1 [ 9s] [3/241] keeping libmagic-data-5.45-1.4 [ 9s] [4/241] keeping pcre2-syntax-10.40-1 [ 9s] [5/241] keeping python3-pyparsing-3.1.1-1.1 [ 9s] [6/241] keeping python3-six-1.16.0-1.1 [ 9s] [7/241] cumulate rust-std-static-1.74.0-1 [ 9s] [8/241] keeping setup-0.9-1.1 [ 9s] [9/241] keeping filesystem-3.1-1.1 [ 9s] [10/241] keeping python3-packaging-23.2-1.1 [ 9s] [11/241] keeping glibc-2.39-1.6 [ 9s] [12/241] keeping libatomic-14.2.0-1.6 [ 9s] [13/241] keeping libgcc-14.2.0-1.6 [ 9s] [14/241] keeping bash-3.2.57-1.1 [ 9s] [15/241] keeping capi-base-common-0.4.82-1 [ 9s] [16/241] keeping cpio-2.8-1.1 [ 9s] [17/241] keeping diffutils-3.10-1.1 [ 9s] [18/241] cumulate fdupes-2.2.1-1.4 [ 9s] [19/241] keeping findutils-4.3.8-1.4 [ 9s] [20/241] keeping gdbm-1.8.3-1.6 [ 9s] [21/241] keeping hostname-3.23-1.1 [ 9s] [22/241] keeping iniparser-4.1-1.1 [ 9s] [23/241] keeping libattr-2.5.1-1.4 [ 9s] [24/241] keeping libblkid-2.39.3-1.4 [ 9s] [25/241] keeping libbz2-1.0.8-1.4 [ 9s] [26/241] keeping libcap-2.69-1.4 [ 9s] [27/241] keeping libexpat-2.6.2-1.5 [ 9s] [28/241] keeping libffi-3.4.2-1.5 [ 9s] [29/241] keeping libfreebl3-3.98-1.6 [ 9s] [30/241] keeping libgfortran-14.2.0-1.6 [ 9s] [31/241] keeping libgomp-14.2.0-1.6 [ 9s] [32/241] keeping libitm-14.2.0-1.6 [ 9s] [33/241] cumulate libjson-0.17-0 [ 9s] [34/241] keeping libltdl-2.4.7-1.6 [ 9s] [35/241] keeping liblua-5.1.5-1.4 [ 9s] [36/241] keeping liblzma-5.4.5-1.6 [ 9s] [37/241] keeping libopenssl11-1.1.1w-1.5 [ 9s] [38/241] keeping libopenssl3-3.0.13-1.6 [ 9s] [39/241] keeping libpcre-8.45-1.4 [ 9s] [40/241] keeping libpopt-1.16-1.3 [ 9s] [41/241] keeping libpython3_121_0-3.12.0-1.5 [ 9s] [42/241] keeping libsmack-1.3.1-1.3 [ 9s] [43/241] keeping libsmartcols-2.39.3-1.4 [ 9s] [44/241] keeping libsqlite-3.44.0-1.4 [ 9s] [45/241] keeping libstdc++-14.2.0-1.6 [ 9s] [46/241] keeping libuuid-2.39.3-1.4 [ 9s] [47/241] keeping libxcrypt-4.4.36-1.6 [ 9s] [48/241] keeping libzstd1-1.5.5-1.5 [ 9s] [49/241] keeping m4-1.4.19-1.1 [ 9s] [50/241] keeping net-tools-2.0_20121208git-1.3 [ 9s] [51/241] keeping nspr-4.35-1.4 [ 9s] [52/241] keeping patch-2.7.6-1.3 [ 9s] [53/241] keeping pkg-config-0.29.2-1.4 [ 9s] [54/241] cumulate rust-std-shared-1.74.0-1 [ 9s] [55/241] keeping sed-4.1c-1.4 [ 9s] [56/241] keeping update-alternatives-1.22.2-1.1 [ 9s] [57/241] keeping which-2.17-1.1 [ 9s] [58/241] cumulate xdgmime-0.0.17-1.1 [ 9s] [59/241] keeping zlib-1.3-1.5 [ 9s] [60/241] keeping pcre2-10.40-1 [ 9s] [61/241] keeping pcre2-utf16-10.40-1 [ 9s] [62/241] keeping pcre2-utf32-10.40-1 [ 9s] [63/241] keeping build-compare-2023.06.18-1.1 [ 9s] [64/241] keeping hal-rootstrap-checker-0.1.0-1.1 [ 9s] [65/241] keeping libstdc++-devel-14.2.0-1.6 [ 9s] [66/241] keeping qemu-linux-user-x86_64-cross-5.2.0.2-21.1 [ 9s] [67/241] cumulate vconf-internal-keys-devel-0.0.191-0 [ 9s] [68/241] keeping capi-base-common-devel-0.4.82-1 [ 9s] [69/241] keeping cpp-14.2.0-1.6 [ 9s] [70/241] keeping gcc-c++-14.2.0-1.6 [ 9s] [71/241] keeping libblkid-devel-2.39.3-1.4 [ 9s] [72/241] keeping libffi-devel-3.4.2-1.5 [ 9s] [73/241] cumulate tidl-2.3.4-1 [ 9s] [74/241] cumulate unzip-610c25-1.1 [ 9s] [75/241] cumulate xdgmime-devel-0.0.17-1.1 [ 9s] [76/241] cumulate xz-devel-5.4.5-1.6 [ 9s] [77/241] keeping binutils-libs-2.43-1.6 [ 9s] [78/241] keeping coreutils-6.9-14.1 [ 9s] [79/241] keeping gawk-3.1.5-1.1 [ 9s] [80/241] keeping grep-2.5.2-1.3 [ 9s] [81/241] keeping libacl-2.3.2-1.4 [ 9s] [82/241] cumulate libcap-tools-2.69-1.4 [ 9s] [83/241] keeping libcc1-14.2.0-1.6 [ 9s] [84/241] keeping libelf-0.189-1.6 [ 9s] [85/241] keeping libglib-2.80.5-0 [ 9s] [86/241] keeping libmount-2.39.3-1.4 [ 9s] [87/241] keeping libubsan-14.2.0-1.6 [ 9s] [88/241] keeping make-4.4-1.4 [ 9s] [89/241] cumulate minizip-1.3-1.5 [ 9s] [90/241] keeping nss-certs-3.98-1.6 [ 9s] [91/241] keeping smack-1.3.1-1.3 [ 9s] [92/241] cumulate sqlite-3.44.0-1.4 [ 9s] [93/241] keeping bzip2-1.0.8-1.4 [ 9s] [94/241] keeping dlog-9.0.1-1 [ 9s] [95/241] cumulate gettext-runtime-0.21.1-2.5 [ 9s] [96/241] keeping libfdisk-2.39.3-1.4 [ 9s] [97/241] cumulate libkmod-31-1.1 [ 9s] [98/241] keeping libmagic-5.45-1.4 [ 9s] [99/241] keeping libxml2-2.12.5-1.5 [ 9s] [100/241] cumulate shadow-utils-4.1.4.2-7.1 [ 9s] [101/241] keeping xz-5.4.5-1.6 [ 9s] [102/241] keeping pcre2-devel-10.40-1 [ 9s] [103/241] keeping perl-5.38.0-1.4 [ 9s] [104/241] cumulate cynara-db-migration-0.19.6-1 [ 9s] [105/241] cumulate ttrace-1.1.0-1 [ 9s] [106/241] keeping build-mkbaselibs-20120927-1.1 [ 9s] [107/241] keeping linux-glibc-devel-6.6-1.6 [ 9s] [108/241] keeping dlog-logger-9.0.1-1 [ 9s] [109/241] cumulate minizip-devel-1.3-1.5 [ 9s] [110/241] keeping terminfo-base-full-6.4-1.6 [ 9s] [111/241] cumulate acl-2.3.2-1.4 [ 9s] [112/241] keeping autoconf-2.71-1.7 [ 9s] [113/241] keeping file-5.45-1.4 [ 9s] [114/241] keeping glibc-locale-2.39-1.6 [ 9s] [115/241] keeping libgmodule-2.80.5-0 [ 9s] [116/241] keeping libgthread-2.80.5-0 [ 9s] [117/241] keeping libmount-devel-2.39.3-1.4 [ 9s] [118/241] keeping tar-1.17-1.1 [ 9s] [119/241] cumulate tizen-platform-config-5.0-1 [ 9s] [120/241] keeping binutils-2.43-1.6 [ 9s] [121/241] keeping gzip-1.3.12-1.4 [ 9s] [122/241] keeping libgobject-2.80.5-0 [ 9s] [123/241] keeping pam-1.1.6-1.3 [ 9s] [124/241] keeping tzdata-2023c-1.1 [ 9s] [125/241] keeping libdw-0.189-1.6 [ 9s] [126/241] cumulate security-config-1.0-1 [ 9s] [127/241] cumulate gettext-tools-0.21.1-2.5 [ 9s] [128/241] keeping libarchive-3.7.2-1.5 [ 9s] [129/241] keeping shared-mime-info-1.7-0 [ 9s] [130/241] keeping gcc-14.2.0-1.6 [ 9s] [131/241] keeping qemu-accel-x86_64-armv7l-0.4-1.1 [ 9s] [132/241] keeping automake-1.16.5-1.6 [ 9s] [133/241] cumulate libtzplatform-config-5.0-1 [ 9s] [134/241] keeping libasm-0.189-1.6 [ 9s] [135/241] cumulate libncurses5-6.4-1.6 [ 9s] [136/241] keeping libncurses6-6.4-1.6 [ 9s] [137/241] keeping build-20120927-1.1 [ 9s] [138/241] cumulate libsystemd-244-0 [ 9s] [139/241] keeping libgirepository2-2.80.5-0 [ 9s] [140/241] keeping libdlog-9.0.1-1 [ 9s] [141/241] keeping libncurses-6.4-1.6 [ 9s] [142/241] cumulate libtzplatform-config-devel-5.0-1 [ 9s] [143/241] cumulate capi-system-resource-1.0.0-0 [ 9s] [144/241] cumulate dbus-libs-1.12.20-3 [ 9s] [145/241] keeping less-643-1.1 [ 9s] [146/241] keeping libdlog-devel-9.0.1-1 [ 9s] [147/241] keeping libreadline-5.2-1.4 [ 9s] [148/241] keeping libtool-2.4.7-1.6 [ 9s] [149/241] cumulate ncurses-devel-6.4-1.6 [ 9s] [150/241] cumulate parcel-0.17.3-0 [ 9s] [151/241] keeping elfutils-0.189-1.6 [ 9s] [152/241] keeping cmake-3.25.2-1.5 [ 9s] [153/241] cumulate libcynara-commons-0.19.6-1 [ 9s] [154/241] cumulate capi-system-info-0.5.2-1 [ 9s] [155/241] cumulate systemd-244-0 [ 9s] [156/241] cumulate readline-devel-5.2-1.4 [ 9s] [157/241] cumulate capi-system-resource-devel-1.0.0-0 [ 9s] [158/241] cumulate libcynara-session-0.19.6-1 [ 9s] [159/241] cumulate parcel-devel-0.17.3-0 [ 9s] [160/241] cumulate pkgmgr-0.20.21-0 [ 9s] [161/241] cumulate systemd-devel-244-0 [ 9s] [162/241] cumulate libcynara-creds-commons-0.19.6-1 [ 9s] [163/241] cumulate libxml2-tools-2.12.5-1.5 [ 9s] [164/241] cumulate libcynara-client-0.19.6-1 [ 9s] [165/241] keeping python3-base-3.12.0-1.5 [ 9s] [166/241] keeping util-linux-2.39.3-1.4 [ 9s] [167/241] keeping python3-3.12.0-1.1 [ 9s] [168/241] cumulate pkgmgr-types-devel-0.20.21-0 [ 9s] [169/241] keeping util-linux-su-2.39.3-1.4 [ 9s] [170/241] cumulate libcynara-creds-socket-0.19.6-1 [ 9s] [171/241] cumulate dbus-1.12.20-3 [ 9s] [172/241] keeping python3-setuptools-69.0.2-1.1 [ 9s] [173/241] keeping libxcrypt-devel-4.4.36-1.6 [ 10s] [174/241] cumulate rust-devel-1.74.0-1 [ 10s] [175/241] keeping nss-3.98-1.6 [ 10s] [176/241] keeping libgio-2.80.5-0 [ 10s] [177/241] keeping gio-branding-upstream-2.80.5-0 [ 10s] [178/241] keeping glibc-devel-2.39-1.6 [ 10s] [179/241] cumulate libjson-glib-1.8.0-0 [ 10s] [180/241] keeping libsoftokn3-3.98-1.6 [ 10s] [181/241] cumulate rust-1.74.0-1 [ 10s] [182/241] keeping glib2-tools-2.80.5-0 [ 10s] [183/241] cumulate libgum-1.0.8-0 [ 10s] [184/241] cumulate libsyscommon-5.0.0-0 [ 10s] [185/241] cumulate buxton2-1.8.10-0 [ 10s] [186/241] keeping rpm-4.14.1.1-1.6 [ 10s] [187/241] cumulate rust-cfg-if-1.0.0-1 [ 10s] [188/241] cumulate rust-either-1.8.1-1 [ 10s] [189/241] cumulate rust-normalize-line-endings-0.3.0-1 [ 10s] [190/241] keeping zlib-devel-1.3-1.5 [ 10s] [191/241] cumulate rust-anstyle-0.3.5-1 [ 10s] [192/241] cumulate rust-difflib-0.4.0-1 [ 10s] [193/241] cumulate rust-downcast-0.11.0-1 [ 10s] [194/241] cumulate rust-fragile-2.0.0-1 [ 10s] [195/241] cumulate rust-libc-0.2.139-1 [ 10s] [196/241] cumulate rust-libm-0.2.6-1 [ 10s] [197/241] cumulate rust-minizip-sys-0.1.2-1 [ 10s] [198/241] cumulate rust-predicates-core-1.0.6-1 [ 10s] [199/241] cumulate rust-regex-syntax-0.6.28-1 [ 10s] [200/241] cumulate rust-scopeguard-1.1.0-1 [ 10s] [201/241] cumulate rust-termtree-0.4.1-1 [ 10s] [202/241] cumulate rust-unicode-ident-1.0.6-1 [ 10s] [203/241] cumulate sqlite-devel-3.44.0-1.4 [ 10s] [204/241] cumulate vconf-compat-1.8.10-0 [ 10s] [205/241] cumulate bundle-0.17.3-0 [ 10s] [206/241] cumulate gumd-1.0.8-0 [ 10s] [207/241] keeping rpm-build-4.14.1.1-1.6 [ 10s] [208/241] cumulate bundle-devel-0.17.3-0 [ 10s] [209/241] cumulate rust-glib-sys-0.17.10-1 [ 10s] [210/241] cumulate rust-itertools-0.10.5-1 [ 10s] [211/241] cumulate rust-lock_api-0.4.9-1 [ 10s] [212/241] cumulate rust-num-traits-0.2.15-1 [ 10s] [213/241] cumulate rust-proc-macro2-1.0.51-1 [ 10s] [214/241] cumulate rust-regex-1.7.1-1 [ 10s] [215/241] cumulate rust-predicates-tree-1.0.9-1 [ 10s] [216/241] cumulate libxml2-devel-2.12.5-1.5 [ 10s] [217/241] cumulate libstorage-1.0.0-0 [ 10s] [218/241] cumulate pkgmgr-info-0.28.5-1 [ 10s] [219/241] keeping glib2-devel-2.80.5-0 [ 10s] [220/241] cumulate libgum-devel-1.0.8-0 [ 10s] [221/241] cumulate pkgmgr-info-devel-0.28.5-1 [ 10s] [222/241] cumulate vconf-compat-devel-1.8.10-0 [ 10s] [223/241] cumulate rust-float-cmp-0.9.0-1 [ 10s] [224/241] cumulate rust-quote-1.0.23-1 [ 10s] [225/241] cumulate rust-spin-0.9.5-1 [ 10s] [226/241] cumulate pkgmgr-info-parser-0.28.5-1 [ 10s] [227/241] cumulate aul-0.66.0-1 [ 10s] [228/241] cumulate rust-lazy_static-1.4.0-1 [ 10s] [229/241] cumulate pkgmgr-info-parser-devel-0.28.5-1 [ 10s] [230/241] cumulate rust-syn-1.0.107-1 [ 10s] [231/241] cumulate aul-devel-0.66.0-1 [ 10s] [232/241] cumulate rust-predicates-3.0.4-1 [ 10s] [233/241] cumulate rpc-port-1.19.2-0 [ 10s] [234/241] cumulate rpc-port-devel-1.19.2-0 [ 10s] [235/241] cumulate rust-mockall_derive-0.11.4-1 [ 10s] [236/241] cumulate rust-mockall_double-0.3.0-1 [ 10s] [237/241] cumulate pkgmgr-client-0.20.21-0 [ 10s] [238/241] cumulate pkgmgr-installer-0.20.21-0 [ 10s] [239/241] cumulate pkgmgr-installer-devel-0.20.21-0 [ 10s] [240/241] cumulate pkgmgr-client-devel-0.20.21-0 [ 10s] [241/241] cumulate rust-mockall-0.11.4-1 [ 10s] now installing cumulated packages [ 10s] Preparing... ######################################## [ 10s] Updating / installing... [ 10s] tizen-platform-config-5.0-1 ######################################## [ 12s] ln: creating symbolic link `/opt/etc/skel/media/Shared/media_shared': File exists [ 12s] xz-devel-5.4.5-1.6 ######################################## [ 12s] vconf-internal-keys-devel-0.0.191-0 ######################################## [ 14s] rust-std-static-1.74.0-1 ######################################## [ 14s] default-ac-domains-0.1-1.1 ######################################## [ 14s] rust-std-shared-1.74.0-1 ######################################## [ 14s] libtzplatform-config-5.0-1 ######################################## [ 14s] libsystemd-244-0 ######################################## [ 15s] shadow-utils-4.1.4.2-7.1 ######################################## [ 15s] parcel-0.17.3-0 ######################################## [ 15s] capi-system-resource-1.0.0-0 ######################################## [ 15s] rust-cfg-if-1.0.0-1 ######################################## [ 15s] minizip-1.3-1.5 ######################################## [ 15s] rust-predicates-core-1.0.6-1 ######################################## [ 15s] rust-unicode-ident-1.0.6-1 ######################################## [ 16s] rust-proc-macro2-1.0.51-1 ######################################## [ 16s] rust-quote-1.0.23-1 ######################################## [ 17s] rust-syn-1.0.107-1 ######################################## [ 17s] xdgmime-0.0.17-1.1 ######################################## [ 18s] xdgmime-devel-0.0.17-1.1 ######################################## [ 18s] capi-system-resource-devel-1.0.0-0 ######################################## [ 18s] parcel-devel-0.17.3-0 ######################################## [ 18s] libtzplatform-config-devel-5.0-1 ######################################## [ 18s] rust-mockall_derive-0.11.4-1 ######################################## [ 18s] dbus-libs-1.12.20-3 ######################################## [ 27s] rust-devel-1.74.0-1 ######################################## [ 27s] rust-either-1.8.1-1 ######################################## [ 27s] rust-itertools-0.10.5-1 ######################################## [ 27s] rust-normalize-line-endings-0.3.0-1 ######################################## [ 27s] rust-anstyle-0.3.5-1 ######################################## [ 27s] rust-difflib-0.4.0-1 ######################################## [ 27s] rust-downcast-0.11.0-1 ######################################## [ 28s] rust-fragile-2.0.0-1 ######################################## [ 28s] rust-libc-0.2.139-1 ######################################## [ 28s] rust-libm-0.2.6-1 ######################################## [ 28s] rust-num-traits-0.2.15-1 ######################################## [ 28s] rust-float-cmp-0.9.0-1 ######################################## [ 29s] rust-regex-syntax-0.6.28-1 ######################################## [ 29s] rust-regex-1.7.1-1 ######################################## [ 29s] rust-predicates-3.0.4-1 ######################################## [ 29s] rust-scopeguard-1.1.0-1 ######################################## [ 29s] rust-lock_api-0.4.9-1 ######################################## [ 29s] rust-spin-0.9.5-1 ######################################## [ 29s] rust-lazy_static-1.4.0-1 ######################################## [ 30s] rust-termtree-0.4.1-1 ######################################## [ 30s] rust-predicates-tree-1.0.9-1 ######################################## [ 30s] libjson-glib-1.8.0-0 ######################################## [ 30s] bundle-0.17.3-0 ######################################## [ 30s] bundle-devel-0.17.3-0 ######################################## [ 30s] libxml2-tools-2.12.5-1.5 ######################################## [ 30s] libncurses5-6.4-1.6 ######################################## [ 30s] ncurses-devel-6.4-1.6 ######################################## [ 30s] readline-devel-5.2-1.4 ######################################## [ 30s] libxml2-devel-2.12.5-1.5 ######################################## [ 30s] acl-2.3.2-1.4 ######################################## [ 30s] ttrace-1.1.0-1 ######################################## [ 30s] cynara-db-migration-0.19.6-1 ######################################## [ 31s] libcynara-commons-0.19.6-1 ######################################## [ 31s] libcynara-client-0.19.6-1 ######################################## [ 32s] libcynara-session-0.19.6-1 ######################################## [ 32s] libcynara-creds-commons-0.19.6-1 ######################################## [ 32s] libcynara-creds-socket-0.19.6-1 ######################################## [ 32s] libkmod-31-1.1 ######################################## [ 34s] systemd-244-0 ######################################## [ 36s] update-alternatives: using /usr/lib/systemd/systemd-shutdown-original to provide /usr/lib/systemd/systemd-shutdown (systemd-shutdown) in auto mode [ 36s] update-alternatives: using /usr/sbin/reboot-original to provide /usr/sbin/reboot (reboot) in auto mode [ 36s] update-alternatives: using /usr/sbin/halt-original to provide /usr/sbin/halt (halt) in auto mode [ 36s] update-alternatives: using /usr/sbin/poweroff-original to provide /usr/sbin/poweroff (poweroff) in auto mode [ 36s] update-alternatives: using /usr/sbin/shutdown-original to provide /usr/sbin/shutdown (shutdown) in auto mode [ 36s] gettext-runtime-0.21.1-2.5 ######################################## [ 36s] sqlite-3.44.0-1.4 ######################################## [ 36s] libcap-tools-2.69-1.4 ######################################## [ 36s] security-config-1.0-1 ######################################## [ 36s] groupadd: group 'dbus' already exists [ 37s] groupadd: group 'system_fw' already exists [ 37s] groupadd: group 'crash_worker' already exists [ 37s] groupadd: group 'stability_monitor' already exists [ 37s] groupadd: group 'gumd' already exists [ 37s] groupadd: group 'web_fw' already exists [ 37s] groupadd: group 'app_fw' already exists [ 37s] groupadd: group 'buxton' already exists [ 37s] groupadd: group 'security_fw' already exists [ 37s] groupadd: group 'multimedia_fw' already exists [ 37s] groupadd: group 'graphic_fw' already exists [ 37s] groupadd: group 'ui_fw' already exists [ 37s] groupadd: group 'network_fw' already exists [ 37s] groupadd: group 'telephony' already exists [ 37s] groupadd: group 'service_fw' already exists [ 37s] groupadd: group 'messaging' already exists [ 37s] groupadd: group 'social' already exists [ 37s] groupadd: group 'location' already exists [ 37s] groupadd: group 'sensor' already exists [ 37s] groupadd: group 'sdk' already exists [ 37s] groupadd: group 'scm' already exists [ 38s] groupadd: group 'application' already exists [ 38s] groupadd: group 'broadcasting' already exists [ 38s] groupadd: group 'testing' already exists [ 38s] groupadd: group 'system_share' already exists [ 38s] groupadd: group 'priv_use_ir' already exists [ 38s] groupadd: group 'priv_tee_client' already exists [ 38s] groupadd: group 'priv_peripheralio' already exists [ 38s] groupadd: group 'priv_d2d_datasharing' already exists [ 38s] groupadd: group 'priv_vpnservice' already exists [ 38s] groupadd: group 'priv_vpnservice_admin' already exists [ 38s] groupadd: group 'priv_location_coarse' already exists [ 38s] groupadd: group 'priv_livecoredump' already exists [ 38s] groupadd: group 'priv_appdebugging' already exists [ 38s] groupadd: group 'priv_platform' already exists [ 38s] useradd: user 'dbus' already exists [ 39s] useradd: user 'system_fw' already exists [ 39s] useradd: user 'web_fw' already exists [ 39s] useradd: user 'app_fw' already exists [ 39s] useradd: user 'buxton' already exists [ 39s] useradd: user 'security_fw' already exists [ 39s] useradd: user 'multimedia_fw' already exists [ 39s] useradd: user 'graphic_fw' already exists [ 39s] useradd: user 'ui_fw' already exists [ 39s] useradd: user 'network_fw' already exists [ 39s] useradd: user 'telephony' already exists [ 39s] useradd: user 'service_fw' already exists [ 39s] useradd: user 'messaging' already exists [ 40s] useradd: user 'social' already exists [ 40s] useradd: user 'location' already exists [ 40s] useradd: user 'sensor' already exists [ 40s] useradd: user 'sdk' already exists [ 40s] useradd: user 'scm' already exists [ 40s] useradd: user 'application' already exists [ 40s] useradd: user 'broadcasting' already exists [ 40s] useradd: user 'testing' already exists [ 40s] useradd: user 'crash_worker' already exists [ 40s] useradd: user 'stability_monitor' already exists [ 45s] cat: /etc/tizen-build.conf: No such file or directory [ 45s] capi-system-info-0.5.2-1 ######################################## [ 45s] pkgmgr-0.20.21-0 ######################################## [ 46s] pkgmgr-types-devel-0.20.21-0 ######################################## [ 46s] dbus-1.12.20-3 ######################################## [ 46s] libgum-1.0.8-0 ######################################## [ 46s] gumd-1.0.8-0 ######################################## [ 47s] buxton2-1.8.10-0 ######################################## [ 47s] vconf-compat-1.8.10-0 ######################################## [ 48s] vconf-compat-devel-1.8.10-0 ######################################## [ 48s] pkgmgr-info-parser-0.28.5-1 ######################################## [ 48s] pkgmgr-info-0.28.5-1 ######################################## [ 48s] pkgmgr-info-devel-0.28.5-1 ######################################## [ 48s] libjson-0.17-0 ######################################## [ 49s] pkgmgr-info-parser-devel-0.28.5-1 ######################################## [ 49s] libgum-devel-1.0.8-0 ######################################## [ 49s] sqlite-devel-3.44.0-1.4 ######################################## [ 49s] systemd-devel-244-0 ######################################## [ 49s] minizip-devel-1.3-1.5 ######################################## [ 49s] libsyscommon-5.0.0-0 ######################################## [ 49s] libstorage-1.0.0-0 ######################################## [ 49s] aul-0.66.0-1 ######################################## [ 49s] rpc-port-1.19.2-0 ######################################## [ 50s] rpc-port-devel-1.19.2-0 ######################################## [ 50s] aul-devel-0.66.0-1 ######################################## [ 50s] pkgmgr-client-0.20.21-0 ######################################## [ 50s] pkgmgr-installer-0.20.21-0 ######################################## [ 50s] pkgmgr-installer-devel-0.20.21-0 ######################################## [ 50s] pkgmgr-client-devel-0.20.21-0 ######################################## [ 50s] gettext-tools-0.21.1-2.5 ######################################## [ 50s] rust-mockall-0.11.4-1 ######################################## [ 51s] rust-glib-sys-0.17.10-1 ######################################## [ 55s] rust-1.74.0-1 ######################################## [ 55s] rust-mockall_double-0.3.0-1 ######################################## [ 55s] rust-minizip-sys-0.1.2-1 ######################################## [ 55s] unzip-610c25-1.1 ######################################## [ 56s] tidl-2.3.4-1 ######################################## [ 56s] fdupes-2.2.1-1.4 ######################################## [ 56s] Running capi-system-info %posttrans script [ 56s] I/O warning : failed to load external entity "/etc/config/model-config.xml" [ 56s] iniparser: cannot open /etc/info.ini [ 56s] Running pkgmgr %posttrans script [ 56s] /var/tmp/rpm-tmp.wWCGxM: line 5: pkg_initdb: command not found [ 56s] /var/tmp/rpm-tmp.wWCGxM: line 6: install_preload_pkg: command not found [ 56s] /var/tmp/rpm-tmp.wWCGxM: line 13: pkgcmd: command not found [ 56s] /var/tmp/rpm-tmp.wWCGxM: line 15: /etc/package-manager/pkgmgr-label-initial-image.sh: No such file or directory [ 56s] Running buxton2 %posttrans script [ 56s] chmod: cannot access `/etc/buxton2/*': No such file or directory [ 56s] /etc/buxton2/*: No such file or directory [ 56s] chmod: cannot access `/var/lib/buxton2/*': No such file or directory [ 56s] /var/lib/buxton2/*: No such file or directory [ 56s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.14/etc/nsswitch.conf... [ 56s] now finalizing build dir... [ 57s] ----------------------------------------------------------------- [ 57s] ----- building pkgmgr-server.spec (user abuild) [ 57s] ----------------------------------------------------------------- [ 57s] ----------------------------------------------------------------- [ 57s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_costomized_smp_mflags -j32' --define '_srcdefattr (-,root,root)' --nosignature --target=armv7l-tizen-linux --define '_build_create_debug 1' -ba /home/abuild/rpmbuild/SOURCES/pkgmgr-server.spec [ 57s] Building target platforms: armv7l-tizen-linux [ 57s] Building for target armv7l-tizen-linux [ 57s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.d5pzwf [ 57s] + umask 022 [ 57s] + cd /home/abuild/rpmbuild/BUILD [ 57s] + cd /home/abuild/rpmbuild/BUILD [ 57s] + rm -rf pkgmgr-server-1.0.15 [ 57s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/pkgmgr-server-1.0.15.tar.gz [ 57s] + /bin/tar -xof - [ 57s] + STATUS=0 [ 57s] + '[' 0 -ne 0 ']' [ 57s] + cd pkgmgr-server-1.0.15 [ 57s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 57s] + cp /home/abuild/rpmbuild/SOURCES/pkgmgr-server.manifest . [ 58s] + tidlc -s -l C -e -i ./tidl_pkgmgr_server/PkgMgr.tidl -o tidl_pkgmgr_server [ 58s] + mv tidl_pkgmgr_server.c tidl_pkgmgr_server.h ./tidl_pkgmgr_server/ [ 58s] + exit 0 [ 58s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.skXYt2 [ 58s] + umask 022 [ 58s] + cd /home/abuild/rpmbuild/BUILD [ 58s] + cd pkgmgr-server-1.0.15 [ 58s] + ref=/usr/lib/rpm [ 58s] + mints=0 [ 58s] + case $(uname -m) in [ 58s] ++ uname -m [ 58s] + for s in guess sub [ 58s] ++ find -maxdepth 8 -name config.guess [ 58s] + for s in guess sub [ 58s] ++ find -maxdepth 8 -name config.sub [ 58s] + LANG=C [ 58s] + export LANG [ 58s] + unset DISPLAY [ 58s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g' [ 58s] + export CFLAGS [ 58s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g' [ 58s] + export CXXFLAGS [ 58s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -I%_fmoddir' [ 58s] + export FFLAGS [ 58s] + LDFLAGS= [ 58s] + export LDFLAGS [ 58s] + export 'CFLAGS=-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 58s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 58s] + export 'CXXFLAGS=-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 58s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 58s] + export 'FFLAGS=-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 58s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 58s] ++ echo 1.0.15 [ 58s] ++ awk 'BEGIN {FS="."}{print $1}' [ 58s] + MAJORVER=1 [ 58s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 58s] + export CFLAGS [ 58s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE' [ 58s] + export CXXFLAGS [ 58s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 58s] + export FFLAGS [ 58s] + /usr/bin/cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_SKIP_RPATH:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -DFULLVER=1.0.15 -DMAJORVER=1 -DUNITDIR=/usr/lib/systemd/system . [ 58s] -- The C compiler identification is GNU 14.2.0 [ 58s] -- The CXX compiler identification is GNU 14.2.0 [ 58s] -- Detecting C compiler ABI info [ 58s] -- Detecting C compiler ABI info - done [ 58s] -- Check for working C compiler: /bin/cc - skipped [ 58s] -- Detecting C compile features [ 58s] -- Detecting C compile features - done [ 58s] -- Detecting CXX compiler ABI info [ 58s] -- Detecting CXX compiler ABI info - done [ 58s] -- Check for working CXX compiler: /bin/c++ - skipped [ 58s] -- Detecting CXX compile features [ 58s] -- Detecting CXX compile features - done [ 58s] -- Found PkgConfig: /bin/pkg-config (found version "0.29.2") [ 58s] -- Checking for module 'rpc-port' [ 58s] -- Found rpc-port, version [ 59s] -- Checking for module 'dlog' [ 59s] -- Found dlog, version 1.0 [ 59s] -- Checking for module 'gio-2.0' [ 59s] -- Found gio-2.0, version 2.80.5 [ 60s] -- Checking for module 'glib-2.0' [ 60s] -- Found glib-2.0, version 2.80.5 [ 61s] -- Checking for module 'capi-base-common' [ 61s] -- Found capi-base-common, version 0.4.82 [ 61s] -- Checking for module 'pkgmgr' [ 62s] -- Found pkgmgr, version 0.20.21 [ 62s] -- Checking for module 'libtzplatform-config' [ 62s] -- Found libtzplatform-config, version 2.0 [ 63s] -- Configuring done [ 63s] -- Generating done [ 63s] CMake Warning: [ 63s] Manually-specified variables were not used by the project: [ 63s] [ 63s] FULLVER [ 63s] INCLUDE_INSTALL_DIR [ 63s] MAJORVER [ 63s] SHARE_INSTALL_PREFIX [ 63s] SYSCONF_INSTALL_DIR [ 63s] [ 63s] [ 63s] -- Build files have been written to: /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 63s] + make -j8 [ 63s] /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 [ 63s] /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 [ 63s] make -f CMakeFiles/Makefile2 all [ 63s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 63s] make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/depend [ 63s] make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/depend [ 63s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 63s] 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= [ 63s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 63s] 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= [ 63s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 63s] make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build [ 63s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 63s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 63s] make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build [ 63s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 63s] [ 25%] Building C object tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o [ 63s] cd /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server && /bin/cc -DLIBDIR=\"/usr/lib\" -Dtidl_pkgmgr_server_EXPORTS -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server/SYSTEM -I/usr/include/rpc-port -I/usr/include/dlog -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -fPIC -I/usr/include/rpc-port -I/usr/include/dlog -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MD -MT tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o -MF CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o.d -o CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o -c /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server/tidl_pkgmgr_server.c [ 63s] [ 50%] Building C object util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o [ 63s] cd /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server && /bin/cc -DLIBDIR=\"/usr/lib\" -Dutil_pkgmgr_server_EXPORTS -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server/SYSTEM -I/usr/include/rpc-port -I/usr/include/dlog -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -fPIC -I/usr/include/rpc-port -I/usr/include/dlog -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/ -MD -MT util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o -MF CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o.d -o CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o -c /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server/util_pkgmgr_server.c [ 63s] [ 75%] Linking C shared library libutil_pkgmgr_server.so [ 63s] 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 [ 63s] /bin/cc -fPIC -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -shared -Wl,-soname,libutil_pkgmgr_server.so -o libutil_pkgmgr_server.so CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o -lrpc-port -ldlog -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lglib-2.0 -lcapi-base-common -lpkgmgr-client -ltzplatform-config-2.0 -ldl [ 63s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 63s] [ 75%] Built target util_pkgmgr_server [ 65s] [100%] Linking C shared library libtidl_pkgmgr_server.so [ 65s] 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 [ 65s] /bin/cc -fPIC -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -shared -Wl,-soname,libtidl_pkgmgr_server.so -o libtidl_pkgmgr_server.so CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o -lrpc-port -ldlog -lglib-2.0 -lcapi-base-common -ldl [ 65s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 65s] [100%] Built target tidl_pkgmgr_server [ 65s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 65s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/CMakeFiles 0 [ 65s] + export LD_LIBRARY_PATH=:/usr/lib/rustlib:/usr/lib/rustlib/dylib [ 65s] + LD_LIBRARY_PATH=:/usr/lib/rustlib:/usr/lib/rustlib/dylib [ 65s] ++ find /usr/lib -maxdepth 1 -name 'libstd-*.so' [ 65s] + __rust_std=/usr/lib/libstd-161dbff30b3b0c00.so [ 65s] + /usr/bin/rustc -C prefer-dynamic --extern std=/usr/lib/libstd-161dbff30b3b0c00.so -C codegen-units=1 -C debuginfo=2 -C opt-level=3 -C relocation-model=pic -C overflow-checks=on -C symbol-mangling-version=v0 -L/usr/lib/rustlib -L/usr/lib/rustlib/dylib --crate-type=bin --crate-name=rust_pkgmgr_server -L native=./tidl_pkgmgr_server -L native=./util_pkgmgr_server -l minizip --edition=2021 --extern libc=/usr/lib/rustlib/dylib/liblibc.so ./src/main.rs [ 67s] warning: unused import: `boxed` [ 67s] --> ./src/pkgmgr/server/admin_service.rs:4:11 [ 67s] | [ 67s] 4 | use std::{boxed, str}; [ 67s] | ^^^^^ [ 67s] | [ 67s] = note: `#[warn(unused_imports)]` on by default [ 67s] [ 67s] warning: unused import: `std::mem` [ 67s] --> ./src/pkgmgr/server/admin_service.rs:6:5 [ 67s] | [ 67s] 6 | use std::mem; [ 67s] | ^^^^^^^^ [ 67s] [ 67s] warning: unused import: `std::ptr` [ 67s] --> ./src/pkgmgr/server/admin_service.rs:7:5 [ 67s] | [ 67s] 7 | use std::ptr; [ 67s] | ^^^^^^^^ [ 67s] [ 67s] warning: unused import: `malloc` [ 67s] --> ./src/pkgmgr/server/admin_service.rs:8:18 [ 67s] | [ 67s] 8 | use libc::{free, malloc, strlen}; [ 67s] | ^^^^^^ [ 67s] [ 67s] warning: unused import: `super::Server` [ 67s] --> ./src/pkgmgr/server/admin_service.rs:10:5 [ 67s] | [ 67s] 10 | use super::Server; [ 67s] | ^^^^^^^^^^^^^ [ 67s] [ 67s] warning: type `rpc_port_stub_array_string_h` should have an upper camel case name [ 67s] --> ./src/pkgmgr/server/admin_service.rs:23:6 [ 67s] | [ 67s] 23 | type rpc_port_stub_array_string_h = *mut c_void; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RpcPortStubArrayStringH` [ 67s] | [ 67s] = note: `#[warn(non_camel_case_types)]` on by default [ 67s] [ 67s] warning: unused imports: `pid_t`, `uid_t` [ 67s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 67s] | [ 67s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 67s] | ^^^^^ ^^^^^ [ 67s] [ 67s] warning: unused imports: `c_int`, `c_void` [ 67s] --> ./src/pkgmgr/server/backend_context.rs:4:16 [ 67s] | [ 67s] 4 | use std::ffi::{c_int, c_void}; [ 67s] | ^^^^^ ^^^^^^ [ 67s] [ 67s] warning: unused import: `std::path::Path` [ 67s] --> ./src/pkgmgr/server/backend_queue.rs:10:5 [ 67s] | [ 67s] 10 | use std::path::Path; [ 67s] | ^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: denote infinite loops with `loop { ... }` [ 67s] --> ./src/pkgmgr/server/backend_queue.rs:50:9 [ 67s] | [ 67s] 50 | while true { [ 67s] | ^^^^^^^^^^ help: use `loop` [ 67s] | [ 67s] = note: `#[warn(while_true)]` on by default [ 67s] [ 67s] warning: unnecessary parentheses around `if` condition [ 67s] --> ./src/pkgmgr/server/backend_queue.rs:73:8 [ 67s] | [ 67s] 73 | if (mut_queue.is_queue_empty()) { [ 67s] | ^ ^ [ 67s] | [ 67s] = note: `#[warn(unused_parens)]` on by default [ 67s] help: remove these parentheses [ 67s] | [ 67s] 73 - if (mut_queue.is_queue_empty()) { [ 67s] 73 + if mut_queue.is_queue_empty() { [ 67s] | [ 67s] [ 67s] warning: unnecessary trailing semicolon [ 67s] --> ./src/pkgmgr/server/backend_queue.rs:297:17 [ 67s] | [ 67s] 297 | ; [ 67s] | ^ help: remove this semicolon [ 67s] | [ 67s] = note: `#[warn(redundant_semicolons)]` on by default [ 67s] [ 67s] warning: unused import: `super::Server` [ 67s] --> ./src/pkgmgr/server/cache_service.rs:1:5 [ 67s] | [ 67s] 1 | use super::Server; [ 67s] | ^^^^^^^^^^^^^ [ 67s] [ 67s] warning: unused import: `super::Server` [ 67s] --> ./src/pkgmgr/server/delayed_service.rs:1:5 [ 67s] | [ 67s] 1 | use super::Server; [ 67s] | ^^^^^^^^^^^^^ [ 67s] [ 67s] warning: unused import: `super::backend_context::*` [ 67s] --> ./src/pkgmgr/server/delayed_service.rs:4:5 [ 67s] | [ 67s] 4 | use super::backend_context::*; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: unused import: `super::request_result::*` [ 67s] --> ./src/pkgmgr/server/delayed_service.rs:5:5 [ 67s] | [ 67s] 5 | use super::request_result::*; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: unused import: `super::request_type::*` [ 67s] --> ./src/pkgmgr/server/delayed_service.rs:6:5 [ 67s] | [ 67s] 6 | use super::request_type::*; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: unused import: `super::util::*` [ 67s] --> ./src/pkgmgr/server/delayed_service.rs:7:5 [ 67s] | [ 67s] 7 | use super::util::*; [ 67s] | ^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: unused imports: `pid_t`, `uid_t` [ 67s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 67s] | [ 67s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 67s] | ^^^^^ ^^^^^ [ 67s] [ 67s] warning: unused import: `std::io::Error` [ 67s] --> ./src/pkgmgr/server/info_service.rs:3:5 [ 67s] | [ 67s] 3 | use std::io::Error; [ 67s] | ^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: unused import: `std::mem` [ 67s] --> ./src/pkgmgr/server/info_service.rs:6:5 [ 67s] | [ 67s] 6 | use std::mem; [ 67s] | ^^^^^^^^ [ 67s] [ 67s] warning: unused import: `std::ptr` [ 67s] --> ./src/pkgmgr/server/info_service.rs:7:5 [ 67s] | [ 67s] 7 | use std::ptr; [ 67s] | ^^^^^^^^ [ 67s] [ 67s] warning: unused imports: `free`, `malloc`, `strlen` [ 67s] --> ./src/pkgmgr/server/info_service.rs:8:12 [ 67s] | [ 67s] 8 | use libc::{free, malloc, strlen, mkfifo}; [ 67s] | ^^^^ ^^^^^^ ^^^^^^ [ 67s] [ 67s] warning: unused import: `super::Server` [ 67s] --> ./src/pkgmgr/server/info_service.rs:10:5 [ 67s] | [ 67s] 10 | use super::Server; [ 67s] | ^^^^^^^^^^^^^ [ 67s] [ 67s] warning: unused import: `super::service::Service` [ 67s] --> ./src/pkgmgr/server/info_service.rs:13:5 [ 67s] | [ 67s] 13 | use super::service::Service; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: unnecessary trailing semicolon [ 67s] --> ./src/pkgmgr/server/info_service.rs:49:5 [ 67s] | [ 67s] 49 | ; [ 67s] | ^ help: remove this semicolon [ 67s] [ 67s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 67s] --> ./src/pkgmgr/server/request_result.rs:7:5 [ 67s] | [ 67s] 7 | GETSIZE_SYNC(String, i32, i32), [ 67s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 67s] [ 67s] warning: variant `GET_GENERATE_LICENSE_RESULT` should have an upper camel case name [ 67s] --> ./src/pkgmgr/server/request_result.rs:8:5 [ 67s] | [ 67s] 8 | GET_GENERATE_LICENSE_RESULT(String, i32, CString, CString), [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetGenerateLicenseResult` [ 67s] [ 67s] warning: variant `MOUNT_INSTALL` should have an upper camel case name [ 67s] --> ./src/pkgmgr/server/request_type.rs:3:5 [ 67s] | [ 67s] 3 | MOUNT_INSTALL, [ 67s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MountInstall` [ 67s] [ 67s] warning: variant `ENABLE_PKG` should have an upper camel case name [ 67s] --> ./src/pkgmgr/server/request_type.rs:7:5 [ 67s] | [ 67s] 7 | ENABLE_PKG, [ 67s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnablePkg` [ 67s] [ 67s] warning: variant `DISABLE_PKG` should have an upper camel case name [ 67s] --> ./src/pkgmgr/server/request_type.rs:8:5 [ 67s] | [ 67s] 8 | DISABLE_PKG, [ 67s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisablePkg` [ 67s] [ 67s] warning: variant `REGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 67s] --> ./src/pkgmgr/server/request_type.rs:9:5 [ 67s] | [ 67s] 9 | REGISTER_PKG_UPDATE_INFO, [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterPkgUpdateInfo` [ 67s] [ 67s] warning: variant `UNREGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 67s] --> ./src/pkgmgr/server/request_type.rs:10:5 [ 67s] | [ 67s] 10 | UNREGISTER_PKG_UPDATE_INFO, [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterPkgUpdateInfo` [ 67s] [ 67s] warning: variant `UNREGISTER_ALL_PKG_UPDATE_INFO` should have an upper camel case name [ 67s] --> ./src/pkgmgr/server/request_type.rs:11:5 [ 67s] | [ 67s] 11 | UNREGISTER_ALL_PKG_UPDATE_INFO, [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterAllPkgUpdateInfo` [ 67s] [ 67s] warning: variant `ENABLE_APP` should have an upper camel case name [ 67s] --> ./src/pkgmgr/server/request_type.rs:12:5 [ 67s] | [ 67s] 12 | ENABLE_APP, [ 67s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableApp` [ 67s] [ 67s] warning: variant `DISABLE_APP` should have an upper camel case name [ 67s] --> ./src/pkgmgr/server/request_type.rs:13:5 [ 67s] | [ 67s] 13 | DISABLE_APP, [ 67s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableApp` [ 67s] [ 67s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 67s] --> ./src/pkgmgr/server/request_type.rs:15:5 [ 67s] | [ 67s] 15 | GETSIZE_SYNC, [ 67s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 67s] [ 67s] warning: variant `ENABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 67s] --> ./src/pkgmgr/server/request_type.rs:18:5 [ 67s] | [ 67s] 18 | ENABLE_GLOBAL_APP_FOR_UID, [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableGlobalAppForUid` [ 67s] [ 67s] warning: variant `DISABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 67s] --> ./src/pkgmgr/server/request_type.rs:19:5 [ 67s] | [ 67s] 19 | DISABLE_GLOBAL_APP_FOR_UID, [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableGlobalAppForUid` [ 67s] [ 67s] warning: variant `GENERATE_LICENSE_REQUEST` should have an upper camel case name [ 67s] --> ./src/pkgmgr/server/request_type.rs:22:5 [ 67s] | [ 67s] 22 | GENERATE_LICENSE_REQUEST, [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GenerateLicenseRequest` [ 67s] [ 67s] warning: variant `REGISTER_LICENSE` should have an upper camel case name [ 67s] --> ./src/pkgmgr/server/request_type.rs:23:5 [ 67s] | [ 67s] 23 | REGISTER_LICENSE, [ 67s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterLicense` [ 67s] [ 67s] warning: variant `DECRYPT_PACKAGE` should have an upper camel case name [ 67s] --> ./src/pkgmgr/server/request_type.rs:24:5 [ 67s] | [ 67s] 24 | DECRYPT_PACKAGE, [ 67s] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DecryptPackage` [ 67s] [ 67s] warning: variant `ENABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 67s] --> ./src/pkgmgr/server/request_type.rs:25:5 [ 67s] | [ 67s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableAppSplashScreen` [ 67s] [ 67s] warning: variant `DISABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 67s] --> ./src/pkgmgr/server/request_type.rs:26:5 [ 67s] | [ 67s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableAppSplashScreen` [ 67s] [ 67s] warning: variant `SET_APP_LABEL` should have an upper camel case name [ 67s] --> ./src/pkgmgr/server/request_type.rs:27:5 [ 67s] | [ 67s] 27 | SET_APP_LABEL, [ 67s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppLabel` [ 67s] [ 67s] warning: variant `SET_APP_ICON` should have an upper camel case name [ 67s] --> ./src/pkgmgr/server/request_type.rs:28:5 [ 67s] | [ 67s] 28 | SET_APP_ICON, [ 67s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppIcon` [ 67s] [ 67s] warning: variant `MIGRATE_EXTERNAL_IMAGE` should have an upper camel case name [ 67s] --> ./src/pkgmgr/server/request_type.rs:29:5 [ 67s] | [ 67s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MigrateExternalImage` [ 67s] [ 67s] warning: variant `RESOURCE_SHARE_COPY` should have an upper camel case name [ 67s] --> ./src/pkgmgr/server/request_type.rs:30:5 [ 67s] | [ 67s] 30 | RESOURCE_SHARE_COPY, [ 67s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCopy` [ 67s] [ 67s] warning: variant `RESOURCE_SHARE_CREATE_DIR` should have an upper camel case name [ 67s] --> ./src/pkgmgr/server/request_type.rs:31:5 [ 67s] | [ 67s] 31 | RESOURCE_SHARE_CREATE_DIR, [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCreateDir` [ 67s] [ 67s] warning: variant `RESOURCE_SHARE_REMOVE` should have an upper camel case name [ 67s] --> ./src/pkgmgr/server/request_type.rs:32:5 [ 67s] | [ 67s] 32 | RESOURCE_SHARE_REMOVE, [ 67s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareRemove` [ 67s] [ 67s] warning: variant `RESOURCE_SHARE_UNINSTALL` should have an upper camel case name [ 67s] --> ./src/pkgmgr/server/request_type.rs:33:5 [ 67s] | [ 67s] 33 | RESOURCE_SHARE_UNINSTALL, [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareUninstall` [ 67s] [ 67s] warning: variant `REMOVE_FILE` should have an upper camel case name [ 67s] --> ./src/pkgmgr/server/request_type.rs:34:5 [ 67s] | [ 67s] 34 | REMOVE_FILE, [ 67s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RemoveFile` [ 67s] [ 67s] warning: unused import: `CStr` [ 67s] --> ./src/pkgmgr/server/signal.rs:1:39 [ 67s] | [ 67s] 1 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 67s] | ^^^^ [ 67s] [ 67s] warning: unused import: `pid_t` [ 67s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 67s] | [ 67s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: unused imports: `CStr`, `CString`, `c_char`, `c_void` [ 67s] --> ./src/pkgmgr/server/signal.rs:39:20 [ 67s] | [ 67s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 67s] | ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^ [ 67s] [ 67s] warning: unused import: `pid_t` [ 67s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 67s] | [ 67s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: unused import: `std::cell::RefCell` [ 67s] --> ./src/pkgmgr/server/util.rs:1:5 [ 67s] | [ 67s] 1 | use std::cell::RefCell; [ 67s] | ^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: unused import: `std::rc::Rc` [ 67s] --> ./src/pkgmgr/server/util.rs:8:5 [ 67s] | [ 67s] 8 | use std::rc::Rc; [ 67s] | ^^^^^^^^^^^ [ 67s] [ 67s] warning: type `xmlChar` should have an upper camel case name [ 67s] --> ./src/pkgmgr/server/util.rs:34:6 [ 67s] | [ 67s] 34 | type xmlChar = c_uchar; [ 67s] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlChar` [ 67s] [ 67s] warning: type `xmlTextReaderPtr` should have an upper camel case name [ 67s] --> ./src/pkgmgr/server/util.rs:35:6 [ 67s] | [ 67s] 35 | type xmlTextReaderPtr = *mut c_void; [ 67s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlTextReaderPtr` [ 67s] [ 67s] warning: unused imports: `CStr`, `CString` [ 67s] --> ./src/pkgmgr/server/util.rs:39:43 [ 67s] | [ 67s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 67s] | ^^^^ ^^^^^^^ [ 67s] [ 67s] warning: unused import: `pid_t` [ 67s] --> ./src/pkgmgr/server/util.rs:40:37 [ 67s] | [ 67s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: unnecessary parentheses around `if` condition [ 67s] --> ./src/pkgmgr/server/util.rs:474:24 [ 67s] | [ 67s] 474 | if (cur == depth + 1) { [ 67s] | ^ ^ [ 67s] | [ 67s] help: remove these parentheses [ 67s] | [ 67s] 474 - if (cur == depth + 1) { [ 67s] 474 + if cur == depth + 1 { [ 67s] | [ 67s] [ 67s] warning: unnecessary parentheses around `if` condition [ 67s] --> ./src/pkgmgr/server/util.rs:571:12 [ 67s] | [ 67s] 571 | if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 67s] | ^ ^ [ 67s] | [ 67s] help: remove these parentheses [ 67s] | [ 67s] 571 - if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 67s] 571 + if unzOpenCurrentFile(uf) != UNZ_OK as c_int { [ 67s] | [ 67s] [ 67s] warning: unused import: `super::super::super::server::signal::*` [ 67s] --> ./src/pkgmgr/server/test/signal_tests.rs:1:5 [ 67s] | [ 67s] 1 | use super::super::super::server::signal::*; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] | [ 67s] help: consider adding a `#[cfg(test)]` to the containing module [ 67s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 67s] | [ 67s] 3 | pub mod signal_tests; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: unused import: `std::ffi::CString` [ 67s] --> ./src/pkgmgr/server/test/signal_tests.rs:2:5 [ 67s] | [ 67s] 2 | use std::ffi::CString; [ 67s] | ^^^^^^^^^^^^^^^^^ [ 67s] | [ 67s] help: consider adding a `#[cfg(test)]` to the containing module [ 67s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 67s] | [ 67s] 3 | pub mod signal_tests; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: unused import: `std::ffi::CStr` [ 67s] --> ./src/pkgmgr/server/test/signal_tests.rs:3:5 [ 67s] | [ 67s] 3 | use std::ffi::CStr; [ 67s] | ^^^^^^^^^^^^^^ [ 67s] | [ 67s] help: consider adding a `#[cfg(test)]` to the containing module [ 67s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 67s] | [ 67s] 3 | pub mod signal_tests; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: unused import: `std::ffi::c_char` [ 67s] --> ./src/pkgmgr/server/test/signal_tests.rs:4:5 [ 67s] | [ 67s] 4 | use std::ffi::c_char; [ 67s] | ^^^^^^^^^^^^^^^^ [ 67s] | [ 67s] help: consider adding a `#[cfg(test)]` to the containing module [ 67s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 67s] | [ 67s] 3 | pub mod signal_tests; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: unused import: `std::mem` [ 67s] --> ./src/pkgmgr/server/test/signal_tests.rs:5:5 [ 67s] | [ 67s] 5 | use std::mem; [ 67s] | ^^^^^^^^ [ 67s] | [ 67s] help: consider adding a `#[cfg(test)]` to the containing module [ 67s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 67s] | [ 67s] 3 | pub mod signal_tests; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: unused import: `mockall::predicate::*` [ 67s] --> ./src/pkgmgr/server/test/signal_tests.rs:6:5 [ 67s] | [ 67s] 6 | use mockall::predicate::*; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^ [ 67s] | [ 67s] help: consider adding a `#[cfg(test)]` to the containing module [ 67s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 67s] | [ 67s] 3 | pub mod signal_tests; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: unused import: `mockall::*` [ 67s] --> ./src/pkgmgr/server/test/signal_tests.rs:7:5 [ 67s] | [ 67s] 7 | use mockall::*; [ 67s] | ^^^^^^^^^^ [ 67s] | [ 67s] help: consider adding a `#[cfg(test)]` to the containing module [ 67s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 67s] | [ 67s] 3 | pub mod signal_tests; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: unused imports: `pid_t`, `uid_t` [ 67s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 67s] | [ 67s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 67s] | ^^^^^ ^^^^^ [ 67s] | [ 67s] help: consider adding a `#[cfg(test)]` to the containing module [ 67s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 67s] | [ 67s] 3 | pub mod signal_tests; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 67s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:1:5 [ 67s] | [ 67s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] | [ 67s] help: consider adding a `#[cfg(test)]` to the containing module [ 67s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 67s] | [ 67s] 4 | pub mod admin_service_tests; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: unused import: `super::super::super::server::admin_service::AdminService` [ 67s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:2:5 [ 67s] | [ 67s] 2 | use super::super::super::server::admin_service::AdminService; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] | [ 67s] help: consider adding a `#[cfg(test)]` to the containing module [ 67s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 67s] | [ 67s] 4 | pub mod admin_service_tests; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: unused import: `super::super::super::server::service::Service` [ 67s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:3:5 [ 67s] | [ 67s] 3 | use super::super::super::server::service::Service; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] | [ 67s] help: consider adding a `#[cfg(test)]` to the containing module [ 67s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 67s] | [ 67s] 4 | pub mod admin_service_tests; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 67s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:1:5 [ 67s] | [ 67s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] | [ 67s] help: consider adding a `#[cfg(test)]` to the containing module [ 67s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 67s] | [ 67s] 5 | pub mod cache_service_tests; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: unused import: `super::super::super::server::cache_service::CacheService` [ 67s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:2:5 [ 67s] | [ 67s] 2 | use super::super::super::server::cache_service::CacheService; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] | [ 67s] help: consider adding a `#[cfg(test)]` to the containing module [ 67s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 67s] | [ 67s] 5 | pub mod cache_service_tests; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: unused import: `super::super::super::server::service::Service` [ 67s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:3:5 [ 67s] | [ 67s] 3 | use super::super::super::server::service::Service; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] | [ 67s] help: consider adding a `#[cfg(test)]` to the containing module [ 67s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 67s] | [ 67s] 5 | pub mod cache_service_tests; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 67s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:1:5 [ 67s] | [ 67s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] | [ 67s] help: consider adding a `#[cfg(test)]` to the containing module [ 67s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 67s] | [ 67s] 6 | pub mod delayed_service_tests; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: unused import: `super::super::super::server::delayed_service::DelayedService` [ 67s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:2:5 [ 67s] | [ 67s] 2 | use super::super::super::server::delayed_service::DelayedService; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] | [ 67s] help: consider adding a `#[cfg(test)]` to the containing module [ 67s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 67s] | [ 67s] 6 | pub mod delayed_service_tests; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: unused import: `super::super::super::server::service::Service` [ 67s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:3:5 [ 67s] | [ 67s] 3 | use super::super::super::server::service::Service; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] | [ 67s] help: consider adding a `#[cfg(test)]` to the containing module [ 67s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 67s] | [ 67s] 6 | pub mod delayed_service_tests; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 67s] --> ./src/pkgmgr/server/test/info_service_tests.rs:1:5 [ 67s] | [ 67s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] | [ 67s] help: consider adding a `#[cfg(test)]` to the containing module [ 67s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 67s] | [ 67s] 7 | pub mod info_service_tests; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: unused import: `super::super::super::server::info_service::InfoService` [ 67s] --> ./src/pkgmgr/server/test/info_service_tests.rs:2:5 [ 67s] | [ 67s] 2 | use super::super::super::server::info_service::InfoService; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] | [ 67s] help: consider adding a `#[cfg(test)]` to the containing module [ 67s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 67s] | [ 67s] 7 | pub mod info_service_tests; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: unused import: `super::super::super::server::service::Service` [ 67s] --> ./src/pkgmgr/server/test/info_service_tests.rs:3:5 [ 67s] | [ 67s] 3 | use super::super::super::server::service::Service; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] | [ 67s] help: consider adding a `#[cfg(test)]` to the containing module [ 67s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 67s] | [ 67s] 7 | pub mod info_service_tests; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: unused import: `std::cell::RefCell` [ 67s] --> ./src/pkgmgr/server/mod.rs:22:5 [ 67s] | [ 67s] 22 | use std::cell::RefCell; [ 67s] | ^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: unused import: `std::rc::Rc` [ 67s] --> ./src/pkgmgr/server/mod.rs:26:5 [ 67s] | [ 67s] 26 | use std::rc::Rc; [ 67s] | ^^^^^^^^^^^ [ 67s] [ 67s] warning: unused import: `std::process::Command` [ 67s] --> ./src/main.rs:9:5 [ 67s] | [ 67s] 9 | use std::process::Command; [ 67s] | ^^^^^^^^^^^^^^^^^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:5:26 [ 67s] | [ 67s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 67s] | ^^^^^ [ 67s] | [ 67s] = note: `#[warn(deprecated)]` on by default [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:5:33 [ 67s] | [ 67s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:20:20 [ 67s] | [ 67s] 20 | const GLOBAL_USER: uid_t = 201; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:322:25 [ 67s] | [ 67s] 322 | let mut caller_uid: uid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:443:25 [ 67s] | [ 67s] 443 | let mut caller_uid: uid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:548:25 [ 67s] | [ 67s] 548 | let mut caller_uid: uid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:595:25 [ 67s] | [ 67s] 595 | let mut caller_uid: uid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:718:25 [ 67s] | [ 67s] 718 | let mut caller_uid: uid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:801:25 [ 67s] | [ 67s] 801 | let mut caller_uid: uid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:853:25 [ 67s] | [ 67s] 853 | let mut caller_uid: uid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:937:25 [ 67s] | [ 67s] 937 | let mut caller_uid: uid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:990:25 [ 67s] | [ 67s] 990 | let mut caller_uid: uid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1015:76 [ 67s] | [ 67s] 1015 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, true) { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1072:25 [ 67s] | [ 67s] 1072 | let mut caller_uid: uid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1097:76 [ 67s] | [ 67s] 1097 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, false) { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1151:25 [ 67s] | [ 67s] 1151 | let mut caller_pid: pid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1152:25 [ 67s] | [ 67s] 1152 | let mut caller_uid: uid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1166:62 [ 67s] | [ 67s] 1166 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1196:66 [ 67s] | [ 67s] 1196 | let ret = Util::RegisterPkgUpdateInfo(handle, uid as uid_t); [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1215:25 [ 67s] | [ 67s] 1215 | let mut caller_pid: pid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1216:25 [ 67s] | [ 67s] 1216 | let mut caller_uid: uid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1230:62 [ 67s] | [ 67s] 1230 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1254:109 [ 67s] | [ 67s] 1254 | RequestResult::DELAYED(generated_req_key, Util::UnregisterPkgUpdateInfo(pkg_id.as_ptr(), uid as uid_t)) [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1270:25 [ 67s] | [ 67s] 1270 | let mut caller_pid: pid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1271:25 [ 67s] | [ 67s] 1271 | let mut caller_uid: uid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1303:95 [ 67s] | [ 67s] 1303 | RequestResult::DELAYED(generated_req_key, Util::UnregisterAllPkgUpdateInfo(uid as uid_t, caller_uid)) [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1312:45 [ 67s] | [ 67s] 1312 | fn handle_enable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1359:60 [ 67s] | [ 67s] 1359 | fn handle_enable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1371:40 [ 67s] | [ 67s] 1371 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1373:40 [ 67s] | [ 67s] 1373 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1380:36 [ 67s] | [ 67s] 1380 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1382:36 [ 67s] | [ 67s] 1382 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1392:36 [ 67s] | [ 67s] 1392 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1394:36 [ 67s] | [ 67s] 1394 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1400:28 [ 67s] | [ 67s] 1400 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1403:46 [ 67s] | [ 67s] 1403 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1404:59 [ 67s] | [ 67s] 1404 | Util::EnableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1405:32 [ 67s] | [ 67s] 1405 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1409:28 [ 67s] | [ 67s] 1409 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1415:46 [ 67s] | [ 67s] 1415 | fn handle_disable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1463:61 [ 67s] | [ 67s] 1463 | fn handle_disable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1475:40 [ 67s] | [ 67s] 1475 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1477:40 [ 67s] | [ 67s] 1477 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1484:36 [ 67s] | [ 67s] 1484 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1486:36 [ 67s] | [ 67s] 1486 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1496:36 [ 67s] | [ 67s] 1496 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1498:36 [ 67s] | [ 67s] 1498 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1504:28 [ 67s] | [ 67s] 1504 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1507:46 [ 67s] | [ 67s] 1507 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1508:60 [ 67s] | [ 67s] 1508 | Util::DisableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1509:32 [ 67s] | [ 67s] 1509 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1513:28 [ 67s] | [ 67s] 1513 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1535:25 [ 67s] | [ 67s] 1535 | let mut caller_uid: uid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1562:70 [ 67s] | [ 67s] 1562 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1588:25 [ 67s] | [ 67s] 1588 | let mut caller_uid: uid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1615:71 [ 67s] | [ 67s] 1615 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1673:74 [ 67s] | [ 67s] 1673 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1735:75 [ 67s] | [ 67s] 1735 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1765:25 [ 67s] | [ 67s] 1765 | let mut caller_uid: uid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1792:85 [ 67s] | [ 67s] 1792 | RequestResult::VAL(handle_enable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1818:25 [ 67s] | [ 67s] 1818 | let mut caller_uid: uid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1845:86 [ 67s] | [ 67s] 1845 | RequestResult::VAL(handle_disable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1863:40 [ 67s] | [ 67s] 1863 | Util::KillAppsInPkg(pkg_id, uid as uid_t) [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1873:25 [ 67s] | [ 67s] 1873 | let mut caller_pid: pid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1874:25 [ 67s] | [ 67s] 1874 | let mut caller_uid: uid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1985:25 [ 67s] | [ 67s] 1985 | let mut caller_pid: pid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:1986:25 [ 67s] | [ 67s] 1986 | let mut caller_uid: uid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:2035:25 [ 67s] | [ 67s] 2035 | let mut caller_pid: pid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:2036:25 [ 67s] | [ 67s] 2036 | let mut caller_uid: uid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:2083:54 [ 67s] | [ 67s] 2083 | Util::EnableGlobalAppSplashScreen(app_id, uid as uid_t) [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:2093:55 [ 67s] | [ 67s] 2093 | Util::DisableGlobalAppSplashScreen(app_id, uid as uid_t) [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:2105:25 [ 67s] | [ 67s] 2105 | let mut caller_pid: pid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:2106:25 [ 67s] | [ 67s] 2106 | let mut caller_uid: uid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:2137:102 [ 67s] | [ 67s] 2137 | RequestResult::DELAYED(generated_req_key, Util::update_app_label(app_id.as_ptr(), uid as uid_t , label.as_ptr())) [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:2155:25 [ 67s] | [ 67s] 2155 | let mut caller_pid: pid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:2156:25 [ 67s] | [ 67s] 2156 | let mut caller_uid: uid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:2187:101 [ 67s] | [ 67s] 2187 | RequestResult::DELAYED(generated_req_key, Util::update_app_icon(app_id.as_ptr(), uid as uid_t , icon_path.as_ptr())) [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:2312:25 [ 67s] | [ 67s] 2312 | let mut caller_uid: uid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:2313:25 [ 67s] | [ 67s] 2313 | let mut caller_pid: pid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:2383:25 [ 67s] | [ 67s] 2383 | let mut caller_uid: uid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:2384:25 [ 67s] | [ 67s] 2384 | let mut caller_pid: pid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:2453:25 [ 67s] | [ 67s] 2453 | let mut caller_uid: uid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:2454:25 [ 67s] | [ 67s] 2454 | let mut caller_pid: pid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:2532:25 [ 67s] | [ 67s] 2532 | let mut caller_uid: uid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:2622:41 [ 67s] | [ 67s] 2622 | if unsafe { check_valid_path(uid as uid_t, pkg_id, file_path) } != 0 { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:2681:19 [ 67s] | [ 67s] 2681 | pid: *mut pid_t, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/admin_service.rs:2682:19 [ 67s] | [ 67s] 2682 | uid: *mut uid_t [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 67s] | [ 67s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/backend_context.rs:3:33 [ 67s] | [ 67s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/cache_service.rs:12:26 [ 67s] | [ 67s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/cache_service.rs:12:33 [ 67s] | [ 67s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/cache_service.rs:23:14 [ 67s] | [ 67s] 23 | uid: uid_t, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/cache_service.rs:48:17 [ 67s] | [ 67s] 48 | target_uid: uid_t, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/cache_service.rs:53:25 [ 67s] | [ 67s] 53 | let mut caller_uid: uid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/cache_service.rs:106:19 [ 67s] | [ 67s] 106 | pid: *mut pid_t, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/cache_service.rs:107:19 [ 67s] | [ 67s] 107 | uid: *mut uid_t [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 67s] | [ 67s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/delayed_service.rs:13:33 [ 67s] | [ 67s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/info_service.rs:2:26 [ 67s] | [ 67s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/info_service.rs:2:33 [ 67s] | [ 67s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/info_service.rs:37:90 [ 67s] | [ 67s] 37 | pub rpc_port_stub_PkgMgr_GetSize_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, get_type: c_int, r... [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/info_service.rs:38:94 [ 67s] | [ 67s] 38 | pub rpc_port_stub_PkgMgr_GetSizeSync_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, get_type: c_in... [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/info_service.rs:40:88 [ 67s] | [ 67s] 40 | pub rpc_port_stub_PkgMgr_Check_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, pid: *mut pid_t, use... [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/info_service.rs:40:128 [ 67s] | [ 67s] 40 | pub rpc_port_stub_PkgMgr_Check_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, pid: *mut pid_t, use... [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/info_service.rs:54:17 [ 67s] | [ 67s] 54 | target_uid: uid_t, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/info_service.rs:60:25 [ 67s] | [ 67s] 60 | let mut caller_pid: pid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/info_service.rs:61:25 [ 67s] | [ 67s] 61 | let mut caller_uid: uid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/info_service.rs:114:17 [ 67s] | [ 67s] 114 | target_uid: uid_t, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/info_service.rs:120:25 [ 67s] | [ 67s] 120 | let mut caller_pid: pid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/info_service.rs:121:25 [ 67s] | [ 67s] 121 | let mut caller_uid: uid_t = 0; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/info_service.rs:223:17 [ 67s] | [ 67s] 223 | target_uid: uid_t, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/info_service.rs:225:15 [ 67s] | [ 67s] 225 | pid: *mut pid_t, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/info_service.rs:228:43 [ 67s] | [ 67s] 228 | Util::check_app(pkg_id, target_uid as uid_t, pid) [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/info_service.rs:242:19 [ 67s] | [ 67s] 242 | pid: *mut pid_t, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/info_service.rs:243:19 [ 67s] | [ 67s] 243 | uid: *mut uid_t [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/signal.rs:2:26 [ 67s] | [ 67s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 67s] | [ 67s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/signal.rs:99:20 [ 67s] | [ 67s] 99 | const GLOBAL_USER: uid_t = 201; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/signal.rs:101:33 [ 67s] | [ 67s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/signal.rs:101:47 [ 67s] | [ 67s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/signal.rs:102:26 [ 67s] | [ 67s] 102 | let mut uid_vec: Vec = vec![]; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/signal.rs:110:28 [ 67s] | [ 67s] 110 | let mut uids: *mut uid_t = std::ptr::null_mut(); [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/signal.rs:124:14 [ 67s] | [ 67s] 124 | uid: uid_t, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/signal.rs:53:44 [ 67s] | [ 67s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/signal.rs:62:14 [ 67s] | [ 67s] 62 | uid: uid_t, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/signal.rs:86:14 [ 67s] | [ 67s] 86 | uid: uid_t, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/signal.rs:40:30 [ 67s] | [ 67s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 67s] | [ 67s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/signal.rs:44:45 [ 67s] | [ 67s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:4:26 [ 67s] | [ 67s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:4:33 [ 67s] | [ 67s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:22:21 [ 67s] | [ 67s] 22 | const REGULAR_USER: uid_t = 5000; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:23:20 [ 67s] | [ 67s] 23 | const GLOBAL_USER: uid_t = 201; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:25:18 [ 67s] | [ 67s] 25 | const APPFW_UID: uid_t = 301; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:307:36 [ 67s] | [ 67s] 307 | let uid : uid_t = user_data as uid_t; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:307:15 [ 67s] | [ 67s] 307 | let uid : uid_t = user_data as uid_t; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:326:81 [ 67s] | [ 67s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:326:93 [ 67s] | [ 67s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:326:25 [ 67s] | [ 67s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:326:37 [ 67s] | [ 67s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:389:57 [ 67s] | [ 67s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:420:55 [ 67s] | [ 67s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:686:62 [ 67s] | [ 67s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:696:63 [ 67s] | [ 67s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:706:44 [ 67s] | [ 67s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:706:63 [ 67s] | [ 67s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:728:49 [ 67s] | [ 67s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:738:50 [ 67s] | [ 67s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:747:55 [ 67s] | [ 67s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:757:56 [ 67s] | [ 67s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:766:61 [ 67s] | [ 67s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:775:62 [ 67s] | [ 67s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:784:67 [ 67s] | [ 67s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:793:68 [ 67s] | [ 67s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:802:54 [ 67s] | [ 67s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:802:64 [ 67s] | [ 67s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:813:47 [ 67s] | [ 67s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:835:53 [ 67s] | [ 67s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:855:25 [ 67s] | [ 67s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:983:69 [ 67s] | [ 67s] 983 | pub fn get_application_info_by_appid(appid: *const c_char, uid: uid_t) -> Option<(CString, bool)> { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:1012:41 [ 67s] | [ 67s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:1012:53 [ 67s] | [ 67s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:1029:71 [ 67s] | [ 67s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:1029:90 [ 67s] | [ 67s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:1076:56 [ 67s] | [ 67s] 1076 | pub fn update_app_label(appid: *const c_char, uid: uid_t, label: *const c_char) -> c_int { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:1080:55 [ 67s] | [ 67s] 1080 | pub fn update_app_icon(appid: *const c_char, uid: uid_t, icon_path: *const c_char) -> c_int { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:1108:49 [ 67s] | [ 67s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:1108:66 [ 67s] | [ 67s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:156:14 [ 67s] | [ 67s] 156 | uid: uid_t, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:166:14 [ 67s] | [ 67s] 166 | uid: uid_t, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:180:14 [ 67s] | [ 67s] 180 | uid: uid_t [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:185:14 [ 67s] | [ 67s] 185 | uid: uid_t [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:189:14 [ 67s] | [ 67s] 189 | uid: uid_t [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:194:14 [ 67s] | [ 67s] 194 | uid: uid_t, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:200:14 [ 67s] | [ 67s] 200 | uid: uid_t, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:206:14 [ 67s] | [ 67s] 206 | uid: uid_t, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:212:14 [ 67s] | [ 67s] 212 | uid: uid_t, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:218:14 [ 67s] | [ 67s] 218 | uid: uid_t, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:224:14 [ 67s] | [ 67s] 224 | uid: uid_t, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:237:32 [ 67s] | [ 67s] 237 | fn gum_user_get_sync(uid : uid_t, offline : c_int) -> *mut c_void; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:266:21 [ 67s] | [ 67s] 266 | caller_uid: uid_t [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:274:14 [ 67s] | [ 67s] 274 | uid: uid_t, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:40:30 [ 67s] | [ 67s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:40:37 [ 67s] | [ 67s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:46:18 [ 67s] | [ 67s] 46 | uid: uid_t, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:52:18 [ 67s] | [ 67s] 52 | uid: uid_t, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:67:18 [ 67s] | [ 67s] 67 | uid: uid_t, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:101:18 [ 67s] | [ 67s] 101 | uid: uid_t, [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:122:70 [ 67s] | [ 67s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:123:66 [ 67s] | [ 67s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:124:59 [ 67s] | [ 67s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/util.rs:125:97 [ 67s] | [ 67s] 125 | pub fn aul_app_get_pkgid_bypid_for_uid(pid: c_int, pkgid: *mut c_char, len: c_int, uid: uid_t) -> c_int; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 67s] | [ 67s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 67s] | ^^^^^ [ 67s] [ 67s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 67s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 67s] | [ 67s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 67s] | ^^^^^ [ 67s] [ 70s] warning: unreachable expression [ 70s] --> ./src/pkgmgr/server/backend_queue.rs:64:5 [ 70s] | [ 70s] 61 | return G_SOURCE_CONTINUE; [ 70s] | ------------------------ any code following this expression is unreachable [ 70s] ... [ 70s] 64 | 1 [ 70s] | ^ unreachable expression [ 70s] | [ 70s] = note: `#[warn(unreachable_code)]` on by default [ 70s] [ 72s] warning: unused variable: `context` [ 72s] --> ./src/pkgmgr/server/admin_service.rs:297:5 [ 72s] | [ 72s] 297 | context: *mut c_void, [ 72s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 72s] | [ 72s] = note: `#[warn(unused_variables)]` on by default [ 72s] [ 72s] warning: unused variable: `context` [ 72s] --> ./src/pkgmgr/server/admin_service.rs:306:5 [ 72s] | [ 72s] 306 | context: *mut c_void, [ 72s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 72s] [ 72s] warning: unused variable: `user_data` [ 72s] --> ./src/pkgmgr/server/admin_service.rs:307:5 [ 72s] | [ 72s] 307 | user_data: *mut c_void, [ 72s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 72s] [ 72s] warning: unused variable: `ret` [ 72s] --> ./src/pkgmgr/server/admin_service.rs:323:9 [ 72s] | [ 72s] 323 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 72s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 72s] [ 72s] warning: unused variable: `req_id` [ 72s] --> ./src/pkgmgr/server/admin_service.rs:318:5 [ 72s] | [ 72s] 318 | req_id: *const c_char, [ 72s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 72s] [ 72s] warning: variable does not need to be mutable [ 72s] --> ./src/pkgmgr/server/admin_service.rs:415:9 [ 72s] | [ 72s] 415 | let mut backend_context = BackendContext::new( [ 72s] | ----^^^^^^^^^^^^^^^ [ 72s] | | [ 72s] | help: remove this `mut` [ 72s] | [ 72s] = note: `#[warn(unused_mut)]` on by default [ 72s] [ 72s] warning: unused variable: `ret` [ 72s] --> ./src/pkgmgr/server/admin_service.rs:444:9 [ 72s] | [ 72s] 444 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 72s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 72s] [ 72s] warning: unused variable: `req_id` [ 72s] --> ./src/pkgmgr/server/admin_service.rs:434:5 [ 72s] | [ 72s] 434 | req_id: *const c_char, [ 72s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 72s] [ 72s] warning: variable does not need to be mutable [ 72s] --> ./src/pkgmgr/server/admin_service.rs:510:9 [ 72s] | [ 72s] 510 | let mut backend_context = BackendContext::new( [ 72s] | ----^^^^^^^^^^^^^^^ [ 72s] | | [ 72s] | help: remove this `mut` [ 72s] [ 72s] warning: unused variable: `ret` [ 72s] --> ./src/pkgmgr/server/admin_service.rs:549:9 [ 72s] | [ 72s] 549 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 72s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 72s] [ 72s] warning: variable does not need to be mutable [ 72s] --> ./src/pkgmgr/server/admin_service.rs:571:9 [ 72s] | [ 72s] 571 | let mut backend_context = BackendContext::new( [ 72s] | ----^^^^^^^^^^^^^^^ [ 72s] | | [ 72s] | help: remove this `mut` [ 72s] [ 72s] warning: unused variable: `ret` [ 72s] --> ./src/pkgmgr/server/admin_service.rs:596:9 [ 72s] | [ 72s] 596 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 72s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 72s] [ 72s] warning: unused variable: `req_id` [ 72s] --> ./src/pkgmgr/server/admin_service.rs:591:5 [ 72s] | [ 72s] 591 | req_id: *const c_char, [ 72s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 72s] [ 72s] warning: variable does not need to be mutable [ 72s] --> ./src/pkgmgr/server/admin_service.rs:688:9 [ 72s] | [ 72s] 688 | let mut backend_context = BackendContext::new( [ 72s] | ----^^^^^^^^^^^^^^^ [ 72s] | | [ 72s] | help: remove this `mut` [ 72s] [ 72s] warning: unused variable: `ret` [ 72s] --> ./src/pkgmgr/server/admin_service.rs:719:9 [ 72s] | [ 72s] 719 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 72s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 72s] [ 72s] warning: unused variable: `req_id` [ 72s] --> ./src/pkgmgr/server/admin_service.rs:706:5 [ 72s] | [ 72s] 706 | req_id: *const c_char, [ 72s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 72s] [ 72s] warning: variable does not need to be mutable [ 72s] --> ./src/pkgmgr/server/admin_service.rs:763:9 [ 72s] | [ 72s] 763 | let mut backend_context = BackendContext::new( [ 72s] | ----^^^^^^^^^^^^^^^ [ 72s] | | [ 72s] | help: remove this `mut` [ 72s] [ 72s] warning: unused variable: `ret` [ 72s] --> ./src/pkgmgr/server/admin_service.rs:802:9 [ 72s] | [ 72s] 802 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 72s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 72s] [ 72s] warning: variable does not need to be mutable [ 72s] --> ./src/pkgmgr/server/admin_service.rs:824:9 [ 72s] | [ 72s] 824 | let mut backend_context = BackendContext::new( [ 72s] | ----^^^^^^^^^^^^^^^ [ 72s] | | [ 72s] | help: remove this `mut` [ 72s] [ 72s] warning: unused variable: `ret` [ 72s] --> ./src/pkgmgr/server/admin_service.rs:854:9 [ 72s] | [ 72s] 854 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 72s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 72s] [ 72s] warning: variable does not need to be mutable [ 72s] --> ./src/pkgmgr/server/admin_service.rs:898:9 [ 72s] | [ 72s] 898 | let mut backend_context = BackendContext::new( [ 72s] | ----^^^^^^^^^^^^^^^ [ 72s] | | [ 72s] | help: remove this `mut` [ 72s] [ 72s] warning: unused variable: `ret` [ 72s] --> ./src/pkgmgr/server/admin_service.rs:938:9 [ 72s] | [ 72s] 938 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 72s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 72s] [ 72s] warning: variable does not need to be mutable [ 72s] --> ./src/pkgmgr/server/admin_service.rs:961:9 [ 72s] | [ 72s] 961 | let mut backend_context = BackendContext::new( [ 72s] | ----^^^^^^^^^^^^^^^ [ 72s] | | [ 72s] | help: remove this `mut` [ 72s] [ 72s] warning: unused variable: `ret` [ 72s] --> ./src/pkgmgr/server/admin_service.rs:991:9 [ 72s] | [ 72s] 991 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 72s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 72s] [ 73s] warning: variable does not need to be mutable [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1038:17 [ 73s] | [ 73s] 1038 | let mut backend_context = BackendContext::new( [ 73s] | ----^^^^^^^^^^^^^^^ [ 73s] | | [ 73s] | help: remove this `mut` [ 73s] [ 73s] warning: unused variable: `ret` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1073:9 [ 73s] | [ 73s] 1073 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 73s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 73s] [ 73s] warning: variable does not need to be mutable [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1123:17 [ 73s] | [ 73s] 1123 | let mut backend_context = BackendContext::new( [ 73s] | ----^^^^^^^^^^^^^^^ [ 73s] | | [ 73s] | help: remove this `mut` [ 73s] [ 73s] warning: unused variable: `pkg_id` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1186:9 [ 73s] | [ 73s] 1186 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) }); [ 73s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 73s] [ 73s] warning: variable does not need to be mutable [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1180:9 [ 73s] | [ 73s] 1180 | let mut handle : *mut c_void = Util::CreatePkgUpdateInfo(pkg_id, version, update_type); [ 73s] | ----^^^^^^ [ 73s] | | [ 73s] | help: remove this `mut` [ 73s] [ 73s] warning: variable does not need to be mutable [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1190:9 [ 73s] | [ 73s] 1190 | let mut backend_context = BackendContext::new( [ 73s] | ----^^^^^^^^^^^^^^^ [ 73s] | | [ 73s] | help: remove this `mut` [ 73s] [ 73s] warning: variable does not need to be mutable [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1248:9 [ 73s] | [ 73s] 1248 | let mut backend_context = BackendContext::new( [ 73s] | ----^^^^^^^^^^^^^^^ [ 73s] | | [ 73s] | help: remove this `mut` [ 73s] [ 73s] warning: variable does not need to be mutable [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1297:9 [ 73s] | [ 73s] 1297 | let mut backend_context = BackendContext::new( [ 73s] | ----^^^^^^^^^^^^^^^ [ 73s] | | [ 73s] | help: remove this `mut` [ 73s] [ 73s] warning: unused variable: `is_global` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1321:17 [ 73s] | [ 73s] 1321 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 73s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 73s] [ 73s] warning: unused variable: `is_global` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1368:17 [ 73s] | [ 73s] 1368 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 73s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 73s] [ 73s] warning: unused variable: `is_global` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1424:17 [ 73s] | [ 73s] 1424 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 73s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 73s] [ 73s] warning: unused variable: `is_global` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1472:17 [ 73s] | [ 73s] 1472 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 73s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 73s] [ 73s] warning: unused variable: `caller_uid` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1535:13 [ 73s] | [ 73s] 1535 | let mut caller_uid: uid_t = 0; [ 73s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 73s] [ 73s] warning: unused variable: `context` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1521:5 [ 73s] | [ 73s] 1521 | context: *mut c_void, [ 73s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 73s] [ 73s] warning: variable does not need to be mutable [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1535:9 [ 73s] | [ 73s] 1535 | let mut caller_uid: uid_t = 0; [ 73s] | ----^^^^^^^^^^ [ 73s] | | [ 73s] | help: remove this `mut` [ 73s] [ 73s] warning: variable does not need to be mutable [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1558:13 [ 73s] | [ 73s] 1558 | let mut backend_context = BackendContext::new( [ 73s] | ----^^^^^^^^^^^^^^^ [ 73s] | | [ 73s] | help: remove this `mut` [ 73s] [ 73s] warning: unused variable: `caller_uid` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1588:13 [ 73s] | [ 73s] 1588 | let mut caller_uid: uid_t = 0; [ 73s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 73s] [ 73s] warning: unused variable: `context` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1574:5 [ 73s] | [ 73s] 1574 | context: *mut c_void, [ 73s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 73s] [ 73s] warning: variable does not need to be mutable [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1588:9 [ 73s] | [ 73s] 1588 | let mut caller_uid: uid_t = 0; [ 73s] | ----^^^^^^^^^^ [ 73s] | | [ 73s] | help: remove this `mut` [ 73s] [ 73s] warning: variable does not need to be mutable [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1611:13 [ 73s] | [ 73s] 1611 | let mut backend_context = BackendContext::new( [ 73s] | ----^^^^^^^^^^^^^^^ [ 73s] | | [ 73s] | help: remove this `mut` [ 73s] [ 73s] warning: unused variable: `context` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1627:5 [ 73s] | [ 73s] 1627 | context: *mut c_void, [ 73s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 73s] [ 73s] warning: variable does not need to be mutable [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1669:17 [ 73s] | [ 73s] 1669 | let mut backend_context = BackendContext::new( [ 73s] | ----^^^^^^^^^^^^^^^ [ 73s] | | [ 73s] | help: remove this `mut` [ 73s] [ 73s] warning: unused variable: `context` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1689:5 [ 73s] | [ 73s] 1689 | context: *mut c_void, [ 73s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 73s] [ 73s] warning: variable does not need to be mutable [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1731:17 [ 73s] | [ 73s] 1731 | let mut backend_context = BackendContext::new( [ 73s] | ----^^^^^^^^^^^^^^^ [ 73s] | | [ 73s] | help: remove this `mut` [ 73s] [ 73s] warning: unused variable: `caller_uid` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1765:13 [ 73s] | [ 73s] 1765 | let mut caller_uid: uid_t = 0; [ 73s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 73s] [ 73s] warning: unused variable: `context` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1751:5 [ 73s] | [ 73s] 1751 | context: *mut c_void, [ 73s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 73s] [ 73s] warning: variable does not need to be mutable [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1765:9 [ 73s] | [ 73s] 1765 | let mut caller_uid: uid_t = 0; [ 73s] | ----^^^^^^^^^^ [ 73s] | | [ 73s] | help: remove this `mut` [ 73s] [ 73s] warning: variable does not need to be mutable [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1788:13 [ 73s] | [ 73s] 1788 | let mut backend_context = BackendContext::new( [ 73s] | ----^^^^^^^^^^^^^^^ [ 73s] | | [ 73s] | help: remove this `mut` [ 73s] [ 73s] warning: unused variable: `caller_uid` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1818:13 [ 73s] | [ 73s] 1818 | let mut caller_uid: uid_t = 0; [ 73s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 73s] [ 73s] warning: unused variable: `context` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1804:5 [ 73s] | [ 73s] 1804 | context: *mut c_void, [ 73s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 73s] [ 73s] warning: variable does not need to be mutable [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1818:9 [ 73s] | [ 73s] 1818 | let mut caller_uid: uid_t = 0; [ 73s] | ----^^^^^^^^^^ [ 73s] | | [ 73s] | help: remove this `mut` [ 73s] [ 73s] warning: variable does not need to be mutable [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1841:13 [ 73s] | [ 73s] 1841 | let mut backend_context = BackendContext::new( [ 73s] | ----^^^^^^^^^^^^^^^ [ 73s] | | [ 73s] | help: remove this `mut` [ 73s] [ 73s] warning: unused variable: `context` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1857:5 [ 73s] | [ 73s] 1857 | context: *mut c_void, [ 73s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 73s] [ 73s] warning: unused variable: `pid` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1860:5 [ 73s] | [ 73s] 1860 | pid: *mut c_int, [ 73s] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [ 73s] [ 73s] warning: unused variable: `user_data` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1861:5 [ 73s] | [ 73s] 1861 | user_data: *mut c_void, [ 73s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 73s] [ 73s] warning: variable does not need to be mutable [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1900:9 [ 73s] | [ 73s] 1900 | let mut backend_context = BackendContext::new( [ 73s] | ----^^^^^^^^^^^^^^^ [ 73s] | | [ 73s] | help: remove this `mut` [ 73s] [ 73s] warning: unused variable: `context` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1932:5 [ 73s] | [ 73s] 1932 | context: *mut c_void, [ 73s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 73s] [ 73s] warning: variable does not need to be mutable [ 73s] --> ./src/pkgmgr/server/admin_service.rs:2012:9 [ 73s] | [ 73s] 2012 | let mut backend_context = BackendContext::new( [ 73s] | ----^^^^^^^^^^^^^^^ [ 73s] | | [ 73s] | help: remove this `mut` [ 73s] [ 73s] warning: variable does not need to be mutable [ 73s] --> ./src/pkgmgr/server/admin_service.rs:2063:9 [ 73s] | [ 73s] 2063 | let mut backend_context = BackendContext::new( [ 73s] | ----^^^^^^^^^^^^^^^ [ 73s] | | [ 73s] | help: remove this `mut` [ 73s] [ 73s] warning: unused variable: `context` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:2078:5 [ 73s] | [ 73s] 2078 | context: *mut c_void, [ 73s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 73s] [ 73s] warning: unused variable: `user_data` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:2081:5 [ 73s] | [ 73s] 2081 | user_data: *mut c_void, [ 73s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 73s] [ 73s] warning: unused variable: `context` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:2088:5 [ 73s] | [ 73s] 2088 | context: *mut c_void, [ 73s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 73s] [ 73s] warning: unused variable: `user_data` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:2091:5 [ 73s] | [ 73s] 2091 | user_data: *mut c_void, [ 73s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 73s] [ 73s] warning: variable does not need to be mutable [ 73s] --> ./src/pkgmgr/server/admin_service.rs:2133:9 [ 73s] | [ 73s] 2133 | let mut backend_context = BackendContext::new( [ 73s] | ----^^^^^^^^^^^^^^^ [ 73s] | | [ 73s] | help: remove this `mut` [ 73s] [ 73s] warning: variable does not need to be mutable [ 73s] --> ./src/pkgmgr/server/admin_service.rs:2183:9 [ 73s] | [ 73s] 2183 | let mut backend_context = BackendContext::new( [ 73s] | ----^^^^^^^^^^^^^^^ [ 73s] | | [ 73s] | help: remove this `mut` [ 73s] [ 73s] warning: unused variable: `context` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:2198:5 [ 73s] | [ 73s] 2198 | context: *mut c_void, [ 73s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 73s] [ 73s] warning: unused variable: `uid` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:2199:5 [ 73s] | [ 73s] 2199 | uid: c_int, [ 73s] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [ 73s] [ 73s] warning: unused variable: `pkg_id` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:2200:5 [ 73s] | [ 73s] 2200 | pkg_id: *const c_char, [ 73s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 73s] [ 73s] warning: unused variable: `user_data` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:2201:5 [ 73s] | [ 73s] 2201 | user_data: *mut c_void, [ 73s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 73s] [ 73s] warning: variable does not need to be mutable [ 73s] --> ./src/pkgmgr/server/admin_service.rs:2364:9 [ 73s] | [ 73s] 2364 | let mut backend_context = BackendContext::new( [ 73s] | ----^^^^^^^^^^^^^^^ [ 73s] | | [ 73s] | help: remove this `mut` [ 73s] [ 73s] warning: variable does not need to be mutable [ 73s] --> ./src/pkgmgr/server/admin_service.rs:2434:9 [ 73s] | [ 73s] 2434 | let mut backend_context = BackendContext::new( [ 73s] | ----^^^^^^^^^^^^^^^ [ 73s] | | [ 73s] | help: remove this `mut` [ 73s] [ 73s] warning: variable does not need to be mutable [ 73s] --> ./src/pkgmgr/server/admin_service.rs:2504:9 [ 73s] | [ 73s] 2504 | let mut backend_context = BackendContext::new( [ 73s] | ----^^^^^^^^^^^^^^^ [ 73s] | | [ 73s] | help: remove this `mut` [ 73s] [ 73s] warning: unused variable: `ret` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:2533:9 [ 73s] | [ 73s] 2533 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 73s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 73s] [ 73s] warning: variable does not need to be mutable [ 73s] --> ./src/pkgmgr/server/admin_service.rs:2552:9 [ 73s] | [ 73s] 2552 | let mut backend_context = BackendContext::new( [ 73s] | ----^^^^^^^^^^^^^^^ [ 73s] | | [ 73s] | help: remove this `mut` [ 73s] [ 73s] warning: unused variable: `context` [ 73s] --> ./src/pkgmgr/server/admin_service.rs:2567:5 [ 73s] | [ 73s] 2567 | context: *mut c_void, [ 73s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 73s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/admin_service.rs:2597:9 [ 74s] | [ 74s] 2597 | let mut backend_context = BackendContext::new( [ 74s] | ----^^^^^^^^^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: unused variable: `context` [ 74s] --> ./src/pkgmgr/server/admin_service.rs:2612:5 [ 74s] | [ 74s] 2612 | context: *mut c_void, [ 74s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 74s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/admin_service.rs:2656:9 [ 74s] | [ 74s] 2656 | let mut backend_context = BackendContext::new( [ 74s] | ----^^^^^^^^^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: unused variable: `status` [ 74s] --> ./src/pkgmgr/server/backend_queue.rs:38:17 [ 74s] | [ 74s] 38 | let mut status: c_int; [ 74s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [ 74s] [ 74s] warning: unused variable: `io` [ 74s] --> ./src/pkgmgr/server/backend_queue.rs:30:33 [ 74s] | [ 74s] 30 | extern "C" fn signal_handler_cb(io: *mut glib_sys::GIOChannel, [ 74s] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [ 74s] [ 74s] warning: unused variable: `cond` [ 74s] --> ./src/pkgmgr/server/backend_queue.rs:31:9 [ 74s] | [ 74s] 31 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 74s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 74s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/backend_queue.rs:71:9 [ 74s] | [ 74s] 71 | let mut mut_queue = queue.borrow_mut(); [ 74s] | ----^^^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/backend_queue.rs:189:28 [ 74s] | [ 74s] 189 | pub fn push(&mut self, mut context: BackendContext) -> i32 { [ 74s] | ----^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: unused variable: `req_key` [ 74s] --> ./src/pkgmgr/server/backend_queue.rs:296:41 [ 74s] | [ 74s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 74s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_key` [ 74s] [ 74s] warning: unused variable: `ret` [ 74s] --> ./src/pkgmgr/server/backend_queue.rs:296:50 [ 74s] | [ 74s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 74s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 74s] [ 74s] warning: unused variable: `s` [ 74s] --> ./src/pkgmgr/server/backend_queue.rs:296:55 [ 74s] | [ 74s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 74s] | ^ help: if this is intentional, prefix it with an underscore: `_s` [ 74s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/backend_queue.rs:278:25 [ 74s] | [ 74s] 278 | let mut backend: &mut Backend = backend.unwrap(); [ 74s] | ----^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: unused variable: `context` [ 74s] --> ./src/pkgmgr/server/cache_service.rs:31:5 [ 74s] | [ 74s] 31 | context: *mut c_void, [ 74s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 74s] [ 74s] warning: unused variable: `context` [ 74s] --> ./src/pkgmgr/server/cache_service.rs:40:5 [ 74s] | [ 74s] 40 | context: *mut c_void, [ 74s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 74s] [ 74s] warning: unused variable: `user_data` [ 74s] --> ./src/pkgmgr/server/cache_service.rs:41:5 [ 74s] | [ 74s] 41 | user_data: *mut c_void, [ 74s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 74s] [ 74s] warning: unused variable: `ret` [ 74s] --> ./src/pkgmgr/server/cache_service.rs:54:9 [ 74s] | [ 74s] 54 | let ret = unsafe { rpc_port_stub_PkgMgrForClearCache_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 74s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 74s] [ 74s] warning: value assigned to `pkg_type` is never read [ 74s] --> ./src/pkgmgr/server/cache_service.rs:63:13 [ 74s] | [ 74s] 63 | let mut pkg_type: String = String::new(); [ 74s] | ^^^^^^^^ [ 74s] | [ 74s] = help: maybe it is overwritten before being read? [ 74s] = note: `#[warn(unused_assignments)]` on by default [ 74s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/cache_service.rs:83:9 [ 74s] | [ 74s] 83 | let mut backend_context = BackendContext::new( [ 74s] | ----^^^^^^^^^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: unused variable: `context` [ 74s] --> ./src/pkgmgr/server/delayed_service.rs:32:5 [ 74s] | [ 74s] 32 | context: *mut c_void, [ 74s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 74s] [ 74s] warning: unused variable: `context` [ 74s] --> ./src/pkgmgr/server/delayed_service.rs:41:5 [ 74s] | [ 74s] 41 | context: *mut c_void, [ 74s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 74s] [ 74s] warning: unused variable: `user_data` [ 74s] --> ./src/pkgmgr/server/delayed_service.rs:42:5 [ 74s] | [ 74s] 42 | user_data: *mut c_void, [ 74s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 74s] [ 74s] warning: unused variable: `context` [ 74s] --> ./src/pkgmgr/server/delayed_service.rs:48:5 [ 74s] | [ 74s] 48 | context: *mut c_void, [ 74s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 74s] [ 74s] warning: unused variable: `context` [ 74s] --> ./src/pkgmgr/server/info_service.rs:43:55 [ 74s] | [ 74s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 74s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 74s] [ 74s] warning: unused variable: `context` [ 74s] --> ./src/pkgmgr/server/info_service.rs:48:58 [ 74s] | [ 74s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 74s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 74s] [ 74s] warning: unused variable: `user_data` [ 74s] --> ./src/pkgmgr/server/info_service.rs:48:80 [ 74s] | [ 74s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 74s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 74s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/info_service.rs:98:9 [ 74s] | [ 74s] 98 | let mut backend_context = BackendContext::new( [ 74s] | ----^^^^^^^^^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/info_service.rs:160:9 [ 74s] | [ 74s] 160 | let mut backend_context = BackendContext::new( [ 74s] | ----^^^^^^^^^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 74s] warning: unused variable: `context` [ 74s] --> ./src/pkgmgr/server/info_service.rs:195:5 [ 74s] | [ 74s] 195 | context: *mut c_void, [ 74s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 74s] [ 74s] warning: unused variable: `context` [ 74s] --> ./src/pkgmgr/server/info_service.rs:222:5 [ 74s] | [ 74s] 222 | context: *mut c_void, [ 74s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 74s] [ 74s] warning: unused variable: `user_data` [ 74s] --> ./src/pkgmgr/server/info_service.rs:226:5 [ 74s] | [ 74s] 226 | user_data: *mut c_void [ 74s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 74s] [ 74s] warning: variable does not need to be mutable [ 74s] --> ./src/pkgmgr/server/signal.rs:144:13 [ 74s] | [ 74s] 144 | let mut c_req_type: c_int; [ 74s] | ----^^^^^^^^^^ [ 74s] | | [ 74s] | help: remove this `mut` [ 74s] [ 75s] warning: value assigned to `size_result` is never read [ 75s] --> ./src/pkgmgr/server/util.rs:351:17 [ 75s] | [ 75s] 351 | let mut size_result: i64 = -1; [ 75s] | ^^^^^^^^^^^ [ 75s] | [ 75s] = help: maybe it is overwritten before being read? [ 75s] [ 75s] warning: unused variable: `cond` [ 75s] --> ./src/pkgmgr/server/util.rs:341:9 [ 75s] | [ 75s] 341 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 75s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 75s] [ 75s] warning: value assigned to `ret` is never read [ 75s] --> ./src/pkgmgr/server/util.rs:425:21 [ 75s] | [ 75s] 425 | let mut ret: c_int = 0; [ 75s] | ^^^ [ 75s] | [ 75s] = help: maybe it is overwritten before being read? [ 75s] [ 75s] warning: unreachable pattern [ 75s] --> ./src/pkgmgr/server/util.rs:478:17 [ 75s] | [ 75s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 75s] | -------------------------------------- matches any value [ 75s] ... [ 75s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 75s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 75s] | [ 75s] = note: `#[warn(unreachable_patterns)]` on by default [ 75s] [ 75s] warning: unreachable pattern [ 75s] --> ./src/pkgmgr/server/util.rs:483:17 [ 75s] | [ 75s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 75s] | -------------------------------------- matches any value [ 75s] ... [ 75s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 75s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 75s] [ 75s] warning: unreachable pattern [ 75s] --> ./src/pkgmgr/server/util.rs:488:17 [ 75s] | [ 75s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 75s] | -------------------------------------- matches any value [ 75s] ... [ 75s] 488 | _ => { [ 75s] | ^ unreachable pattern [ 75s] [ 75s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 75s] --> ./src/pkgmgr/server/util.rs:473:17 [ 75s] | [ 75s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 75s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 75s] [ 75s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_TEXT` [ 75s] --> ./src/pkgmgr/server/util.rs:478:17 [ 75s] | [ 75s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 75s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_TEXT` [ 75s] [ 75s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 75s] --> ./src/pkgmgr/server/util.rs:483:17 [ 75s] | [ 75s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 75s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 75s] [ 75s] warning: variable does not need to be mutable [ 75s] --> ./src/pkgmgr/server/util.rs:519:13 [ 75s] | [ 75s] 519 | let mut attr = xmlTextReaderGetAttribute(reader, RES_TYPE_ATTRIBUTE_KEY.as_ptr()); [ 75s] | ----^^^^ [ 75s] | | [ 75s] | help: remove this `mut` [ 75s] [ 75s] warning: variable does not need to be mutable [ 75s] --> ./src/pkgmgr/server/util.rs:588:13 [ 75s] | [ 75s] 588 | let mut reader = [ 75s] | ----^^^^^^ [ 75s] | | [ 75s] | help: remove this `mut` [ 75s] [ 75s] warning: unused variable: `gid` [ 75s] --> ./src/pkgmgr/server/util.rs:891:52 [ 75s] | [ 75s] 891 | fn set_environment(mut envs: Vec<&mut String>, gid: libc::gid_t) -> bool { [ 75s] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [ 75s] [ 75s] warning: variable does not need to be mutable [ 75s] --> ./src/pkgmgr/server/mod.rs:89:13 [ 75s] | [ 75s] 89 | let mut backend_queue = BackendQueue::new(self.mainloop); [ 75s] | ----^^^^^^^^^^^^^ [ 75s] | | [ 75s] | help: remove this `mut` [ 75s] [ 75s] warning: unnecessary `unsafe` block [ 75s] --> ./src/pkgmgr/server/admin_service.rs:995:32 [ 75s] | [ 75s] 993 | unsafe { [ 75s] | ------ because it's nested under this `unsafe` block [ 75s] 994 | match CString::new(generated_req_key.clone()) { [ 75s] 995 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 75s] | ^^^^^^ unnecessary `unsafe` block [ 75s] | [ 75s] = note: `#[warn(unused_unsafe)]` on by default [ 75s] [ 75s] warning: unnecessary `unsafe` block [ 75s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 75s] | [ 75s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 75s] | ^^^^^^ unnecessary `unsafe` block [ 75s] | [ 75s] ::: ./src/pkgmgr/server/admin_service.rs:993:5 [ 75s] | [ 75s] 993 | unsafe { [ 75s] | ------ because it's nested under this `unsafe` block [ 75s] ... [ 75s] 997 | error!("Fail to generate req key, err({:?})", e); [ 75s] | ------------------------------------------------ in this macro invocation [ 75s] | [ 75s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 75s] [ 75s] warning: unnecessary `unsafe` block [ 75s] --> ./src/pkgmgr/server/admin_service.rs:1023:46 [ 75s] | [ 75s] 993 | unsafe { [ 75s] | ------ because it's nested under this `unsafe` block [ 75s] ... [ 75s] 1023 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 75s] | ^^^^^^ unnecessary `unsafe` block [ 75s] [ 75s] warning: unnecessary `unsafe` block [ 75s] --> ./src/pkgmgr/server/admin_service.rs:1077:32 [ 75s] | [ 75s] 1075 | unsafe { [ 75s] | ------ because it's nested under this `unsafe` block [ 75s] 1076 | match CString::new(generated_req_key.clone()) { [ 75s] 1077 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 75s] | ^^^^^^ unnecessary `unsafe` block [ 75s] [ 75s] warning: unnecessary `unsafe` block [ 75s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 75s] | [ 75s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 75s] | ^^^^^^ unnecessary `unsafe` block [ 75s] | [ 75s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 75s] | [ 75s] 1075 | unsafe { [ 75s] | ------ because it's nested under this `unsafe` block [ 75s] ... [ 75s] 1079 | error!("Fail to generate req key, err({:?})", e); [ 75s] | ------------------------------------------------ in this macro invocation [ 75s] | [ 75s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 75s] [ 75s] warning: unnecessary `unsafe` block [ 75s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 75s] | [ 75s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 75s] | ^^^^^^ unnecessary `unsafe` block [ 75s] | [ 75s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 75s] | [ 75s] 1075 | unsafe { [ 75s] | ------ because it's nested under this `unsafe` block [ 75s] ... [ 75s] 1106 | debug!("push disable pkg {pkg_id}"); [ 75s] | ----------------------------------- in this macro invocation [ 75s] | [ 75s] = 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) [ 75s] [ 75s] warning: unnecessary `unsafe` block [ 75s] --> ./src/pkgmgr/server/admin_service.rs:1108:46 [ 75s] | [ 75s] 1075 | unsafe { [ 75s] | ------ because it's nested under this `unsafe` block [ 75s] ... [ 75s] 1108 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 75s] | ^^^^^^ unnecessary `unsafe` block [ 75s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1537:5 [ 76s] | [ 76s] 1537 | unsafe { [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1590:5 [ 76s] | [ 76s] 1590 | unsafe { [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1643:32 [ 76s] | [ 76s] 1641 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] 1642 | match CString::new(generated_req_key.clone()) { [ 76s] 1643 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/admin_service.rs:1641:5 [ 76s] | [ 76s] 1641 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 1645 | error!("Fail to generate req key, err({:?})", e); [ 76s] | ------------------------------------------------ in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1657:42 [ 76s] | [ 76s] 1641 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 1657 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1705:32 [ 76s] | [ 76s] 1703 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] 1704 | match CString::new(generated_req_key.clone()) { [ 76s] 1705 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/admin_service.rs:1703:5 [ 76s] | [ 76s] 1703 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 1707 | error!("Fail to generate req key, err({:?})", e); [ 76s] | ------------------------------------------------ in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1719:42 [ 76s] | [ 76s] 1703 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 1719 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1767:5 [ 76s] | [ 76s] 1767 | unsafe { [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/server/admin_service.rs:1820:5 [ 76s] | [ 76s] 1820 | unsafe { [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/server/admin_service.rs:2296:17 [ 76s] | [ 76s] 2294 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] 2295 | if !(*value.offset(i as isize)).is_null() { [ 76s] 2296 | unsafe { free(*value.offset(i as isize) as *mut _) }; [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/admin_service.rs:2793:9 [ 76s] | [ 76s] 2793 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] 2794 | let ret = rpc_port_stub_PkgMgrAdmin_register(&mut self.callbacks, self as *mut _ as *mut c_void); [ 76s] 2795 | debug!("admin service start : {ret}"); [ 76s] | ------------------------------------- in this macro invocation [ 76s] | [ 76s] = 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) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/admin_service.rs:2801:9 [ 76s] | [ 76s] 2801 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] 2802 | let ret = rpc_port_stub_PkgMgrAdmin_unregister(); [ 76s] 2803 | debug!("ret : {ret}"); [ 76s] | --------------------- in this macro invocation [ 76s] | [ 76s] = 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) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 76s] | [ 76s] 204 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 210 | error!("sigprocmask failed"); [ 76s] | ---------------------------- in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 76s] | [ 76s] 204 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 216 | error!("signalfd failed"); [ 76s] | ------------------------- in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/cache_service.rs:134:9 [ 76s] | [ 76s] 134 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 139 | debug!("cache service start : {ret}"); [ 76s] | ------------------------------------- in this macro invocation [ 76s] | [ 76s] = 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) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/cache_service.rs:145:9 [ 76s] | [ 76s] 145 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] 146 | let ret = rpc_port_stub_PkgMgrForClearCache_unregister(); [ 76s] 147 | debug!("ret : {ret}"); [ 76s] | --------------------- in this macro invocation [ 76s] | [ 76s] = 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) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/delayed_service.rs:107:9 [ 76s] | [ 76s] 107 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 112 | debug!("delayed result service start : {ret}"); [ 76s] | ---------------------------------------------- in this macro invocation [ 76s] | [ 76s] = 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) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/delayed_service.rs:118:9 [ 76s] | [ 76s] 118 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] 119 | let ret = rpc_port_stub_DelayedResult_unregister(); [ 76s] 120 | debug!("ret : {ret}"); [ 76s] | --------------------- in this macro invocation [ 76s] | [ 76s] = 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) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/info_service.rs:165:13 [ 76s] | [ 76s] 165 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] 166 | if mkfifo(fifo_path.as_ptr() as *const c_char, 0o600) < 0 { [ 76s] 167 | error!("Failed to mkfifo"); [ 76s] | -------------------------- in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/info_service.rs:268:9 [ 76s] | [ 76s] 268 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 273 | debug!("info service start : {ret}"); [ 76s] | ------------------------------------ in this macro invocation [ 76s] | [ 76s] = 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) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/info_service.rs:279:9 [ 76s] | [ 76s] 279 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] 280 | let ret = rpc_port_stub_PkgMgr_unregister(); [ 76s] 281 | debug!("ret : {ret}"); [ 76s] | --------------------- in this macro invocation [ 76s] | [ 76s] = 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) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 76s] | [ 76s] 131 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 134 | error!("Failure in creating the pkgmgr_installer object"); [ 76s] | --------------------------------------------------------- in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 76s] | [ 76s] 131 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 139 | error!("pkgmgr_installer_set_uid fail"); [ 76s] | --------------------------------------- in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 76s] | [ 76s] 131 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 154 | warn!("Unsupported req_type[{}]", req_type as c_int); [ 76s] | ---------------------------------------------------- in this macro invocation [ 76s] | [ 76s] = 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) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 76s] | [ 76s] 131 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 161 | error!("pkgmgr_installer_set_request_type fail"); [ 76s] | ------------------------------------------------ in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 76s] | [ 76s] 131 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 168 | error!("pkgmgr_installer_set_session_id fail : {:?}", c_req_id); [ 76s] | --------------------------------------------------------------- in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 76s] | [ 76s] 309 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] 310 | if pkgmgrinfo_appinfo_get_appid(pkgmgrinfo_appinfo_h, &mut app_id) != 0 { [ 76s] 311 | error!("Failed get appid"); [ 76s] | -------------------------- in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 76s] | [ 76s] 309 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 314 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 76s] | --------------------------------------------------------- in this macro invocation [ 76s] | [ 76s] = 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) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/server/util.rs:326:46 [ 76s] | [ 76s] 325 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 76s] | [ 76s] 325 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 329 | error!("Failed get appid"); [ 76s] | -------------------------- in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 76s] | [ 76s] 325 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 333 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 76s] | --------------------------------------------------------- in this macro invocation [ 76s] | [ 76s] = 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) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 76s] | [ 76s] 342 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 355 | error!("getsize fd read failed: {:?}", Util::c_char_to_cstr((*err).message)); [ 76s] | ---------------------------------------------------------------------------- in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 76s] | [ 76s] 342 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 361 | error!("empty result"); [ 76s] | ---------------------- in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 76s] | [ 76s] 390 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 399 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 76s] | --------------------------------------------------------- in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 76s] | [ 76s] 390 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 406 | error!("Fail to get is readonly"); [ 76s] | --------------------------------- in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 76s] | [ 76s] 422 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 429 | error!("Not found package"); [ 76s] | --------------------------- in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 76s] | [ 76s] 422 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 445 | debug!("pkgtype - {ret_string}"); [ 76s] | -------------------------------- in this macro invocation [ 76s] | [ 76s] = 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) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:803:9 [ 76s] | [ 76s] 803 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] 804 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 76s] 805 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 76s] | ------------------------------------------------------ in this macro invocation [ 76s] | [ 76s] = 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) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 76s] | [ 76s] 814 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] 815 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 76s] 816 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 76s] | ------------------------------------------------------ in this macro invocation [ 76s] | [ 76s] = 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) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 76s] | [ 76s] 814 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 822 | error!("Failed to get pid of app{:?}", CStr::from_ptr(appid)); [ 76s] | ------------------------------------------------------------- in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 76s] | [ 76s] 814 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 828 | error!("Failed to terminate app{:?}", CStr::from_ptr(appid)); [ 76s] | ------------------------------------------------------------ in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 76s] | [ 76s] 836 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 840 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 76s] | --------------------------------------------------------- in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 76s] | [ 76s] 836 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 848 | error!("Failed to get list for {:?}", CStr::from_ptr(pkgid)); [ 76s] | ------------------------------------------------------------ in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 76s] | [ 76s] 859 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 863 | warn!("cannot get user information from gumd, retry"); [ 76s] | ----------------------------------------------------- in this macro invocation [ 76s] | [ 76s] = 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) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 76s] | [ 76s] 859 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 871 | error!("cannot get user information from gumd, failed"); [ 76s] | ------------------------------------------------------- in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 76s] | [ 76s] 859 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 877 | error!("cannot get user type"); [ 76s] | ------------------------------ in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 76s] | [ 76s] 892 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 895 | error!("Failed to get the number of supplementary group IDs"); [ 76s] | ------------------------------------------------------------- in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 76s] | [ 76s] 892 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 901 | error!("Failed to get list of supplementary group IDs"); [ 76s] | ------------------------------------------------------- in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 76s] | [ 76s] 892 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 908 | error!("setgroups failed: {}", *__errno_location()); [ 76s] | --------------------------------------------------- in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 76s] | [ 76s] 928 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 942 | error!("getpwuid_r fail"); [ 76s] | ------------------------- in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 76s] | [ 76s] 928 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 949 | error!("Fail to get str, err({:?})", e); [ 76s] | --------------------------------------- in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 76s] | [ 76s] 928 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 957 | error!("Fail to get str, err({:?})", e); [ 76s] | --------------------------------------- in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 76s] | [ 76s] 928 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 966 | error!("Failed to set env for the user : {}", APPFW_UID); [ 76s] | -------------------------------------------------------- in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 76s] | [ 76s] 984 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 987 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 76s] | ----------------------------------------------------------------------------------- in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 76s] | [ 76s] 984 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 993 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 76s] | ---------------------------------------------------------------------------- in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 76s] | [ 76s] 984 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 1000 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 76s] | ---------------------------------------------------------------------------- in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/server/util.rs:1005:40 [ 76s] | [ 76s] 984 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 1005 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) } ); [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 76s] | [ 76s] 1081 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 1084 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 76s] | ----------------------------------------------------------------------------------- in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 76s] | [ 76s] 1081 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 1090 | error!("Failed get root path for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 76s] | --------------------------------------------------------------------------- in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 76s] | [ 76s] 1081 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 1098 | error!("Invalid path[{:?}]", Self::c_char_to_cstr(icon_path)); [ 76s] | ------------------------------------------------------------- in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:1109:9 [ 76s] | [ 76s] 1109 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 1119 | error!("Fail to get list for {:?}", CStr::from_ptr(pkgid)); [ 76s] | ---------------------------------------------------------- in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 76s] | [ 76s] 1129 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 1132 | error!("failed to open the fifo({}), errno({})", fifo_path, *__errno_location()); [ 76s] | -------------------------------------------------------------------------------- in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: unnecessary `unsafe` block [ 76s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 76s] | [ 76s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 76s] | ^^^^^^ unnecessary `unsafe` block [ 76s] | [ 76s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 76s] | [ 76s] 1129 | unsafe { [ 76s] | ------ because it's nested under this `unsafe` block [ 76s] ... [ 76s] 1155 | error!("failed to add io watch"); [ 76s] | -------------------------------- in this macro invocation [ 76s] | [ 76s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 76s] [ 76s] warning: constant `SD_LISTEN_FDS_START` is never used [ 76s] --> ./src/pkgmgr/server/mod.rs:28:7 [ 76s] | [ 76s] 28 | const SD_LISTEN_FDS_START: i32 = 3; [ 76s] | ^^^^^^^^^^^^^^^^^^^ [ 76s] | [ 76s] = note: `#[warn(dead_code)]` on by default [ 76s] [ 76s] warning: multiple variants are never constructed [ 76s] --> ./src/pkgmgr/server/mod.rs:43:5 [ 76s] | [ 76s] 42 | enum AUL_RETURN_VALUE { [ 76s] | ---------------- variants in this enum [ 76s] 43 | AUL_R_ENOMEM = -16, //< Out of memory (Since 5.5) [ 76s] | ^^^^^^^^^^^^ [ 76s] 44 | AUL_R_ENOENT = -15, //< App directory entry error [ 76s] | ^^^^^^^^^^^^ [ 76s] 45 | AUL_R_EREJECTED = -14, //< App disable for mode [ 76s] | ^^^^^^^^^^^^^^^ [ 76s] 46 | AUL_R_ENOAPP = -13, //< Failed to find app ID or pkg ID [ 76s] | ^^^^^^^^^^^^ [ 76s] 47 | AUL_R_EHIDDENFORGUEST = -11, //< App hidden for guest mode [ 76s] | ^^^^^^^^^^^^^^^^^^^^^ [ 76s] 48 | AUL_R_ENOLAUNCHPAD = -10, //< no launchpad [ 76s] | ^^^^^^^^^^^^^^^^^^ [ 76s] 49 | AUL_R_ETERMINATING = -9, //< application terminating [ 76s] | ^^^^^^^^^^^^^^^^^^ [ 76s] 50 | AUL_R_EILLACC = -8, //< Illegal Access [ 76s] | ^^^^^^^^^^^^^ [ 76s] 51 | AUL_R_LOCAL = -7, //< Launch by himself [ 76s] | ^^^^^^^^^^^ [ 76s] 52 | AUL_R_ETIMEOUT = -6, //< Timeout [ 76s] | ^^^^^^^^^^^^^^ [ 76s] 53 | AUL_R_ECANCELED = -5, //< Operation canceled [ 76s] | ^^^^^^^^^^^^^^^ [ 76s] 54 | AUL_R_EINVAL = -4, //< Invalid argument [ 76s] | ^^^^^^^^^^^^ [ 76s] 55 | AUL_R_ECOMM = -3, //< Comunication Error [ 76s] | ^^^^^^^^^^^ [ 76s] 56 | AUL_R_ENOINIT = -2, //< AUL handler NOT initialized [ 76s] | ^^^^^^^^^^^^^ [ 76s] 57 | AUL_R_ERROR = -1, //< General error [ 76s] | ^^^^^^^^^^^ [ 76s] [ 76s] warning: field `timer` is never read [ 76s] --> ./src/pkgmgr/server/mod.rs:63:5 [ 76s] | [ 76s] 61 | pub struct Server { [ 76s] | ------ field in this struct [ 76s] 62 | mainloop: *mut GMainLoop, [ 76s] 63 | timer: c_uint [ 76s] | ^^^^^ [ 76s] [ 76s] warning: variants `IO_ERROR`, `OUT_OF_MEMORY`, `INVALID_PARAMETER`, and `PERMISSION_DENIED` are never constructed [ 76s] --> ./src/pkgmgr/server/admin_service.rs:29:5 [ 76s] | [ 76s] 27 | enum RPC_PORT_ERROR { [ 76s] | -------------- variants in this enum [ 76s] 28 | NONE = 0, //< Successful [ 76s] 29 | IO_ERROR = -5, //< Internal I/O error [ 76s] | ^^^^^^^^ [ 76s] 30 | OUT_OF_MEMORY = -12, //< Out of memory [ 76s] | ^^^^^^^^^^^^^ [ 76s] 31 | INVALID_PARAMETER = -22, //< Invalid parameter [ 76s] | ^^^^^^^^^^^^^^^^^ [ 76s] 32 | PERMISSION_DENIED = -13, //< Permission denied [ 76s] | ^^^^^^^^^^^^^^^^^ [ 76s] [ 76s] warning: method `generate_request_id` is never used [ 76s] --> ./src/pkgmgr/server/admin_service.rs:2786:8 [ 76s] | [ 76s] 2713 | impl AdminService { [ 76s] | ----------------- method in this implementation [ 76s] ... [ 76s] 2786 | fn generate_request_id(&self) -> String { [ 76s] | ^^^^^^^^^^^^^^^^^^^ [ 76s] [ 76s] warning: field `request_type` is never read [ 76s] --> ./src/pkgmgr/server/backend_context.rs:7:5 [ 76s] | [ 76s] 6 | pub struct BackendContext { [ 76s] | -------------- field in this struct [ 76s] 7 | request_type: RequestType, [ 76s] | ^^^^^^^^^^^^ [ 76s] [ 76s] warning: type alias `GIOChannel` is never used [ 76s] --> ./src/pkgmgr/server/backend_queue.rs:14:6 [ 76s] | [ 76s] 14 | type GIOChannel = *mut c_void; [ 76s] | ^^^^^^^^^^ [ 76s] [ 76s] warning: type alias `GIOCondition` is never used [ 76s] --> ./src/pkgmgr/server/backend_queue.rs:15:6 [ 76s] | [ 76s] 15 | type GIOCondition = c_int; [ 76s] | ^^^^^^^^^^^^ [ 76s] [ 76s] warning: variants `EIO`, `ENOPKG`, `EPRIV`, `ETIMEOUT`, `EINVAL`, and `ECOMM` are never constructed [ 76s] --> ./src/pkgmgr/server/info_service.rs:22:5 [ 76s] | [ 76s] 20 | enum PKGMGR_RETURN_VALUE { [ 76s] | ------------------- variants in this enum [ 76s] 21 | ESYSTEM = -9, // Severe system error [ 76s] 22 | EIO = -8, // IO error [ 76s] | ^^^ [ 76s] 23 | ENOMEM = -7, // Out of memory [ 76s] 24 | ENOPKG = -6, // No such package [ 76s] | ^^^^^^ [ 76s] 25 | EPRIV = -5, // Privilege denied [ 76s] | ^^^^^ [ 76s] 26 | ETIMEOUT = -4, // Timeout [ 76s] | ^^^^^^^^ [ 76s] 27 | EINVAL = -3, // Invalid argument [ 76s] | ^^^^^^ [ 76s] 28 | ECOMM = -2, // Comunication Error [ 76s] | ^^^^^ [ 76s] [ 76s] warning: variants `EPRIV` and `ETIMEOUT` are never constructed [ 76s] --> ./src/pkgmgr/server/pkgmgr_return_value.rs:8:5 [ 76s] | [ 76s] 3 | pub enum PKGMGR_RETURN_VALUE { [ 76s] | ------------------- variants in this enum [ 76s] ... [ 76s] 8 | EPRIV = -5, // Privilege denied [ 76s] | ^^^^^ [ 76s] 9 | ETIMEOUT = -4, // Timeout [ 76s] | ^^^^^^^^ [ 76s] [ 76s] warning: variants `KILL`, `CHECK`, `ENABLE_APP_SPLASH_SCREEN`, `DISABLE_APP_SPLASH_SCREEN`, and `MIGRATE_EXTERNAL_IMAGE` are never constructed [ 76s] --> ./src/pkgmgr/server/request_type.rs:20:5 [ 76s] | [ 76s] 1 | pub enum RequestType { [ 76s] | ----------- variants in this enum [ 76s] ... [ 76s] 20 | KILL, [ 76s] | ^^^^ [ 76s] 21 | CHECK, [ 76s] | ^^^^^ [ 76s] ... [ 76s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 76s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 76s] ... [ 76s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 76s] [ 76s] warning: multiple variants are never constructed [ 76s] --> ./src/pkgmgr/server/signal.rs:10:2 [ 76s] | [ 76s] 9 | enum PKGMGR_REQ { [ 76s] | ---------- variants in this enum [ 76s] 10 | PERM = -1, [ 76s] | ^^^^ [ 76s] 11 | INVALID = 0, [ 76s] | ^^^^^^^ [ 76s] 12 | INSTALL = 1, [ 76s] | ^^^^^^^ [ 76s] 13 | UNINSTALL = 2, [ 76s] | ^^^^^^^^^ [ 76s] 14 | CLEAR = 3, [ 76s] | ^^^^^ [ 76s] 15 | MOVE = 4, [ 76s] | ^^^^ [ 76s] 16 | RECOVER = 5, [ 76s] | ^^^^^^^ [ 76s] 17 | REINSTALL = 6, [ 76s] | ^^^^^^^^^ [ 76s] 18 | GETSIZE = 7, [ 76s] | ^^^^^^^ [ 76s] 19 | UPGRADE = 8, [ 76s] | ^^^^^^^ [ 76s] 20 | SMACK = 9, [ 76s] | ^^^^^ [ 76s] 21 | MANIFEST_DIRECT_INSTALL = 10, [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 76s] ... [ 76s] 26 | MOUNT_INSTALL = 15, [ 76s] | ^^^^^^^^^^^^^ [ 76s] 27 | DISABLE_PKG = 16, [ 76s] | ^^^^^^^^^^^ [ 76s] 28 | ENABLE_PKG = 17, [ 76s] | ^^^^^^^^^^ [ 76s] 29 | MIGRATE_EXTIMG = 18, [ 76s] | ^^^^^^^^^^^^^^ [ 76s] 30 | RECOVER_DB = 19, [ 76s] | ^^^^^^^^^^ [ 76s] 31 | RES_COPY = 20, [ 76s] | ^^^^^^^^ [ 76s] 32 | RES_CREATE_DIR = 21, [ 76s] | ^^^^^^^^^^^^^^ [ 76s] 33 | RES_REMOVE = 22, [ 76s] | ^^^^^^^^^^ [ 76s] 34 | RES_UNINSTALL = 23 [ 76s] | ^^^^^^^^^^^^^ [ 76s] [ 76s] warning: constant `TZ_SYS_GLOBALAPP_USER` is never used [ 76s] --> ./src/pkgmgr/server/signal.rs:97:7 [ 76s] | [ 76s] 97 | const TZ_SYS_GLOBALAPP_USER: c_int = 22; [ 76s] | ^^^^^^^^^^^^^^^^^^^^^ [ 76s] [ 76s] warning: function `tzplatform_getuid` is never used [ 76s] --> ./src/pkgmgr/server/signal.rs:53:12 [ 76s] | [ 76s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 76s] | ^^^^^^^^^^^^^^^^^ [ 76s] [ 76s] warning: constant `XML_READER_TYPE_ELEMENT` is never used [ 76s] --> ./src/pkgmgr/server/util.rs:29:7 [ 76s] | [ 76s] 29 | const XML_READER_TYPE_ELEMENT: i32 = 1; [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 76s] [ 76s] warning: constant `XML_READER_TYPE_TEXT` is never used [ 76s] --> ./src/pkgmgr/server/util.rs:30:7 [ 76s] | [ 76s] 30 | const XML_READER_TYPE_TEXT: i32 = 3; [ 76s] | ^^^^^^^^^^^^^^^^^^^^ [ 76s] [ 76s] warning: constant `XML_READER_TYPE_END_ELEMENT` is never used [ 76s] --> ./src/pkgmgr/server/util.rs:31:7 [ 76s] | [ 76s] 31 | const XML_READER_TYPE_END_ELEMENT: i32 = 15; [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 76s] [ 76s] warning: type alias `GIOChannel` is never used [ 76s] --> ./src/pkgmgr/server/util.rs:33:6 [ 76s] | [ 76s] 33 | type GIOChannel = *mut c_void; [ 76s] | ^^^^^^^^^^ [ 76s] [ 76s] warning: variants `PMINFO_UI_APP`, `PMINFO_SVC_APP`, `PMINFO_WIDGET_APP`, `PMINFO_WATCH_APP`, and `PMINFO_COMPONENT_BASED_APP` are never constructed [ 76s] --> ./src/pkgmgr/server/util.rs:136:5 [ 76s] | [ 76s] 134 | enum PKGMGRINFO_APP_COMPONENT { [ 76s] | ------------------------ variants in this enum [ 76s] 135 | PMINFO_ALL_APP = 0, //< All Application [ 76s] 136 | PMINFO_UI_APP, //< UI Application [ 76s] | ^^^^^^^^^^^^^ [ 76s] 137 | PMINFO_SVC_APP, //< Service Application [ 76s] | ^^^^^^^^^^^^^^ [ 76s] 138 | PMINFO_WIDGET_APP, //< Widget Application [ 76s] | ^^^^^^^^^^^^^^^^^ [ 76s] 139 | PMINFO_WATCH_APP, //< Watch Application [ 76s] | ^^^^^^^^^^^^^^^^ [ 76s] 140 | PMINFO_COMPONENT_BASED_APP, //< Component-based Application (Since 5.5) [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 76s] [ 76s] warning: associated functions `EnableAppSplashScreen` and `DisableAppSplashScreen` are never used [ 76s] --> ./src/pkgmgr/server/util.rs:766:12 [ 76s] | [ 76s] 384 | impl Util { [ 76s] | --------- associated functions in this implementation [ 76s] ... [ 76s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 76s] | ^^^^^^^^^^^^^^^^^^^^^ [ 76s] ... [ 76s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 76s] [ 76s] warning: function `pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db` is never used [ 76s] --> ./src/pkgmgr/server/util.rs:204:8 [ 76s] | [ 76s] 204 | fn pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db( [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 76s] [ 76s] warning: unused `Result` that must be used [ 76s] --> ./src/main.rs:14:5 [ 76s] | [ 76s] 14 | pkgmgr::server::Server::run(&mut server); [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 76s] | [ 76s] = note: this `Result` may be an `Err` variant, which should be handled [ 76s] = note: `#[warn(unused_must_use)]` on by default [ 76s] help: use `let _ = ...` to ignore the resulting value [ 76s] | [ 76s] 14 | let _ = pkgmgr::server::Server::run(&mut server); [ 76s] | +++++++ [ 76s] [ 76s] warning: unused `Result` that must be used [ 76s] --> ./src/pkgmgr/server/mod.rs:93:9 [ 76s] | [ 76s] 93 | admin_service.run(); [ 76s] | ^^^^^^^^^^^^^^^^^^^ [ 76s] | [ 76s] = note: this `Result` may be an `Err` variant, which should be handled [ 76s] help: use `let _ = ...` to ignore the resulting value [ 76s] | [ 76s] 93 | let _ = admin_service.run(); [ 76s] | +++++++ [ 76s] [ 76s] warning: unused `Result` that must be used [ 76s] --> ./src/pkgmgr/server/mod.rs:95:9 [ 76s] | [ 76s] 95 | cache_service.run(); [ 76s] | ^^^^^^^^^^^^^^^^^^^ [ 76s] | [ 76s] = note: this `Result` may be an `Err` variant, which should be handled [ 76s] help: use `let _ = ...` to ignore the resulting value [ 76s] | [ 76s] 95 | let _ = cache_service.run(); [ 76s] | +++++++ [ 76s] [ 76s] warning: unused `Result` that must be used [ 76s] --> ./src/pkgmgr/server/mod.rs:97:9 [ 76s] | [ 76s] 97 | info_service.run(); [ 76s] | ^^^^^^^^^^^^^^^^^^ [ 76s] | [ 76s] = note: this `Result` may be an `Err` variant, which should be handled [ 76s] help: use `let _ = ...` to ignore the resulting value [ 76s] | [ 76s] 97 | let _ = info_service.run(); [ 76s] | +++++++ [ 76s] [ 76s] warning: unused `Result` that must be used [ 76s] --> ./src/pkgmgr/server/mod.rs:99:9 [ 76s] | [ 76s] 99 | delayed_result_service.run(); [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 76s] | [ 76s] = note: this `Result` may be an `Err` variant, which should be handled [ 76s] help: use `let _ = ...` to ignore the resulting value [ 76s] | [ 76s] 99 | let _ = delayed_result_service.run(); [ 76s] | +++++++ [ 76s] [ 76s] warning: unused `Result` that must be used [ 76s] --> ./src/pkgmgr/server/mod.rs:109:9 [ 76s] | [ 76s] 109 | admin_service.stop(); [ 76s] | ^^^^^^^^^^^^^^^^^^^^ [ 76s] | [ 76s] = note: this `Result` may be an `Err` variant, which should be handled [ 76s] help: use `let _ = ...` to ignore the resulting value [ 76s] | [ 76s] 109 | let _ = admin_service.stop(); [ 76s] | +++++++ [ 76s] [ 76s] warning: unused `Result` that must be used [ 76s] --> ./src/pkgmgr/server/mod.rs:110:9 [ 76s] | [ 76s] 110 | cache_service.stop(); [ 76s] | ^^^^^^^^^^^^^^^^^^^^ [ 76s] | [ 76s] = note: this `Result` may be an `Err` variant, which should be handled [ 76s] help: use `let _ = ...` to ignore the resulting value [ 76s] | [ 76s] 110 | let _ = cache_service.stop(); [ 76s] | +++++++ [ 76s] [ 76s] warning: unused `Result` that must be used [ 76s] --> ./src/pkgmgr/server/mod.rs:111:9 [ 76s] | [ 76s] 111 | info_service.stop(); [ 76s] | ^^^^^^^^^^^^^^^^^^^ [ 76s] | [ 76s] = note: this `Result` may be an `Err` variant, which should be handled [ 76s] help: use `let _ = ...` to ignore the resulting value [ 76s] | [ 76s] 111 | let _ = info_service.stop(); [ 76s] | +++++++ [ 76s] [ 76s] warning: unused `Result` that must be used [ 76s] --> ./src/pkgmgr/server/mod.rs:112:9 [ 76s] | [ 76s] 112 | delayed_result_service.stop(); [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 76s] | [ 76s] = note: this `Result` may be an `Err` variant, which should be handled [ 76s] help: use `let _ = ...` to ignore the resulting value [ 76s] | [ 76s] 112 | let _ = delayed_result_service.stop(); [ 76s] | +++++++ [ 76s] [ 76s] warning: unused return value of `std::mem::size_of` that must be used [ 76s] --> ./src/pkgmgr/server/backend_queue.rs:40:9 [ 76s] | [ 76s] 40 | mem::size_of::(); [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 76s] | [ 76s] help: use `let _ = ...` to ignore the resulting value [ 76s] | [ 76s] 40 | let _ = mem::size_of::(); [ 76s] | +++++++ [ 76s] [ 76s] warning: structure field `rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 76s] --> ./src/pkgmgr/server/info_service.rs:35:9 [ 76s] | [ 76s] 35 | pub rpc_port_stub_PkgMgr_create_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_create_cb` [ 76s] | [ 76s] = note: `#[warn(non_snake_case)]` on by default [ 76s] [ 76s] warning: structure field `rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 76s] --> ./src/pkgmgr/server/info_service.rs:36:9 [ 76s] | [ 76s] 36 | pub rpc_port_stub_PkgMgr_terminate_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_terminate_cb` [ 76s] [ 76s] warning: structure field `rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 76s] --> ./src/pkgmgr/server/info_service.rs:37:9 [ 76s] | [ 76s] 37 | pub rpc_port_stub_PkgMgr_GetSize_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, get_type: c_int, r... [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_cb` [ 76s] [ 76s] warning: structure field `rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 76s] --> ./src/pkgmgr/server/info_service.rs:38:9 [ 76s] | [ 76s] 38 | pub rpc_port_stub_PkgMgr_GetSizeSync_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, get_type: c_in... [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 76s] [ 76s] warning: structure field `rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 76s] --> ./src/pkgmgr/server/info_service.rs:39:9 [ 76s] | [ 76s] 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... [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 76s] [ 76s] warning: structure field `rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 76s] --> ./src/pkgmgr/server/info_service.rs:40:9 [ 76s] | [ 76s] 40 | pub rpc_port_stub_PkgMgr_Check_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, pid: *mut pid_t, use... [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_check_cb` [ 76s] [ 76s] warning: function `impl_rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 76s] --> ./src/pkgmgr/server/info_service.rs:43:19 [ 76s] | [ 76s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_create_cb` [ 76s] [ 76s] warning: function `impl_rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 76s] --> ./src/pkgmgr/server/info_service.rs:48:19 [ 76s] | [ 76s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_terminate_cb` [ 76s] [ 76s] warning: function `impl_rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 76s] --> ./src/pkgmgr/server/info_service.rs:52:19 [ 76s] | [ 76s] 52 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSize_cb( [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_cb` [ 76s] [ 76s] warning: function `impl_rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 76s] --> ./src/pkgmgr/server/info_service.rs:112:19 [ 76s] | [ 76s] 112 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSizeSync_cb( [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 76s] [ 76s] warning: function `impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 76s] --> ./src/pkgmgr/server/info_service.rs:194:19 [ 76s] | [ 76s] 194 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb( [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 76s] [ 76s] warning: function `impl_rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 76s] --> ./src/pkgmgr/server/info_service.rs:221:19 [ 76s] | [ 76s] 221 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_Check_cb( [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_check_cb` [ 76s] [ 76s] warning: method `IsPackageReadonly` should have a snake case name [ 76s] --> ./src/pkgmgr/server/util.rs:389:12 [ 76s] | [ 76s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 76s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly` [ 76s] [ 76s] warning: method `GetPackageType` should have a snake case name [ 76s] --> ./src/pkgmgr/server/util.rs:420:12 [ 76s] | [ 76s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 76s] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type` [ 76s] [ 76s] warning: variable `xmlReaderTypes_XML_READER_TYPE_ELEMENT` should have a snake case name [ 76s] --> ./src/pkgmgr/server/util.rs:473:17 [ 76s] | [ 76s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_element` [ 76s] [ 76s] warning: variable `xmlReaderTypes_XML_READER_TYPE_TEXT` should have a snake case name [ 76s] --> ./src/pkgmgr/server/util.rs:478:17 [ 76s] | [ 76s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_text` [ 76s] [ 76s] warning: variable `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` should have a snake case name [ 76s] --> ./src/pkgmgr/server/util.rs:483:17 [ 76s] | [ 76s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_end_element` [ 76s] [ 76s] warning: constant `type_map` should have an upper case name [ 76s] --> ./src/pkgmgr/server/util.rs:623:15 [ 76s] | [ 76s] 623 | const type_map : [[&str; 2]; 3] = [ [ 76s] | ^^^^^^^^ help: convert the identifier to upper case: `TYPE_MAP` [ 76s] | [ 76s] = note: `#[warn(non_upper_case_globals)]` on by default [ 76s] [ 76s] warning: method `GenerateRequestId` should have a snake case name [ 76s] --> ./src/pkgmgr/server/util.rs:646:12 [ 76s] | [ 76s] 646 | pub fn GenerateRequestId(pkgid: &str) -> Option { [ 76s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_request_id` [ 76s] [ 76s] warning: method `CreatePkgUpdateInfo` should have a snake case name [ 76s] --> ./src/pkgmgr/server/util.rs:657:12 [ 76s] | [ 76s] 657 | pub fn CreatePkgUpdateInfo(pkgid: *const c_char, version: *const c_char, update_type: c_int) -> *mut c_void { [ 76s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info` [ 76s] [ 76s] warning: method `DestroyPkgUpdateInfo` should have a snake case name [ 76s] --> ./src/pkgmgr/server/util.rs:680:12 [ 76s] | [ 76s] 680 | pub fn DestroyPkgUpdateInfo(handle: *mut c_void) -> c_int { [ 76s] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroy_pkg_update_info` [ 76s] [ 76s] warning: method `RegisterPkgUpdateInfo` should have a snake case name [ 76s] --> ./src/pkgmgr/server/util.rs:686:12 [ 76s] | [ 76s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 76s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `register_pkg_update_info` [ 76s] [ 76s] warning: method `UnregisterPkgUpdateInfo` should have a snake case name [ 76s] --> ./src/pkgmgr/server/util.rs:696:12 [ 76s] | [ 76s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_pkg_update_info` [ 76s] [ 76s] warning: method `UnregisterAllPkgUpdateInfo` should have a snake case name [ 76s] --> ./src/pkgmgr/server/util.rs:706:12 [ 76s] | [ 76s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_all_pkg_update_info` [ 76s] [ 76s] warning: method `EnableApp` should have a snake case name [ 76s] --> ./src/pkgmgr/server/util.rs:728:12 [ 76s] | [ 76s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 76s] | ^^^^^^^^^ help: convert the identifier to snake case: `enable_app` [ 76s] [ 76s] warning: method `DisableApp` should have a snake case name [ 76s] --> ./src/pkgmgr/server/util.rs:738:12 [ 76s] | [ 76s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 76s] | ^^^^^^^^^^ help: convert the identifier to snake case: `disable_app` [ 76s] [ 76s] warning: method `EnableGlobalApp` should have a snake case name [ 76s] --> ./src/pkgmgr/server/util.rs:747:12 [ 76s] | [ 76s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 76s] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app` [ 76s] [ 76s] warning: method `DisableGlobalApp` should have a snake case name [ 76s] --> ./src/pkgmgr/server/util.rs:757:12 [ 76s] | [ 76s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 76s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app` [ 76s] [ 76s] warning: method `EnableAppSplashScreen` should have a snake case name [ 76s] --> ./src/pkgmgr/server/util.rs:766:12 [ 76s] | [ 76s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 76s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_app_splash_screen` [ 76s] [ 76s] warning: method `DisableAppSplashScreen` should have a snake case name [ 76s] --> ./src/pkgmgr/server/util.rs:775:12 [ 76s] | [ 76s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_app_splash_screen` [ 76s] [ 76s] warning: method `EnableGlobalAppSplashScreen` should have a snake case name [ 76s] --> ./src/pkgmgr/server/util.rs:784:12 [ 76s] | [ 76s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app_splash_screen` [ 76s] [ 76s] warning: method `DisableGlobalAppSplashScreen` should have a snake case name [ 76s] --> ./src/pkgmgr/server/util.rs:793:12 [ 76s] | [ 76s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 76s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app_splash_screen` [ 76s] [ 76s] warning: method `KillApp` should have a snake case name [ 76s] --> ./src/pkgmgr/server/util.rs:813:12 [ 76s] | [ 76s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 76s] | ^^^^^^^ help: convert the identifier to snake case: `kill_app` [ 76s] [ 76s] warning: method `KillAppsInPkg` should have a snake case name [ 76s] --> ./src/pkgmgr/server/util.rs:835:12 [ 76s] | [ 76s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 76s] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_apps_in_pkg` [ 76s] [ 76s] warning: method `IsAdminUser` should have a snake case name [ 76s] --> ./src/pkgmgr/server/util.rs:855:8 [ 76s] | [ 76s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 76s] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_admin_user` [ 76s] [ 143s] warning: 542 warnings emitted [ 143s] [ 143s] + export LD_LIBRARY_PATH=:/usr/lib/rustlib:/usr/lib/rustlib/dylib:/usr/lib/rustlib:/usr/lib/rustlib/dylib [ 143s] + LD_LIBRARY_PATH=:/usr/lib/rustlib:/usr/lib/rustlib/dylib:/usr/lib/rustlib:/usr/lib/rustlib/dylib [ 143s] ++ find /usr/lib -maxdepth 1 -name 'libstd-*.so' [ 143s] + __rust_std=/usr/lib/libstd-161dbff30b3b0c00.so [ 143s] + /usr/bin/rustc -C prefer-dynamic --extern std=/usr/lib/libstd-161dbff30b3b0c00.so -C codegen-units=1 -C debuginfo=2 -C opt-level=3 -C relocation-model=pic -C overflow-checks=on -C symbol-mangling-version=v0 -L/usr/lib/rustlib -L/usr/lib/rustlib/dylib --test --crate-type=bin --crate-name=unittests_rust_pkgmgr_server -L native=./tidl_pkgmgr_server -L native=./util_pkgmgr_server -l minizip --edition=2021 --extern libc=/usr/lib/rustlib/dylib/liblibc.so --cap-lints warn ./src/main.rs [ 145s] warning: unused import: `boxed` [ 145s] --> ./src/pkgmgr/server/admin_service.rs:4:11 [ 145s] | [ 145s] 4 | use std::{boxed, str}; [ 145s] | ^^^^^ [ 145s] | [ 145s] = note: `#[warn(unused_imports)]` on by default [ 145s] [ 145s] warning: unused import: `std::mem` [ 145s] --> ./src/pkgmgr/server/admin_service.rs:6:5 [ 145s] | [ 145s] 6 | use std::mem; [ 145s] | ^^^^^^^^ [ 145s] [ 145s] warning: unused import: `std::ptr` [ 145s] --> ./src/pkgmgr/server/admin_service.rs:7:5 [ 145s] | [ 145s] 7 | use std::ptr; [ 145s] | ^^^^^^^^ [ 145s] [ 145s] warning: unused import: `malloc` [ 145s] --> ./src/pkgmgr/server/admin_service.rs:8:18 [ 145s] | [ 145s] 8 | use libc::{free, malloc, strlen}; [ 145s] | ^^^^^^ [ 145s] [ 145s] warning: unused import: `super::Server` [ 145s] --> ./src/pkgmgr/server/admin_service.rs:10:5 [ 145s] | [ 145s] 10 | use super::Server; [ 145s] | ^^^^^^^^^^^^^ [ 145s] [ 145s] warning: type `rpc_port_stub_array_string_h` should have an upper camel case name [ 145s] --> ./src/pkgmgr/server/admin_service.rs:23:6 [ 145s] | [ 145s] 23 | type rpc_port_stub_array_string_h = *mut c_void; [ 145s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RpcPortStubArrayStringH` [ 145s] | [ 145s] = note: `#[warn(non_camel_case_types)]` on by default [ 145s] [ 145s] warning: unused imports: `pid_t`, `uid_t` [ 145s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 145s] | [ 145s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 145s] | ^^^^^ ^^^^^ [ 145s] [ 145s] warning: unused imports: `c_int`, `c_void` [ 145s] --> ./src/pkgmgr/server/backend_context.rs:4:16 [ 145s] | [ 145s] 4 | use std::ffi::{c_int, c_void}; [ 145s] | ^^^^^ ^^^^^^ [ 145s] [ 145s] warning: unused import: `std::path::Path` [ 145s] --> ./src/pkgmgr/server/backend_queue.rs:10:5 [ 145s] | [ 145s] 10 | use std::path::Path; [ 145s] | ^^^^^^^^^^^^^^^ [ 145s] [ 145s] warning: denote infinite loops with `loop { ... }` [ 145s] --> ./src/pkgmgr/server/backend_queue.rs:50:9 [ 145s] | [ 145s] 50 | while true { [ 145s] | ^^^^^^^^^^ help: use `loop` [ 145s] | [ 145s] = note: `#[warn(while_true)]` on by default [ 145s] [ 145s] warning: unnecessary parentheses around `if` condition [ 145s] --> ./src/pkgmgr/server/backend_queue.rs:73:8 [ 145s] | [ 145s] 73 | if (mut_queue.is_queue_empty()) { [ 145s] | ^ ^ [ 145s] | [ 145s] = note: `#[warn(unused_parens)]` on by default [ 145s] help: remove these parentheses [ 145s] | [ 145s] 73 - if (mut_queue.is_queue_empty()) { [ 145s] 73 + if mut_queue.is_queue_empty() { [ 145s] | [ 145s] [ 145s] warning: unnecessary trailing semicolon [ 145s] --> ./src/pkgmgr/server/backend_queue.rs:297:17 [ 145s] | [ 145s] 297 | ; [ 145s] | ^ help: remove this semicolon [ 145s] | [ 145s] = note: `#[warn(redundant_semicolons)]` on by default [ 145s] [ 145s] warning: unused import: `super::Server` [ 145s] --> ./src/pkgmgr/server/cache_service.rs:1:5 [ 145s] | [ 145s] 1 | use super::Server; [ 145s] | ^^^^^^^^^^^^^ [ 145s] [ 145s] warning: unused import: `super::Server` [ 145s] --> ./src/pkgmgr/server/delayed_service.rs:1:5 [ 145s] | [ 145s] 1 | use super::Server; [ 145s] | ^^^^^^^^^^^^^ [ 145s] [ 145s] warning: unused import: `super::backend_context::*` [ 145s] --> ./src/pkgmgr/server/delayed_service.rs:4:5 [ 145s] | [ 145s] 4 | use super::backend_context::*; [ 145s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 145s] [ 145s] warning: unused import: `super::request_result::*` [ 145s] --> ./src/pkgmgr/server/delayed_service.rs:5:5 [ 145s] | [ 145s] 5 | use super::request_result::*; [ 145s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 145s] [ 145s] warning: unused import: `super::request_type::*` [ 145s] --> ./src/pkgmgr/server/delayed_service.rs:6:5 [ 145s] | [ 145s] 6 | use super::request_type::*; [ 145s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 145s] [ 145s] warning: unused import: `super::util::*` [ 145s] --> ./src/pkgmgr/server/delayed_service.rs:7:5 [ 145s] | [ 145s] 7 | use super::util::*; [ 145s] | ^^^^^^^^^^^^^^ [ 145s] [ 145s] warning: unused imports: `pid_t`, `uid_t` [ 145s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 145s] | [ 145s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 145s] | ^^^^^ ^^^^^ [ 145s] [ 145s] warning: unused import: `std::io::Error` [ 145s] --> ./src/pkgmgr/server/info_service.rs:3:5 [ 145s] | [ 145s] 3 | use std::io::Error; [ 145s] | ^^^^^^^^^^^^^^ [ 145s] [ 145s] warning: unused import: `std::mem` [ 145s] --> ./src/pkgmgr/server/info_service.rs:6:5 [ 145s] | [ 145s] 6 | use std::mem; [ 145s] | ^^^^^^^^ [ 145s] [ 145s] warning: unused import: `std::ptr` [ 145s] --> ./src/pkgmgr/server/info_service.rs:7:5 [ 145s] | [ 145s] 7 | use std::ptr; [ 145s] | ^^^^^^^^ [ 145s] [ 145s] warning: unused imports: `free`, `malloc`, `strlen` [ 145s] --> ./src/pkgmgr/server/info_service.rs:8:12 [ 145s] | [ 145s] 8 | use libc::{free, malloc, strlen, mkfifo}; [ 145s] | ^^^^ ^^^^^^ ^^^^^^ [ 145s] [ 145s] warning: unused import: `super::Server` [ 145s] --> ./src/pkgmgr/server/info_service.rs:10:5 [ 145s] | [ 145s] 10 | use super::Server; [ 145s] | ^^^^^^^^^^^^^ [ 145s] [ 145s] warning: unused import: `super::service::Service` [ 145s] --> ./src/pkgmgr/server/info_service.rs:13:5 [ 145s] | [ 145s] 13 | use super::service::Service; [ 145s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 145s] [ 145s] warning: unnecessary trailing semicolon [ 145s] --> ./src/pkgmgr/server/info_service.rs:49:5 [ 145s] | [ 145s] 49 | ; [ 145s] | ^ help: remove this semicolon [ 145s] [ 145s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 145s] --> ./src/pkgmgr/server/request_result.rs:7:5 [ 145s] | [ 145s] 7 | GETSIZE_SYNC(String, i32, i32), [ 145s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 145s] [ 145s] warning: variant `GET_GENERATE_LICENSE_RESULT` should have an upper camel case name [ 145s] --> ./src/pkgmgr/server/request_result.rs:8:5 [ 145s] | [ 145s] 8 | GET_GENERATE_LICENSE_RESULT(String, i32, CString, CString), [ 145s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetGenerateLicenseResult` [ 145s] [ 145s] warning: variant `MOUNT_INSTALL` should have an upper camel case name [ 145s] --> ./src/pkgmgr/server/request_type.rs:3:5 [ 145s] | [ 145s] 3 | MOUNT_INSTALL, [ 145s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MountInstall` [ 145s] [ 145s] warning: variant `ENABLE_PKG` should have an upper camel case name [ 145s] --> ./src/pkgmgr/server/request_type.rs:7:5 [ 145s] | [ 145s] 7 | ENABLE_PKG, [ 145s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnablePkg` [ 145s] [ 145s] warning: variant `DISABLE_PKG` should have an upper camel case name [ 145s] --> ./src/pkgmgr/server/request_type.rs:8:5 [ 145s] | [ 145s] 8 | DISABLE_PKG, [ 145s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisablePkg` [ 145s] [ 145s] warning: variant `REGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 145s] --> ./src/pkgmgr/server/request_type.rs:9:5 [ 145s] | [ 145s] 9 | REGISTER_PKG_UPDATE_INFO, [ 145s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterPkgUpdateInfo` [ 145s] [ 145s] warning: variant `UNREGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 145s] --> ./src/pkgmgr/server/request_type.rs:10:5 [ 145s] | [ 145s] 10 | UNREGISTER_PKG_UPDATE_INFO, [ 145s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterPkgUpdateInfo` [ 145s] [ 145s] warning: variant `UNREGISTER_ALL_PKG_UPDATE_INFO` should have an upper camel case name [ 145s] --> ./src/pkgmgr/server/request_type.rs:11:5 [ 145s] | [ 145s] 11 | UNREGISTER_ALL_PKG_UPDATE_INFO, [ 145s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterAllPkgUpdateInfo` [ 145s] [ 145s] warning: variant `ENABLE_APP` should have an upper camel case name [ 145s] --> ./src/pkgmgr/server/request_type.rs:12:5 [ 145s] | [ 145s] 12 | ENABLE_APP, [ 145s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableApp` [ 145s] [ 145s] warning: variant `DISABLE_APP` should have an upper camel case name [ 145s] --> ./src/pkgmgr/server/request_type.rs:13:5 [ 145s] | [ 145s] 13 | DISABLE_APP, [ 145s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableApp` [ 145s] [ 145s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 145s] --> ./src/pkgmgr/server/request_type.rs:15:5 [ 145s] | [ 145s] 15 | GETSIZE_SYNC, [ 145s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 145s] [ 145s] warning: variant `ENABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 145s] --> ./src/pkgmgr/server/request_type.rs:18:5 [ 145s] | [ 145s] 18 | ENABLE_GLOBAL_APP_FOR_UID, [ 145s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableGlobalAppForUid` [ 145s] [ 145s] warning: variant `DISABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 145s] --> ./src/pkgmgr/server/request_type.rs:19:5 [ 145s] | [ 145s] 19 | DISABLE_GLOBAL_APP_FOR_UID, [ 145s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableGlobalAppForUid` [ 145s] [ 145s] warning: variant `GENERATE_LICENSE_REQUEST` should have an upper camel case name [ 145s] --> ./src/pkgmgr/server/request_type.rs:22:5 [ 145s] | [ 145s] 22 | GENERATE_LICENSE_REQUEST, [ 145s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GenerateLicenseRequest` [ 145s] [ 145s] warning: variant `REGISTER_LICENSE` should have an upper camel case name [ 145s] --> ./src/pkgmgr/server/request_type.rs:23:5 [ 145s] | [ 145s] 23 | REGISTER_LICENSE, [ 145s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterLicense` [ 145s] [ 145s] warning: variant `DECRYPT_PACKAGE` should have an upper camel case name [ 145s] --> ./src/pkgmgr/server/request_type.rs:24:5 [ 145s] | [ 145s] 24 | DECRYPT_PACKAGE, [ 145s] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DecryptPackage` [ 145s] [ 145s] warning: variant `ENABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 145s] --> ./src/pkgmgr/server/request_type.rs:25:5 [ 145s] | [ 145s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 145s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableAppSplashScreen` [ 145s] [ 145s] warning: variant `DISABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 145s] --> ./src/pkgmgr/server/request_type.rs:26:5 [ 145s] | [ 145s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 145s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableAppSplashScreen` [ 145s] [ 145s] warning: variant `SET_APP_LABEL` should have an upper camel case name [ 145s] --> ./src/pkgmgr/server/request_type.rs:27:5 [ 145s] | [ 145s] 27 | SET_APP_LABEL, [ 145s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppLabel` [ 145s] [ 145s] warning: variant `SET_APP_ICON` should have an upper camel case name [ 145s] --> ./src/pkgmgr/server/request_type.rs:28:5 [ 145s] | [ 145s] 28 | SET_APP_ICON, [ 145s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppIcon` [ 145s] [ 145s] warning: variant `MIGRATE_EXTERNAL_IMAGE` should have an upper camel case name [ 145s] --> ./src/pkgmgr/server/request_type.rs:29:5 [ 145s] | [ 145s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 145s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MigrateExternalImage` [ 145s] [ 145s] warning: variant `RESOURCE_SHARE_COPY` should have an upper camel case name [ 145s] --> ./src/pkgmgr/server/request_type.rs:30:5 [ 145s] | [ 145s] 30 | RESOURCE_SHARE_COPY, [ 145s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCopy` [ 145s] [ 145s] warning: variant `RESOURCE_SHARE_CREATE_DIR` should have an upper camel case name [ 145s] --> ./src/pkgmgr/server/request_type.rs:31:5 [ 145s] | [ 145s] 31 | RESOURCE_SHARE_CREATE_DIR, [ 145s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCreateDir` [ 145s] [ 145s] warning: variant `RESOURCE_SHARE_REMOVE` should have an upper camel case name [ 145s] --> ./src/pkgmgr/server/request_type.rs:32:5 [ 145s] | [ 145s] 32 | RESOURCE_SHARE_REMOVE, [ 145s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareRemove` [ 145s] [ 145s] warning: variant `RESOURCE_SHARE_UNINSTALL` should have an upper camel case name [ 145s] --> ./src/pkgmgr/server/request_type.rs:33:5 [ 145s] | [ 145s] 33 | RESOURCE_SHARE_UNINSTALL, [ 145s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareUninstall` [ 145s] [ 145s] warning: variant `REMOVE_FILE` should have an upper camel case name [ 145s] --> ./src/pkgmgr/server/request_type.rs:34:5 [ 145s] | [ 145s] 34 | REMOVE_FILE, [ 145s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RemoveFile` [ 145s] [ 145s] warning: unused import: `CStr` [ 145s] --> ./src/pkgmgr/server/signal.rs:1:39 [ 145s] | [ 145s] 1 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 145s] | ^^^^ [ 145s] [ 145s] warning: unused import: `pid_t` [ 145s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 145s] | [ 145s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 145s] | ^^^^^ [ 145s] [ 145s] warning: unused imports: `CStr`, `CString`, `c_char`, `c_void` [ 145s] --> ./src/pkgmgr/server/signal.rs:39:20 [ 145s] | [ 145s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 145s] | ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^ [ 145s] [ 145s] warning: unused import: `pid_t` [ 145s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 145s] | [ 145s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 145s] | ^^^^^ [ 145s] [ 145s] warning: unused import: `std::cell::RefCell` [ 145s] --> ./src/pkgmgr/server/util.rs:1:5 [ 145s] | [ 145s] 1 | use std::cell::RefCell; [ 145s] | ^^^^^^^^^^^^^^^^^^ [ 145s] [ 145s] warning: unused import: `std::rc::Rc` [ 145s] --> ./src/pkgmgr/server/util.rs:8:5 [ 145s] | [ 145s] 8 | use std::rc::Rc; [ 145s] | ^^^^^^^^^^^ [ 145s] [ 145s] warning: type `xmlChar` should have an upper camel case name [ 145s] --> ./src/pkgmgr/server/util.rs:34:6 [ 145s] | [ 145s] 34 | type xmlChar = c_uchar; [ 145s] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlChar` [ 145s] [ 145s] warning: type `xmlTextReaderPtr` should have an upper camel case name [ 145s] --> ./src/pkgmgr/server/util.rs:35:6 [ 145s] | [ 145s] 35 | type xmlTextReaderPtr = *mut c_void; [ 145s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlTextReaderPtr` [ 145s] [ 145s] warning: unused imports: `CStr`, `CString` [ 145s] --> ./src/pkgmgr/server/util.rs:39:43 [ 145s] | [ 145s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 145s] | ^^^^ ^^^^^^^ [ 145s] [ 145s] warning: unused import: `pid_t` [ 145s] --> ./src/pkgmgr/server/util.rs:40:37 [ 145s] | [ 145s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 145s] | ^^^^^ [ 145s] [ 145s] warning: unnecessary parentheses around `if` condition [ 145s] --> ./src/pkgmgr/server/util.rs:474:24 [ 145s] | [ 145s] 474 | if (cur == depth + 1) { [ 145s] | ^ ^ [ 145s] | [ 145s] help: remove these parentheses [ 145s] | [ 145s] 474 - if (cur == depth + 1) { [ 145s] 474 + if cur == depth + 1 { [ 145s] | [ 145s] [ 145s] warning: unnecessary parentheses around `if` condition [ 145s] --> ./src/pkgmgr/server/util.rs:571:12 [ 145s] | [ 145s] 571 | if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 145s] | ^ ^ [ 145s] | [ 145s] help: remove these parentheses [ 145s] | [ 145s] 571 - if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 145s] 571 + if unzOpenCurrentFile(uf) != UNZ_OK as c_int { [ 145s] | [ 145s] [ 145s] warning: unused import: `std::ffi::CStr` [ 145s] --> ./src/pkgmgr/server/test/util_tests.rs:4:5 [ 145s] | [ 145s] 4 | use std::ffi::CStr; [ 145s] | ^^^^^^^^^^^^^^ [ 145s] [ 145s] warning: unused import: `std::mem` [ 145s] --> ./src/pkgmgr/server/test/util_tests.rs:6:5 [ 145s] | [ 145s] 6 | use std::mem; [ 145s] | ^^^^^^^^ [ 145s] [ 145s] warning: unused import: `mockall::predicate::*` [ 145s] --> ./src/pkgmgr/server/test/util_tests.rs:8:5 [ 145s] | [ 145s] 8 | use mockall::predicate::*; [ 145s] | ^^^^^^^^^^^^^^^^^^^^^ [ 145s] [ 145s] warning: unused import: `mockall::*` [ 145s] --> ./src/pkgmgr/server/test/util_tests.rs:9:5 [ 145s] | [ 145s] 9 | use mockall::*; [ 145s] | ^^^^^^^^^^ [ 145s] [ 145s] warning: unused import: `std::ffi::CString` [ 145s] --> ./src/pkgmgr/server/test/signal_tests.rs:2:5 [ 145s] | [ 145s] 2 | use std::ffi::CString; [ 145s] | ^^^^^^^^^^^^^^^^^ [ 145s] [ 145s] warning: unused import: `std::ffi::CStr` [ 145s] --> ./src/pkgmgr/server/test/signal_tests.rs:3:5 [ 145s] | [ 145s] 3 | use std::ffi::CStr; [ 145s] | ^^^^^^^^^^^^^^ [ 145s] [ 145s] warning: unused import: `std::ffi::c_char` [ 145s] --> ./src/pkgmgr/server/test/signal_tests.rs:4:5 [ 145s] | [ 145s] 4 | use std::ffi::c_char; [ 145s] | ^^^^^^^^^^^^^^^^ [ 145s] [ 145s] warning: unused import: `std::mem` [ 145s] --> ./src/pkgmgr/server/test/signal_tests.rs:5:5 [ 145s] | [ 145s] 5 | use std::mem; [ 145s] | ^^^^^^^^ [ 145s] [ 145s] warning: unused import: `mockall::predicate::*` [ 145s] --> ./src/pkgmgr/server/test/signal_tests.rs:6:5 [ 145s] | [ 145s] 6 | use mockall::predicate::*; [ 145s] | ^^^^^^^^^^^^^^^^^^^^^ [ 145s] [ 145s] warning: unused import: `mockall::*` [ 145s] --> ./src/pkgmgr/server/test/signal_tests.rs:7:5 [ 145s] | [ 145s] 7 | use mockall::*; [ 145s] | ^^^^^^^^^^ [ 145s] [ 145s] warning: unused import: `pid_t` [ 145s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 145s] | [ 145s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 145s] | ^^^^^ [ 145s] [ 145s] warning: unused import: `std::cell::RefCell` [ 145s] --> ./src/pkgmgr/server/mod.rs:22:5 [ 145s] | [ 145s] 22 | use std::cell::RefCell; [ 145s] | ^^^^^^^^^^^^^^^^^^ [ 145s] [ 145s] warning: unused import: `std::rc::Rc` [ 145s] --> ./src/pkgmgr/server/mod.rs:26:5 [ 145s] | [ 145s] 26 | use std::rc::Rc; [ 145s] | ^^^^^^^^^^^ [ 145s] [ 145s] warning: unused import: `std::process::Command` [ 145s] --> ./src/main.rs:9:5 [ 145s] | [ 145s] 9 | use std::process::Command; [ 145s] | ^^^^^^^^^^^^^^^^^^^^^ [ 145s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:5:26 [ 146s] | [ 146s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 146s] | ^^^^^ [ 146s] | [ 146s] = note: `#[warn(deprecated)]` on by default [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:5:33 [ 146s] | [ 146s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:20:20 [ 146s] | [ 146s] 20 | const GLOBAL_USER: uid_t = 201; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:322:25 [ 146s] | [ 146s] 322 | let mut caller_uid: uid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:443:25 [ 146s] | [ 146s] 443 | let mut caller_uid: uid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:548:25 [ 146s] | [ 146s] 548 | let mut caller_uid: uid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:595:25 [ 146s] | [ 146s] 595 | let mut caller_uid: uid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:718:25 [ 146s] | [ 146s] 718 | let mut caller_uid: uid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:801:25 [ 146s] | [ 146s] 801 | let mut caller_uid: uid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:853:25 [ 146s] | [ 146s] 853 | let mut caller_uid: uid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:937:25 [ 146s] | [ 146s] 937 | let mut caller_uid: uid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:990:25 [ 146s] | [ 146s] 990 | let mut caller_uid: uid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1015:76 [ 146s] | [ 146s] 1015 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, true) { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1072:25 [ 146s] | [ 146s] 1072 | let mut caller_uid: uid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1097:76 [ 146s] | [ 146s] 1097 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, false) { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1151:25 [ 146s] | [ 146s] 1151 | let mut caller_pid: pid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1152:25 [ 146s] | [ 146s] 1152 | let mut caller_uid: uid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1166:62 [ 146s] | [ 146s] 1166 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1196:66 [ 146s] | [ 146s] 1196 | let ret = Util::RegisterPkgUpdateInfo(handle, uid as uid_t); [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1215:25 [ 146s] | [ 146s] 1215 | let mut caller_pid: pid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1216:25 [ 146s] | [ 146s] 1216 | let mut caller_uid: uid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1230:62 [ 146s] | [ 146s] 1230 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1254:109 [ 146s] | [ 146s] 1254 | RequestResult::DELAYED(generated_req_key, Util::UnregisterPkgUpdateInfo(pkg_id.as_ptr(), uid as uid_t)) [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1270:25 [ 146s] | [ 146s] 1270 | let mut caller_pid: pid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1271:25 [ 146s] | [ 146s] 1271 | let mut caller_uid: uid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1303:95 [ 146s] | [ 146s] 1303 | RequestResult::DELAYED(generated_req_key, Util::UnregisterAllPkgUpdateInfo(uid as uid_t, caller_uid)) [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1312:45 [ 146s] | [ 146s] 1312 | fn handle_enable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1359:60 [ 146s] | [ 146s] 1359 | fn handle_enable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1371:40 [ 146s] | [ 146s] 1371 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1373:40 [ 146s] | [ 146s] 1373 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1380:36 [ 146s] | [ 146s] 1380 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1382:36 [ 146s] | [ 146s] 1382 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1392:36 [ 146s] | [ 146s] 1392 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1394:36 [ 146s] | [ 146s] 1394 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1400:28 [ 146s] | [ 146s] 1400 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1403:46 [ 146s] | [ 146s] 1403 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1404:59 [ 146s] | [ 146s] 1404 | Util::EnableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1405:32 [ 146s] | [ 146s] 1405 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1409:28 [ 146s] | [ 146s] 1409 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1415:46 [ 146s] | [ 146s] 1415 | fn handle_disable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1463:61 [ 146s] | [ 146s] 1463 | fn handle_disable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1475:40 [ 146s] | [ 146s] 1475 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1477:40 [ 146s] | [ 146s] 1477 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1484:36 [ 146s] | [ 146s] 1484 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1486:36 [ 146s] | [ 146s] 1486 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1496:36 [ 146s] | [ 146s] 1496 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1498:36 [ 146s] | [ 146s] 1498 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1504:28 [ 146s] | [ 146s] 1504 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1507:46 [ 146s] | [ 146s] 1507 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1508:60 [ 146s] | [ 146s] 1508 | Util::DisableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1509:32 [ 146s] | [ 146s] 1509 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1513:28 [ 146s] | [ 146s] 1513 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1535:25 [ 146s] | [ 146s] 1535 | let mut caller_uid: uid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1562:70 [ 146s] | [ 146s] 1562 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1588:25 [ 146s] | [ 146s] 1588 | let mut caller_uid: uid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1615:71 [ 146s] | [ 146s] 1615 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1673:74 [ 146s] | [ 146s] 1673 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1735:75 [ 146s] | [ 146s] 1735 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1765:25 [ 146s] | [ 146s] 1765 | let mut caller_uid: uid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1792:85 [ 146s] | [ 146s] 1792 | RequestResult::VAL(handle_enable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1818:25 [ 146s] | [ 146s] 1818 | let mut caller_uid: uid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1845:86 [ 146s] | [ 146s] 1845 | RequestResult::VAL(handle_disable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1863:40 [ 146s] | [ 146s] 1863 | Util::KillAppsInPkg(pkg_id, uid as uid_t) [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1873:25 [ 146s] | [ 146s] 1873 | let mut caller_pid: pid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1874:25 [ 146s] | [ 146s] 1874 | let mut caller_uid: uid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1985:25 [ 146s] | [ 146s] 1985 | let mut caller_pid: pid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:1986:25 [ 146s] | [ 146s] 1986 | let mut caller_uid: uid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:2035:25 [ 146s] | [ 146s] 2035 | let mut caller_pid: pid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:2036:25 [ 146s] | [ 146s] 2036 | let mut caller_uid: uid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:2083:54 [ 146s] | [ 146s] 2083 | Util::EnableGlobalAppSplashScreen(app_id, uid as uid_t) [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:2093:55 [ 146s] | [ 146s] 2093 | Util::DisableGlobalAppSplashScreen(app_id, uid as uid_t) [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:2105:25 [ 146s] | [ 146s] 2105 | let mut caller_pid: pid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:2106:25 [ 146s] | [ 146s] 2106 | let mut caller_uid: uid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:2137:102 [ 146s] | [ 146s] 2137 | RequestResult::DELAYED(generated_req_key, Util::update_app_label(app_id.as_ptr(), uid as uid_t , label.as_ptr())) [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:2155:25 [ 146s] | [ 146s] 2155 | let mut caller_pid: pid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:2156:25 [ 146s] | [ 146s] 2156 | let mut caller_uid: uid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:2187:101 [ 146s] | [ 146s] 2187 | RequestResult::DELAYED(generated_req_key, Util::update_app_icon(app_id.as_ptr(), uid as uid_t , icon_path.as_ptr())) [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:2312:25 [ 146s] | [ 146s] 2312 | let mut caller_uid: uid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:2313:25 [ 146s] | [ 146s] 2313 | let mut caller_pid: pid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:2383:25 [ 146s] | [ 146s] 2383 | let mut caller_uid: uid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:2384:25 [ 146s] | [ 146s] 2384 | let mut caller_pid: pid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:2453:25 [ 146s] | [ 146s] 2453 | let mut caller_uid: uid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:2454:25 [ 146s] | [ 146s] 2454 | let mut caller_pid: pid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:2532:25 [ 146s] | [ 146s] 2532 | let mut caller_uid: uid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:2622:41 [ 146s] | [ 146s] 2622 | if unsafe { check_valid_path(uid as uid_t, pkg_id, file_path) } != 0 { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:2681:19 [ 146s] | [ 146s] 2681 | pid: *mut pid_t, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/admin_service.rs:2682:19 [ 146s] | [ 146s] 2682 | uid: *mut uid_t [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 146s] | [ 146s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/backend_context.rs:3:33 [ 146s] | [ 146s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/cache_service.rs:12:26 [ 146s] | [ 146s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/cache_service.rs:12:33 [ 146s] | [ 146s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/cache_service.rs:23:14 [ 146s] | [ 146s] 23 | uid: uid_t, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/cache_service.rs:48:17 [ 146s] | [ 146s] 48 | target_uid: uid_t, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/cache_service.rs:53:25 [ 146s] | [ 146s] 53 | let mut caller_uid: uid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/cache_service.rs:106:19 [ 146s] | [ 146s] 106 | pid: *mut pid_t, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/cache_service.rs:107:19 [ 146s] | [ 146s] 107 | uid: *mut uid_t [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 146s] | [ 146s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/delayed_service.rs:13:33 [ 146s] | [ 146s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/info_service.rs:2:26 [ 146s] | [ 146s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/info_service.rs:2:33 [ 146s] | [ 146s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/info_service.rs:37:90 [ 146s] | [ 146s] 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... [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/info_service.rs:38:94 [ 146s] | [ 146s] 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... [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/info_service.rs:40:88 [ 146s] | [ 146s] 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... [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/info_service.rs:40:128 [ 146s] | [ 146s] 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... [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/info_service.rs:54:17 [ 146s] | [ 146s] 54 | target_uid: uid_t, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/info_service.rs:60:25 [ 146s] | [ 146s] 60 | let mut caller_pid: pid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/info_service.rs:61:25 [ 146s] | [ 146s] 61 | let mut caller_uid: uid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/info_service.rs:114:17 [ 146s] | [ 146s] 114 | target_uid: uid_t, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/info_service.rs:120:25 [ 146s] | [ 146s] 120 | let mut caller_pid: pid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/info_service.rs:121:25 [ 146s] | [ 146s] 121 | let mut caller_uid: uid_t = 0; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/info_service.rs:223:17 [ 146s] | [ 146s] 223 | target_uid: uid_t, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/info_service.rs:225:15 [ 146s] | [ 146s] 225 | pid: *mut pid_t, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/info_service.rs:228:43 [ 146s] | [ 146s] 228 | Util::check_app(pkg_id, target_uid as uid_t, pid) [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/info_service.rs:242:19 [ 146s] | [ 146s] 242 | pid: *mut pid_t, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/info_service.rs:243:19 [ 146s] | [ 146s] 243 | uid: *mut uid_t [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/signal.rs:2:26 [ 146s] | [ 146s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 146s] | [ 146s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/signal.rs:99:20 [ 146s] | [ 146s] 99 | const GLOBAL_USER: uid_t = 201; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/signal.rs:101:33 [ 146s] | [ 146s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/signal.rs:101:47 [ 146s] | [ 146s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/signal.rs:102:26 [ 146s] | [ 146s] 102 | let mut uid_vec: Vec = vec![]; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/signal.rs:110:28 [ 146s] | [ 146s] 110 | let mut uids: *mut uid_t = std::ptr::null_mut(); [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/signal.rs:124:14 [ 146s] | [ 146s] 124 | uid: uid_t, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/signal.rs:53:44 [ 146s] | [ 146s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/signal.rs:62:14 [ 146s] | [ 146s] 62 | uid: uid_t, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/signal.rs:86:14 [ 146s] | [ 146s] 86 | uid: uid_t, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/signal.rs:40:30 [ 146s] | [ 146s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 146s] | [ 146s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/signal.rs:44:45 [ 146s] | [ 146s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:4:26 [ 146s] | [ 146s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:4:33 [ 146s] | [ 146s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:22:21 [ 146s] | [ 146s] 22 | const REGULAR_USER: uid_t = 5000; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:23:20 [ 146s] | [ 146s] 23 | const GLOBAL_USER: uid_t = 201; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:25:18 [ 146s] | [ 146s] 25 | const APPFW_UID: uid_t = 301; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:307:36 [ 146s] | [ 146s] 307 | let uid : uid_t = user_data as uid_t; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:307:15 [ 146s] | [ 146s] 307 | let uid : uid_t = user_data as uid_t; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:326:81 [ 146s] | [ 146s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:326:93 [ 146s] | [ 146s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:326:25 [ 146s] | [ 146s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:326:37 [ 146s] | [ 146s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:389:57 [ 146s] | [ 146s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:420:55 [ 146s] | [ 146s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:686:62 [ 146s] | [ 146s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:696:63 [ 146s] | [ 146s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:706:44 [ 146s] | [ 146s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:706:63 [ 146s] | [ 146s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:728:49 [ 146s] | [ 146s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:738:50 [ 146s] | [ 146s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:747:55 [ 146s] | [ 146s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:757:56 [ 146s] | [ 146s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:766:61 [ 146s] | [ 146s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:775:62 [ 146s] | [ 146s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:784:67 [ 146s] | [ 146s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:793:68 [ 146s] | [ 146s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:802:54 [ 146s] | [ 146s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:802:64 [ 146s] | [ 146s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:813:47 [ 146s] | [ 146s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:835:53 [ 146s] | [ 146s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:855:25 [ 146s] | [ 146s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:983:69 [ 146s] | [ 146s] 983 | pub fn get_application_info_by_appid(appid: *const c_char, uid: uid_t) -> Option<(CString, bool)> { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:1012:41 [ 146s] | [ 146s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:1012:53 [ 146s] | [ 146s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:1029:71 [ 146s] | [ 146s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:1029:90 [ 146s] | [ 146s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:1076:56 [ 146s] | [ 146s] 1076 | pub fn update_app_label(appid: *const c_char, uid: uid_t, label: *const c_char) -> c_int { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:1080:55 [ 146s] | [ 146s] 1080 | pub fn update_app_icon(appid: *const c_char, uid: uid_t, icon_path: *const c_char) -> c_int { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:1108:49 [ 146s] | [ 146s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:1108:66 [ 146s] | [ 146s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:156:14 [ 146s] | [ 146s] 156 | uid: uid_t, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:166:14 [ 146s] | [ 146s] 166 | uid: uid_t, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:180:14 [ 146s] | [ 146s] 180 | uid: uid_t [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:185:14 [ 146s] | [ 146s] 185 | uid: uid_t [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:189:14 [ 146s] | [ 146s] 189 | uid: uid_t [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:194:14 [ 146s] | [ 146s] 194 | uid: uid_t, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:200:14 [ 146s] | [ 146s] 200 | uid: uid_t, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:206:14 [ 146s] | [ 146s] 206 | uid: uid_t, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:212:14 [ 146s] | [ 146s] 212 | uid: uid_t, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:218:14 [ 146s] | [ 146s] 218 | uid: uid_t, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:224:14 [ 146s] | [ 146s] 224 | uid: uid_t, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:237:32 [ 146s] | [ 146s] 237 | fn gum_user_get_sync(uid : uid_t, offline : c_int) -> *mut c_void; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:266:21 [ 146s] | [ 146s] 266 | caller_uid: uid_t [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:274:14 [ 146s] | [ 146s] 274 | uid: uid_t, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:40:30 [ 146s] | [ 146s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:40:37 [ 146s] | [ 146s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:46:18 [ 146s] | [ 146s] 46 | uid: uid_t, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:52:18 [ 146s] | [ 146s] 52 | uid: uid_t, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:67:18 [ 146s] | [ 146s] 67 | uid: uid_t, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:101:18 [ 146s] | [ 146s] 101 | uid: uid_t, [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:122:70 [ 146s] | [ 146s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:123:66 [ 146s] | [ 146s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:124:59 [ 146s] | [ 146s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/util.rs:125:97 [ 146s] | [ 146s] 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; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 146s] | [ 146s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 146s] | [ 146s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/test/signal_tests.rs:12:26 [ 146s] | [ 146s] 12 | let mut uid_vec: Vec = vec![]; [ 146s] | ^^^^^ [ 146s] [ 146s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 146s] --> ./src/pkgmgr/server/test/signal_tests.rs:19:26 [ 146s] | [ 146s] 19 | let mut uid_vec: Vec = vec![]; [ 146s] | ^^^^^ [ 146s] [ 148s] warning: unreachable expression [ 148s] --> ./src/pkgmgr/server/backend_queue.rs:64:5 [ 148s] | [ 148s] 61 | return G_SOURCE_CONTINUE; [ 148s] | ------------------------ any code following this expression is unreachable [ 148s] ... [ 148s] 64 | 1 [ 148s] | ^ unreachable expression [ 148s] | [ 148s] = note: `#[warn(unreachable_code)]` on by default [ 148s] [ 153s] warning: unused import: `super::super::super::server::service::Service` [ 153s] --> ./src/pkgmgr/server/test/info_service_tests.rs:3:5 [ 153s] | [ 153s] 3 | use super::super::super::server::service::Service; [ 153s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 153s] [ 153s] warning: unused variable: `context` [ 153s] --> ./src/pkgmgr/server/admin_service.rs:297:5 [ 153s] | [ 153s] 297 | context: *mut c_void, [ 153s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 153s] | [ 153s] = note: `#[warn(unused_variables)]` on by default [ 153s] [ 153s] warning: unused variable: `context` [ 153s] --> ./src/pkgmgr/server/admin_service.rs:306:5 [ 153s] | [ 153s] 306 | context: *mut c_void, [ 153s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 153s] [ 153s] warning: unused variable: `user_data` [ 153s] --> ./src/pkgmgr/server/admin_service.rs:307:5 [ 153s] | [ 153s] 307 | user_data: *mut c_void, [ 153s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 153s] [ 153s] warning: unused variable: `ret` [ 153s] --> ./src/pkgmgr/server/admin_service.rs:323:9 [ 153s] | [ 153s] 323 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 153s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 153s] [ 153s] warning: unused variable: `req_id` [ 153s] --> ./src/pkgmgr/server/admin_service.rs:318:5 [ 153s] | [ 153s] 318 | req_id: *const c_char, [ 153s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 153s] [ 153s] warning: variable does not need to be mutable [ 153s] --> ./src/pkgmgr/server/admin_service.rs:415:9 [ 153s] | [ 153s] 415 | let mut backend_context = BackendContext::new( [ 153s] | ----^^^^^^^^^^^^^^^ [ 153s] | | [ 153s] | help: remove this `mut` [ 153s] | [ 153s] = note: `#[warn(unused_mut)]` on by default [ 153s] [ 153s] warning: unused variable: `ret` [ 153s] --> ./src/pkgmgr/server/admin_service.rs:444:9 [ 153s] | [ 153s] 444 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 153s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 153s] [ 153s] warning: unused variable: `req_id` [ 153s] --> ./src/pkgmgr/server/admin_service.rs:434:5 [ 153s] | [ 153s] 434 | req_id: *const c_char, [ 153s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 153s] [ 153s] warning: variable does not need to be mutable [ 153s] --> ./src/pkgmgr/server/admin_service.rs:510:9 [ 153s] | [ 153s] 510 | let mut backend_context = BackendContext::new( [ 153s] | ----^^^^^^^^^^^^^^^ [ 153s] | | [ 153s] | help: remove this `mut` [ 153s] [ 153s] warning: unused variable: `ret` [ 153s] --> ./src/pkgmgr/server/admin_service.rs:549:9 [ 153s] | [ 153s] 549 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 153s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 153s] [ 153s] warning: variable does not need to be mutable [ 153s] --> ./src/pkgmgr/server/admin_service.rs:571:9 [ 153s] | [ 153s] 571 | let mut backend_context = BackendContext::new( [ 153s] | ----^^^^^^^^^^^^^^^ [ 153s] | | [ 153s] | help: remove this `mut` [ 153s] [ 153s] warning: unused variable: `ret` [ 153s] --> ./src/pkgmgr/server/admin_service.rs:596:9 [ 153s] | [ 153s] 596 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 153s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 153s] [ 153s] warning: unused variable: `req_id` [ 153s] --> ./src/pkgmgr/server/admin_service.rs:591:5 [ 153s] | [ 153s] 591 | req_id: *const c_char, [ 153s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 153s] [ 153s] warning: variable does not need to be mutable [ 153s] --> ./src/pkgmgr/server/admin_service.rs:688:9 [ 153s] | [ 153s] 688 | let mut backend_context = BackendContext::new( [ 153s] | ----^^^^^^^^^^^^^^^ [ 153s] | | [ 153s] | help: remove this `mut` [ 153s] [ 153s] warning: unused variable: `ret` [ 153s] --> ./src/pkgmgr/server/admin_service.rs:719:9 [ 153s] | [ 153s] 719 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 153s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 153s] [ 153s] warning: unused variable: `req_id` [ 153s] --> ./src/pkgmgr/server/admin_service.rs:706:5 [ 153s] | [ 153s] 706 | req_id: *const c_char, [ 153s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 153s] [ 153s] warning: variable does not need to be mutable [ 153s] --> ./src/pkgmgr/server/admin_service.rs:763:9 [ 153s] | [ 153s] 763 | let mut backend_context = BackendContext::new( [ 153s] | ----^^^^^^^^^^^^^^^ [ 153s] | | [ 153s] | help: remove this `mut` [ 153s] [ 153s] warning: unused variable: `ret` [ 153s] --> ./src/pkgmgr/server/admin_service.rs:802:9 [ 153s] | [ 153s] 802 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 153s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 153s] [ 153s] warning: variable does not need to be mutable [ 153s] --> ./src/pkgmgr/server/admin_service.rs:824:9 [ 153s] | [ 153s] 824 | let mut backend_context = BackendContext::new( [ 153s] | ----^^^^^^^^^^^^^^^ [ 153s] | | [ 153s] | help: remove this `mut` [ 153s] [ 153s] warning: unused variable: `ret` [ 153s] --> ./src/pkgmgr/server/admin_service.rs:854:9 [ 153s] | [ 153s] 854 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 153s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 153s] [ 153s] warning: variable does not need to be mutable [ 153s] --> ./src/pkgmgr/server/admin_service.rs:898:9 [ 153s] | [ 153s] 898 | let mut backend_context = BackendContext::new( [ 153s] | ----^^^^^^^^^^^^^^^ [ 153s] | | [ 153s] | help: remove this `mut` [ 153s] [ 153s] warning: unused variable: `ret` [ 153s] --> ./src/pkgmgr/server/admin_service.rs:938:9 [ 153s] | [ 153s] 938 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 153s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 153s] [ 153s] warning: variable does not need to be mutable [ 153s] --> ./src/pkgmgr/server/admin_service.rs:961:9 [ 153s] | [ 153s] 961 | let mut backend_context = BackendContext::new( [ 153s] | ----^^^^^^^^^^^^^^^ [ 153s] | | [ 153s] | help: remove this `mut` [ 153s] [ 153s] warning: unused variable: `ret` [ 153s] --> ./src/pkgmgr/server/admin_service.rs:991:9 [ 153s] | [ 153s] 991 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 153s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 153s] [ 153s] warning: variable does not need to be mutable [ 153s] --> ./src/pkgmgr/server/admin_service.rs:1038:17 [ 153s] | [ 153s] 1038 | let mut backend_context = BackendContext::new( [ 153s] | ----^^^^^^^^^^^^^^^ [ 153s] | | [ 153s] | help: remove this `mut` [ 153s] [ 153s] warning: unused variable: `ret` [ 153s] --> ./src/pkgmgr/server/admin_service.rs:1073:9 [ 153s] | [ 153s] 1073 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 153s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 153s] [ 153s] warning: variable does not need to be mutable [ 153s] --> ./src/pkgmgr/server/admin_service.rs:1123:17 [ 153s] | [ 153s] 1123 | let mut backend_context = BackendContext::new( [ 153s] | ----^^^^^^^^^^^^^^^ [ 153s] | | [ 153s] | help: remove this `mut` [ 153s] [ 153s] warning: unused variable: `pkg_id` [ 153s] --> ./src/pkgmgr/server/admin_service.rs:1186:9 [ 153s] | [ 153s] 1186 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) }); [ 153s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 153s] [ 153s] warning: variable does not need to be mutable [ 153s] --> ./src/pkgmgr/server/admin_service.rs:1180:9 [ 153s] | [ 153s] 1180 | let mut handle : *mut c_void = Util::CreatePkgUpdateInfo(pkg_id, version, update_type); [ 153s] | ----^^^^^^ [ 153s] | | [ 153s] | help: remove this `mut` [ 153s] [ 153s] warning: variable does not need to be mutable [ 153s] --> ./src/pkgmgr/server/admin_service.rs:1190:9 [ 153s] | [ 153s] 1190 | let mut backend_context = BackendContext::new( [ 153s] | ----^^^^^^^^^^^^^^^ [ 153s] | | [ 153s] | help: remove this `mut` [ 153s] [ 153s] warning: variable does not need to be mutable [ 153s] --> ./src/pkgmgr/server/admin_service.rs:1248:9 [ 153s] | [ 153s] 1248 | let mut backend_context = BackendContext::new( [ 153s] | ----^^^^^^^^^^^^^^^ [ 153s] | | [ 153s] | help: remove this `mut` [ 153s] [ 153s] warning: variable does not need to be mutable [ 153s] --> ./src/pkgmgr/server/admin_service.rs:1297:9 [ 153s] | [ 153s] 1297 | let mut backend_context = BackendContext::new( [ 153s] | ----^^^^^^^^^^^^^^^ [ 153s] | | [ 153s] | help: remove this `mut` [ 153s] [ 153s] warning: unused variable: `is_global` [ 153s] --> ./src/pkgmgr/server/admin_service.rs:1321:17 [ 153s] | [ 153s] 1321 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 153s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 153s] [ 153s] warning: unused variable: `is_global` [ 153s] --> ./src/pkgmgr/server/admin_service.rs:1368:17 [ 153s] | [ 153s] 1368 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 153s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 153s] [ 153s] warning: unused variable: `is_global` [ 153s] --> ./src/pkgmgr/server/admin_service.rs:1424:17 [ 153s] | [ 153s] 1424 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 153s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 153s] [ 153s] warning: unused variable: `is_global` [ 153s] --> ./src/pkgmgr/server/admin_service.rs:1472:17 [ 153s] | [ 153s] 1472 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 153s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 153s] [ 153s] warning: unused variable: `caller_uid` [ 153s] --> ./src/pkgmgr/server/admin_service.rs:1535:13 [ 153s] | [ 153s] 1535 | let mut caller_uid: uid_t = 0; [ 153s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 153s] [ 153s] warning: unused variable: `context` [ 153s] --> ./src/pkgmgr/server/admin_service.rs:1521:5 [ 153s] | [ 153s] 1521 | context: *mut c_void, [ 153s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 153s] [ 153s] warning: variable does not need to be mutable [ 153s] --> ./src/pkgmgr/server/admin_service.rs:1535:9 [ 153s] | [ 153s] 1535 | let mut caller_uid: uid_t = 0; [ 153s] | ----^^^^^^^^^^ [ 153s] | | [ 153s] | help: remove this `mut` [ 153s] [ 153s] warning: variable does not need to be mutable [ 153s] --> ./src/pkgmgr/server/admin_service.rs:1558:13 [ 153s] | [ 153s] 1558 | let mut backend_context = BackendContext::new( [ 153s] | ----^^^^^^^^^^^^^^^ [ 153s] | | [ 153s] | help: remove this `mut` [ 153s] [ 153s] warning: unused variable: `caller_uid` [ 153s] --> ./src/pkgmgr/server/admin_service.rs:1588:13 [ 153s] | [ 153s] 1588 | let mut caller_uid: uid_t = 0; [ 153s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 153s] [ 153s] warning: unused variable: `context` [ 153s] --> ./src/pkgmgr/server/admin_service.rs:1574:5 [ 153s] | [ 153s] 1574 | context: *mut c_void, [ 153s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 153s] [ 153s] warning: variable does not need to be mutable [ 153s] --> ./src/pkgmgr/server/admin_service.rs:1588:9 [ 153s] | [ 153s] 1588 | let mut caller_uid: uid_t = 0; [ 153s] | ----^^^^^^^^^^ [ 153s] | | [ 153s] | help: remove this `mut` [ 153s] [ 153s] warning: variable does not need to be mutable [ 153s] --> ./src/pkgmgr/server/admin_service.rs:1611:13 [ 153s] | [ 153s] 1611 | let mut backend_context = BackendContext::new( [ 153s] | ----^^^^^^^^^^^^^^^ [ 153s] | | [ 153s] | help: remove this `mut` [ 153s] [ 153s] warning: unused variable: `context` [ 153s] --> ./src/pkgmgr/server/admin_service.rs:1627:5 [ 153s] | [ 153s] 1627 | context: *mut c_void, [ 153s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 153s] [ 154s] warning: variable does not need to be mutable [ 154s] --> ./src/pkgmgr/server/admin_service.rs:1669:17 [ 154s] | [ 154s] 1669 | let mut backend_context = BackendContext::new( [ 154s] | ----^^^^^^^^^^^^^^^ [ 154s] | | [ 154s] | help: remove this `mut` [ 154s] [ 154s] warning: unused variable: `context` [ 154s] --> ./src/pkgmgr/server/admin_service.rs:1689:5 [ 154s] | [ 154s] 1689 | context: *mut c_void, [ 154s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 154s] [ 154s] warning: variable does not need to be mutable [ 154s] --> ./src/pkgmgr/server/admin_service.rs:1731:17 [ 154s] | [ 154s] 1731 | let mut backend_context = BackendContext::new( [ 154s] | ----^^^^^^^^^^^^^^^ [ 154s] | | [ 154s] | help: remove this `mut` [ 154s] [ 154s] warning: unused variable: `caller_uid` [ 154s] --> ./src/pkgmgr/server/admin_service.rs:1765:13 [ 154s] | [ 154s] 1765 | let mut caller_uid: uid_t = 0; [ 154s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 154s] [ 154s] warning: unused variable: `context` [ 154s] --> ./src/pkgmgr/server/admin_service.rs:1751:5 [ 154s] | [ 154s] 1751 | context: *mut c_void, [ 154s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 154s] [ 154s] warning: variable does not need to be mutable [ 154s] --> ./src/pkgmgr/server/admin_service.rs:1765:9 [ 154s] | [ 154s] 1765 | let mut caller_uid: uid_t = 0; [ 154s] | ----^^^^^^^^^^ [ 154s] | | [ 154s] | help: remove this `mut` [ 154s] [ 154s] warning: variable does not need to be mutable [ 154s] --> ./src/pkgmgr/server/admin_service.rs:1788:13 [ 154s] | [ 154s] 1788 | let mut backend_context = BackendContext::new( [ 154s] | ----^^^^^^^^^^^^^^^ [ 154s] | | [ 154s] | help: remove this `mut` [ 154s] [ 154s] warning: unused variable: `caller_uid` [ 154s] --> ./src/pkgmgr/server/admin_service.rs:1818:13 [ 154s] | [ 154s] 1818 | let mut caller_uid: uid_t = 0; [ 154s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 154s] [ 154s] warning: unused variable: `context` [ 154s] --> ./src/pkgmgr/server/admin_service.rs:1804:5 [ 154s] | [ 154s] 1804 | context: *mut c_void, [ 154s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 154s] [ 154s] warning: variable does not need to be mutable [ 154s] --> ./src/pkgmgr/server/admin_service.rs:1818:9 [ 154s] | [ 154s] 1818 | let mut caller_uid: uid_t = 0; [ 154s] | ----^^^^^^^^^^ [ 154s] | | [ 154s] | help: remove this `mut` [ 154s] [ 154s] warning: variable does not need to be mutable [ 154s] --> ./src/pkgmgr/server/admin_service.rs:1841:13 [ 154s] | [ 154s] 1841 | let mut backend_context = BackendContext::new( [ 154s] | ----^^^^^^^^^^^^^^^ [ 154s] | | [ 154s] | help: remove this `mut` [ 154s] [ 154s] warning: unused variable: `context` [ 154s] --> ./src/pkgmgr/server/admin_service.rs:1857:5 [ 154s] | [ 154s] 1857 | context: *mut c_void, [ 154s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 154s] [ 154s] warning: unused variable: `pid` [ 154s] --> ./src/pkgmgr/server/admin_service.rs:1860:5 [ 154s] | [ 154s] 1860 | pid: *mut c_int, [ 154s] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [ 154s] [ 154s] warning: unused variable: `user_data` [ 154s] --> ./src/pkgmgr/server/admin_service.rs:1861:5 [ 154s] | [ 154s] 1861 | user_data: *mut c_void, [ 154s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 154s] [ 154s] warning: variable does not need to be mutable [ 154s] --> ./src/pkgmgr/server/admin_service.rs:1900:9 [ 154s] | [ 154s] 1900 | let mut backend_context = BackendContext::new( [ 154s] | ----^^^^^^^^^^^^^^^ [ 154s] | | [ 154s] | help: remove this `mut` [ 154s] [ 154s] warning: unused variable: `context` [ 154s] --> ./src/pkgmgr/server/admin_service.rs:1932:5 [ 154s] | [ 154s] 1932 | context: *mut c_void, [ 154s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 154s] [ 154s] warning: variable does not need to be mutable [ 154s] --> ./src/pkgmgr/server/admin_service.rs:2012:9 [ 154s] | [ 154s] 2012 | let mut backend_context = BackendContext::new( [ 154s] | ----^^^^^^^^^^^^^^^ [ 154s] | | [ 154s] | help: remove this `mut` [ 154s] [ 154s] warning: variable does not need to be mutable [ 154s] --> ./src/pkgmgr/server/admin_service.rs:2063:9 [ 154s] | [ 154s] 2063 | let mut backend_context = BackendContext::new( [ 154s] | ----^^^^^^^^^^^^^^^ [ 154s] | | [ 154s] | help: remove this `mut` [ 154s] [ 154s] warning: unused variable: `context` [ 154s] --> ./src/pkgmgr/server/admin_service.rs:2078:5 [ 154s] | [ 154s] 2078 | context: *mut c_void, [ 154s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 154s] [ 154s] warning: unused variable: `user_data` [ 154s] --> ./src/pkgmgr/server/admin_service.rs:2081:5 [ 154s] | [ 154s] 2081 | user_data: *mut c_void, [ 154s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 154s] [ 154s] warning: unused variable: `context` [ 154s] --> ./src/pkgmgr/server/admin_service.rs:2088:5 [ 154s] | [ 154s] 2088 | context: *mut c_void, [ 154s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 154s] [ 154s] warning: unused variable: `user_data` [ 154s] --> ./src/pkgmgr/server/admin_service.rs:2091:5 [ 154s] | [ 154s] 2091 | user_data: *mut c_void, [ 154s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 154s] [ 154s] warning: variable does not need to be mutable [ 154s] --> ./src/pkgmgr/server/admin_service.rs:2133:9 [ 154s] | [ 154s] 2133 | let mut backend_context = BackendContext::new( [ 154s] | ----^^^^^^^^^^^^^^^ [ 154s] | | [ 154s] | help: remove this `mut` [ 154s] [ 154s] warning: variable does not need to be mutable [ 154s] --> ./src/pkgmgr/server/admin_service.rs:2183:9 [ 154s] | [ 154s] 2183 | let mut backend_context = BackendContext::new( [ 154s] | ----^^^^^^^^^^^^^^^ [ 154s] | | [ 154s] | help: remove this `mut` [ 154s] [ 154s] warning: unused variable: `context` [ 154s] --> ./src/pkgmgr/server/admin_service.rs:2198:5 [ 154s] | [ 154s] 2198 | context: *mut c_void, [ 154s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 154s] [ 154s] warning: unused variable: `uid` [ 154s] --> ./src/pkgmgr/server/admin_service.rs:2199:5 [ 154s] | [ 154s] 2199 | uid: c_int, [ 154s] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [ 154s] [ 154s] warning: unused variable: `pkg_id` [ 154s] --> ./src/pkgmgr/server/admin_service.rs:2200:5 [ 154s] | [ 154s] 2200 | pkg_id: *const c_char, [ 154s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 154s] [ 154s] warning: unused variable: `user_data` [ 154s] --> ./src/pkgmgr/server/admin_service.rs:2201:5 [ 154s] | [ 154s] 2201 | user_data: *mut c_void, [ 154s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 154s] [ 154s] warning: variable does not need to be mutable [ 154s] --> ./src/pkgmgr/server/admin_service.rs:2364:9 [ 154s] | [ 154s] 2364 | let mut backend_context = BackendContext::new( [ 154s] | ----^^^^^^^^^^^^^^^ [ 154s] | | [ 154s] | help: remove this `mut` [ 154s] [ 154s] warning: variable does not need to be mutable [ 154s] --> ./src/pkgmgr/server/admin_service.rs:2434:9 [ 154s] | [ 154s] 2434 | let mut backend_context = BackendContext::new( [ 154s] | ----^^^^^^^^^^^^^^^ [ 154s] | | [ 154s] | help: remove this `mut` [ 154s] [ 154s] warning: variable does not need to be mutable [ 154s] --> ./src/pkgmgr/server/admin_service.rs:2504:9 [ 154s] | [ 154s] 2504 | let mut backend_context = BackendContext::new( [ 154s] | ----^^^^^^^^^^^^^^^ [ 154s] | | [ 154s] | help: remove this `mut` [ 154s] [ 154s] warning: unused variable: `ret` [ 154s] --> ./src/pkgmgr/server/admin_service.rs:2533:9 [ 154s] | [ 154s] 2533 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 154s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 154s] [ 154s] warning: variable does not need to be mutable [ 154s] --> ./src/pkgmgr/server/admin_service.rs:2552:9 [ 154s] | [ 154s] 2552 | let mut backend_context = BackendContext::new( [ 154s] | ----^^^^^^^^^^^^^^^ [ 154s] | | [ 154s] | help: remove this `mut` [ 154s] [ 154s] warning: unused variable: `context` [ 154s] --> ./src/pkgmgr/server/admin_service.rs:2567:5 [ 154s] | [ 154s] 2567 | context: *mut c_void, [ 154s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 154s] [ 154s] warning: variable does not need to be mutable [ 154s] --> ./src/pkgmgr/server/admin_service.rs:2597:9 [ 154s] | [ 154s] 2597 | let mut backend_context = BackendContext::new( [ 154s] | ----^^^^^^^^^^^^^^^ [ 154s] | | [ 154s] | help: remove this `mut` [ 154s] [ 154s] warning: unused variable: `context` [ 154s] --> ./src/pkgmgr/server/admin_service.rs:2612:5 [ 154s] | [ 154s] 2612 | context: *mut c_void, [ 154s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 154s] [ 154s] warning: variable does not need to be mutable [ 154s] --> ./src/pkgmgr/server/admin_service.rs:2656:9 [ 154s] | [ 154s] 2656 | let mut backend_context = BackendContext::new( [ 154s] | ----^^^^^^^^^^^^^^^ [ 154s] | | [ 154s] | help: remove this `mut` [ 154s] [ 154s] warning: unused variable: `status` [ 154s] --> ./src/pkgmgr/server/backend_queue.rs:38:17 [ 154s] | [ 154s] 38 | let mut status: c_int; [ 154s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [ 154s] [ 154s] warning: unused variable: `io` [ 154s] --> ./src/pkgmgr/server/backend_queue.rs:30:33 [ 154s] | [ 154s] 30 | extern "C" fn signal_handler_cb(io: *mut glib_sys::GIOChannel, [ 154s] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [ 154s] [ 154s] warning: unused variable: `cond` [ 154s] --> ./src/pkgmgr/server/backend_queue.rs:31:9 [ 154s] | [ 154s] 31 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 154s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 154s] [ 154s] warning: variable does not need to be mutable [ 154s] --> ./src/pkgmgr/server/backend_queue.rs:71:9 [ 154s] | [ 154s] 71 | let mut mut_queue = queue.borrow_mut(); [ 154s] | ----^^^^^^^^^ [ 154s] | | [ 154s] | help: remove this `mut` [ 154s] [ 154s] warning: variable does not need to be mutable [ 154s] --> ./src/pkgmgr/server/backend_queue.rs:189:28 [ 154s] | [ 154s] 189 | pub fn push(&mut self, mut context: BackendContext) -> i32 { [ 154s] | ----^^^^^^^ [ 154s] | | [ 154s] | help: remove this `mut` [ 154s] [ 154s] warning: unused variable: `req_key` [ 154s] --> ./src/pkgmgr/server/backend_queue.rs:296:41 [ 154s] | [ 154s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 154s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_key` [ 154s] [ 154s] warning: unused variable: `ret` [ 154s] --> ./src/pkgmgr/server/backend_queue.rs:296:50 [ 154s] | [ 154s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 154s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 154s] [ 154s] warning: unused variable: `s` [ 154s] --> ./src/pkgmgr/server/backend_queue.rs:296:55 [ 154s] | [ 154s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 154s] | ^ help: if this is intentional, prefix it with an underscore: `_s` [ 154s] [ 154s] warning: variable does not need to be mutable [ 154s] --> ./src/pkgmgr/server/backend_queue.rs:278:25 [ 154s] | [ 154s] 278 | let mut backend: &mut Backend = backend.unwrap(); [ 154s] | ----^^^^^^^ [ 154s] | | [ 154s] | help: remove this `mut` [ 154s] [ 154s] warning: unused variable: `context` [ 154s] --> ./src/pkgmgr/server/cache_service.rs:31:5 [ 154s] | [ 154s] 31 | context: *mut c_void, [ 154s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 154s] [ 154s] warning: unused variable: `context` [ 154s] --> ./src/pkgmgr/server/cache_service.rs:40:5 [ 154s] | [ 154s] 40 | context: *mut c_void, [ 154s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 154s] [ 154s] warning: unused variable: `user_data` [ 154s] --> ./src/pkgmgr/server/cache_service.rs:41:5 [ 154s] | [ 154s] 41 | user_data: *mut c_void, [ 154s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 154s] [ 154s] warning: unused variable: `ret` [ 154s] --> ./src/pkgmgr/server/cache_service.rs:54:9 [ 154s] | [ 154s] 54 | let ret = unsafe { rpc_port_stub_PkgMgrForClearCache_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 154s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 154s] [ 154s] warning: value assigned to `pkg_type` is never read [ 154s] --> ./src/pkgmgr/server/cache_service.rs:63:13 [ 154s] | [ 154s] 63 | let mut pkg_type: String = String::new(); [ 154s] | ^^^^^^^^ [ 154s] | [ 154s] = help: maybe it is overwritten before being read? [ 154s] = note: `#[warn(unused_assignments)]` on by default [ 154s] [ 154s] warning: variable does not need to be mutable [ 154s] --> ./src/pkgmgr/server/cache_service.rs:83:9 [ 154s] | [ 154s] 83 | let mut backend_context = BackendContext::new( [ 154s] | ----^^^^^^^^^^^^^^^ [ 154s] | | [ 154s] | help: remove this `mut` [ 154s] [ 154s] warning: unused variable: `context` [ 154s] --> ./src/pkgmgr/server/delayed_service.rs:32:5 [ 154s] | [ 154s] 32 | context: *mut c_void, [ 154s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 154s] [ 154s] warning: unused variable: `context` [ 154s] --> ./src/pkgmgr/server/delayed_service.rs:41:5 [ 154s] | [ 154s] 41 | context: *mut c_void, [ 154s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 154s] [ 154s] warning: unused variable: `user_data` [ 154s] --> ./src/pkgmgr/server/delayed_service.rs:42:5 [ 154s] | [ 154s] 42 | user_data: *mut c_void, [ 154s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 154s] [ 154s] warning: unused variable: `context` [ 154s] --> ./src/pkgmgr/server/delayed_service.rs:48:5 [ 154s] | [ 154s] 48 | context: *mut c_void, [ 154s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 154s] [ 154s] warning: unused variable: `context` [ 154s] --> ./src/pkgmgr/server/info_service.rs:43:55 [ 154s] | [ 154s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 154s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 154s] [ 154s] warning: unused variable: `context` [ 154s] --> ./src/pkgmgr/server/info_service.rs:48:58 [ 154s] | [ 154s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 154s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 154s] [ 154s] warning: unused variable: `user_data` [ 154s] --> ./src/pkgmgr/server/info_service.rs:48:80 [ 154s] | [ 154s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 154s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 154s] [ 154s] warning: variable does not need to be mutable [ 154s] --> ./src/pkgmgr/server/info_service.rs:98:9 [ 154s] | [ 154s] 98 | let mut backend_context = BackendContext::new( [ 154s] | ----^^^^^^^^^^^^^^^ [ 154s] | | [ 154s] | help: remove this `mut` [ 154s] [ 154s] warning: variable does not need to be mutable [ 154s] --> ./src/pkgmgr/server/info_service.rs:160:9 [ 154s] | [ 154s] 160 | let mut backend_context = BackendContext::new( [ 154s] | ----^^^^^^^^^^^^^^^ [ 154s] | | [ 154s] | help: remove this `mut` [ 154s] [ 154s] warning: unused variable: `context` [ 154s] --> ./src/pkgmgr/server/info_service.rs:195:5 [ 154s] | [ 154s] 195 | context: *mut c_void, [ 154s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 154s] [ 154s] warning: unused variable: `context` [ 154s] --> ./src/pkgmgr/server/info_service.rs:222:5 [ 154s] | [ 154s] 222 | context: *mut c_void, [ 154s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 154s] [ 154s] warning: unused variable: `user_data` [ 154s] --> ./src/pkgmgr/server/info_service.rs:226:5 [ 154s] | [ 154s] 226 | user_data: *mut c_void [ 154s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 154s] [ 155s] warning: variable does not need to be mutable [ 155s] --> ./src/pkgmgr/server/signal.rs:144:13 [ 155s] | [ 155s] 144 | let mut c_req_type: c_int; [ 155s] | ----^^^^^^^^^^ [ 155s] | | [ 155s] | help: remove this `mut` [ 155s] [ 158s] warning: value assigned to `size_result` is never read [ 158s] --> ./src/pkgmgr/server/util.rs:351:17 [ 158s] | [ 158s] 351 | let mut size_result: i64 = -1; [ 158s] | ^^^^^^^^^^^ [ 158s] | [ 158s] = help: maybe it is overwritten before being read? [ 158s] [ 158s] warning: unused variable: `cond` [ 158s] --> ./src/pkgmgr/server/util.rs:341:9 [ 158s] | [ 158s] 341 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 158s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 158s] [ 158s] warning: value assigned to `ret` is never read [ 158s] --> ./src/pkgmgr/server/util.rs:425:21 [ 158s] | [ 158s] 425 | let mut ret: c_int = 0; [ 158s] | ^^^ [ 158s] | [ 158s] = help: maybe it is overwritten before being read? [ 158s] [ 158s] warning: unreachable pattern [ 158s] --> ./src/pkgmgr/server/util.rs:478:17 [ 158s] | [ 158s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 158s] | -------------------------------------- matches any value [ 158s] ... [ 158s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 158s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 158s] | [ 158s] = note: `#[warn(unreachable_patterns)]` on by default [ 158s] [ 158s] warning: unreachable pattern [ 158s] --> ./src/pkgmgr/server/util.rs:483:17 [ 158s] | [ 158s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 158s] | -------------------------------------- matches any value [ 158s] ... [ 158s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 158s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 158s] [ 158s] warning: unreachable pattern [ 158s] --> ./src/pkgmgr/server/util.rs:488:17 [ 158s] | [ 158s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 158s] | -------------------------------------- matches any value [ 158s] ... [ 158s] 488 | _ => { [ 158s] | ^ unreachable pattern [ 158s] [ 158s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 158s] --> ./src/pkgmgr/server/util.rs:473:17 [ 158s] | [ 158s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 158s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 158s] [ 158s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_TEXT` [ 158s] --> ./src/pkgmgr/server/util.rs:478:17 [ 158s] | [ 158s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 158s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_TEXT` [ 158s] [ 158s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 158s] --> ./src/pkgmgr/server/util.rs:483:17 [ 158s] | [ 158s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 158s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 158s] [ 158s] warning: variable does not need to be mutable [ 158s] --> ./src/pkgmgr/server/util.rs:519:13 [ 158s] | [ 158s] 519 | let mut attr = xmlTextReaderGetAttribute(reader, RES_TYPE_ATTRIBUTE_KEY.as_ptr()); [ 158s] | ----^^^^ [ 158s] | | [ 158s] | help: remove this `mut` [ 158s] [ 158s] warning: variable does not need to be mutable [ 158s] --> ./src/pkgmgr/server/util.rs:588:13 [ 158s] | [ 158s] 588 | let mut reader = [ 158s] | ----^^^^^^ [ 158s] | | [ 158s] | help: remove this `mut` [ 158s] [ 158s] warning: unused variable: `gid` [ 158s] --> ./src/pkgmgr/server/util.rs:891:52 [ 158s] | [ 158s] 891 | fn set_environment(mut envs: Vec<&mut String>, gid: libc::gid_t) -> bool { [ 158s] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:15:38 [ 158s] | [ 158s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `y` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:15:40 [ 158s] | [ 158s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 158s] [ 158s] warning: unused variable: `z` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:15:42 [ 158s] | [ 158s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:22:38 [ 158s] | [ 158s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `y` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:22:40 [ 158s] | [ 158s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 158s] [ 158s] warning: unused variable: `z` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:22:42 [ 158s] | [ 158s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:29:38 [ 158s] | [ 158s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `y` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:29:40 [ 158s] | [ 158s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 158s] [ 158s] warning: unused variable: `z` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:29:42 [ 158s] | [ 158s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:31:39 [ 158s] | [ 158s] 31 | ctx2.expect().times(1).returning(|x,y| 1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `y` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:31:41 [ 158s] | [ 158s] 31 | ctx2.expect().times(1).returning(|x,y| 1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:38:38 [ 158s] | [ 158s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `y` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:38:40 [ 158s] | [ 158s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 158s] [ 158s] warning: unused variable: `z` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:38:42 [ 158s] | [ 158s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:40:39 [ 158s] | [ 158s] 40 | ctx2.expect().times(1).returning(|x,y: *mut bool| { [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:45:40 [ 158s] | [ 158s] 45 | ctx_d.expect().times(1).returning(|x| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:52:38 [ 158s] | [ 158s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `y` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:52:40 [ 158s] | [ 158s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 158s] [ 158s] warning: unused variable: `z` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:52:42 [ 158s] | [ 158s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:54:39 [ 158s] | [ 158s] 54 | ctx2.expect().times(1).returning(|x,y: *mut bool| { [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:59:40 [ 158s] | [ 158s] 59 | ctx_d.expect().times(1).returning(|x| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:67:38 [ 158s] | [ 158s] 67 | ctx.expect().times(1).returning(|x,y| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `y` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:67:40 [ 158s] | [ 158s] 67 | ctx.expect().times(1).returning(|x,y| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:74:38 [ 158s] | [ 158s] 74 | ctx.expect().times(1).returning(|x,y| 1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `y` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:74:40 [ 158s] | [ 158s] 74 | ctx.expect().times(1).returning(|x,y| 1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:76:39 [ 158s] | [ 158s] 76 | ctx2.expect().times(1).returning(|x,y| -1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `y` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:76:41 [ 158s] | [ 158s] 76 | ctx2.expect().times(1).returning(|x,y| -1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:83:38 [ 158s] | [ 158s] 83 | ctx.expect().times(1).returning(|x,y| 1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `y` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:83:40 [ 158s] | [ 158s] 83 | ctx.expect().times(1).returning(|x,y| 1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:85:39 [ 158s] | [ 158s] 85 | ctx2.expect().times(1).returning(|x,y| 1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `y` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:85:41 [ 158s] | [ 158s] 85 | ctx2.expect().times(1).returning(|x,y| 1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:87:39 [ 158s] | [ 158s] 87 | ctx3.expect().times(1).returning(|x,y| 1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `y` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:87:41 [ 158s] | [ 158s] 87 | ctx3.expect().times(1).returning(|x,y| 1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:94:38 [ 158s] | [ 158s] 94 | ctx.expect().times(1).returning(|x,y| 1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `y` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:94:40 [ 158s] | [ 158s] 94 | ctx.expect().times(1).returning(|x,y| 1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:96:39 [ 158s] | [ 158s] 96 | ctx2.expect().times(1).returning(|x,y| 1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `y` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:96:41 [ 158s] | [ 158s] 96 | ctx2.expect().times(1).returning(|x,y| 1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:98:39 [ 158s] | [ 158s] 98 | ctx3.expect().times(1).returning(|x,y| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `y` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:98:41 [ 158s] | [ 158s] 98 | ctx3.expect().times(1).returning(|x,y| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:106:38 [ 158s] | [ 158s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `y` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:106:40 [ 158s] | [ 158s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 158s] [ 158s] warning: unused variable: `z` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:106:42 [ 158s] | [ 158s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:113:38 [ 158s] | [ 158s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `y` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:113:40 [ 158s] | [ 158s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 158s] [ 158s] warning: unused variable: `z` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:113:42 [ 158s] | [ 158s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:115:39 [ 158s] | [ 158s] 115 | ctx2.expect().times(1).returning(|x,y| 1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `y` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:115:41 [ 158s] | [ 158s] 115 | ctx2.expect().times(1).returning(|x,y| 1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:117:39 [ 158s] | [ 158s] 117 | ctx3.expect().times(1).returning(|x| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:124:38 [ 158s] | [ 158s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `y` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:124:40 [ 158s] | [ 158s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 158s] [ 158s] warning: unused variable: `z` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:124:42 [ 158s] | [ 158s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:126:39 [ 158s] | [ 158s] 126 | ctx2.expect().times(1).returning(|x,y| { [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:131:39 [ 158s] | [ 158s] 131 | ctx3.expect().times(1).returning(|x| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:138:38 [ 158s] | [ 158s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `y` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:138:40 [ 158s] | [ 158s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 158s] [ 158s] warning: unused variable: `z` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:138:42 [ 158s] | [ 158s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:140:39 [ 158s] | [ 158s] 140 | ctx2.expect().times(1).returning(|x,y| { [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:145:39 [ 158s] | [ 158s] 145 | ctx3.expect().times(1).returning(|x| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:153:38 [ 158s] | [ 158s] 153 | ctx.expect().times(1).returning(|x| 1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:160:38 [ 158s] | [ 158s] 160 | ctx.expect().times(1).returning(|x| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:162:39 [ 158s] | [ 158s] 162 | ctx2.expect().times(1).returning(|x,y| 1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `y` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:162:41 [ 158s] | [ 158s] 162 | ctx2.expect().times(1).returning(|x,y| 1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:164:40 [ 158s] | [ 158s] 164 | ctx_d.expect().times(1).returning(|x| -1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:171:38 [ 158s] | [ 158s] 171 | ctx.expect().times(1).returning(|x| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:173:39 [ 158s] | [ 158s] 173 | ctx2.expect().times(1).returning(|x,y| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `y` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:173:41 [ 158s] | [ 158s] 173 | ctx2.expect().times(1).returning(|x,y| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:175:39 [ 158s] | [ 158s] 175 | ctx3.expect().times(1).returning(|x,y| 1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `y` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:175:41 [ 158s] | [ 158s] 175 | ctx3.expect().times(1).returning(|x,y| 1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:177:40 [ 158s] | [ 158s] 177 | ctx_d.expect().times(1).returning(|x| -1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:184:38 [ 158s] | [ 158s] 184 | ctx.expect().times(1).returning(|x| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:186:39 [ 158s] | [ 158s] 186 | ctx2.expect().times(1).returning(|x,y| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `y` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:186:41 [ 158s] | [ 158s] 186 | ctx2.expect().times(1).returning(|x,y| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:188:39 [ 158s] | [ 158s] 188 | ctx3.expect().times(1).returning(|x,y| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `y` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:188:41 [ 158s] | [ 158s] 188 | ctx3.expect().times(1).returning(|x,y| 0); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:190:39 [ 158s] | [ 158s] 190 | ctx4.expect().times(1).returning(|x,y| 1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `y` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:190:41 [ 158s] | [ 158s] 190 | ctx4.expect().times(1).returning(|x,y| 1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 158s] [ 158s] warning: unused variable: `x` [ 158s] --> ./src/pkgmgr/server/test/util_tests.rs:192:40 [ 158s] | [ 158s] 192 | ctx_d.expect().times(1).returning(|x| -1); [ 158s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 158s] [ 158s] warning: unused variable: `x` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:199:38 [ 159s] | [ 159s] 199 | ctx.expect().times(1).returning(|x| 0); [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 159s] [ 159s] warning: unused variable: `x` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:201:39 [ 159s] | [ 159s] 201 | ctx2.expect().times(1).returning(|x,y| 0); [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 159s] [ 159s] warning: unused variable: `y` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:201:41 [ 159s] | [ 159s] 201 | ctx2.expect().times(1).returning(|x,y| 0); [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 159s] [ 159s] warning: unused variable: `x` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:203:39 [ 159s] | [ 159s] 203 | ctx3.expect().times(1).returning(|x,y| 0); [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 159s] [ 159s] warning: unused variable: `y` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:203:41 [ 159s] | [ 159s] 203 | ctx3.expect().times(1).returning(|x,y| 0); [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 159s] [ 159s] warning: unused variable: `x` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:205:39 [ 159s] | [ 159s] 205 | ctx4.expect().times(1).returning(|x,y| 0); [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 159s] [ 159s] warning: unused variable: `y` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:205:41 [ 159s] | [ 159s] 205 | ctx4.expect().times(1).returning(|x,y| 0); [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 159s] [ 159s] warning: unused variable: `x` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:213:38 [ 159s] | [ 159s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 159s] [ 159s] warning: unused variable: `y` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:213:40 [ 159s] | [ 159s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 159s] [ 159s] warning: unused variable: `z` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:213:42 [ 159s] | [ 159s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 159s] [ 159s] warning: unused variable: `x` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:220:38 [ 159s] | [ 159s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 159s] [ 159s] warning: unused variable: `y` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:220:40 [ 159s] | [ 159s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 159s] [ 159s] warning: unused variable: `z` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:220:42 [ 159s] | [ 159s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 159s] [ 159s] warning: unused variable: `x` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:222:39 [ 159s] | [ 159s] 222 | ctx2.expect().times(1).returning(|x,y| 1); [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 159s] [ 159s] warning: unused variable: `y` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:222:41 [ 159s] | [ 159s] 222 | ctx2.expect().times(1).returning(|x,y| 1); [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 159s] [ 159s] warning: unused variable: `x` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:224:40 [ 159s] | [ 159s] 224 | ctx_d.expect().times(1).returning(|x| 0); [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 159s] [ 159s] warning: unused variable: `x` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:231:38 [ 159s] | [ 159s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 159s] [ 159s] warning: unused variable: `y` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:231:40 [ 159s] | [ 159s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 159s] [ 159s] warning: unused variable: `z` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:231:42 [ 159s] | [ 159s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 159s] [ 159s] warning: unused variable: `x` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:233:39 [ 159s] | [ 159s] 233 | ctx2.expect().times(1).returning(|x,y| 0); [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 159s] [ 159s] warning: unused variable: `y` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:233:41 [ 159s] | [ 159s] 233 | ctx2.expect().times(1).returning(|x,y| 0); [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 159s] [ 159s] warning: unused variable: `x` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:235:39 [ 159s] | [ 159s] 235 | ctx3.expect().times(1).returning(|x,y| 1); [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 159s] [ 159s] warning: unused variable: `y` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:235:41 [ 159s] | [ 159s] 235 | ctx3.expect().times(1).returning(|x,y| 1); [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 159s] [ 159s] warning: unused variable: `x` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:237:40 [ 159s] | [ 159s] 237 | ctx_d.expect().times(1).returning(|x| 0); [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 159s] [ 159s] warning: unused variable: `x` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:244:38 [ 159s] | [ 159s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 159s] [ 159s] warning: unused variable: `y` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:244:40 [ 159s] | [ 159s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 159s] [ 159s] warning: unused variable: `z` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:244:42 [ 159s] | [ 159s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 159s] [ 159s] warning: unused variable: `x` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:246:39 [ 159s] | [ 159s] 246 | ctx2.expect().times(1).returning(|x,y| { [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 159s] [ 159s] warning: unused variable: `x` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:251:39 [ 159s] | [ 159s] 251 | ctx3.expect().times(1).returning(|x, y| { [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 159s] [ 159s] warning: unused variable: `x` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:256:40 [ 159s] | [ 159s] 256 | ctx_d.expect().times(1).returning(|x| 0); [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 159s] [ 159s] warning: unused variable: `x` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:264:38 [ 159s] | [ 159s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 159s] [ 159s] warning: unused variable: `y` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:264:40 [ 159s] | [ 159s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 159s] [ 159s] warning: unused variable: `z` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:264:42 [ 159s] | [ 159s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 159s] [ 159s] warning: unused variable: `e` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:264:44 [ 159s] | [ 159s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 159s] [ 159s] warning: unused variable: `x` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:271:38 [ 159s] | [ 159s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 159s] [ 159s] warning: unused variable: `z` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:271:42 [ 159s] | [ 159s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 159s] [ 159s] warning: unused variable: `e` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:271:44 [ 159s] | [ 159s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 159s] [ 159s] warning: unused variable: `x` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:285:38 [ 159s] | [ 159s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 159s] [ 159s] warning: unused variable: `z` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:285:42 [ 159s] | [ 159s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 159s] [ 159s] warning: unused variable: `e` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:285:44 [ 159s] | [ 159s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 159s] [ 159s] warning: unused variable: `x` [ 159s] --> ./src/pkgmgr/server/test/signal_tests.rs:21:38 [ 159s] | [ 159s] 21 | ctx.expect().times(1).returning(|x| 0); [ 159s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 159s] [ 159s] warning: variable does not need to be mutable [ 159s] --> ./src/pkgmgr/server/test/signal_tests.rs:19:9 [ 159s] | [ 159s] 19 | let mut uid_vec: Vec = vec![]; [ 159s] | ----^^^^^^^ [ 159s] | | [ 159s] | help: remove this `mut` [ 159s] [ 159s] warning: variable does not need to be mutable [ 159s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:7:9 [ 159s] | [ 159s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 159s] | ----^^^^^^^^^^^^^ [ 159s] | | [ 159s] | help: remove this `mut` [ 159s] [ 159s] warning: variable does not need to be mutable [ 159s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:14:9 [ 159s] | [ 159s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 159s] | ----^^^^^^^^^^^^^ [ 159s] | | [ 159s] | help: remove this `mut` [ 159s] [ 159s] warning: variable does not need to be mutable [ 159s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:7:9 [ 159s] | [ 159s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 159s] | ----^^^^^^^^^^^^^ [ 159s] | | [ 159s] | help: remove this `mut` [ 159s] [ 159s] warning: variable does not need to be mutable [ 159s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:14:9 [ 159s] | [ 159s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 159s] | ----^^^^^^^^^^^^^ [ 159s] | | [ 159s] | help: remove this `mut` [ 159s] [ 159s] warning: variable does not need to be mutable [ 159s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:7:9 [ 159s] | [ 159s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 159s] | ----^^^^^^^^^^^^^ [ 159s] | | [ 159s] | help: remove this `mut` [ 159s] [ 159s] warning: variable does not need to be mutable [ 159s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:14:9 [ 159s] | [ 159s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 159s] | ----^^^^^^^^^^^^^ [ 159s] | | [ 159s] | help: remove this `mut` [ 159s] [ 159s] warning: variable does not need to be mutable [ 159s] --> ./src/pkgmgr/server/test/info_service_tests.rs:7:9 [ 159s] | [ 159s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 159s] | ----^^^^^^^^^^^^^ [ 159s] | | [ 159s] | help: remove this `mut` [ 159s] [ 159s] warning: variable does not need to be mutable [ 159s] --> ./src/pkgmgr/server/test/info_service_tests.rs:14:9 [ 159s] | [ 159s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 159s] | ----^^^^^^^^^^^^^ [ 159s] | | [ 159s] | help: remove this `mut` [ 159s] [ 159s] warning: variable does not need to be mutable [ 159s] --> ./src/pkgmgr/server/mod.rs:89:13 [ 159s] | [ 159s] 89 | let mut backend_queue = BackendQueue::new(self.mainloop); [ 159s] | ----^^^^^^^^^^^^^ [ 159s] | | [ 159s] | help: remove this `mut` [ 159s] [ 159s] warning: unnecessary `unsafe` block [ 159s] --> ./src/pkgmgr/server/admin_service.rs:995:32 [ 159s] | [ 159s] 993 | unsafe { [ 159s] | ------ because it's nested under this `unsafe` block [ 159s] 994 | match CString::new(generated_req_key.clone()) { [ 159s] 995 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 159s] | ^^^^^^ unnecessary `unsafe` block [ 159s] | [ 159s] = note: `#[warn(unused_unsafe)]` on by default [ 159s] [ 159s] warning: unnecessary `unsafe` block [ 159s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 159s] | [ 159s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 159s] | ^^^^^^ unnecessary `unsafe` block [ 159s] | [ 159s] ::: ./src/pkgmgr/server/admin_service.rs:993:5 [ 159s] | [ 159s] 993 | unsafe { [ 159s] | ------ because it's nested under this `unsafe` block [ 159s] ... [ 159s] 997 | error!("Fail to generate req key, err({:?})", e); [ 159s] | ------------------------------------------------ in this macro invocation [ 159s] | [ 159s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 159s] [ 159s] warning: unnecessary `unsafe` block [ 159s] --> ./src/pkgmgr/server/admin_service.rs:1023:46 [ 159s] | [ 159s] 993 | unsafe { [ 159s] | ------ because it's nested under this `unsafe` block [ 159s] ... [ 159s] 1023 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 159s] | ^^^^^^ unnecessary `unsafe` block [ 159s] [ 159s] warning: unnecessary `unsafe` block [ 159s] --> ./src/pkgmgr/server/admin_service.rs:1077:32 [ 159s] | [ 159s] 1075 | unsafe { [ 159s] | ------ because it's nested under this `unsafe` block [ 159s] 1076 | match CString::new(generated_req_key.clone()) { [ 159s] 1077 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 159s] | ^^^^^^ unnecessary `unsafe` block [ 159s] [ 159s] warning: unnecessary `unsafe` block [ 159s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 159s] | [ 159s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 159s] | ^^^^^^ unnecessary `unsafe` block [ 159s] | [ 159s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 159s] | [ 159s] 1075 | unsafe { [ 159s] | ------ because it's nested under this `unsafe` block [ 159s] ... [ 159s] 1079 | error!("Fail to generate req key, err({:?})", e); [ 159s] | ------------------------------------------------ in this macro invocation [ 159s] | [ 159s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 159s] [ 159s] warning: unnecessary `unsafe` block [ 159s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 159s] | [ 159s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 159s] | ^^^^^^ unnecessary `unsafe` block [ 159s] | [ 159s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 159s] | [ 159s] 1075 | unsafe { [ 159s] | ------ because it's nested under this `unsafe` block [ 159s] ... [ 159s] 1106 | debug!("push disable pkg {pkg_id}"); [ 159s] | ----------------------------------- in this macro invocation [ 159s] | [ 159s] = 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) [ 159s] [ 159s] warning: unnecessary `unsafe` block [ 159s] --> ./src/pkgmgr/server/admin_service.rs:1108:46 [ 159s] | [ 159s] 1075 | unsafe { [ 159s] | ------ because it's nested under this `unsafe` block [ 159s] ... [ 159s] 1108 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 159s] | ^^^^^^ unnecessary `unsafe` block [ 159s] [ 159s] warning: unnecessary `unsafe` block [ 159s] --> ./src/pkgmgr/server/admin_service.rs:1537:5 [ 159s] | [ 159s] 1537 | unsafe { [ 159s] | ^^^^^^ unnecessary `unsafe` block [ 159s] [ 159s] warning: unnecessary `unsafe` block [ 159s] --> ./src/pkgmgr/server/admin_service.rs:1590:5 [ 159s] | [ 159s] 1590 | unsafe { [ 159s] | ^^^^^^ unnecessary `unsafe` block [ 159s] [ 159s] warning: unnecessary `unsafe` block [ 159s] --> ./src/pkgmgr/server/admin_service.rs:1643:32 [ 159s] | [ 159s] 1641 | unsafe { [ 159s] | ------ because it's nested under this `unsafe` block [ 159s] 1642 | match CString::new(generated_req_key.clone()) { [ 159s] 1643 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 159s] | ^^^^^^ unnecessary `unsafe` block [ 159s] [ 159s] warning: unnecessary `unsafe` block [ 159s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 159s] | [ 159s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 159s] | ^^^^^^ unnecessary `unsafe` block [ 159s] | [ 159s] ::: ./src/pkgmgr/server/admin_service.rs:1641:5 [ 159s] | [ 159s] 1641 | unsafe { [ 159s] | ------ because it's nested under this `unsafe` block [ 159s] ... [ 159s] 1645 | error!("Fail to generate req key, err({:?})", e); [ 159s] | ------------------------------------------------ in this macro invocation [ 159s] | [ 159s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 159s] [ 159s] warning: unnecessary `unsafe` block [ 159s] --> ./src/pkgmgr/server/admin_service.rs:1657:42 [ 159s] | [ 159s] 1641 | unsafe { [ 159s] | ------ because it's nested under this `unsafe` block [ 159s] ... [ 159s] 1657 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 159s] | ^^^^^^ unnecessary `unsafe` block [ 159s] [ 159s] warning: unnecessary `unsafe` block [ 159s] --> ./src/pkgmgr/server/admin_service.rs:1705:32 [ 159s] | [ 159s] 1703 | unsafe { [ 159s] | ------ because it's nested under this `unsafe` block [ 159s] 1704 | match CString::new(generated_req_key.clone()) { [ 159s] 1705 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 159s] | ^^^^^^ unnecessary `unsafe` block [ 159s] [ 159s] warning: unnecessary `unsafe` block [ 159s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 159s] | [ 159s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 159s] | ^^^^^^ unnecessary `unsafe` block [ 159s] | [ 159s] ::: ./src/pkgmgr/server/admin_service.rs:1703:5 [ 159s] | [ 159s] 1703 | unsafe { [ 159s] | ------ because it's nested under this `unsafe` block [ 159s] ... [ 159s] 1707 | error!("Fail to generate req key, err({:?})", e); [ 159s] | ------------------------------------------------ in this macro invocation [ 159s] | [ 159s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 159s] [ 159s] warning: unnecessary `unsafe` block [ 159s] --> ./src/pkgmgr/server/admin_service.rs:1719:42 [ 159s] | [ 159s] 1703 | unsafe { [ 159s] | ------ because it's nested under this `unsafe` block [ 159s] ... [ 159s] 1719 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 159s] | ^^^^^^ unnecessary `unsafe` block [ 159s] [ 159s] warning: unnecessary `unsafe` block [ 159s] --> ./src/pkgmgr/server/admin_service.rs:1767:5 [ 159s] | [ 159s] 1767 | unsafe { [ 159s] | ^^^^^^ unnecessary `unsafe` block [ 159s] [ 159s] warning: unnecessary `unsafe` block [ 159s] --> ./src/pkgmgr/server/admin_service.rs:1820:5 [ 159s] | [ 159s] 1820 | unsafe { [ 159s] | ^^^^^^ unnecessary `unsafe` block [ 159s] [ 159s] warning: unnecessary `unsafe` block [ 159s] --> ./src/pkgmgr/server/admin_service.rs:2296:17 [ 159s] | [ 159s] 2294 | unsafe { [ 159s] | ------ because it's nested under this `unsafe` block [ 159s] 2295 | if !(*value.offset(i as isize)).is_null() { [ 159s] 2296 | unsafe { free(*value.offset(i as isize) as *mut _) }; [ 159s] | ^^^^^^ unnecessary `unsafe` block [ 159s] [ 159s] warning: unnecessary `unsafe` block [ 159s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 159s] | [ 159s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 159s] | ^^^^^^ unnecessary `unsafe` block [ 159s] | [ 159s] ::: ./src/pkgmgr/server/admin_service.rs:2793:9 [ 159s] | [ 159s] 2793 | unsafe { [ 159s] | ------ because it's nested under this `unsafe` block [ 159s] 2794 | let ret = rpc_port_stub_PkgMgrAdmin_register(&mut self.callbacks, self as *mut _ as *mut c_void); [ 159s] 2795 | debug!("admin service start : {ret}"); [ 159s] | ------------------------------------- in this macro invocation [ 159s] | [ 159s] = 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) [ 159s] [ 159s] warning: unnecessary `unsafe` block [ 159s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 159s] | [ 159s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 159s] | ^^^^^^ unnecessary `unsafe` block [ 159s] | [ 159s] ::: ./src/pkgmgr/server/admin_service.rs:2801:9 [ 159s] | [ 159s] 2801 | unsafe { [ 159s] | ------ because it's nested under this `unsafe` block [ 159s] 2802 | let ret = rpc_port_stub_PkgMgrAdmin_unregister(); [ 159s] 2803 | debug!("ret : {ret}"); [ 159s] | --------------------- in this macro invocation [ 159s] | [ 159s] = 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) [ 159s] [ 159s] warning: unnecessary `unsafe` block [ 159s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 159s] | [ 159s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 159s] | ^^^^^^ unnecessary `unsafe` block [ 159s] | [ 159s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 159s] | [ 159s] 204 | unsafe { [ 159s] | ------ because it's nested under this `unsafe` block [ 159s] ... [ 159s] 210 | error!("sigprocmask failed"); [ 159s] | ---------------------------- in this macro invocation [ 159s] | [ 159s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 159s] [ 159s] warning: unnecessary `unsafe` block [ 159s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 159s] | [ 159s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 159s] | ^^^^^^ unnecessary `unsafe` block [ 159s] | [ 159s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 159s] | [ 159s] 204 | unsafe { [ 159s] | ------ because it's nested under this `unsafe` block [ 159s] ... [ 159s] 216 | error!("signalfd failed"); [ 159s] | ------------------------- in this macro invocation [ 159s] | [ 159s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 159s] [ 159s] warning: unnecessary `unsafe` block [ 159s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 159s] | [ 159s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 159s] | ^^^^^^ unnecessary `unsafe` block [ 159s] | [ 159s] ::: ./src/pkgmgr/server/cache_service.rs:134:9 [ 159s] | [ 159s] 134 | unsafe { [ 159s] | ------ because it's nested under this `unsafe` block [ 159s] ... [ 159s] 139 | debug!("cache service start : {ret}"); [ 159s] | ------------------------------------- in this macro invocation [ 159s] | [ 159s] = 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) [ 159s] [ 159s] warning: unnecessary `unsafe` block [ 159s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 159s] | [ 159s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 159s] | ^^^^^^ unnecessary `unsafe` block [ 159s] | [ 159s] ::: ./src/pkgmgr/server/cache_service.rs:145:9 [ 159s] | [ 159s] 145 | unsafe { [ 159s] | ------ because it's nested under this `unsafe` block [ 159s] 146 | let ret = rpc_port_stub_PkgMgrForClearCache_unregister(); [ 159s] 147 | debug!("ret : {ret}"); [ 159s] | --------------------- in this macro invocation [ 159s] | [ 159s] = 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) [ 159s] [ 159s] warning: unnecessary `unsafe` block [ 159s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 159s] | [ 159s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 159s] | ^^^^^^ unnecessary `unsafe` block [ 159s] | [ 159s] ::: ./src/pkgmgr/server/delayed_service.rs:107:9 [ 159s] | [ 159s] 107 | unsafe { [ 159s] | ------ because it's nested under this `unsafe` block [ 159s] ... [ 159s] 112 | debug!("delayed result service start : {ret}"); [ 159s] | ---------------------------------------------- in this macro invocation [ 159s] | [ 159s] = 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) [ 159s] [ 159s] warning: unnecessary `unsafe` block [ 159s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 159s] | [ 159s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 159s] | ^^^^^^ unnecessary `unsafe` block [ 159s] | [ 159s] ::: ./src/pkgmgr/server/delayed_service.rs:118:9 [ 159s] | [ 159s] 118 | unsafe { [ 159s] | ------ because it's nested under this `unsafe` block [ 159s] 119 | let ret = rpc_port_stub_DelayedResult_unregister(); [ 159s] 120 | debug!("ret : {ret}"); [ 159s] | --------------------- in this macro invocation [ 159s] | [ 159s] = 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) [ 159s] [ 159s] warning: unnecessary `unsafe` block [ 159s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 159s] | [ 159s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 159s] | ^^^^^^ unnecessary `unsafe` block [ 159s] | [ 159s] ::: ./src/pkgmgr/server/info_service.rs:165:13 [ 159s] | [ 159s] 165 | unsafe { [ 159s] | ------ because it's nested under this `unsafe` block [ 159s] 166 | if mkfifo(fifo_path.as_ptr() as *const c_char, 0o600) < 0 { [ 159s] 167 | error!("Failed to mkfifo"); [ 159s] | -------------------------- in this macro invocation [ 159s] | [ 159s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 159s] [ 159s] warning: unnecessary `unsafe` block [ 159s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 159s] | [ 159s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 159s] | ^^^^^^ unnecessary `unsafe` block [ 159s] | [ 159s] ::: ./src/pkgmgr/server/info_service.rs:268:9 [ 159s] | [ 159s] 268 | unsafe { [ 159s] | ------ because it's nested under this `unsafe` block [ 159s] ... [ 159s] 273 | debug!("info service start : {ret}"); [ 159s] | ------------------------------------ in this macro invocation [ 159s] | [ 159s] = 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) [ 159s] [ 159s] warning: unnecessary `unsafe` block [ 159s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 159s] | [ 159s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 159s] | ^^^^^^ unnecessary `unsafe` block [ 159s] | [ 159s] ::: ./src/pkgmgr/server/info_service.rs:279:9 [ 159s] | [ 159s] 279 | unsafe { [ 159s] | ------ because it's nested under this `unsafe` block [ 159s] 280 | let ret = rpc_port_stub_PkgMgr_unregister(); [ 159s] 281 | debug!("ret : {ret}"); [ 159s] | --------------------- in this macro invocation [ 159s] | [ 159s] = 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) [ 159s] [ 159s] warning: unnecessary `unsafe` block [ 159s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 159s] | [ 159s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 159s] | ^^^^^^ unnecessary `unsafe` block [ 159s] | [ 159s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 159s] | [ 159s] 131 | unsafe { [ 159s] | ------ because it's nested under this `unsafe` block [ 159s] ... [ 159s] 134 | error!("Failure in creating the pkgmgr_installer object"); [ 159s] | --------------------------------------------------------- in this macro invocation [ 159s] | [ 159s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 159s] [ 159s] warning: unnecessary `unsafe` block [ 159s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 159s] | [ 159s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 159s] | ^^^^^^ unnecessary `unsafe` block [ 159s] | [ 159s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 159s] | [ 159s] 131 | unsafe { [ 159s] | ------ because it's nested under this `unsafe` block [ 159s] ... [ 159s] 139 | error!("pkgmgr_installer_set_uid fail"); [ 159s] | --------------------------------------- in this macro invocation [ 159s] | [ 159s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 159s] [ 159s] warning: unnecessary `unsafe` block [ 159s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 159s] | [ 159s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 159s] | ^^^^^^ unnecessary `unsafe` block [ 159s] | [ 159s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 159s] | [ 159s] 131 | unsafe { [ 159s] | ------ because it's nested under this `unsafe` block [ 159s] ... [ 159s] 154 | warn!("Unsupported req_type[{}]", req_type as c_int); [ 159s] | ---------------------------------------------------- in this macro invocation [ 159s] | [ 159s] = 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) [ 159s] [ 159s] warning: unnecessary `unsafe` block [ 159s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 159s] | [ 159s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 159s] | ^^^^^^ unnecessary `unsafe` block [ 159s] | [ 159s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 159s] | [ 159s] 131 | unsafe { [ 159s] | ------ because it's nested under this `unsafe` block [ 159s] ... [ 159s] 161 | error!("pkgmgr_installer_set_request_type fail"); [ 159s] | ------------------------------------------------ in this macro invocation [ 159s] | [ 159s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 159s] [ 159s] warning: unnecessary `unsafe` block [ 159s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 159s] | [ 159s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 159s] | ^^^^^^ unnecessary `unsafe` block [ 159s] | [ 159s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 159s] | [ 159s] 131 | unsafe { [ 159s] | ------ because it's nested under this `unsafe` block [ 159s] ... [ 159s] 168 | error!("pkgmgr_installer_set_session_id fail : {:?}", c_req_id); [ 159s] | --------------------------------------------------------------- in this macro invocation [ 159s] | [ 159s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 159s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 160s] | [ 160s] 309 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] 310 | if pkgmgrinfo_appinfo_get_appid(pkgmgrinfo_appinfo_h, &mut app_id) != 0 { [ 160s] 311 | error!("Failed get appid"); [ 160s] | -------------------------- in this macro invocation [ 160s] | [ 160s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 160s] | [ 160s] 309 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] ... [ 160s] 314 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 160s] | --------------------------------------------------------- in this macro invocation [ 160s] | [ 160s] = 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) [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/server/util.rs:326:46 [ 160s] | [ 160s] 325 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 160s] | [ 160s] 325 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] ... [ 160s] 329 | error!("Failed get appid"); [ 160s] | -------------------------- in this macro invocation [ 160s] | [ 160s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 160s] | [ 160s] 325 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] ... [ 160s] 333 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 160s] | --------------------------------------------------------- in this macro invocation [ 160s] | [ 160s] = 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) [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 160s] | [ 160s] 342 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] ... [ 160s] 355 | error!("getsize fd read failed: {:?}", Util::c_char_to_cstr((*err).message)); [ 160s] | ---------------------------------------------------------------------------- in this macro invocation [ 160s] | [ 160s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 160s] | [ 160s] 342 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] ... [ 160s] 361 | error!("empty result"); [ 160s] | ---------------------- in this macro invocation [ 160s] | [ 160s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 160s] | [ 160s] 390 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] ... [ 160s] 399 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 160s] | --------------------------------------------------------- in this macro invocation [ 160s] | [ 160s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 160s] | [ 160s] 390 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] ... [ 160s] 406 | error!("Fail to get is readonly"); [ 160s] | --------------------------------- in this macro invocation [ 160s] | [ 160s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 160s] | [ 160s] 422 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] ... [ 160s] 429 | error!("Not found package"); [ 160s] | --------------------------- in this macro invocation [ 160s] | [ 160s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 160s] | [ 160s] 422 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] ... [ 160s] 445 | debug!("pkgtype - {ret_string}"); [ 160s] | -------------------------------- in this macro invocation [ 160s] | [ 160s] = 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) [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:803:9 [ 160s] | [ 160s] 803 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] 804 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 160s] 805 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 160s] | ------------------------------------------------------ in this macro invocation [ 160s] | [ 160s] = 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) [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 160s] | [ 160s] 814 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] 815 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 160s] 816 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 160s] | ------------------------------------------------------ in this macro invocation [ 160s] | [ 160s] = 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) [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 160s] | [ 160s] 814 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] ... [ 160s] 822 | error!("Failed to get pid of app{:?}", CStr::from_ptr(appid)); [ 160s] | ------------------------------------------------------------- in this macro invocation [ 160s] | [ 160s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 160s] | [ 160s] 814 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] ... [ 160s] 828 | error!("Failed to terminate app{:?}", CStr::from_ptr(appid)); [ 160s] | ------------------------------------------------------------ in this macro invocation [ 160s] | [ 160s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 160s] | [ 160s] 836 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] ... [ 160s] 840 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 160s] | --------------------------------------------------------- in this macro invocation [ 160s] | [ 160s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 160s] | [ 160s] 836 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] ... [ 160s] 848 | error!("Failed to get list for {:?}", CStr::from_ptr(pkgid)); [ 160s] | ------------------------------------------------------------ in this macro invocation [ 160s] | [ 160s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 160s] | [ 160s] 859 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] ... [ 160s] 863 | warn!("cannot get user information from gumd, retry"); [ 160s] | ----------------------------------------------------- in this macro invocation [ 160s] | [ 160s] = 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) [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 160s] | [ 160s] 859 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] ... [ 160s] 871 | error!("cannot get user information from gumd, failed"); [ 160s] | ------------------------------------------------------- in this macro invocation [ 160s] | [ 160s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 160s] | [ 160s] 859 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] ... [ 160s] 877 | error!("cannot get user type"); [ 160s] | ------------------------------ in this macro invocation [ 160s] | [ 160s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 160s] | [ 160s] 892 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] ... [ 160s] 895 | error!("Failed to get the number of supplementary group IDs"); [ 160s] | ------------------------------------------------------------- in this macro invocation [ 160s] | [ 160s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 160s] | [ 160s] 892 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] ... [ 160s] 901 | error!("Failed to get list of supplementary group IDs"); [ 160s] | ------------------------------------------------------- in this macro invocation [ 160s] | [ 160s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 160s] | [ 160s] 892 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] ... [ 160s] 908 | error!("setgroups failed: {}", *__errno_location()); [ 160s] | --------------------------------------------------- in this macro invocation [ 160s] | [ 160s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 160s] | [ 160s] 928 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] ... [ 160s] 942 | error!("getpwuid_r fail"); [ 160s] | ------------------------- in this macro invocation [ 160s] | [ 160s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 160s] | [ 160s] 928 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] ... [ 160s] 949 | error!("Fail to get str, err({:?})", e); [ 160s] | --------------------------------------- in this macro invocation [ 160s] | [ 160s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 160s] | [ 160s] 928 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] ... [ 160s] 957 | error!("Fail to get str, err({:?})", e); [ 160s] | --------------------------------------- in this macro invocation [ 160s] | [ 160s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 160s] | [ 160s] 928 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] ... [ 160s] 966 | error!("Failed to set env for the user : {}", APPFW_UID); [ 160s] | -------------------------------------------------------- in this macro invocation [ 160s] | [ 160s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 160s] | [ 160s] 984 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] ... [ 160s] 987 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 160s] | ----------------------------------------------------------------------------------- in this macro invocation [ 160s] | [ 160s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 160s] | [ 160s] 984 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] ... [ 160s] 993 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 160s] | ---------------------------------------------------------------------------- in this macro invocation [ 160s] | [ 160s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 160s] | [ 160s] 984 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] ... [ 160s] 1000 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 160s] | ---------------------------------------------------------------------------- in this macro invocation [ 160s] | [ 160s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/server/util.rs:1005:40 [ 160s] | [ 160s] 984 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] ... [ 160s] 1005 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) } ); [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 160s] | [ 160s] 1081 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] ... [ 160s] 1084 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 160s] | ----------------------------------------------------------------------------------- in this macro invocation [ 160s] | [ 160s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 160s] | [ 160s] 1081 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] ... [ 160s] 1090 | error!("Failed get root path for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 160s] | --------------------------------------------------------------------------- in this macro invocation [ 160s] | [ 160s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 160s] | [ 160s] 1081 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] ... [ 160s] 1098 | error!("Invalid path[{:?}]", Self::c_char_to_cstr(icon_path)); [ 160s] | ------------------------------------------------------------- in this macro invocation [ 160s] | [ 160s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:1109:9 [ 160s] | [ 160s] 1109 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] ... [ 160s] 1119 | error!("Fail to get list for {:?}", CStr::from_ptr(pkgid)); [ 160s] | ---------------------------------------------------------- in this macro invocation [ 160s] | [ 160s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 160s] | [ 160s] 1129 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] ... [ 160s] 1132 | error!("failed to open the fifo({}), errno({})", fifo_path, *__errno_location()); [ 160s] | -------------------------------------------------------------------------------- in this macro invocation [ 160s] | [ 160s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 160s] [ 160s] warning: unnecessary `unsafe` block [ 160s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 160s] | [ 160s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 160s] | ^^^^^^ unnecessary `unsafe` block [ 160s] | [ 160s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 160s] | [ 160s] 1129 | unsafe { [ 160s] | ------ because it's nested under this `unsafe` block [ 160s] ... [ 160s] 1155 | error!("failed to add io watch"); [ 160s] | -------------------------------- in this macro invocation [ 160s] | [ 160s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 160s] [ 160s] warning: constant `SD_LISTEN_FDS_START` is never used [ 160s] --> ./src/pkgmgr/server/mod.rs:28:7 [ 160s] | [ 160s] 28 | const SD_LISTEN_FDS_START: i32 = 3; [ 160s] | ^^^^^^^^^^^^^^^^^^^ [ 160s] | [ 160s] = note: `#[warn(dead_code)]` on by default [ 160s] [ 160s] warning: multiple variants are never constructed [ 160s] --> ./src/pkgmgr/server/mod.rs:43:5 [ 160s] | [ 160s] 42 | enum AUL_RETURN_VALUE { [ 160s] | ---------------- variants in this enum [ 160s] 43 | AUL_R_ENOMEM = -16, //< Out of memory (Since 5.5) [ 160s] | ^^^^^^^^^^^^ [ 160s] 44 | AUL_R_ENOENT = -15, //< App directory entry error [ 160s] | ^^^^^^^^^^^^ [ 160s] 45 | AUL_R_EREJECTED = -14, //< App disable for mode [ 160s] | ^^^^^^^^^^^^^^^ [ 160s] 46 | AUL_R_ENOAPP = -13, //< Failed to find app ID or pkg ID [ 160s] | ^^^^^^^^^^^^ [ 160s] 47 | AUL_R_EHIDDENFORGUEST = -11, //< App hidden for guest mode [ 160s] | ^^^^^^^^^^^^^^^^^^^^^ [ 160s] 48 | AUL_R_ENOLAUNCHPAD = -10, //< no launchpad [ 160s] | ^^^^^^^^^^^^^^^^^^ [ 160s] 49 | AUL_R_ETERMINATING = -9, //< application terminating [ 160s] | ^^^^^^^^^^^^^^^^^^ [ 160s] 50 | AUL_R_EILLACC = -8, //< Illegal Access [ 160s] | ^^^^^^^^^^^^^ [ 160s] 51 | AUL_R_LOCAL = -7, //< Launch by himself [ 160s] | ^^^^^^^^^^^ [ 160s] 52 | AUL_R_ETIMEOUT = -6, //< Timeout [ 160s] | ^^^^^^^^^^^^^^ [ 160s] 53 | AUL_R_ECANCELED = -5, //< Operation canceled [ 160s] | ^^^^^^^^^^^^^^^ [ 160s] 54 | AUL_R_EINVAL = -4, //< Invalid argument [ 160s] | ^^^^^^^^^^^^ [ 160s] 55 | AUL_R_ECOMM = -3, //< Comunication Error [ 160s] | ^^^^^^^^^^^ [ 160s] 56 | AUL_R_ENOINIT = -2, //< AUL handler NOT initialized [ 160s] | ^^^^^^^^^^^^^ [ 160s] 57 | AUL_R_ERROR = -1, //< General error [ 160s] | ^^^^^^^^^^^ [ 160s] [ 160s] warning: field `timer` is never read [ 160s] --> ./src/pkgmgr/server/mod.rs:63:5 [ 160s] | [ 160s] 61 | pub struct Server { [ 160s] | ------ field in this struct [ 160s] 62 | mainloop: *mut GMainLoop, [ 160s] 63 | timer: c_uint [ 160s] | ^^^^^ [ 160s] [ 160s] warning: variants `IO_ERROR`, `OUT_OF_MEMORY`, `INVALID_PARAMETER`, and `PERMISSION_DENIED` are never constructed [ 160s] --> ./src/pkgmgr/server/admin_service.rs:29:5 [ 160s] | [ 160s] 27 | enum RPC_PORT_ERROR { [ 160s] | -------------- variants in this enum [ 160s] 28 | NONE = 0, //< Successful [ 160s] 29 | IO_ERROR = -5, //< Internal I/O error [ 160s] | ^^^^^^^^ [ 160s] 30 | OUT_OF_MEMORY = -12, //< Out of memory [ 160s] | ^^^^^^^^^^^^^ [ 160s] 31 | INVALID_PARAMETER = -22, //< Invalid parameter [ 160s] | ^^^^^^^^^^^^^^^^^ [ 160s] 32 | PERMISSION_DENIED = -13, //< Permission denied [ 160s] | ^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: method `generate_request_id` is never used [ 160s] --> ./src/pkgmgr/server/admin_service.rs:2786:8 [ 160s] | [ 160s] 2713 | impl AdminService { [ 160s] | ----------------- method in this implementation [ 160s] ... [ 160s] 2786 | fn generate_request_id(&self) -> String { [ 160s] | ^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: field `request_type` is never read [ 160s] --> ./src/pkgmgr/server/backend_context.rs:7:5 [ 160s] | [ 160s] 6 | pub struct BackendContext { [ 160s] | -------------- field in this struct [ 160s] 7 | request_type: RequestType, [ 160s] | ^^^^^^^^^^^^ [ 160s] [ 160s] warning: type alias `GIOChannel` is never used [ 160s] --> ./src/pkgmgr/server/backend_queue.rs:14:6 [ 160s] | [ 160s] 14 | type GIOChannel = *mut c_void; [ 160s] | ^^^^^^^^^^ [ 160s] [ 160s] warning: type alias `GIOCondition` is never used [ 160s] --> ./src/pkgmgr/server/backend_queue.rs:15:6 [ 160s] | [ 160s] 15 | type GIOCondition = c_int; [ 160s] | ^^^^^^^^^^^^ [ 160s] [ 160s] warning: variants `EIO`, `ENOPKG`, `EPRIV`, `ETIMEOUT`, `EINVAL`, and `ECOMM` are never constructed [ 160s] --> ./src/pkgmgr/server/info_service.rs:22:5 [ 160s] | [ 160s] 20 | enum PKGMGR_RETURN_VALUE { [ 160s] | ------------------- variants in this enum [ 160s] 21 | ESYSTEM = -9, // Severe system error [ 160s] 22 | EIO = -8, // IO error [ 160s] | ^^^ [ 160s] 23 | ENOMEM = -7, // Out of memory [ 160s] 24 | ENOPKG = -6, // No such package [ 160s] | ^^^^^^ [ 160s] 25 | EPRIV = -5, // Privilege denied [ 160s] | ^^^^^ [ 160s] 26 | ETIMEOUT = -4, // Timeout [ 160s] | ^^^^^^^^ [ 160s] 27 | EINVAL = -3, // Invalid argument [ 160s] | ^^^^^^ [ 160s] 28 | ECOMM = -2, // Comunication Error [ 160s] | ^^^^^ [ 160s] [ 160s] warning: variants `EPRIV` and `ETIMEOUT` are never constructed [ 160s] --> ./src/pkgmgr/server/pkgmgr_return_value.rs:8:5 [ 160s] | [ 160s] 3 | pub enum PKGMGR_RETURN_VALUE { [ 160s] | ------------------- variants in this enum [ 160s] ... [ 160s] 8 | EPRIV = -5, // Privilege denied [ 160s] | ^^^^^ [ 160s] 9 | ETIMEOUT = -4, // Timeout [ 160s] | ^^^^^^^^ [ 160s] [ 160s] warning: variants `KILL`, `CHECK`, `ENABLE_APP_SPLASH_SCREEN`, `DISABLE_APP_SPLASH_SCREEN`, and `MIGRATE_EXTERNAL_IMAGE` are never constructed [ 160s] --> ./src/pkgmgr/server/request_type.rs:20:5 [ 160s] | [ 160s] 1 | pub enum RequestType { [ 160s] | ----------- variants in this enum [ 160s] ... [ 160s] 20 | KILL, [ 160s] | ^^^^ [ 160s] 21 | CHECK, [ 160s] | ^^^^^ [ 160s] ... [ 160s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] ... [ 160s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: multiple variants are never constructed [ 160s] --> ./src/pkgmgr/server/signal.rs:10:2 [ 160s] | [ 160s] 9 | enum PKGMGR_REQ { [ 160s] | ---------- variants in this enum [ 160s] 10 | PERM = -1, [ 160s] | ^^^^ [ 160s] 11 | INVALID = 0, [ 160s] | ^^^^^^^ [ 160s] 12 | INSTALL = 1, [ 160s] | ^^^^^^^ [ 160s] 13 | UNINSTALL = 2, [ 160s] | ^^^^^^^^^ [ 160s] 14 | CLEAR = 3, [ 160s] | ^^^^^ [ 160s] 15 | MOVE = 4, [ 160s] | ^^^^ [ 160s] 16 | RECOVER = 5, [ 160s] | ^^^^^^^ [ 160s] 17 | REINSTALL = 6, [ 160s] | ^^^^^^^^^ [ 160s] 18 | GETSIZE = 7, [ 160s] | ^^^^^^^ [ 160s] 19 | UPGRADE = 8, [ 160s] | ^^^^^^^ [ 160s] 20 | SMACK = 9, [ 160s] | ^^^^^ [ 160s] 21 | MANIFEST_DIRECT_INSTALL = 10, [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] ... [ 160s] 26 | MOUNT_INSTALL = 15, [ 160s] | ^^^^^^^^^^^^^ [ 160s] 27 | DISABLE_PKG = 16, [ 160s] | ^^^^^^^^^^^ [ 160s] 28 | ENABLE_PKG = 17, [ 160s] | ^^^^^^^^^^ [ 160s] 29 | MIGRATE_EXTIMG = 18, [ 160s] | ^^^^^^^^^^^^^^ [ 160s] 30 | RECOVER_DB = 19, [ 160s] | ^^^^^^^^^^ [ 160s] 31 | RES_COPY = 20, [ 160s] | ^^^^^^^^ [ 160s] 32 | RES_CREATE_DIR = 21, [ 160s] | ^^^^^^^^^^^^^^ [ 160s] 33 | RES_REMOVE = 22, [ 160s] | ^^^^^^^^^^ [ 160s] 34 | RES_UNINSTALL = 23 [ 160s] | ^^^^^^^^^^^^^ [ 160s] [ 160s] warning: constant `TZ_SYS_GLOBALAPP_USER` is never used [ 160s] --> ./src/pkgmgr/server/signal.rs:97:7 [ 160s] | [ 160s] 97 | const TZ_SYS_GLOBALAPP_USER: c_int = 22; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: function `tzplatform_getuid` is never used [ 160s] --> ./src/pkgmgr/server/signal.rs:53:12 [ 160s] | [ 160s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 160s] | ^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: function `sd_get_uids` is never used [ 160s] --> ./src/pkgmgr/server/signal.rs:44:16 [ 160s] | [ 160s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 160s] | ^^^^^^^^^^^ [ 160s] [ 160s] warning: constant `XML_READER_TYPE_ELEMENT` is never used [ 160s] --> ./src/pkgmgr/server/util.rs:29:7 [ 160s] | [ 160s] 29 | const XML_READER_TYPE_ELEMENT: i32 = 1; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: constant `XML_READER_TYPE_TEXT` is never used [ 160s] --> ./src/pkgmgr/server/util.rs:30:7 [ 160s] | [ 160s] 30 | const XML_READER_TYPE_TEXT: i32 = 3; [ 160s] | ^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: constant `XML_READER_TYPE_END_ELEMENT` is never used [ 160s] --> ./src/pkgmgr/server/util.rs:31:7 [ 160s] | [ 160s] 31 | const XML_READER_TYPE_END_ELEMENT: i32 = 15; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: type alias `GIOChannel` is never used [ 160s] --> ./src/pkgmgr/server/util.rs:33:6 [ 160s] | [ 160s] 33 | type GIOChannel = *mut c_void; [ 160s] | ^^^^^^^^^^ [ 160s] [ 160s] warning: variants `PMINFO_UI_APP`, `PMINFO_SVC_APP`, `PMINFO_WIDGET_APP`, `PMINFO_WATCH_APP`, and `PMINFO_COMPONENT_BASED_APP` are never constructed [ 160s] --> ./src/pkgmgr/server/util.rs:136:5 [ 160s] | [ 160s] 134 | enum PKGMGRINFO_APP_COMPONENT { [ 160s] | ------------------------ variants in this enum [ 160s] 135 | PMINFO_ALL_APP = 0, //< All Application [ 160s] 136 | PMINFO_UI_APP, //< UI Application [ 160s] | ^^^^^^^^^^^^^ [ 160s] 137 | PMINFO_SVC_APP, //< Service Application [ 160s] | ^^^^^^^^^^^^^^ [ 160s] 138 | PMINFO_WIDGET_APP, //< Widget Application [ 160s] | ^^^^^^^^^^^^^^^^^ [ 160s] 139 | PMINFO_WATCH_APP, //< Watch Application [ 160s] | ^^^^^^^^^^^^^^^^ [ 160s] 140 | PMINFO_COMPONENT_BASED_APP, //< Component-based Application (Since 5.5) [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: associated functions `EnableAppSplashScreen` and `DisableAppSplashScreen` are never used [ 160s] --> ./src/pkgmgr/server/util.rs:766:12 [ 160s] | [ 160s] 384 | impl Util { [ 160s] | --------- associated functions in this implementation [ 160s] ... [ 160s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 160s] | ^^^^^^^^^^^^^^^^^^^^^ [ 160s] ... [ 160s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: function `pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db` is never used [ 160s] --> ./src/pkgmgr/server/util.rs:204:8 [ 160s] | [ 160s] 204 | fn pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db( [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: function `pkgmgrinfo_pkginfo_get_usr_pkginfo` is never used [ 160s] --> ./src/pkgmgr/server/util.rs:44:16 [ 160s] | [ 160s] 44 | pub fn pkgmgrinfo_pkginfo_get_usr_pkginfo( [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: function `pkgmgrinfo_pkginfo_get_usr_disabled_pkginfo` is never used [ 160s] --> ./src/pkgmgr/server/util.rs:50:16 [ 160s] | [ 160s] 50 | pub fn pkgmgrinfo_pkginfo_get_usr_disabled_pkginfo( [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: function `pkgmgrinfo_pkginfo_is_readonly` is never used [ 160s] --> ./src/pkgmgr/server/util.rs:56:16 [ 160s] | [ 160s] 56 | pub fn pkgmgrinfo_pkginfo_is_readonly( [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: function `pkgmgrinfo_pkginfo_destroy_pkginfo` is never used [ 160s] --> ./src/pkgmgr/server/util.rs:61:16 [ 160s] | [ 160s] 61 | pub fn pkgmgrinfo_pkginfo_destroy_pkginfo( [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: function `pkgmgrinfo_pkginfo_get_usr_all_pkginfo` is never used [ 160s] --> ./src/pkgmgr/server/util.rs:65:16 [ 160s] | [ 160s] 65 | pub fn pkgmgrinfo_pkginfo_get_usr_all_pkginfo( [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: function `pkgmgrinfo_pkginfo_get_type` is never used [ 160s] --> ./src/pkgmgr/server/util.rs:71:16 [ 160s] | [ 160s] 71 | pub fn pkgmgrinfo_pkginfo_get_type( [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: function `pkgmgrinfo_updateinfo_create` is never used [ 160s] --> ./src/pkgmgr/server/util.rs:76:16 [ 160s] | [ 160s] 76 | pub fn pkgmgrinfo_updateinfo_create( [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: function `pkgmgrinfo_updateinfo_set_pkgid` is never used [ 160s] --> ./src/pkgmgr/server/util.rs:80:16 [ 160s] | [ 160s] 80 | pub fn pkgmgrinfo_updateinfo_set_pkgid( [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: function `pkgmgrinfo_updateinfo_set_version` is never used [ 160s] --> ./src/pkgmgr/server/util.rs:85:16 [ 160s] | [ 160s] 85 | pub fn pkgmgrinfo_updateinfo_set_version( [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: function `pkgmgrinfo_updateinfo_set_type` is never used [ 160s] --> ./src/pkgmgr/server/util.rs:90:16 [ 160s] | [ 160s] 90 | pub fn pkgmgrinfo_updateinfo_set_type( [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: function `pkgmgrinfo_updateinfo_destroy` is never used [ 160s] --> ./src/pkgmgr/server/util.rs:95:16 [ 160s] | [ 160s] 95 | pub fn pkgmgrinfo_updateinfo_destroy( [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: function `pkgmgrinfo_appinfo_get_usr_all_appinfo` is never used [ 160s] --> ./src/pkgmgr/server/util.rs:99:16 [ 160s] | [ 160s] 99 | pub fn pkgmgrinfo_appinfo_get_usr_all_appinfo( [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: function `pkgmgrinfo_appinfo_is_global` is never used [ 160s] --> ./src/pkgmgr/server/util.rs:105:16 [ 160s] | [ 160s] 105 | pub fn pkgmgrinfo_appinfo_is_global( [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: function `pkgmgrinfo_appinfo_get_pkgid` is never used [ 160s] --> ./src/pkgmgr/server/util.rs:110:16 [ 160s] | [ 160s] 110 | pub fn pkgmgrinfo_appinfo_get_pkgid( [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: function `pkgmgrinfo_appinfo_destroy_appinfo` is never used [ 160s] --> ./src/pkgmgr/server/util.rs:115:16 [ 160s] | [ 160s] 115 | pub fn pkgmgrinfo_appinfo_destroy_appinfo( [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: function `aul_app_is_running_for_uid` is never used [ 160s] --> ./src/pkgmgr/server/util.rs:122:16 [ 160s] | [ 160s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: function `aul_app_get_pid_for_uid` is never used [ 160s] --> ./src/pkgmgr/server/util.rs:123:16 [ 160s] | [ 160s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: function `aul_terminate_pid_for_uid` is never used [ 160s] --> ./src/pkgmgr/server/util.rs:124:16 [ 160s] | [ 160s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: function `aul_app_get_pkgid_bypid_for_uid` is never used [ 160s] --> ./src/pkgmgr/server/util.rs:125:16 [ 160s] | [ 160s] 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; [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] [ 160s] warning: unused `Result` that must be used [ 160s] --> ./src/main.rs:14:5 [ 160s] | [ 160s] 14 | pkgmgr::server::Server::run(&mut server); [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] | [ 160s] = note: this `Result` may be an `Err` variant, which should be handled [ 160s] = note: `#[warn(unused_must_use)]` on by default [ 160s] help: use `let _ = ...` to ignore the resulting value [ 160s] | [ 160s] 14 | let _ = pkgmgr::server::Server::run(&mut server); [ 160s] | +++++++ [ 160s] [ 160s] warning: unused `Result` that must be used [ 160s] --> ./src/pkgmgr/server/mod.rs:93:9 [ 160s] | [ 160s] 93 | admin_service.run(); [ 160s] | ^^^^^^^^^^^^^^^^^^^ [ 160s] | [ 160s] = note: this `Result` may be an `Err` variant, which should be handled [ 160s] help: use `let _ = ...` to ignore the resulting value [ 160s] | [ 160s] 93 | let _ = admin_service.run(); [ 160s] | +++++++ [ 160s] [ 160s] warning: unused `Result` that must be used [ 160s] --> ./src/pkgmgr/server/mod.rs:95:9 [ 160s] | [ 160s] 95 | cache_service.run(); [ 160s] | ^^^^^^^^^^^^^^^^^^^ [ 160s] | [ 160s] = note: this `Result` may be an `Err` variant, which should be handled [ 160s] help: use `let _ = ...` to ignore the resulting value [ 160s] | [ 160s] 95 | let _ = cache_service.run(); [ 160s] | +++++++ [ 160s] [ 160s] warning: unused `Result` that must be used [ 160s] --> ./src/pkgmgr/server/mod.rs:97:9 [ 160s] | [ 160s] 97 | info_service.run(); [ 160s] | ^^^^^^^^^^^^^^^^^^ [ 160s] | [ 160s] = note: this `Result` may be an `Err` variant, which should be handled [ 160s] help: use `let _ = ...` to ignore the resulting value [ 160s] | [ 160s] 97 | let _ = info_service.run(); [ 160s] | +++++++ [ 160s] [ 160s] warning: unused `Result` that must be used [ 160s] --> ./src/pkgmgr/server/mod.rs:99:9 [ 160s] | [ 160s] 99 | delayed_result_service.run(); [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] | [ 160s] = note: this `Result` may be an `Err` variant, which should be handled [ 160s] help: use `let _ = ...` to ignore the resulting value [ 160s] | [ 160s] 99 | let _ = delayed_result_service.run(); [ 160s] | +++++++ [ 160s] [ 160s] warning: unused `Result` that must be used [ 160s] --> ./src/pkgmgr/server/mod.rs:109:9 [ 160s] | [ 160s] 109 | admin_service.stop(); [ 160s] | ^^^^^^^^^^^^^^^^^^^^ [ 160s] | [ 160s] = note: this `Result` may be an `Err` variant, which should be handled [ 160s] help: use `let _ = ...` to ignore the resulting value [ 160s] | [ 160s] 109 | let _ = admin_service.stop(); [ 160s] | +++++++ [ 160s] [ 160s] warning: unused `Result` that must be used [ 160s] --> ./src/pkgmgr/server/mod.rs:110:9 [ 160s] | [ 160s] 110 | cache_service.stop(); [ 160s] | ^^^^^^^^^^^^^^^^^^^^ [ 160s] | [ 160s] = note: this `Result` may be an `Err` variant, which should be handled [ 160s] help: use `let _ = ...` to ignore the resulting value [ 160s] | [ 160s] 110 | let _ = cache_service.stop(); [ 160s] | +++++++ [ 160s] [ 160s] warning: unused `Result` that must be used [ 160s] --> ./src/pkgmgr/server/mod.rs:111:9 [ 160s] | [ 160s] 111 | info_service.stop(); [ 160s] | ^^^^^^^^^^^^^^^^^^^ [ 160s] | [ 160s] = note: this `Result` may be an `Err` variant, which should be handled [ 160s] help: use `let _ = ...` to ignore the resulting value [ 160s] | [ 160s] 111 | let _ = info_service.stop(); [ 160s] | +++++++ [ 160s] [ 160s] warning: unused `Result` that must be used [ 160s] --> ./src/pkgmgr/server/mod.rs:112:9 [ 160s] | [ 160s] 112 | delayed_result_service.stop(); [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] | [ 160s] = note: this `Result` may be an `Err` variant, which should be handled [ 160s] help: use `let _ = ...` to ignore the resulting value [ 160s] | [ 160s] 112 | let _ = delayed_result_service.stop(); [ 160s] | +++++++ [ 160s] [ 160s] warning: unused return value of `std::mem::size_of` that must be used [ 160s] --> ./src/pkgmgr/server/backend_queue.rs:40:9 [ 160s] | [ 160s] 40 | mem::size_of::(); [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 160s] | [ 160s] help: use `let _ = ...` to ignore the resulting value [ 160s] | [ 160s] 40 | let _ = mem::size_of::(); [ 160s] | +++++++ [ 160s] [ 160s] warning: structure field `rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 160s] --> ./src/pkgmgr/server/info_service.rs:35:9 [ 160s] | [ 160s] 35 | pub rpc_port_stub_PkgMgr_create_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_create_cb` [ 160s] | [ 160s] = note: `#[warn(non_snake_case)]` on by default [ 160s] [ 160s] warning: structure field `rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 160s] --> ./src/pkgmgr/server/info_service.rs:36:9 [ 160s] | [ 160s] 36 | pub rpc_port_stub_PkgMgr_terminate_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_terminate_cb` [ 160s] [ 160s] warning: structure field `rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 160s] --> ./src/pkgmgr/server/info_service.rs:37:9 [ 160s] | [ 160s] 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... [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_cb` [ 160s] [ 160s] warning: structure field `rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 160s] --> ./src/pkgmgr/server/info_service.rs:38:9 [ 160s] | [ 160s] 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... [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 160s] [ 160s] warning: structure field `rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 160s] --> ./src/pkgmgr/server/info_service.rs:39:9 [ 160s] | [ 160s] 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... [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 160s] [ 160s] warning: structure field `rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 160s] --> ./src/pkgmgr/server/info_service.rs:40:9 [ 160s] | [ 160s] 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... [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_check_cb` [ 160s] [ 160s] warning: function `impl_rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 160s] --> ./src/pkgmgr/server/info_service.rs:43:19 [ 160s] | [ 160s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_create_cb` [ 160s] [ 160s] warning: function `impl_rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 160s] --> ./src/pkgmgr/server/info_service.rs:48:19 [ 160s] | [ 160s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_terminate_cb` [ 160s] [ 160s] warning: function `impl_rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 160s] --> ./src/pkgmgr/server/info_service.rs:52:19 [ 160s] | [ 160s] 52 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSize_cb( [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_cb` [ 160s] [ 160s] warning: function `impl_rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 160s] --> ./src/pkgmgr/server/info_service.rs:112:19 [ 160s] | [ 160s] 112 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSizeSync_cb( [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 160s] [ 160s] warning: function `impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 160s] --> ./src/pkgmgr/server/info_service.rs:194:19 [ 160s] | [ 160s] 194 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb( [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 160s] [ 160s] warning: function `impl_rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 160s] --> ./src/pkgmgr/server/info_service.rs:221:19 [ 160s] | [ 160s] 221 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_Check_cb( [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_check_cb` [ 160s] [ 160s] warning: method `IsPackageReadonly` should have a snake case name [ 160s] --> ./src/pkgmgr/server/util.rs:389:12 [ 160s] | [ 160s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 160s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly` [ 160s] [ 160s] warning: method `GetPackageType` should have a snake case name [ 160s] --> ./src/pkgmgr/server/util.rs:420:12 [ 160s] | [ 160s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 160s] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type` [ 160s] [ 160s] warning: variable `xmlReaderTypes_XML_READER_TYPE_ELEMENT` should have a snake case name [ 160s] --> ./src/pkgmgr/server/util.rs:473:17 [ 160s] | [ 160s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_element` [ 160s] [ 160s] warning: variable `xmlReaderTypes_XML_READER_TYPE_TEXT` should have a snake case name [ 160s] --> ./src/pkgmgr/server/util.rs:478:17 [ 160s] | [ 160s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_text` [ 160s] [ 160s] warning: variable `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` should have a snake case name [ 160s] --> ./src/pkgmgr/server/util.rs:483:17 [ 160s] | [ 160s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_end_element` [ 160s] [ 160s] warning: constant `type_map` should have an upper case name [ 160s] --> ./src/pkgmgr/server/util.rs:623:15 [ 160s] | [ 160s] 623 | const type_map : [[&str; 2]; 3] = [ [ 160s] | ^^^^^^^^ help: convert the identifier to upper case: `TYPE_MAP` [ 160s] | [ 160s] = note: `#[warn(non_upper_case_globals)]` on by default [ 160s] [ 160s] warning: method `GenerateRequestId` should have a snake case name [ 160s] --> ./src/pkgmgr/server/util.rs:646:12 [ 160s] | [ 160s] 646 | pub fn GenerateRequestId(pkgid: &str) -> Option { [ 160s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_request_id` [ 160s] [ 160s] warning: method `CreatePkgUpdateInfo` should have a snake case name [ 160s] --> ./src/pkgmgr/server/util.rs:657:12 [ 160s] | [ 160s] 657 | pub fn CreatePkgUpdateInfo(pkgid: *const c_char, version: *const c_char, update_type: c_int) -> *mut c_void { [ 160s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info` [ 160s] [ 160s] warning: method `DestroyPkgUpdateInfo` should have a snake case name [ 160s] --> ./src/pkgmgr/server/util.rs:680:12 [ 160s] | [ 160s] 680 | pub fn DestroyPkgUpdateInfo(handle: *mut c_void) -> c_int { [ 160s] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroy_pkg_update_info` [ 160s] [ 160s] warning: method `RegisterPkgUpdateInfo` should have a snake case name [ 160s] --> ./src/pkgmgr/server/util.rs:686:12 [ 160s] | [ 160s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 160s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `register_pkg_update_info` [ 160s] [ 160s] warning: method `UnregisterPkgUpdateInfo` should have a snake case name [ 160s] --> ./src/pkgmgr/server/util.rs:696:12 [ 160s] | [ 160s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_pkg_update_info` [ 160s] [ 160s] warning: method `UnregisterAllPkgUpdateInfo` should have a snake case name [ 160s] --> ./src/pkgmgr/server/util.rs:706:12 [ 160s] | [ 160s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_all_pkg_update_info` [ 160s] [ 160s] warning: method `EnableApp` should have a snake case name [ 160s] --> ./src/pkgmgr/server/util.rs:728:12 [ 160s] | [ 160s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 160s] | ^^^^^^^^^ help: convert the identifier to snake case: `enable_app` [ 160s] [ 160s] warning: method `DisableApp` should have a snake case name [ 160s] --> ./src/pkgmgr/server/util.rs:738:12 [ 160s] | [ 160s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 160s] | ^^^^^^^^^^ help: convert the identifier to snake case: `disable_app` [ 160s] [ 160s] warning: method `EnableGlobalApp` should have a snake case name [ 160s] --> ./src/pkgmgr/server/util.rs:747:12 [ 160s] | [ 160s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 160s] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app` [ 160s] [ 160s] warning: method `DisableGlobalApp` should have a snake case name [ 160s] --> ./src/pkgmgr/server/util.rs:757:12 [ 160s] | [ 160s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 160s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app` [ 160s] [ 160s] warning: method `EnableAppSplashScreen` should have a snake case name [ 160s] --> ./src/pkgmgr/server/util.rs:766:12 [ 160s] | [ 160s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 160s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_app_splash_screen` [ 160s] [ 160s] warning: method `DisableAppSplashScreen` should have a snake case name [ 160s] --> ./src/pkgmgr/server/util.rs:775:12 [ 160s] | [ 160s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_app_splash_screen` [ 160s] [ 160s] warning: method `EnableGlobalAppSplashScreen` should have a snake case name [ 160s] --> ./src/pkgmgr/server/util.rs:784:12 [ 160s] | [ 160s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app_splash_screen` [ 160s] [ 160s] warning: method `DisableGlobalAppSplashScreen` should have a snake case name [ 160s] --> ./src/pkgmgr/server/util.rs:793:12 [ 160s] | [ 160s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 160s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app_splash_screen` [ 160s] [ 160s] warning: method `KillApp` should have a snake case name [ 160s] --> ./src/pkgmgr/server/util.rs:813:12 [ 160s] | [ 160s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 160s] | ^^^^^^^ help: convert the identifier to snake case: `kill_app` [ 160s] [ 160s] warning: method `KillAppsInPkg` should have a snake case name [ 160s] --> ./src/pkgmgr/server/util.rs:835:12 [ 160s] | [ 160s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 160s] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_apps_in_pkg` [ 160s] [ 160s] warning: method `IsAdminUser` should have a snake case name [ 160s] --> ./src/pkgmgr/server/util.rs:855:8 [ 160s] | [ 160s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 160s] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_admin_user` [ 160s] [ 161s] warning: function `IsPackageReadonly_test_return_None_from_disable1` should have a snake case name [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:13:4 [ 161s] | [ 161s] 13 | fn IsPackageReadonly_test_return_None_from_disable1() { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_disable1` [ 161s] [ 161s] warning: getting the inner pointer of a temporary `CString` [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:16:77 [ 161s] | [ 161s] 16 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, false)); [ 161s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 161s] | | [ 161s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 161s] | [ 161s] = 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 [ 161s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 161s] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [ 161s] [ 161s] warning: function `IsPackageReadonly_test_return_None_from_disable2` should have a snake case name [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:20:4 [ 161s] | [ 161s] 20 | fn IsPackageReadonly_test_return_None_from_disable2() { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_disable2` [ 161s] [ 161s] warning: getting the inner pointer of a temporary `CString` [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:23:77 [ 161s] | [ 161s] 23 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 161s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 161s] | | [ 161s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 161s] | [ 161s] = 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 [ 161s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 161s] [ 161s] warning: function `IsPackageReadonly_test_return_None_from_readonly` should have a snake case name [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:27:4 [ 161s] | [ 161s] 27 | fn IsPackageReadonly_test_return_None_from_readonly() { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_readonly` [ 161s] [ 161s] warning: getting the inner pointer of a temporary `CString` [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:32:77 [ 161s] | [ 161s] 32 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 161s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 161s] | | [ 161s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 161s] | [ 161s] = 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 [ 161s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 161s] [ 161s] warning: function `IsPackageReadonly_test_return_someTrue_from_readonly` should have a snake case name [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:36:4 [ 161s] | [ 161s] 36 | fn IsPackageReadonly_test_return_someTrue_from_readonly() { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_some_true_from_readonly` [ 161s] [ 161s] warning: getting the inner pointer of a temporary `CString` [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:46:83 [ 161s] | [ 161s] 46 | assert_eq!(Some(true), Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 161s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 161s] | | [ 161s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 161s] | [ 161s] = 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 [ 161s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 161s] [ 161s] warning: function `IsPackageReadonly_test_return_someFalse_from_readonly` should have a snake case name [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:50:4 [ 161s] | [ 161s] 50 | fn IsPackageReadonly_test_return_someFalse_from_readonly() { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_some_false_from_readonly` [ 161s] [ 161s] warning: getting the inner pointer of a temporary `CString` [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:60:84 [ 161s] | [ 161s] 60 | assert_eq!(Some(false), Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 161s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 161s] | | [ 161s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 161s] | [ 161s] = 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 [ 161s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 161s] [ 161s] warning: function `KillApp_test_return_0_from_running` should have a snake case name [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:65:4 [ 161s] | [ 161s] 65 | fn KillApp_test_return_0_from_running() { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_0_from_running` [ 161s] [ 161s] warning: getting the inner pointer of a temporary `CString` [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:68:64 [ 161s] | [ 161s] 68 | assert_eq!(0, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 161s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 161s] | | [ 161s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 161s] | [ 161s] = 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 [ 161s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 161s] [ 161s] warning: function `KillApp_test_return_minus_from_getpid` should have a snake case name [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:72:4 [ 161s] | [ 161s] 72 | fn KillApp_test_return_minus_from_getpid() { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_minus_from_getpid` [ 161s] [ 161s] warning: getting the inner pointer of a temporary `CString` [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:77:65 [ 161s] | [ 161s] 77 | assert_eq!(-1, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 161s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 161s] | | [ 161s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 161s] | [ 161s] = 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 [ 161s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 161s] [ 161s] warning: function `KillApp_test_return_minus_from_terminate` should have a snake case name [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:81:4 [ 161s] | [ 161s] 81 | fn KillApp_test_return_minus_from_terminate() { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_minus_from_terminate` [ 161s] [ 161s] warning: getting the inner pointer of a temporary `CString` [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:88:65 [ 161s] | [ 161s] 88 | assert_eq!(-1, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 161s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 161s] | | [ 161s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 161s] | [ 161s] = 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 [ 161s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 161s] [ 161s] warning: function `KillApp_test_return_0_from_end` should have a snake case name [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:92:4 [ 161s] | [ 161s] 92 | fn KillApp_test_return_0_from_end() { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_0_from_end` [ 161s] [ 161s] warning: getting the inner pointer of a temporary `CString` [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:99:64 [ 161s] | [ 161s] 99 | assert_eq!(0, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 161s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 161s] | | [ 161s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 161s] | [ 161s] = 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 [ 161s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 161s] [ 161s] warning: function `GetPackageType_test_return_new_from_all` should have a snake case name [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:104:4 [ 161s] | [ 161s] 104 | fn GetPackageType_test_return_new_from_all() { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_new_from_all` [ 161s] [ 161s] warning: getting the inner pointer of a temporary `CString` [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:107:83 [ 161s] | [ 161s] 107 | assert_eq!(String::new(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 161s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 161s] | | [ 161s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 161s] | [ 161s] = 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 [ 161s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 161s] [ 161s] warning: function `GetPackageType_test_return_new_from_type` should have a snake case name [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:111:4 [ 161s] | [ 161s] 111 | fn GetPackageType_test_return_new_from_type() { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_new_from_type` [ 161s] [ 161s] warning: getting the inner pointer of a temporary `CString` [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:118:83 [ 161s] | [ 161s] 118 | assert_eq!(String::new(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 161s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 161s] | | [ 161s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 161s] | [ 161s] = 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 [ 161s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 161s] [ 161s] warning: function `GetPackageType_test_return_rpk_from_end` should have a snake case name [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:122:4 [ 161s] | [ 161s] 122 | fn GetPackageType_test_return_rpk_from_end() { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_rpk_from_end` [ 161s] [ 161s] warning: getting the inner pointer of a temporary `CString` [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:132:87 [ 161s] | [ 161s] 132 | assert_eq!("rpk".to_string(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 161s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 161s] | | [ 161s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 161s] | [ 161s] = 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 [ 161s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 161s] [ 161s] warning: function `GetPackageType_test_return_newtype_from_end` should have a snake case name [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:136:4 [ 161s] | [ 161s] 136 | fn GetPackageType_test_return_newtype_from_end() { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_newtype_from_end` [ 161s] [ 161s] warning: getting the inner pointer of a temporary `CString` [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:146:87 [ 161s] | [ 161s] 146 | assert_eq!("ABC".to_string(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 161s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 161s] | | [ 161s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 161s] | [ 161s] = 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 [ 161s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 161s] [ 161s] warning: function `CreatePkgUpdateInfo_test_return_null1` should have a snake case name [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:151:4 [ 161s] | [ 161s] 151 | fn CreatePkgUpdateInfo_test_return_null1() { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null1` [ 161s] [ 161s] warning: getting the inner pointer of a temporary `CString` [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:154:95 [ 161s] | [ 161s] 154 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 161s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 161s] | | [ 161s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 161s] | [ 161s] = 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 [ 161s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 161s] [ 161s] warning: getting the inner pointer of a temporary `CString` [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:154:138 [ 161s] | [ 161s] 154 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 161s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 161s] | | [ 161s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 161s] | [ 161s] = 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 [ 161s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 161s] [ 161s] warning: function `CreatePkgUpdateInfo_test_return_null2` should have a snake case name [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:158:4 [ 161s] | [ 161s] 158 | fn CreatePkgUpdateInfo_test_return_null2() { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null2` [ 161s] [ 161s] warning: getting the inner pointer of a temporary `CString` [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:165:95 [ 161s] | [ 161s] 165 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 161s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 161s] | | [ 161s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 161s] | [ 161s] = 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 [ 161s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 161s] [ 161s] warning: getting the inner pointer of a temporary `CString` [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:165:138 [ 161s] | [ 161s] 165 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 161s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 161s] | | [ 161s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 161s] | [ 161s] = 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 [ 161s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 161s] [ 161s] warning: function `CreatePkgUpdateInfo_test_return_null3` should have a snake case name [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:169:4 [ 161s] | [ 161s] 169 | fn CreatePkgUpdateInfo_test_return_null3() { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null3` [ 161s] [ 161s] warning: getting the inner pointer of a temporary `CString` [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:178:95 [ 161s] | [ 161s] 178 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 161s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 161s] | | [ 161s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 161s] | [ 161s] = 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 [ 161s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 161s] [ 161s] warning: getting the inner pointer of a temporary `CString` [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:178:138 [ 161s] | [ 161s] 178 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 161s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 161s] | | [ 161s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 161s] | [ 161s] = 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 [ 161s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 161s] [ 161s] warning: function `CreatePkgUpdateInfo_test_return_null4` should have a snake case name [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:182:4 [ 161s] | [ 161s] 182 | fn CreatePkgUpdateInfo_test_return_null4() { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null4` [ 161s] [ 161s] warning: getting the inner pointer of a temporary `CString` [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:193:95 [ 161s] | [ 161s] 193 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 161s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 161s] | | [ 161s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 161s] | [ 161s] = 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 [ 161s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 161s] [ 161s] warning: getting the inner pointer of a temporary `CString` [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:193:138 [ 161s] | [ 161s] 193 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 161s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 161s] | | [ 161s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 161s] | [ 161s] = 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 [ 161s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 161s] [ 161s] warning: function `CreatePkgUpdateInfo_test_return_handle` should have a snake case name [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:197:4 [ 161s] | [ 161s] 197 | fn CreatePkgUpdateInfo_test_return_handle() { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_handle` [ 161s] [ 161s] warning: getting the inner pointer of a temporary `CString` [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:206:95 [ 161s] | [ 161s] 206 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 161s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 161s] | | [ 161s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 161s] | [ 161s] = 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 [ 161s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 161s] [ 161s] warning: getting the inner pointer of a temporary `CString` [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:206:138 [ 161s] | [ 161s] 206 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 161s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 161s] | | [ 161s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 161s] | [ 161s] = 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 [ 161s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 161s] [ 161s] warning: function `getapplicationinfobyappid_test_return_None_from_appinfo` should have a snake case name [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:211:4 [ 161s] | [ 161s] 211 | fn getapplicationinfobyappid_test_return_None_from_appinfo() { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_appinfo` [ 161s] [ 161s] warning: getting the inner pointer of a temporary `CString` [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:214:89 [ 161s] | [ 161s] 214 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 161s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 161s] | | [ 161s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 161s] | [ 161s] = 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 [ 161s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 161s] [ 161s] warning: function `getapplicationinfobyappid_test_return_None_from_global` should have a snake case name [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:218:4 [ 161s] | [ 161s] 218 | fn getapplicationinfobyappid_test_return_None_from_global() { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_global` [ 161s] [ 161s] warning: getting the inner pointer of a temporary `CString` [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:225:89 [ 161s] | [ 161s] 225 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 161s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 161s] | | [ 161s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 161s] | [ 161s] = 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 [ 161s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 161s] [ 161s] warning: function `getapplicationinfobyappid_test_return_None_from_pkgid` should have a snake case name [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:229:4 [ 161s] | [ 161s] 229 | fn getapplicationinfobyappid_test_return_None_from_pkgid() { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_pkgid` [ 161s] [ 161s] warning: getting the inner pointer of a temporary `CString` [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:238:89 [ 161s] | [ 161s] 238 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 161s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 161s] | | [ 161s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 161s] | [ 161s] = 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 [ 161s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 161s] [ 161s] warning: function `getapplicationinfobyappid_test_return_Some_from_end` should have a snake case name [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:242:4 [ 161s] | [ 161s] 242 | fn getapplicationinfobyappid_test_return_Some_from_end() { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `getapplicationinfobyappid_test_return_some_from_end` [ 161s] [ 161s] warning: getting the inner pointer of a temporary `CString` [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:257:127 [ 161s] | [ 161s] 257 | assert_eq!(Some((CString::new("aaa").unwrap(), true)), Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 161s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 161s] | | [ 161s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 161s] | [ 161s] = 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 [ 161s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 161s] [ 161s] warning: function `get_pkgid_bypid_for_uid_test_return_None` should have a snake case name [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:262:4 [ 161s] | [ 161s] 262 | fn get_pkgid_bypid_for_uid_test_return_None() { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_pkgid_bypid_for_uid_test_return_none` [ 161s] [ 161s] warning: function `get_pkgid_bypid_for_uid_test_return_Some` should have a snake case name [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:269:4 [ 161s] | [ 161s] 269 | fn get_pkgid_bypid_for_uid_test_return_Some() { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `get_pkgid_bypid_for_uid_test_return_some` [ 161s] [ 161s] warning: function `get_pkgid_bypid_for_uid_test_return_None_from_end` should have a snake case name [ 161s] --> ./src/pkgmgr/server/test/util_tests.rs:283:4 [ 161s] | [ 161s] 283 | fn get_pkgid_bypid_for_uid_test_return_None_from_end() { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_pkgid_bypid_for_uid_test_return_none_from_end` [ 161s] [ 266s] warning: 735 warnings emitted [ 266s] [ 266s] + exit 0 [ 266s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.4dJdBy [ 266s] + umask 022 [ 266s] + cd /home/abuild/rpmbuild/BUILD [ 266s] + cd pkgmgr-server-1.0.15 [ 266s] + LANG=C [ 266s] + export LANG [ 266s] + unset DISPLAY [ 266s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 266s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 266s] + /bin/make DESTDIR=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm INSTALL_ROOT=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm install [ 266s] /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 [ 266s] /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 [ 266s] /bin/make -f CMakeFiles/Makefile2 all [ 266s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 266s] /bin/make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/depend [ 266s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 266s] 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= [ 266s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 266s] /bin/make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build [ 266s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 266s] make[2]: Nothing to be done for 'tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build'. [ 266s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 266s] [ 50%] Built target tidl_pkgmgr_server [ 266s] /bin/make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/depend [ 266s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 266s] 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= [ 266s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 266s] /bin/make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build [ 266s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 266s] make[2]: Nothing to be done for 'util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build'. [ 266s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 266s] [100%] Built target util_pkgmgr_server [ 266s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 266s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/CMakeFiles 0 [ 266s] /bin/make -f CMakeFiles/Makefile2 preinstall [ 266s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 266s] make[1]: Nothing to be done for 'preinstall'. [ 266s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 266s] Install the project... [ 266s] /usr/bin/cmake -P cmake_install.cmake [ 266s] -- Install configuration: "" [ 266s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/systemd/system/package-manager.service [ 266s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/systemd/system/package-manager.socket [ 266s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/libtidl_pkgmgr_server.so [ 266s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/libutil_pkgmgr_server.so [ 266s] + rm -f /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/share/info/dir [ 266s] + find /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm -regex '.*\.la$' [ 266s] + xargs rm -f -- [ 266s] + find /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm -regex '.*\.a$' [ 266s] + xargs rm -f -- [ 266s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/systemd/system/basic.target.wants [ 266s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/systemd/system/sockets.target.wants [ 266s] + ln -sf ../package-manager.socket /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/systemd/system/sockets.target.wants/package-manager.socket [ 266s] + install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/bin [ 266s] + install -m 0755 ./rust_pkgmgr_server /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/bin/pkgmgr-server [ 266s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/etc/package-manager/server [ 266s] + _target= [ 266s] + _symlinks=0 [ 266s] + _files=() [ 266s] + fdupes -q -n -r /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 266s] + read _file [ 266s] + /usr/lib/rpm/find-debuginfo.sh -j8 --build-id-seed 1.0.15-1 --unique-debug-src-base pkgmgr-server-1.0.15-1.arm -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 266s] 1+0 records in [ 266s] 1+0 records out [ 266s] 1+0 records in [ 266s] 1+0 records out [ 266s] 1+0 records in [ 266s] 1+0 records out [ 266s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/bin/pkgmgr-server [ 266s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/libtidl_pkgmgr_server.so [ 266s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/libutil_pkgmgr_server.so [ 266s] 0+0 records in [ 266s] 0+0 records out [ 266s] 0+0 records in [ 266s] 0+0 records out [ 266s] 0+0 records in [ 266s] 0+0 records out [ 266s] 797 blocks [ 266s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/pkgmgr-server-debuginfo.manifest [ 266s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/pkgmgr-server-debugsource.manifest [ 266s] + /usr/lib/rpm/check-buildroot [ 266s] + /usr/lib/rpm//brp-compress [ 266s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 266s] + /usr/lib/rpm/brp-python-hardlink [ 266s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 266s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/isu.list [ 266s] ~/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm ~/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 266s] ~/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 266s] + /etc/hal/rootstrap/hal-rootstrap-checker.sh 0 /home/abuild/rpmbuild/SOURCES [ 267s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.9VvwAA [ 267s] + umask 022 [ 267s] + cd /home/abuild/rpmbuild/BUILD [ 267s] + cd pkgmgr-server-1.0.15 [ 267s] + export LD_LIBRARY_PATH=./util_pkgmgr_server/:./tidl_pkgmgr_server/:/usr/lib/rustlib/dylib [ 267s] + LD_LIBRARY_PATH=./util_pkgmgr_server/:./tidl_pkgmgr_server/:/usr/lib/rustlib/dylib [ 267s] + RUST_BACKTRACE=1 [ 267s] + RUST_TEST_THREADS=1 [ 267s] + ./unittests_rust_pkgmgr_server [ 267s] [ 267s] running 35 tests [ 267s] test pkgmgr::server::test::admin_service_tests::run_test ... ok [ 267s] test pkgmgr::server::test::admin_service_tests::stop_test ... ok [ 268s] test pkgmgr::server::test::cache_service_tests::run_test ... ok [ 268s] test pkgmgr::server::test::cache_service_tests::stop_test ... ok [ 268s] test pkgmgr::server::test::delayed_service_tests::run_test ... ok [ 268s] test pkgmgr::server::test::delayed_service_tests::stop_test ... ok [ 269s] test pkgmgr::server::test::info_service_tests::run_test ... ok [ 269s] test pkgmgr::server::test::info_service_tests::stop_test ... ok [ 269s] test pkgmgr::server::test::signal_tests::get_uid_list_test_return_uidvec1 ... ok [ 269s] test pkgmgr::server::test::signal_tests::get_uid_list_test_return_uidvec2 ... ok [ 269s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_handle ... ok [ 269s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null1 ... ok [ 269s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null2 ... ok [ 269s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null3 ... ok [ 269s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null4 ... ok [ 269s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_new_from_all ... ok [ 269s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_new_from_type ... ok [ 269s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_newtype_from_end ... ok [ 269s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_rpk_from_end ... ok [ 269s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_disable1 ... ok [ 269s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_disable2 ... ok [ 269s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_readonly ... ok [ 269s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_someFalse_from_readonly ... ok [ 269s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_someTrue_from_readonly ... ok [ 269s] test pkgmgr::server::test::util_tests::KillApp_test_return_0_from_end ... ok [ 269s] test pkgmgr::server::test::util_tests::KillApp_test_return_0_from_running ... ok [ 269s] test pkgmgr::server::test::util_tests::KillApp_test_return_minus_from_getpid ... ok [ 269s] test pkgmgr::server::test::util_tests::KillApp_test_return_minus_from_terminate ... ok [ 269s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_None ... ok [ 269s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_None_from_end ... ok [ 269s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_Some ... ok [ 269s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_appinfo ... ok [ 269s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_global ... ok [ 269s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_pkgid ... ok [ 269s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_Some_from_end ... ok [ 269s] [ 269s] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.53s [ 269s] [ 269s] + exit 0 [ 269s] Processing files: pkgmgr-server-1.0.15-1.armv7l [ 269s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIiAvPgoJPC9y [ 269s] ZXF1ZXN0PgoJPGFzc2lnbj4KCQk8ZmlsZXN5c3RlbSBwYXRoPSIvdXNyL2Jpbi9w [ 269s] a2dtZ3Itc2VydmVyIiBsYWJlbD0iU3lzdGVtIiBleGVjX2xhYmVsPSJub25lIiAv [ 269s] PgoJCTxmaWxlc3lzdGVtIHBhdGg9Ii92YXIvbGliL3BhY2thZ2UtbWFuYWdlciIg [ 269s] bGFiZWw9IlN5c3RlbSIgLz4KCTwvYXNzaWduPgo8L21hbmlmZXN0Pgo= [ 269s] [ 269s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.AfAOo8 [ 269s] + umask 022 [ 269s] + cd /home/abuild/rpmbuild/BUILD [ 269s] + cd pkgmgr-server-1.0.15 [ 269s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/share/licenses/pkgmgr-server [ 269s] + export LC_ALL=C [ 269s] + LC_ALL=C [ 269s] + export LICENSEDIR [ 269s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/share/licenses/pkgmgr-server [ 269s] + cp -pr LICENSE /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/share/licenses/pkgmgr-server [ 269s] + exit 0 [ 269s] Provides: libtidl_pkgmgr_server.so libutil_pkgmgr_server.so pkgmgr-server = 1.0.15-1 pkgmgr-server(armv7l-32) = 1.0.15-1 [ 269s] Requires(interp): /bin/sh [ 269s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 269s] Requires(post): /bin/sh [ 269s] Requires: ld-linux.so.3 ld-linux.so.3(GLIBC_2.4) libaul.so.0 libc.so.6 libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libcapi-base-common.so.0 libdlog.so.0 libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.5) libgio-2.0.so.0 libglib-2.0.so.0 libgobject-2.0.so.0 libgum.so.0 libminizip.so.1 libpkgmgr-info.so.0 libpkgmgr_installer.so.0 libpkgmgr_parser.so.0 librpc-port.so.1 libstd-161dbff30b3b0c00.so libsystemd.so.0 libsystemd.so.0(LIBSYSTEMD_209) libtidl_pkgmgr_server.so libtzplatform-config-2.0.so.2 libtzplatform-config-2.0.so.2(TPC) libutil_pkgmgr_server.so libxml2.so.2 libxml2.so.2(LIBXML2_2.4.30) libxml2.so.2(LIBXML2_2.5.0) libxml2.so.2(LIBXML2_2.6.0) rtld(GNU_HASH) [ 269s] Processing files: pkgmgr-server-debugsource-1.0.15-1.armv7l [ 269s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 269s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 269s] [ 269s] Provides: pkgmgr-server-debugsource = 1.0.15-1 pkgmgr-server-debugsource(armv7l-32) = 1.0.15-1 [ 269s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 269s] Processing files: pkgmgr-server-debuginfo-1.0.15-1.armv7l [ 269s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 269s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 269s] [ 269s] Provides: pkgmgr-server-debuginfo = 1.0.15-1 pkgmgr-server-debuginfo(armv7l-32) = 1.0.15-1 [ 269s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 269s] Recommends: pkgmgr-server-debugsource(armv7l-32) = 1.0.15-1 [ 269s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 269s] Wrote: /home/abuild/rpmbuild/SRPMS/pkgmgr-server-1.0.15-1.src.rpm [ 269s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/pkgmgr-server-1.0.15-1.armv7l.rpm [ 269s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/pkgmgr-server-debugsource-1.0.15-1.armv7l.rpm [ 270s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/pkgmgr-server-debuginfo-1.0.15-1.armv7l.rpm [ 270s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.u6AwY4 [ 270s] + umask 022 [ 270s] + cd /home/abuild/rpmbuild/BUILD [ 270s] + cd pkgmgr-server-1.0.15 [ 270s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 270s] + exit 0 [ 270s] ... checking for files with abuild user/group [ 270s] ... creating baselibs [ 270s] [ 270s] ip-192-168-56-145 finished "build pkgmgr-server.spec" at Thu Dec 19 07:28:25 UTC 2024. [ 270s]