[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.17 [ 0s] Using BUILD_ARCH=armv7l:armv7el:armv6l:armv5tejl:armv5tel:armv5l:armv4tl:armv4l:armv3l:noarch [ 0s] [ 0s] [ 0s] ip-192-168-56-48 started "build pkgmgr-server.spec" at Sat Dec 28 03:09:03 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_20241227.060200/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241227.060200/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.17/.srcfiles.cache ... [ 0s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.17/.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_20241227.060200/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_20241227.060200/repos/standard/debug/ [ 2s] expanding package dependencies... [ 2s] copying qemu [ 2s] [ 2s] registering binfmt handlers for cross build [ 2s] calculating packages to download... [ 5s] reordering...cycle: gio-branding-upstream -> libgio [ 5s] breaking dependency libgio -> gio-branding-upstream [ 5s] cycle: pkgmgr-info -> pkgmgr-info-parser [ 5s] breaking dependency pkgmgr-info -> pkgmgr-info-parser [ 5s] cycle: libgum -> gumd [ 5s] breaking dependency libgum -> gumd [ 5s] cycle: glibc-devel -> libxcrypt-devel [ 5s] breaking dependency libxcrypt-devel -> glibc-devel [ 5s] cycle: rust -> rust-devel [ 5s] breaking dependency rust-devel -> rust [ 5s] cycle: libsoftokn3 -> nss [ 5s] breaking dependency nss -> libsoftokn3 [ 5s] reordering done [ 6s] deleting coregl [ 6s] deleting ecore-audio [ 6s] deleting ecore-con [ 6s] deleting ecore-core [ 6s] deleting ecore-evas [ 7s] deleting ecore-fb [ 7s] deleting ecore-file [ 7s] deleting ecore-imf [ 7s] deleting ecore-imf-evas [ 7s] deleting ecore-input [ 7s] deleting ecore-input-evas [ 7s] deleting ecore-ipc [ 7s] deleting ecore-wl2 [ 8s] deleting ector [ 8s] deleting edje [ 8s] deleting edje-tools [ 8s] deleting eet [ 8s] deleting eeze [ 9s] deleting efl [ 9s] deleting efreet [ 9s] deleting eina [ 9s] deleting eio [ 9s] deleting embryo [ 9s] deleting emile [ 10s] deleting eo [ 10s] deleting evas [ 10s] deleting fontconfig [ 10s] deleting fribidi [ 10s] deleting giflib [ 10s] deleting hal-api-common [ 11s] deleting hal-api-tbm [ 11s] /var/tmp/rpm-tmp.2xnY4X: line 2: /usr/bin/hal-compatibility-checker: No such file or directory [ 11s] warning: %postun(hal-api-tbm-1.0.0-1.armv7l) scriptlet failed, exit status 127 [ 11s] deleting hal-api-tdm [ 11s] /var/tmp/rpm-tmp.nbjwoq: line 2: /usr/bin/hal-compatibility-checker: No such file or directory [ 11s] warning: %postun(hal-api-tdm-0.3.1-1.armv7l) scriptlet failed, exit status 127 [ 11s] deleting libdrm [ 11s] deleting libfreetype [ 11s] deleting libharfbuzz [ 11s] deleting libhyphen [ 12s] deleting libicu [ 12s] deleting libjpeg [ 12s] deleting libpng [ 12s] deleting libtbm [ 12s] /sbin/ldconfig: relative path `0' used to build cache [ 12s] warning: %postun(libtbm-4.5.5-1.armv7l) scriptlet failed, exit status 1 [ 12s] deleting libtdm [ 12s] /sbin/ldconfig: relative path `0' used to build cache [ 12s] warning: %postun(libtdm-3.2.0-0.armv7l) scriptlet failed, exit status 1 [ 12s] deleting libtdm-client [ 12s] deleting libtiff [ 12s] deleting libtpl-egl [ 12s] deleting libwayland-client [ 13s] deleting libwayland-cursor [ 13s] deleting libwayland-egl [ 13s] deleting libwayland-egl-tizen [ 13s] deleting libwayland-extension-client [ 13s] deleting libwayland-server [ 13s] deleting libwayland-tbm-client [ 13s] deleting libwayland-tbm-server [ 14s] deleting libwebp [ 14s] deleting libxkbcommon [ 14s] deleting lottie-player [ 14s] deleting pixman [ 14s] deleting thorvg [ 14s] deleting tizen-core [ 14s] [1/241] cumulate default-ac-domains-0.1-1.1 [ 14s] [2/241] keeping dlog-config-persistent-logs-9.0.1-1 [ 14s] [3/241] keeping libmagic-data-5.45-1.8 [ 14s] [4/241] keeping pcre2-syntax-10.40-1 [ 14s] [5/241] cumulate python3-pyparsing-3.1.1-1.1 [ 14s] [6/241] cumulate python3-six-1.16.0-1.1 [ 14s] [7/241] cumulate rust-std-static-1.74.0-1 [ 14s] [8/241] keeping setup-0.9-1.5 [ 14s] [9/241] keeping filesystem-3.1-1.1 [ 14s] [10/241] cumulate python3-packaging-23.2-1.1 [ 14s] [11/241] keeping glibc-2.40-1.1 [ 14s] [12/241] keeping libatomic-14.2.0-1.11 [ 14s] [13/241] keeping libgcc-14.2.0-1.11 [ 14s] [14/241] keeping bash-3.2.57-1.1 [ 14s] [15/241] keeping capi-base-common-0.4.82-1 [ 14s] [16/241] keeping cpio-2.8-1.1 [ 14s] [17/241] keeping diffutils-3.10-1.1 [ 14s] [18/241] cumulate fdupes-2.2.1-1.8 [ 14s] [19/241] keeping findutils-4.3.8-1.8 [ 14s] [20/241] keeping gdbm-1.8.3-1.12 [ 14s] [21/241] keeping hostname-3.23-1.1 [ 14s] [22/241] keeping iniparser-4.1-1.1 [ 14s] [23/241] keeping libattr-2.5.1-1.8 [ 14s] [24/241] keeping libblkid-2.39.3-1.8 [ 14s] [25/241] keeping libbz2-1.0.8-1.8 [ 14s] [26/241] keeping libcap-2.69-1.9 [ 14s] [27/241] keeping libexpat-2.6.2-1.11 [ 14s] [28/241] keeping libffi-3.4.2-1.10 [ 14s] [29/241] keeping libfreebl3-3.98-1.13 [ 14s] [30/241] keeping libgfortran-14.2.0-1.11 [ 14s] [31/241] keeping libgomp-14.2.0-1.11 [ 14s] [32/241] keeping libitm-14.2.0-1.11 [ 14s] [33/241] cumulate libjson-0.17-0 [ 14s] [34/241] keeping libltdl-2.4.7-1.12 [ 14s] [35/241] keeping liblua-5.1.5-1.8 [ 14s] [36/241] keeping liblzma-5.6.3-1.4 [ 14s] [37/241] keeping libopenssl11-1.1.1w-1.11 [ 14s] [38/241] keeping libopenssl3-3.0.13-1.12 [ 14s] [39/241] keeping libpcre-8.45-1.8 [ 14s] [40/241] keeping libpopt-1.16-1.7 [ 14s] [41/241] cumulate libpython3_121_0-3.12.0-1.11 [ 14s] [42/241] keeping libsmack-1.3.1-1.7 [ 14s] [43/241] keeping libsmartcols-2.39.3-1.8 [ 14s] [44/241] keeping libsqlite-3.48.0-1.4 [ 14s] [45/241] keeping libstdc++-14.2.0-1.11 [ 14s] [46/241] keeping libuuid-2.39.3-1.8 [ 14s] [47/241] keeping libxcrypt-4.4.36-1.11 [ 14s] [48/241] keeping libzstd1-1.5.6-1.4 [ 14s] [49/241] keeping m4-1.4.19-1.1 [ 14s] [50/241] keeping net-tools-2.0_20121208git-1.7 [ 14s] [51/241] keeping nspr-4.35-1.8 [ 14s] [52/241] keeping patch-2.7.6-1.7 [ 14s] [53/241] keeping pkg-config-0.29.2-1.8 [ 14s] [54/241] cumulate rust-std-shared-1.74.0-1 [ 14s] [55/241] keeping sed-4.1c-1.8 [ 14s] [56/241] keeping update-alternatives-1.22.2-1.1 [ 15s] [57/241] keeping which-2.17-1.1 [ 15s] [58/241] cumulate xdgmime-0.0.17-1.1 [ 15s] [59/241] keeping zlib-1.3.1-1.4 [ 15s] [60/241] keeping pcre2-10.40-1 [ 15s] [61/241] cumulate pcre2-utf16-10.40-1 [ 15s] [62/241] cumulate pcre2-utf32-10.40-1 [ 15s] [63/241] keeping build-compare-2023.06.18-1.5 [ 15s] [64/241] keeping hal-rootstrap-checker-0.1.0-2.1 [ 15s] [65/241] keeping libstdc++-devel-14.2.0-1.11 [ 15s] [66/241] keeping qemu-linux-user-x86_64-cross-5.2.0.2-21.5 [ 15s] [67/241] cumulate vconf-internal-keys-devel-0.0.191-0 [ 15s] [68/241] cumulate capi-base-common-devel-0.4.82-1 [ 15s] [69/241] keeping cpp-14.2.0-1.11 [ 15s] [70/241] keeping gcc-c++-14.2.0-1.11 [ 15s] [71/241] cumulate libblkid-devel-2.39.3-1.8 [ 15s] [72/241] cumulate libffi-devel-3.4.2-1.10 [ 15s] [73/241] cumulate tidl-2.5.0-1 [ 15s] [74/241] cumulate unzip-610c25-1.5 [ 15s] [75/241] cumulate xdgmime-devel-0.0.17-1.1 [ 15s] [76/241] cumulate xz-devel-5.6.3-1.4 [ 15s] [77/241] keeping binutils-libs-2.43-1.12 [ 15s] [78/241] keeping coreutils-6.9-14.5 [ 15s] [79/241] keeping gawk-3.1.5-1.1 [ 15s] [80/241] keeping grep-2.5.2-1.7 [ 15s] [81/241] keeping libacl-2.3.2-1.9 [ 15s] [82/241] keeping libcap-tools-2.69-1.9 [ 15s] [83/241] keeping libcc1-14.2.0-1.11 [ 15s] [84/241] keeping libelf-0.189-1.11 [ 15s] [85/241] keeping libglib-2.80.5-0 [ 15s] [86/241] keeping libmount-2.39.3-1.8 [ 15s] [87/241] keeping libubsan-14.2.0-1.11 [ 15s] [88/241] keeping make-4.4-1.8 [ 15s] [89/241] cumulate minizip-1.3.1-1.4 [ 15s] [90/241] keeping nss-certs-3.98-1.13 [ 15s] [91/241] keeping smack-1.3.1-1.7 [ 15s] [92/241] cumulate sqlite-3.48.0-1.4 [ 15s] [93/241] keeping bzip2-1.0.8-1.8 [ 15s] [94/241] keeping dlog-9.0.1-1 [ 15s] [95/241] cumulate gettext-runtime-0.21.1-2.9 [ 15s] [96/241] keeping libfdisk-2.39.3-1.8 [ 15s] [97/241] cumulate libkmod-31-1.1 [ 15s] [98/241] keeping libmagic-5.45-1.8 [ 15s] [99/241] keeping libxml2-2.12.5-1.9 [ 15s] [100/241] keeping shadow-utils-4.1.4.2-7.5 [ 15s] [101/241] keeping xz-5.6.3-1.4 [ 15s] [102/241] cumulate pcre2-devel-10.40-1 [ 15s] [103/241] keeping perl-5.38.0-1.8 [ 15s] [104/241] cumulate cynara-db-migration-0.19.6-1 [ 15s] [105/241] keeping ttrace-1.1.0-1 [ 15s] [106/241] keeping build-mkbaselibs-20120927-1.1 [ 15s] [107/241] keeping linux-glibc-devel-6.6-1.12 [ 15s] [108/241] keeping dlog-logger-9.0.1-1 [ 15s] [109/241] cumulate minizip-devel-1.3.1-1.4 [ 15s] [110/241] keeping terminfo-base-full-6.4-1.12 [ 15s] [111/241] cumulate acl-2.3.2-1.9 [ 15s] [112/241] keeping autoconf-2.71-1.13 [ 15s] [113/241] keeping file-5.45-1.8 [ 15s] [114/241] keeping glibc-locale-2.40-1.1 [ 15s] [115/241] keeping libgmodule-2.80.5-0 [ 15s] [116/241] cumulate libgthread-2.80.5-0 [ 15s] [117/241] cumulate libmount-devel-2.39.3-1.8 [ 15s] [118/241] keeping tar-1.17-1.1 [ 15s] [119/241] cumulate tizen-platform-config-5.0-1 [ 15s] [120/241] keeping binutils-2.43-1.12 [ 15s] [121/241] keeping gzip-1.3.12-1.8 [ 15s] [122/241] keeping libgobject-2.80.5-0 [ 15s] [123/241] keeping pam-1.1.6-1.7 [ 15s] [124/241] keeping tzdata-2023c-1.1 [ 15s] [125/241] keeping libdw-0.189-1.11 [ 15s] [126/241] keeping security-config-1.0-1 [ 15s] [127/241] cumulate gettext-tools-0.21.1-2.9 [ 15s] [128/241] keeping libarchive-3.7.2-1.10 [ 15s] [129/241] keeping shared-mime-info-1.7-0 [ 15s] [130/241] keeping gcc-14.2.0-1.11 [ 15s] [131/241] keeping qemu-accel-x86_64-armv7l-0.4-1.5 [ 15s] [132/241] keeping automake-1.16.5-1.12 [ 15s] [133/241] cumulate libtzplatform-config-5.0-1 [ 15s] [134/241] keeping libasm-0.189-1.11 [ 15s] [135/241] cumulate libncurses5-6.4-1.12 [ 15s] [136/241] keeping libncurses6-6.4-1.12 [ 15s] [137/241] keeping build-20120927-1.1 [ 15s] [138/241] keeping libsystemd-244-0 [ 15s] [139/241] cumulate libgirepository2-2.80.5-0 [ 15s] [140/241] keeping libdlog-9.0.1-1 [ 15s] [141/241] keeping libncurses-6.4-1.12 [ 15s] [142/241] cumulate libtzplatform-config-devel-5.0-1 [ 15s] [143/241] keeping capi-system-resource-1.0.0-0 [ 15s] [144/241] cumulate dbus-libs-1.12.20-3 [ 15s] [145/241] keeping less-668-1.1 [ 15s] [146/241] cumulate libdlog-devel-9.0.1-1 [ 15s] [147/241] keeping libreadline-5.2-1.8 [ 15s] [148/241] keeping libtool-2.4.7-1.12 [ 15s] [149/241] cumulate ncurses-devel-6.4-1.12 [ 15s] [150/241] cumulate parcel-0.17.3-0 [ 15s] [151/241] keeping elfutils-0.189-1.11 [ 15s] [152/241] cumulate cmake-3.25.2-1.10 [ 15s] [153/241] cumulate libcynara-commons-0.19.6-1 [ 15s] [154/241] cumulate capi-system-info-0.5.2-1 [ 15s] [155/241] cumulate systemd-244-0 [ 15s] [156/241] cumulate readline-devel-5.2-1.8 [ 15s] [157/241] cumulate capi-system-resource-devel-1.0.0-0 [ 15s] [158/241] cumulate libcynara-session-0.19.6-1 [ 15s] [159/241] cumulate parcel-devel-0.17.3-0 [ 15s] [160/241] cumulate pkgmgr-0.20.21-0 [ 15s] [161/241] cumulate systemd-devel-244-0 [ 15s] [162/241] cumulate libcynara-creds-commons-0.19.6-1 [ 15s] [163/241] cumulate libxml2-tools-2.12.5-1.9 [ 15s] [164/241] cumulate libcynara-client-0.19.6-1 [ 15s] [165/241] cumulate python3-base-3.12.0-1.11 [ 15s] [166/241] keeping util-linux-2.39.3-1.8 [ 15s] [167/241] cumulate python3-3.12.0-1.1 [ 15s] [168/241] cumulate pkgmgr-types-devel-0.20.21-0 [ 15s] [169/241] keeping util-linux-su-2.39.3-1.8 [ 15s] [170/241] cumulate libcynara-creds-socket-0.19.6-1 [ 15s] [171/241] cumulate dbus-1.12.20-3 [ 15s] [172/241] cumulate python3-setuptools-69.0.2-1.5 [ 15s] [173/241] keeping libxcrypt-devel-4.4.36-1.11 [ 15s] [174/241] cumulate rust-devel-1.74.0-1 [ 15s] [175/241] keeping nss-3.98-1.13 [ 15s] [176/241] keeping libgio-2.80.5-0 [ 15s] [177/241] keeping gio-branding-upstream-2.80.5-0 [ 15s] [178/241] keeping glibc-devel-2.40-1.1 [ 15s] [179/241] cumulate libjson-glib-1.8.0-0 [ 15s] [180/241] keeping libsoftokn3-3.98-1.13 [ 15s] [181/241] cumulate rust-1.74.0-1 [ 15s] [182/241] cumulate glib2-tools-2.80.5-0 [ 15s] [183/241] cumulate libgum-1.0.8-0 [ 15s] [184/241] cumulate libsyscommon-5.0.0-0 [ 15s] [185/241] cumulate buxton2-1.8.10-0 [ 15s] [186/241] keeping rpm-4.14.1.1-1.12 [ 15s] [187/241] cumulate rust-cfg-if-1.0.0-1 [ 15s] [188/241] cumulate rust-either-1.8.1-1 [ 15s] [189/241] cumulate rust-normalize-line-endings-0.3.0-1 [ 15s] [190/241] cumulate zlib-devel-1.3.1-1.4 [ 15s] [191/241] cumulate rust-anstyle-0.3.5-1 [ 15s] [192/241] cumulate rust-difflib-0.4.0-1 [ 15s] [193/241] cumulate rust-downcast-0.11.0-1 [ 15s] [194/241] cumulate rust-fragile-2.0.0-1 [ 15s] [195/241] cumulate rust-libc-0.2.139-1 [ 15s] [196/241] cumulate rust-libm-0.2.6-1 [ 15s] [197/241] cumulate rust-minizip-sys-0.1.2-1 [ 16s] [198/241] cumulate rust-predicates-core-1.0.6-1 [ 16s] [199/241] cumulate rust-regex-syntax-0.6.28-1 [ 16s] [200/241] cumulate rust-scopeguard-1.1.0-1 [ 16s] [201/241] cumulate rust-termtree-0.4.1-1 [ 16s] [202/241] cumulate rust-unicode-ident-1.0.6-1 [ 16s] [203/241] cumulate sqlite-devel-3.48.0-1.4 [ 16s] [204/241] cumulate vconf-compat-1.8.10-0 [ 16s] [205/241] cumulate bundle-0.17.3-0 [ 16s] [206/241] cumulate gumd-1.0.8-0 [ 16s] [207/241] keeping rpm-build-4.14.1.1-1.12 [ 16s] [208/241] cumulate bundle-devel-0.17.3-0 [ 16s] [209/241] cumulate rust-glib-sys-0.17.10-1 [ 16s] [210/241] cumulate rust-itertools-0.10.5-1 [ 16s] [211/241] cumulate rust-lock_api-0.4.9-1 [ 16s] [212/241] cumulate rust-num-traits-0.2.15-1 [ 16s] [213/241] cumulate rust-proc-macro2-1.0.51-1 [ 16s] [214/241] cumulate rust-regex-1.7.1-1 [ 16s] [215/241] cumulate rust-predicates-tree-1.0.9-1 [ 16s] [216/241] cumulate libxml2-devel-2.12.5-1.9 [ 16s] [217/241] cumulate libstorage-1.0.0-0 [ 16s] [218/241] cumulate pkgmgr-info-0.28.5-1 [ 16s] [219/241] cumulate glib2-devel-2.80.5-0 [ 16s] [220/241] cumulate libgum-devel-1.0.8-0 [ 16s] [221/241] cumulate pkgmgr-info-devel-0.28.5-1 [ 16s] [222/241] cumulate vconf-compat-devel-1.8.10-0 [ 16s] [223/241] cumulate rust-float-cmp-0.9.0-1 [ 16s] [224/241] cumulate rust-quote-1.0.23-1 [ 16s] [225/241] cumulate rust-spin-0.9.5-1 [ 16s] [226/241] cumulate pkgmgr-info-parser-0.28.5-1 [ 16s] [227/241] cumulate aul-0.66.0-1 [ 16s] [228/241] cumulate rust-lazy_static-1.4.0-1 [ 16s] [229/241] cumulate pkgmgr-info-parser-devel-0.28.5-1 [ 16s] [230/241] cumulate rust-syn-1.0.107-1 [ 16s] [231/241] cumulate aul-devel-0.66.0-1 [ 16s] [232/241] cumulate rust-predicates-3.0.4-1 [ 16s] [233/241] cumulate rpc-port-1.19.2-0 [ 16s] [234/241] cumulate rpc-port-devel-1.19.2-0 [ 16s] [235/241] cumulate rust-mockall_derive-0.11.4-1 [ 16s] [236/241] cumulate rust-mockall_double-0.3.0-1 [ 16s] [237/241] cumulate pkgmgr-client-0.20.21-0 [ 16s] [238/241] cumulate pkgmgr-installer-0.20.21-0 [ 16s] [239/241] cumulate pkgmgr-installer-devel-0.20.21-0 [ 16s] [240/241] cumulate pkgmgr-client-devel-0.20.21-0 [ 16s] [241/241] cumulate rust-mockall-0.11.4-1 [ 16s] now installing cumulated packages [ 16s] Preparing... ######################################## [ 16s] Updating / installing... [ 16s] capi-base-common-devel-0.4.82-1 ######################################## [ 16s] tizen-platform-config-5.0-1 ######################################## [ 18s] ln: creating symbolic link `/opt/etc/skel/media/Shared/media_shared': File exists [ 18s] zlib-devel-1.3.1-1.4 ######################################## [ 18s] libdlog-devel-9.0.1-1 ######################################## [ 18s] capi-system-resource-devel-1.0.0-0 ######################################## [ 18s] xz-devel-5.6.3-1.4 ######################################## [ 18s] libffi-devel-3.4.2-1.10 ######################################## [ 18s] libblkid-devel-2.39.3-1.8 ######################################## [ 18s] libmount-devel-2.39.3-1.8 ######################################## [ 18s] vconf-internal-keys-devel-0.0.191-0 ######################################## [ 20s] rust-std-static-1.74.0-1 ######################################## [ 20s] python3-six-1.16.0-1.1 ######################################## [ 20s] python3-pyparsing-3.1.1-1.1 ######################################## [ 20s] python3-packaging-23.2-1.1 ######################################## [ 20s] default-ac-domains-0.1-1.1 ######################################## [ 20s] rust-std-shared-1.74.0-1 ######################################## [ 20s] libtzplatform-config-5.0-1 ######################################## [ 20s] parcel-0.17.3-0 ######################################## [ 21s] capi-system-info-0.5.2-1 ######################################## [ 21s] pkgmgr-0.20.21-0 ######################################## [ 21s] rust-cfg-if-1.0.0-1 ######################################## [ 21s] minizip-1.3.1-1.4 ######################################## [ 21s] rust-predicates-core-1.0.6-1 ######################################## [ 21s] rust-unicode-ident-1.0.6-1 ######################################## [ 21s] rust-proc-macro2-1.0.51-1 ######################################## [ 21s] rust-quote-1.0.23-1 ######################################## [ 22s] rust-syn-1.0.107-1 ######################################## [ 22s] libgirepository2-2.80.5-0 ######################################## [ 22s] xdgmime-0.0.17-1.1 ######################################## [ 22s] xdgmime-devel-0.0.17-1.1 ######################################## [ 22s] pkgmgr-types-devel-0.20.21-0 ######################################## [ 22s] parcel-devel-0.17.3-0 ######################################## [ 22s] libtzplatform-config-devel-5.0-1 ######################################## [ 22s] glib2-tools-2.80.5-0 ######################################## [ 22s] rust-mockall_derive-0.11.4-1 ######################################## [ 28s] rust-devel-1.74.0-1 ######################################## [ 28s] rust-either-1.8.1-1 ######################################## [ 29s] rust-itertools-0.10.5-1 ######################################## [ 29s] rust-normalize-line-endings-0.3.0-1 ######################################## [ 29s] rust-anstyle-0.3.5-1 ######################################## [ 29s] rust-difflib-0.4.0-1 ######################################## [ 29s] rust-downcast-0.11.0-1 ######################################## [ 29s] rust-fragile-2.0.0-1 ######################################## [ 30s] rust-libc-0.2.139-1 ######################################## [ 30s] rust-libm-0.2.6-1 ######################################## [ 30s] rust-num-traits-0.2.15-1 ######################################## [ 30s] rust-float-cmp-0.9.0-1 ######################################## [ 30s] rust-regex-syntax-0.6.28-1 ######################################## [ 31s] rust-regex-1.7.1-1 ######################################## [ 31s] rust-predicates-3.0.4-1 ######################################## [ 31s] rust-scopeguard-1.1.0-1 ######################################## [ 31s] rust-lock_api-0.4.9-1 ######################################## [ 31s] rust-spin-0.9.5-1 ######################################## [ 31s] rust-lazy_static-1.4.0-1 ######################################## [ 31s] rust-termtree-0.4.1-1 ######################################## [ 32s] rust-predicates-tree-1.0.9-1 ######################################## [ 32s] libjson-glib-1.8.0-0 ######################################## [ 32s] bundle-0.17.3-0 ######################################## [ 32s] bundle-devel-0.17.3-0 ######################################## [ 32s] libxml2-tools-2.12.5-1.9 ######################################## [ 32s] dbus-libs-1.12.20-3 ######################################## [ 32s] libncurses5-6.4-1.12 ######################################## [ 33s] ncurses-devel-6.4-1.12 ######################################## [ 33s] readline-devel-5.2-1.8 ######################################## [ 33s] libxml2-devel-2.12.5-1.9 ######################################## [ 33s] libgthread-2.80.5-0 ######################################## [ 33s] acl-2.3.2-1.9 ######################################## [ 33s] cynara-db-migration-0.19.6-1 ######################################## [ 33s] libcynara-commons-0.19.6-1 ######################################## [ 33s] libcynara-client-0.19.6-1 ######################################## [ 33s] libcynara-session-0.19.6-1 ######################################## [ 34s] dbus-1.12.20-3 ######################################## [ 34s] libgum-1.0.8-0 ######################################## [ 34s] gumd-1.0.8-0 ######################################## [ 35s] buxton2-1.8.10-0 ######################################## [ 35s] vconf-compat-1.8.10-0 ######################################## [ 35s] libcynara-creds-commons-0.19.6-1 ######################################## [ 35s] libcynara-creds-socket-0.19.6-1 ######################################## [ 35s] pkgmgr-info-parser-0.28.5-1 ######################################## [ 36s] pkgmgr-info-0.28.5-1 ######################################## [ 36s] libkmod-31-1.1 ######################################## [ 37s] systemd-244-0 ######################################## [ 37s] update-alternatives: using /usr/lib/systemd/systemd-shutdown-original to provide /usr/lib/systemd/systemd-shutdown (systemd-shutdown) in auto mode [ 38s] update-alternatives: using /usr/sbin/reboot-original to provide /usr/sbin/reboot (reboot) in auto mode [ 38s] update-alternatives: using /usr/sbin/halt-original to provide /usr/sbin/halt (halt) in auto mode [ 38s] update-alternatives: using /usr/sbin/poweroff-original to provide /usr/sbin/poweroff (poweroff) in auto mode [ 38s] update-alternatives: using /usr/sbin/shutdown-original to provide /usr/sbin/shutdown (shutdown) in auto mode [ 38s] gettext-runtime-0.21.1-2.9 ######################################## [ 38s] sqlite-3.48.0-1.4 ######################################## [ 38s] pcre2-utf32-10.40-1 ######################################## [ 38s] pcre2-utf16-10.40-1 ######################################## [ 38s] pcre2-devel-10.40-1 ######################################## [ 38s] libpython3_121_0-3.12.0-1.11 ######################################## [ 40s] python3-base-3.12.0-1.11 ######################################## [ 40s] python3-3.12.0-1.1 ######################################## [ 40s] python3-setuptools-69.0.2-1.5 ######################################## [ 40s] glib2-devel-2.80.5-0 ######################################## [ 40s] pkgmgr-info-devel-0.28.5-1 ######################################## [ 40s] vconf-compat-devel-1.8.10-0 ######################################## [ 40s] libjson-0.17-0 ######################################## [ 40s] pkgmgr-info-parser-devel-0.28.5-1 ######################################## [ 40s] libgum-devel-1.0.8-0 ######################################## [ 40s] sqlite-devel-3.48.0-1.4 ######################################## [ 40s] systemd-devel-244-0 ######################################## [ 40s] minizip-devel-1.3.1-1.4 ######################################## [ 40s] libsyscommon-5.0.0-0 ######################################## [ 41s] libstorage-1.0.0-0 ######################################## [ 41s] aul-0.66.0-1 ######################################## [ 41s] rpc-port-1.19.2-0 ######################################## [ 41s] rpc-port-devel-1.19.2-0 ######################################## [ 41s] aul-devel-0.66.0-1 ######################################## [ 41s] pkgmgr-client-0.20.21-0 ######################################## [ 42s] pkgmgr-installer-0.20.21-0 ######################################## [ 42s] pkgmgr-installer-devel-0.20.21-0 ######################################## [ 42s] pkgmgr-client-devel-0.20.21-0 ######################################## [ 42s] gettext-tools-0.21.1-2.9 ######################################## [ 42s] rust-mockall-0.11.4-1 ######################################## [ 43s] rust-glib-sys-0.17.10-1 ######################################## [ 46s] rust-1.74.0-1 ######################################## [ 46s] rust-mockall_double-0.3.0-1 ######################################## [ 47s] rust-minizip-sys-0.1.2-1 ######################################## [ 48s] cmake-3.25.2-1.10 ######################################## [ 48s] unzip-610c25-1.5 ######################################## [ 48s] tidl-2.5.0-1 ######################################## [ 48s] fdupes-2.2.1-1.8 ######################################## [ 48s] Running capi-system-info %posttrans script [ 48s] I/O warning : failed to load external entity "/etc/config/model-config.xml" [ 48s] iniparser: cannot open /etc/info.ini [ 49s] Running pkgmgr %posttrans script [ 49s] /var/tmp/rpm-tmp.Fh740f: line 5: pkg_initdb: command not found [ 49s] /var/tmp/rpm-tmp.Fh740f: line 6: install_preload_pkg: command not found [ 49s] /var/tmp/rpm-tmp.Fh740f: line 13: pkgcmd: command not found [ 49s] /var/tmp/rpm-tmp.Fh740f: line 15: /etc/package-manager/pkgmgr-label-initial-image.sh: No such file or directory [ 49s] Running buxton2 %posttrans script [ 49s] chmod: cannot access `/etc/buxton2/*': No such file or directory [ 49s] /etc/buxton2/*: No such file or directory [ 49s] chmod: cannot access `/var/lib/buxton2/*': No such file or directory [ 49s] /var/lib/buxton2/*: No such file or directory [ 49s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.17/etc/nsswitch.conf... [ 49s] now finalizing build dir... [ 50s] ----------------------------------------------------------------- [ 50s] ----- building pkgmgr-server.spec (user abuild) [ 50s] ----------------------------------------------------------------- [ 50s] ----------------------------------------------------------------- [ 51s] + 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 [ 51s] Building target platforms: armv7l-tizen-linux [ 51s] Building for target armv7l-tizen-linux [ 51s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mkqUlc [ 51s] + umask 022 [ 51s] + cd /home/abuild/rpmbuild/BUILD [ 51s] + cd /home/abuild/rpmbuild/BUILD [ 51s] + rm -rf pkgmgr-server-1.0.15 [ 51s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/pkgmgr-server-1.0.15.tar.gz [ 51s] + /bin/tar -xof - [ 51s] + STATUS=0 [ 51s] + '[' 0 -ne 0 ']' [ 51s] + cd pkgmgr-server-1.0.15 [ 51s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 51s] + cp /home/abuild/rpmbuild/SOURCES/pkgmgr-server.manifest . [ 51s] + tidlc -s -l C -e -i ./tidl_pkgmgr_server/PkgMgr.tidl -o tidl_pkgmgr_server [ 51s] + mv tidl_pkgmgr_server.c tidl_pkgmgr_server.h ./tidl_pkgmgr_server/ [ 51s] + exit 0 [ 51s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vaBYHz [ 51s] + umask 022 [ 51s] + cd /home/abuild/rpmbuild/BUILD [ 51s] + cd pkgmgr-server-1.0.15 [ 51s] + ref=/usr/lib/rpm [ 51s] + mints=0 [ 51s] + case $(uname -m) in [ 51s] ++ uname -m [ 51s] + for s in guess sub [ 51s] ++ find -maxdepth 8 -name config.guess [ 51s] + for s in guess sub [ 51s] ++ find -maxdepth 8 -name config.sub [ 51s] + LANG=C [ 51s] + export LANG [ 51s] + unset DISPLAY [ 51s] + 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' [ 51s] + export CFLAGS [ 51s] + 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' [ 51s] + export CXXFLAGS [ 51s] + 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' [ 51s] + export FFLAGS [ 51s] + LDFLAGS= [ 51s] + export LDFLAGS [ 51s] + 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' [ 51s] + 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' [ 51s] + 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' [ 51s] + 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' [ 51s] + 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' [ 51s] + 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' [ 51s] ++ echo 1.0.15 [ 51s] ++ awk 'BEGIN {FS="."}{print $1}' [ 51s] + MAJORVER=1 [ 51s] + 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' [ 51s] + export CFLAGS [ 51s] + 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' [ 51s] + export CXXFLAGS [ 51s] + 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' [ 51s] + export FFLAGS [ 51s] + /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 . [ 51s] -- The C compiler identification is GNU 14.2.0 [ 51s] -- The CXX compiler identification is GNU 14.2.0 [ 51s] -- Detecting C compiler ABI info [ 51s] -- Detecting C compiler ABI info - done [ 51s] -- Check for working C compiler: /bin/cc - skipped [ 51s] -- Detecting C compile features [ 51s] -- Detecting C compile features - done [ 51s] -- Detecting CXX compiler ABI info [ 51s] -- Detecting CXX compiler ABI info - done [ 51s] -- Check for working CXX compiler: /bin/c++ - skipped [ 51s] -- Detecting CXX compile features [ 51s] -- Detecting CXX compile features - done [ 51s] -- Found PkgConfig: /bin/pkg-config (found version "0.29.2") [ 51s] -- Checking for module 'rpc-port' [ 52s] -- Found rpc-port, version [ 52s] -- Checking for module 'dlog' [ 52s] -- Found dlog, version 1.0 [ 53s] -- Checking for module 'gio-2.0' [ 53s] -- Found gio-2.0, version 2.80.5 [ 54s] -- Checking for module 'glib-2.0' [ 54s] -- Found glib-2.0, version 2.80.5 [ 55s] -- Checking for module 'capi-base-common' [ 55s] -- Found capi-base-common, version 0.4.82 [ 56s] -- Checking for module 'pkgmgr' [ 56s] -- Found pkgmgr, version 0.20.21 [ 57s] -- Checking for module 'libtzplatform-config' [ 57s] -- Found libtzplatform-config, version 2.0 [ 57s] -- Configuring done [ 57s] -- Generating done [ 57s] CMake Warning: [ 57s] Manually-specified variables were not used by the project: [ 57s] [ 57s] FULLVER [ 57s] INCLUDE_INSTALL_DIR [ 57s] MAJORVER [ 57s] SHARE_INSTALL_PREFIX [ 57s] SYSCONF_INSTALL_DIR [ 57s] [ 57s] [ 57s] -- Build files have been written to: /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 57s] + make -j8 [ 57s] /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 [ 57s] /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 [ 57s] make -f CMakeFiles/Makefile2 all [ 58s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 58s] make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/depend [ 58s] make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/depend [ 58s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 58s] 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= [ 58s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 58s] 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= [ 58s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 58s] make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build [ 58s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 58s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 58s] make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build [ 58s] [ 25%] Building C object tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o [ 58s] 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 [ 58s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 58s] [ 50%] Building C object util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o [ 58s] 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 [ 58s] [ 75%] Linking C shared library libutil_pkgmgr_server.so [ 58s] 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 [ 58s] /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 [ 58s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 58s] [ 75%] Built target util_pkgmgr_server [ 60s] [100%] Linking C shared library libtidl_pkgmgr_server.so [ 60s] 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 [ 60s] /bin/cc -fPIC -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed --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 [ 60s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 60s] [100%] Built target tidl_pkgmgr_server [ 60s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 60s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/CMakeFiles 0 [ 60s] + export LD_LIBRARY_PATH=:/usr/lib/rustlib:/usr/lib/rustlib/dylib [ 60s] + LD_LIBRARY_PATH=:/usr/lib/rustlib:/usr/lib/rustlib/dylib [ 60s] ++ find /usr/lib -maxdepth 1 -name 'libstd-*.so' [ 60s] + __rust_std=/usr/lib/libstd-161dbff30b3b0c00.so [ 60s] + /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 [ 62s] warning: unused import: `boxed` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:4:11 [ 62s] | [ 62s] 4 | use std::{boxed, str}; [ 62s] | ^^^^^ [ 62s] | [ 62s] = note: `#[warn(unused_imports)]` on by default [ 62s] [ 62s] warning: unused import: `std::mem` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:6:5 [ 62s] | [ 62s] 6 | use std::mem; [ 62s] | ^^^^^^^^ [ 62s] [ 62s] warning: unused import: `std::ptr` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:7:5 [ 62s] | [ 62s] 7 | use std::ptr; [ 62s] | ^^^^^^^^ [ 62s] [ 62s] warning: unused import: `malloc` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:8:18 [ 62s] | [ 62s] 8 | use libc::{free, malloc, strlen}; [ 62s] | ^^^^^^ [ 62s] [ 62s] warning: unused import: `super::Server` [ 62s] --> ./src/pkgmgr/server/admin_service.rs:10:5 [ 62s] | [ 62s] 10 | use super::Server; [ 62s] | ^^^^^^^^^^^^^ [ 62s] [ 62s] warning: type `rpc_port_stub_array_string_h` should have an upper camel case name [ 62s] --> ./src/pkgmgr/server/admin_service.rs:23:6 [ 62s] | [ 62s] 23 | type rpc_port_stub_array_string_h = *mut c_void; [ 62s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RpcPortStubArrayStringH` [ 62s] | [ 62s] = note: `#[warn(non_camel_case_types)]` on by default [ 62s] [ 62s] warning: unused imports: `pid_t`, `uid_t` [ 62s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 62s] | [ 62s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 62s] | ^^^^^ ^^^^^ [ 62s] [ 62s] warning: unused imports: `c_int`, `c_void` [ 62s] --> ./src/pkgmgr/server/backend_context.rs:4:16 [ 62s] | [ 62s] 4 | use std::ffi::{c_int, c_void}; [ 62s] | ^^^^^ ^^^^^^ [ 62s] [ 62s] warning: unused import: `std::path::Path` [ 62s] --> ./src/pkgmgr/server/backend_queue.rs:10:5 [ 62s] | [ 62s] 10 | use std::path::Path; [ 62s] | ^^^^^^^^^^^^^^^ [ 62s] [ 62s] warning: denote infinite loops with `loop { ... }` [ 62s] --> ./src/pkgmgr/server/backend_queue.rs:50:9 [ 62s] | [ 62s] 50 | while true { [ 62s] | ^^^^^^^^^^ help: use `loop` [ 62s] | [ 62s] = note: `#[warn(while_true)]` on by default [ 62s] [ 62s] warning: unnecessary parentheses around `if` condition [ 62s] --> ./src/pkgmgr/server/backend_queue.rs:73:8 [ 62s] | [ 62s] 73 | if (mut_queue.is_queue_empty()) { [ 62s] | ^ ^ [ 62s] | [ 62s] = note: `#[warn(unused_parens)]` on by default [ 62s] help: remove these parentheses [ 62s] | [ 62s] 73 - if (mut_queue.is_queue_empty()) { [ 62s] 73 + if mut_queue.is_queue_empty() { [ 62s] | [ 62s] [ 62s] warning: unnecessary trailing semicolon [ 62s] --> ./src/pkgmgr/server/backend_queue.rs:297:17 [ 62s] | [ 62s] 297 | ; [ 62s] | ^ help: remove this semicolon [ 62s] | [ 62s] = note: `#[warn(redundant_semicolons)]` on by default [ 62s] [ 62s] warning: unused import: `super::Server` [ 62s] --> ./src/pkgmgr/server/cache_service.rs:1:5 [ 62s] | [ 62s] 1 | use super::Server; [ 62s] | ^^^^^^^^^^^^^ [ 62s] [ 62s] warning: unused import: `super::Server` [ 62s] --> ./src/pkgmgr/server/delayed_service.rs:1:5 [ 62s] | [ 62s] 1 | use super::Server; [ 62s] | ^^^^^^^^^^^^^ [ 62s] [ 62s] warning: unused import: `super::backend_context::*` [ 62s] --> ./src/pkgmgr/server/delayed_service.rs:4:5 [ 62s] | [ 62s] 4 | use super::backend_context::*; [ 62s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 62s] [ 62s] warning: unused import: `super::request_result::*` [ 62s] --> ./src/pkgmgr/server/delayed_service.rs:5:5 [ 62s] | [ 62s] 5 | use super::request_result::*; [ 62s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 62s] [ 62s] warning: unused import: `super::request_type::*` [ 62s] --> ./src/pkgmgr/server/delayed_service.rs:6:5 [ 62s] | [ 62s] 6 | use super::request_type::*; [ 62s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 62s] [ 62s] warning: unused import: `super::util::*` [ 62s] --> ./src/pkgmgr/server/delayed_service.rs:7:5 [ 62s] | [ 62s] 7 | use super::util::*; [ 62s] | ^^^^^^^^^^^^^^ [ 62s] [ 62s] warning: unused imports: `pid_t`, `uid_t` [ 62s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 62s] | [ 62s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 62s] | ^^^^^ ^^^^^ [ 62s] [ 62s] warning: unused import: `std::io::Error` [ 62s] --> ./src/pkgmgr/server/info_service.rs:3:5 [ 62s] | [ 62s] 3 | use std::io::Error; [ 62s] | ^^^^^^^^^^^^^^ [ 62s] [ 63s] warning: unused import: `std::mem` [ 63s] --> ./src/pkgmgr/server/info_service.rs:6:5 [ 63s] | [ 63s] 6 | use std::mem; [ 63s] | ^^^^^^^^ [ 63s] [ 63s] warning: unused import: `std::ptr` [ 63s] --> ./src/pkgmgr/server/info_service.rs:7:5 [ 63s] | [ 63s] 7 | use std::ptr; [ 63s] | ^^^^^^^^ [ 63s] [ 63s] warning: unused imports: `free`, `malloc`, `strlen` [ 63s] --> ./src/pkgmgr/server/info_service.rs:8:12 [ 63s] | [ 63s] 8 | use libc::{free, malloc, strlen, mkfifo}; [ 63s] | ^^^^ ^^^^^^ ^^^^^^ [ 63s] [ 63s] warning: unused import: `super::Server` [ 63s] --> ./src/pkgmgr/server/info_service.rs:10:5 [ 63s] | [ 63s] 10 | use super::Server; [ 63s] | ^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `super::service::Service` [ 63s] --> ./src/pkgmgr/server/info_service.rs:13:5 [ 63s] | [ 63s] 13 | use super::service::Service; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unnecessary trailing semicolon [ 63s] --> ./src/pkgmgr/server/info_service.rs:49:5 [ 63s] | [ 63s] 49 | ; [ 63s] | ^ help: remove this semicolon [ 63s] [ 63s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_result.rs:7:5 [ 63s] | [ 63s] 7 | GETSIZE_SYNC(String, i32, i32), [ 63s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 63s] [ 63s] warning: variant `GET_GENERATE_LICENSE_RESULT` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_result.rs:8:5 [ 63s] | [ 63s] 8 | GET_GENERATE_LICENSE_RESULT(String, i32, CString, CString), [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetGenerateLicenseResult` [ 63s] [ 63s] warning: variant `MOUNT_INSTALL` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:3:5 [ 63s] | [ 63s] 3 | MOUNT_INSTALL, [ 63s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MountInstall` [ 63s] [ 63s] warning: variant `ENABLE_PKG` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:7:5 [ 63s] | [ 63s] 7 | ENABLE_PKG, [ 63s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnablePkg` [ 63s] [ 63s] warning: variant `DISABLE_PKG` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:8:5 [ 63s] | [ 63s] 8 | DISABLE_PKG, [ 63s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisablePkg` [ 63s] [ 63s] warning: variant `REGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:9:5 [ 63s] | [ 63s] 9 | REGISTER_PKG_UPDATE_INFO, [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterPkgUpdateInfo` [ 63s] [ 63s] warning: variant `UNREGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:10:5 [ 63s] | [ 63s] 10 | UNREGISTER_PKG_UPDATE_INFO, [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterPkgUpdateInfo` [ 63s] [ 63s] warning: variant `UNREGISTER_ALL_PKG_UPDATE_INFO` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:11:5 [ 63s] | [ 63s] 11 | UNREGISTER_ALL_PKG_UPDATE_INFO, [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterAllPkgUpdateInfo` [ 63s] [ 63s] warning: variant `ENABLE_APP` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:12:5 [ 63s] | [ 63s] 12 | ENABLE_APP, [ 63s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableApp` [ 63s] [ 63s] warning: variant `DISABLE_APP` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:13:5 [ 63s] | [ 63s] 13 | DISABLE_APP, [ 63s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableApp` [ 63s] [ 63s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:15:5 [ 63s] | [ 63s] 15 | GETSIZE_SYNC, [ 63s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 63s] [ 63s] warning: variant `ENABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:18:5 [ 63s] | [ 63s] 18 | ENABLE_GLOBAL_APP_FOR_UID, [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableGlobalAppForUid` [ 63s] [ 63s] warning: variant `DISABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:19:5 [ 63s] | [ 63s] 19 | DISABLE_GLOBAL_APP_FOR_UID, [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableGlobalAppForUid` [ 63s] [ 63s] warning: variant `GENERATE_LICENSE_REQUEST` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:22:5 [ 63s] | [ 63s] 22 | GENERATE_LICENSE_REQUEST, [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GenerateLicenseRequest` [ 63s] [ 63s] warning: variant `REGISTER_LICENSE` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:23:5 [ 63s] | [ 63s] 23 | REGISTER_LICENSE, [ 63s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterLicense` [ 63s] [ 63s] warning: variant `DECRYPT_PACKAGE` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:24:5 [ 63s] | [ 63s] 24 | DECRYPT_PACKAGE, [ 63s] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DecryptPackage` [ 63s] [ 63s] warning: variant `ENABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:25:5 [ 63s] | [ 63s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableAppSplashScreen` [ 63s] [ 63s] warning: variant `DISABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:26:5 [ 63s] | [ 63s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableAppSplashScreen` [ 63s] [ 63s] warning: variant `SET_APP_LABEL` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:27:5 [ 63s] | [ 63s] 27 | SET_APP_LABEL, [ 63s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppLabel` [ 63s] [ 63s] warning: variant `SET_APP_ICON` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:28:5 [ 63s] | [ 63s] 28 | SET_APP_ICON, [ 63s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppIcon` [ 63s] [ 63s] warning: variant `MIGRATE_EXTERNAL_IMAGE` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:29:5 [ 63s] | [ 63s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MigrateExternalImage` [ 63s] [ 63s] warning: variant `RESOURCE_SHARE_COPY` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:30:5 [ 63s] | [ 63s] 30 | RESOURCE_SHARE_COPY, [ 63s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCopy` [ 63s] [ 63s] warning: variant `RESOURCE_SHARE_CREATE_DIR` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:31:5 [ 63s] | [ 63s] 31 | RESOURCE_SHARE_CREATE_DIR, [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCreateDir` [ 63s] [ 63s] warning: variant `RESOURCE_SHARE_REMOVE` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:32:5 [ 63s] | [ 63s] 32 | RESOURCE_SHARE_REMOVE, [ 63s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareRemove` [ 63s] [ 63s] warning: variant `RESOURCE_SHARE_UNINSTALL` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:33:5 [ 63s] | [ 63s] 33 | RESOURCE_SHARE_UNINSTALL, [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareUninstall` [ 63s] [ 63s] warning: variant `REMOVE_FILE` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/request_type.rs:34:5 [ 63s] | [ 63s] 34 | REMOVE_FILE, [ 63s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RemoveFile` [ 63s] [ 63s] warning: unused import: `CStr` [ 63s] --> ./src/pkgmgr/server/signal.rs:1:39 [ 63s] | [ 63s] 1 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 63s] | ^^^^ [ 63s] [ 63s] warning: unused import: `pid_t` [ 63s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 63s] | [ 63s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: unused imports: `CStr`, `CString`, `c_char`, `c_void` [ 63s] --> ./src/pkgmgr/server/signal.rs:39:20 [ 63s] | [ 63s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 63s] | ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^ [ 63s] [ 63s] warning: unused import: `pid_t` [ 63s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 63s] | [ 63s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: unused import: `std::cell::RefCell` [ 63s] --> ./src/pkgmgr/server/util.rs:1:5 [ 63s] | [ 63s] 1 | use std::cell::RefCell; [ 63s] | ^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `std::rc::Rc` [ 63s] --> ./src/pkgmgr/server/util.rs:8:5 [ 63s] | [ 63s] 8 | use std::rc::Rc; [ 63s] | ^^^^^^^^^^^ [ 63s] [ 63s] warning: type `xmlChar` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/util.rs:34:6 [ 63s] | [ 63s] 34 | type xmlChar = c_uchar; [ 63s] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlChar` [ 63s] [ 63s] warning: type `xmlTextReaderPtr` should have an upper camel case name [ 63s] --> ./src/pkgmgr/server/util.rs:35:6 [ 63s] | [ 63s] 35 | type xmlTextReaderPtr = *mut c_void; [ 63s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlTextReaderPtr` [ 63s] [ 63s] warning: unused imports: `CStr`, `CString` [ 63s] --> ./src/pkgmgr/server/util.rs:39:43 [ 63s] | [ 63s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 63s] | ^^^^ ^^^^^^^ [ 63s] [ 63s] warning: unused import: `pid_t` [ 63s] --> ./src/pkgmgr/server/util.rs:40:37 [ 63s] | [ 63s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: unnecessary parentheses around `if` condition [ 63s] --> ./src/pkgmgr/server/util.rs:474:24 [ 63s] | [ 63s] 474 | if (cur == depth + 1) { [ 63s] | ^ ^ [ 63s] | [ 63s] help: remove these parentheses [ 63s] | [ 63s] 474 - if (cur == depth + 1) { [ 63s] 474 + if cur == depth + 1 { [ 63s] | [ 63s] [ 63s] warning: unnecessary parentheses around `if` condition [ 63s] --> ./src/pkgmgr/server/util.rs:571:12 [ 63s] | [ 63s] 571 | if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 63s] | ^ ^ [ 63s] | [ 63s] help: remove these parentheses [ 63s] | [ 63s] 571 - if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 63s] 571 + if unzOpenCurrentFile(uf) != UNZ_OK as c_int { [ 63s] | [ 63s] [ 63s] warning: unused import: `super::super::super::server::signal::*` [ 63s] --> ./src/pkgmgr/server/test/signal_tests.rs:1:5 [ 63s] | [ 63s] 1 | use super::super::super::server::signal::*; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 63s] | [ 63s] 3 | pub mod signal_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `std::ffi::CString` [ 63s] --> ./src/pkgmgr/server/test/signal_tests.rs:2:5 [ 63s] | [ 63s] 2 | use std::ffi::CString; [ 63s] | ^^^^^^^^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 63s] | [ 63s] 3 | pub mod signal_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `std::ffi::CStr` [ 63s] --> ./src/pkgmgr/server/test/signal_tests.rs:3:5 [ 63s] | [ 63s] 3 | use std::ffi::CStr; [ 63s] | ^^^^^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 63s] | [ 63s] 3 | pub mod signal_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `std::ffi::c_char` [ 63s] --> ./src/pkgmgr/server/test/signal_tests.rs:4:5 [ 63s] | [ 63s] 4 | use std::ffi::c_char; [ 63s] | ^^^^^^^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 63s] | [ 63s] 3 | pub mod signal_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `std::mem` [ 63s] --> ./src/pkgmgr/server/test/signal_tests.rs:5:5 [ 63s] | [ 63s] 5 | use std::mem; [ 63s] | ^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 63s] | [ 63s] 3 | pub mod signal_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `mockall::predicate::*` [ 63s] --> ./src/pkgmgr/server/test/signal_tests.rs:6:5 [ 63s] | [ 63s] 6 | use mockall::predicate::*; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 63s] | [ 63s] 3 | pub mod signal_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `mockall::*` [ 63s] --> ./src/pkgmgr/server/test/signal_tests.rs:7:5 [ 63s] | [ 63s] 7 | use mockall::*; [ 63s] | ^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 63s] | [ 63s] 3 | pub mod signal_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused imports: `pid_t`, `uid_t` [ 63s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 63s] | [ 63s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ ^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 63s] | [ 63s] 3 | pub mod signal_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 63s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:1:5 [ 63s] | [ 63s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 63s] | [ 63s] 4 | pub mod admin_service_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `super::super::super::server::admin_service::AdminService` [ 63s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:2:5 [ 63s] | [ 63s] 2 | use super::super::super::server::admin_service::AdminService; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 63s] | [ 63s] 4 | pub mod admin_service_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `super::super::super::server::service::Service` [ 63s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:3:5 [ 63s] | [ 63s] 3 | use super::super::super::server::service::Service; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 63s] | [ 63s] 4 | pub mod admin_service_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 63s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:1:5 [ 63s] | [ 63s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 63s] | [ 63s] 5 | pub mod cache_service_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `super::super::super::server::cache_service::CacheService` [ 63s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:2:5 [ 63s] | [ 63s] 2 | use super::super::super::server::cache_service::CacheService; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 63s] | [ 63s] 5 | pub mod cache_service_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `super::super::super::server::service::Service` [ 63s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:3:5 [ 63s] | [ 63s] 3 | use super::super::super::server::service::Service; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 63s] | [ 63s] 5 | pub mod cache_service_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 63s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:1:5 [ 63s] | [ 63s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 63s] | [ 63s] 6 | pub mod delayed_service_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `super::super::super::server::delayed_service::DelayedService` [ 63s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:2:5 [ 63s] | [ 63s] 2 | use super::super::super::server::delayed_service::DelayedService; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 63s] | [ 63s] 6 | pub mod delayed_service_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `super::super::super::server::service::Service` [ 63s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:3:5 [ 63s] | [ 63s] 3 | use super::super::super::server::service::Service; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 63s] | [ 63s] 6 | pub mod delayed_service_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 63s] --> ./src/pkgmgr/server/test/info_service_tests.rs:1:5 [ 63s] | [ 63s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 63s] | [ 63s] 7 | pub mod info_service_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `super::super::super::server::info_service::InfoService` [ 63s] --> ./src/pkgmgr/server/test/info_service_tests.rs:2:5 [ 63s] | [ 63s] 2 | use super::super::super::server::info_service::InfoService; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 63s] | [ 63s] 7 | pub mod info_service_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `super::super::super::server::service::Service` [ 63s] --> ./src/pkgmgr/server/test/info_service_tests.rs:3:5 [ 63s] | [ 63s] 3 | use super::super::super::server::service::Service; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] | [ 63s] help: consider adding a `#[cfg(test)]` to the containing module [ 63s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 63s] | [ 63s] 7 | pub mod info_service_tests; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `std::cell::RefCell` [ 63s] --> ./src/pkgmgr/server/mod.rs:22:5 [ 63s] | [ 63s] 22 | use std::cell::RefCell; [ 63s] | ^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `std::rc::Rc` [ 63s] --> ./src/pkgmgr/server/mod.rs:26:5 [ 63s] | [ 63s] 26 | use std::rc::Rc; [ 63s] | ^^^^^^^^^^^ [ 63s] [ 63s] warning: unused import: `std::process::Command` [ 63s] --> ./src/main.rs:9:5 [ 63s] | [ 63s] 9 | use std::process::Command; [ 63s] | ^^^^^^^^^^^^^^^^^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:5:26 [ 63s] | [ 63s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] | [ 63s] = note: `#[warn(deprecated)]` on by default [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:5:33 [ 63s] | [ 63s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:20:20 [ 63s] | [ 63s] 20 | const GLOBAL_USER: uid_t = 201; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:322:25 [ 63s] | [ 63s] 322 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:443:25 [ 63s] | [ 63s] 443 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:548:25 [ 63s] | [ 63s] 548 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:595:25 [ 63s] | [ 63s] 595 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:718:25 [ 63s] | [ 63s] 718 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:801:25 [ 63s] | [ 63s] 801 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:853:25 [ 63s] | [ 63s] 853 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:937:25 [ 63s] | [ 63s] 937 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:990:25 [ 63s] | [ 63s] 990 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1015:76 [ 63s] | [ 63s] 1015 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, true) { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1072:25 [ 63s] | [ 63s] 1072 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1097:76 [ 63s] | [ 63s] 1097 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, false) { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1151:25 [ 63s] | [ 63s] 1151 | let mut caller_pid: pid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1152:25 [ 63s] | [ 63s] 1152 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1166:62 [ 63s] | [ 63s] 1166 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1196:66 [ 63s] | [ 63s] 1196 | let ret = Util::RegisterPkgUpdateInfo(handle, uid as uid_t); [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1215:25 [ 63s] | [ 63s] 1215 | let mut caller_pid: pid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1216:25 [ 63s] | [ 63s] 1216 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1230:62 [ 63s] | [ 63s] 1230 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1254:109 [ 63s] | [ 63s] 1254 | RequestResult::DELAYED(generated_req_key, Util::UnregisterPkgUpdateInfo(pkg_id.as_ptr(), uid as uid_t)) [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1270:25 [ 63s] | [ 63s] 1270 | let mut caller_pid: pid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1271:25 [ 63s] | [ 63s] 1271 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1303:95 [ 63s] | [ 63s] 1303 | RequestResult::DELAYED(generated_req_key, Util::UnregisterAllPkgUpdateInfo(uid as uid_t, caller_uid)) [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1312:45 [ 63s] | [ 63s] 1312 | fn handle_enable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1359:60 [ 63s] | [ 63s] 1359 | fn handle_enable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1371:40 [ 63s] | [ 63s] 1371 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1373:40 [ 63s] | [ 63s] 1373 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1380:36 [ 63s] | [ 63s] 1380 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1382:36 [ 63s] | [ 63s] 1382 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1392:36 [ 63s] | [ 63s] 1392 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1394:36 [ 63s] | [ 63s] 1394 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1400:28 [ 63s] | [ 63s] 1400 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1403:46 [ 63s] | [ 63s] 1403 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1404:59 [ 63s] | [ 63s] 1404 | Util::EnableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1405:32 [ 63s] | [ 63s] 1405 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1409:28 [ 63s] | [ 63s] 1409 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1415:46 [ 63s] | [ 63s] 1415 | fn handle_disable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1463:61 [ 63s] | [ 63s] 1463 | fn handle_disable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1475:40 [ 63s] | [ 63s] 1475 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1477:40 [ 63s] | [ 63s] 1477 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1484:36 [ 63s] | [ 63s] 1484 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1486:36 [ 63s] | [ 63s] 1486 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1496:36 [ 63s] | [ 63s] 1496 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1498:36 [ 63s] | [ 63s] 1498 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1504:28 [ 63s] | [ 63s] 1504 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1507:46 [ 63s] | [ 63s] 1507 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1508:60 [ 63s] | [ 63s] 1508 | Util::DisableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1509:32 [ 63s] | [ 63s] 1509 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1513:28 [ 63s] | [ 63s] 1513 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1535:25 [ 63s] | [ 63s] 1535 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1562:70 [ 63s] | [ 63s] 1562 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1588:25 [ 63s] | [ 63s] 1588 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1615:71 [ 63s] | [ 63s] 1615 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1673:74 [ 63s] | [ 63s] 1673 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1735:75 [ 63s] | [ 63s] 1735 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1765:25 [ 63s] | [ 63s] 1765 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1792:85 [ 63s] | [ 63s] 1792 | RequestResult::VAL(handle_enable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1818:25 [ 63s] | [ 63s] 1818 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1845:86 [ 63s] | [ 63s] 1845 | RequestResult::VAL(handle_disable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1863:40 [ 63s] | [ 63s] 1863 | Util::KillAppsInPkg(pkg_id, uid as uid_t) [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1873:25 [ 63s] | [ 63s] 1873 | let mut caller_pid: pid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1874:25 [ 63s] | [ 63s] 1874 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1985:25 [ 63s] | [ 63s] 1985 | let mut caller_pid: pid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:1986:25 [ 63s] | [ 63s] 1986 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2035:25 [ 63s] | [ 63s] 2035 | let mut caller_pid: pid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2036:25 [ 63s] | [ 63s] 2036 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2083:54 [ 63s] | [ 63s] 2083 | Util::EnableGlobalAppSplashScreen(app_id, uid as uid_t) [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2093:55 [ 63s] | [ 63s] 2093 | Util::DisableGlobalAppSplashScreen(app_id, uid as uid_t) [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2105:25 [ 63s] | [ 63s] 2105 | let mut caller_pid: pid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2106:25 [ 63s] | [ 63s] 2106 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2137:102 [ 63s] | [ 63s] 2137 | RequestResult::DELAYED(generated_req_key, Util::update_app_label(app_id.as_ptr(), uid as uid_t , label.as_ptr())) [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2155:25 [ 63s] | [ 63s] 2155 | let mut caller_pid: pid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2156:25 [ 63s] | [ 63s] 2156 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2187:101 [ 63s] | [ 63s] 2187 | RequestResult::DELAYED(generated_req_key, Util::update_app_icon(app_id.as_ptr(), uid as uid_t , icon_path.as_ptr())) [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2312:25 [ 63s] | [ 63s] 2312 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2313:25 [ 63s] | [ 63s] 2313 | let mut caller_pid: pid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2383:25 [ 63s] | [ 63s] 2383 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2384:25 [ 63s] | [ 63s] 2384 | let mut caller_pid: pid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2453:25 [ 63s] | [ 63s] 2453 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2454:25 [ 63s] | [ 63s] 2454 | let mut caller_pid: pid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2532:25 [ 63s] | [ 63s] 2532 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2622:41 [ 63s] | [ 63s] 2622 | if unsafe { check_valid_path(uid as uid_t, pkg_id, file_path) } != 0 { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2681:19 [ 63s] | [ 63s] 2681 | pid: *mut pid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/admin_service.rs:2682:19 [ 63s] | [ 63s] 2682 | uid: *mut uid_t [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 63s] | [ 63s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/backend_context.rs:3:33 [ 63s] | [ 63s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/cache_service.rs:12:26 [ 63s] | [ 63s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/cache_service.rs:12:33 [ 63s] | [ 63s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/cache_service.rs:23:14 [ 63s] | [ 63s] 23 | uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/cache_service.rs:48:17 [ 63s] | [ 63s] 48 | target_uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/cache_service.rs:53:25 [ 63s] | [ 63s] 53 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/cache_service.rs:106:19 [ 63s] | [ 63s] 106 | pid: *mut pid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/cache_service.rs:107:19 [ 63s] | [ 63s] 107 | uid: *mut uid_t [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 63s] | [ 63s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/delayed_service.rs:13:33 [ 63s] | [ 63s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/info_service.rs:2:26 [ 63s] | [ 63s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/info_service.rs:2:33 [ 63s] | [ 63s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/info_service.rs:37:90 [ 63s] | [ 63s] 37 | pub rpc_port_stub_PkgMgr_GetSize_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, get_type: c_int, r... [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/info_service.rs:38:94 [ 63s] | [ 63s] 38 | pub rpc_port_stub_PkgMgr_GetSizeSync_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, get_type: c_in... [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/info_service.rs:40:88 [ 63s] | [ 63s] 40 | pub rpc_port_stub_PkgMgr_Check_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, pid: *mut pid_t, use... [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/info_service.rs:40:128 [ 63s] | [ 63s] 40 | pub rpc_port_stub_PkgMgr_Check_cb: extern "C" fn(context: *mut c_void, target_uid: uid_t, pkg_id: *const c_char, pid: *mut pid_t, use... [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/info_service.rs:54:17 [ 63s] | [ 63s] 54 | target_uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/info_service.rs:60:25 [ 63s] | [ 63s] 60 | let mut caller_pid: pid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/info_service.rs:61:25 [ 63s] | [ 63s] 61 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/info_service.rs:114:17 [ 63s] | [ 63s] 114 | target_uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/info_service.rs:120:25 [ 63s] | [ 63s] 120 | let mut caller_pid: pid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/info_service.rs:121:25 [ 63s] | [ 63s] 121 | let mut caller_uid: uid_t = 0; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/info_service.rs:223:17 [ 63s] | [ 63s] 223 | target_uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/info_service.rs:225:15 [ 63s] | [ 63s] 225 | pid: *mut pid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/info_service.rs:228:43 [ 63s] | [ 63s] 228 | Util::check_app(pkg_id, target_uid as uid_t, pid) [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/info_service.rs:242:19 [ 63s] | [ 63s] 242 | pid: *mut pid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/info_service.rs:243:19 [ 63s] | [ 63s] 243 | uid: *mut uid_t [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/signal.rs:2:26 [ 63s] | [ 63s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 63s] | [ 63s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/signal.rs:99:20 [ 63s] | [ 63s] 99 | const GLOBAL_USER: uid_t = 201; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/signal.rs:101:33 [ 63s] | [ 63s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/signal.rs:101:47 [ 63s] | [ 63s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/signal.rs:102:26 [ 63s] | [ 63s] 102 | let mut uid_vec: Vec = vec![]; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/signal.rs:110:28 [ 63s] | [ 63s] 110 | let mut uids: *mut uid_t = std::ptr::null_mut(); [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/signal.rs:124:14 [ 63s] | [ 63s] 124 | uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/signal.rs:53:44 [ 63s] | [ 63s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/signal.rs:62:14 [ 63s] | [ 63s] 62 | uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/signal.rs:86:14 [ 63s] | [ 63s] 86 | uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/signal.rs:40:30 [ 63s] | [ 63s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 63s] | [ 63s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/signal.rs:44:45 [ 63s] | [ 63s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:4:26 [ 63s] | [ 63s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:4:33 [ 63s] | [ 63s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:22:21 [ 63s] | [ 63s] 22 | const REGULAR_USER: uid_t = 5000; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:23:20 [ 63s] | [ 63s] 23 | const GLOBAL_USER: uid_t = 201; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:25:18 [ 63s] | [ 63s] 25 | const APPFW_UID: uid_t = 301; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:307:36 [ 63s] | [ 63s] 307 | let uid : uid_t = user_data as uid_t; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:307:15 [ 63s] | [ 63s] 307 | let uid : uid_t = user_data as uid_t; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:326:81 [ 63s] | [ 63s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:326:93 [ 63s] | [ 63s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:326:25 [ 63s] | [ 63s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:326:37 [ 63s] | [ 63s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:389:57 [ 63s] | [ 63s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:420:55 [ 63s] | [ 63s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:686:62 [ 63s] | [ 63s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:696:63 [ 63s] | [ 63s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:706:44 [ 63s] | [ 63s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:706:63 [ 63s] | [ 63s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:728:49 [ 63s] | [ 63s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:738:50 [ 63s] | [ 63s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:747:55 [ 63s] | [ 63s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:757:56 [ 63s] | [ 63s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:766:61 [ 63s] | [ 63s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:775:62 [ 63s] | [ 63s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:784:67 [ 63s] | [ 63s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:793:68 [ 63s] | [ 63s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:802:54 [ 63s] | [ 63s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:802:64 [ 63s] | [ 63s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:813:47 [ 63s] | [ 63s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:835:53 [ 63s] | [ 63s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:855:25 [ 63s] | [ 63s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:983:69 [ 63s] | [ 63s] 983 | pub fn get_application_info_by_appid(appid: *const c_char, uid: uid_t) -> Option<(CString, bool)> { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:1012:41 [ 63s] | [ 63s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:1012:53 [ 63s] | [ 63s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:1029:71 [ 63s] | [ 63s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:1029:90 [ 63s] | [ 63s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:1076:56 [ 63s] | [ 63s] 1076 | pub fn update_app_label(appid: *const c_char, uid: uid_t, label: *const c_char) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:1080:55 [ 63s] | [ 63s] 1080 | pub fn update_app_icon(appid: *const c_char, uid: uid_t, icon_path: *const c_char) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:1108:49 [ 63s] | [ 63s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:1108:66 [ 63s] | [ 63s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:156:14 [ 63s] | [ 63s] 156 | uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:166:14 [ 63s] | [ 63s] 166 | uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:180:14 [ 63s] | [ 63s] 180 | uid: uid_t [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:185:14 [ 63s] | [ 63s] 185 | uid: uid_t [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:189:14 [ 63s] | [ 63s] 189 | uid: uid_t [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:194:14 [ 63s] | [ 63s] 194 | uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:200:14 [ 63s] | [ 63s] 200 | uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:206:14 [ 63s] | [ 63s] 206 | uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:212:14 [ 63s] | [ 63s] 212 | uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:218:14 [ 63s] | [ 63s] 218 | uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:224:14 [ 63s] | [ 63s] 224 | uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:237:32 [ 63s] | [ 63s] 237 | fn gum_user_get_sync(uid : uid_t, offline : c_int) -> *mut c_void; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:266:21 [ 63s] | [ 63s] 266 | caller_uid: uid_t [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:274:14 [ 63s] | [ 63s] 274 | uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:40:30 [ 63s] | [ 63s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:40:37 [ 63s] | [ 63s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:46:18 [ 63s] | [ 63s] 46 | uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:52:18 [ 63s] | [ 63s] 52 | uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:67:18 [ 63s] | [ 63s] 67 | uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:101:18 [ 63s] | [ 63s] 101 | uid: uid_t, [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:122:70 [ 63s] | [ 63s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:123:66 [ 63s] | [ 63s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:124:59 [ 63s] | [ 63s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/util.rs:125:97 [ 63s] | [ 63s] 125 | pub fn aul_app_get_pkgid_bypid_for_uid(pid: c_int, pkgid: *mut c_char, len: c_int, uid: uid_t) -> c_int; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 63s] | [ 63s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 63s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 63s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 63s] | [ 63s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 63s] | ^^^^^ [ 63s] [ 67s] warning: unreachable expression [ 67s] --> ./src/pkgmgr/server/backend_queue.rs:64:5 [ 67s] | [ 67s] 61 | return G_SOURCE_CONTINUE; [ 67s] | ------------------------ any code following this expression is unreachable [ 67s] ... [ 67s] 64 | 1 [ 67s] | ^ unreachable expression [ 67s] | [ 67s] = note: `#[warn(unreachable_code)]` on by default [ 67s] [ 70s] warning: unused variable: `context` [ 70s] --> ./src/pkgmgr/server/admin_service.rs:297:5 [ 70s] | [ 70s] 297 | context: *mut c_void, [ 70s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 70s] | [ 70s] = note: `#[warn(unused_variables)]` on by default [ 70s] [ 70s] warning: unused variable: `context` [ 70s] --> ./src/pkgmgr/server/admin_service.rs:306:5 [ 70s] | [ 70s] 306 | context: *mut c_void, [ 70s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 70s] [ 70s] warning: unused variable: `user_data` [ 70s] --> ./src/pkgmgr/server/admin_service.rs:307:5 [ 70s] | [ 70s] 307 | user_data: *mut c_void, [ 70s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 70s] [ 70s] warning: unused variable: `ret` [ 70s] --> ./src/pkgmgr/server/admin_service.rs:323:9 [ 70s] | [ 70s] 323 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 70s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 70s] [ 70s] warning: unused variable: `req_id` [ 70s] --> ./src/pkgmgr/server/admin_service.rs:318:5 [ 70s] | [ 70s] 318 | req_id: *const c_char, [ 70s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 70s] [ 70s] warning: variable does not need to be mutable [ 70s] --> ./src/pkgmgr/server/admin_service.rs:415:9 [ 70s] | [ 70s] 415 | let mut backend_context = BackendContext::new( [ 70s] | ----^^^^^^^^^^^^^^^ [ 70s] | | [ 70s] | help: remove this `mut` [ 70s] | [ 70s] = note: `#[warn(unused_mut)]` on by default [ 70s] [ 70s] warning: unused variable: `ret` [ 70s] --> ./src/pkgmgr/server/admin_service.rs:444:9 [ 70s] | [ 70s] 444 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 70s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 70s] [ 70s] warning: unused variable: `req_id` [ 70s] --> ./src/pkgmgr/server/admin_service.rs:434:5 [ 70s] | [ 70s] 434 | req_id: *const c_char, [ 70s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 70s] [ 70s] warning: variable does not need to be mutable [ 70s] --> ./src/pkgmgr/server/admin_service.rs:510:9 [ 70s] | [ 70s] 510 | let mut backend_context = BackendContext::new( [ 70s] | ----^^^^^^^^^^^^^^^ [ 70s] | | [ 70s] | help: remove this `mut` [ 70s] [ 70s] warning: unused variable: `ret` [ 70s] --> ./src/pkgmgr/server/admin_service.rs:549:9 [ 70s] | [ 70s] 549 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 70s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 70s] [ 70s] warning: variable does not need to be mutable [ 70s] --> ./src/pkgmgr/server/admin_service.rs:571:9 [ 70s] | [ 70s] 571 | let mut backend_context = BackendContext::new( [ 70s] | ----^^^^^^^^^^^^^^^ [ 70s] | | [ 70s] | help: remove this `mut` [ 70s] [ 70s] warning: unused variable: `ret` [ 70s] --> ./src/pkgmgr/server/admin_service.rs:596:9 [ 70s] | [ 70s] 596 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 70s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 70s] [ 70s] warning: unused variable: `req_id` [ 70s] --> ./src/pkgmgr/server/admin_service.rs:591:5 [ 70s] | [ 70s] 591 | req_id: *const c_char, [ 70s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 70s] [ 70s] warning: variable does not need to be mutable [ 70s] --> ./src/pkgmgr/server/admin_service.rs:688:9 [ 70s] | [ 70s] 688 | let mut backend_context = BackendContext::new( [ 70s] | ----^^^^^^^^^^^^^^^ [ 70s] | | [ 70s] | help: remove this `mut` [ 70s] [ 70s] warning: unused variable: `ret` [ 70s] --> ./src/pkgmgr/server/admin_service.rs:719:9 [ 70s] | [ 70s] 719 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 70s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 70s] [ 70s] warning: unused variable: `req_id` [ 70s] --> ./src/pkgmgr/server/admin_service.rs:706:5 [ 70s] | [ 70s] 706 | req_id: *const c_char, [ 70s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 70s] [ 70s] warning: variable does not need to be mutable [ 70s] --> ./src/pkgmgr/server/admin_service.rs:763:9 [ 70s] | [ 70s] 763 | let mut backend_context = BackendContext::new( [ 70s] | ----^^^^^^^^^^^^^^^ [ 70s] | | [ 70s] | help: remove this `mut` [ 70s] [ 70s] warning: unused variable: `ret` [ 70s] --> ./src/pkgmgr/server/admin_service.rs:802:9 [ 70s] | [ 70s] 802 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 70s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 70s] [ 70s] warning: variable does not need to be mutable [ 70s] --> ./src/pkgmgr/server/admin_service.rs:824:9 [ 70s] | [ 70s] 824 | let mut backend_context = BackendContext::new( [ 70s] | ----^^^^^^^^^^^^^^^ [ 70s] | | [ 70s] | help: remove this `mut` [ 70s] [ 70s] warning: unused variable: `ret` [ 70s] --> ./src/pkgmgr/server/admin_service.rs:854:9 [ 70s] | [ 70s] 854 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 70s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 70s] [ 70s] warning: variable does not need to be mutable [ 70s] --> ./src/pkgmgr/server/admin_service.rs:898:9 [ 70s] | [ 70s] 898 | let mut backend_context = BackendContext::new( [ 70s] | ----^^^^^^^^^^^^^^^ [ 70s] | | [ 70s] | help: remove this `mut` [ 70s] [ 70s] warning: unused variable: `ret` [ 70s] --> ./src/pkgmgr/server/admin_service.rs:938:9 [ 70s] | [ 70s] 938 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 70s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 70s] [ 70s] warning: variable does not need to be mutable [ 70s] --> ./src/pkgmgr/server/admin_service.rs:961:9 [ 70s] | [ 70s] 961 | let mut backend_context = BackendContext::new( [ 70s] | ----^^^^^^^^^^^^^^^ [ 70s] | | [ 70s] | help: remove this `mut` [ 70s] [ 70s] warning: unused variable: `ret` [ 70s] --> ./src/pkgmgr/server/admin_service.rs:991:9 [ 70s] | [ 70s] 991 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 70s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 70s] [ 70s] warning: variable does not need to be mutable [ 70s] --> ./src/pkgmgr/server/admin_service.rs:1038:17 [ 70s] | [ 70s] 1038 | let mut backend_context = BackendContext::new( [ 70s] | ----^^^^^^^^^^^^^^^ [ 70s] | | [ 70s] | help: remove this `mut` [ 70s] [ 70s] warning: unused variable: `ret` [ 70s] --> ./src/pkgmgr/server/admin_service.rs:1073:9 [ 70s] | [ 70s] 1073 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 70s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 70s] [ 70s] warning: variable does not need to be mutable [ 70s] --> ./src/pkgmgr/server/admin_service.rs:1123:17 [ 70s] | [ 70s] 1123 | let mut backend_context = BackendContext::new( [ 70s] | ----^^^^^^^^^^^^^^^ [ 70s] | | [ 70s] | help: remove this `mut` [ 70s] [ 70s] warning: unused variable: `pkg_id` [ 70s] --> ./src/pkgmgr/server/admin_service.rs:1186:9 [ 70s] | [ 70s] 1186 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) }); [ 70s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 70s] [ 70s] warning: variable does not need to be mutable [ 70s] --> ./src/pkgmgr/server/admin_service.rs:1180:9 [ 70s] | [ 70s] 1180 | let mut handle : *mut c_void = Util::CreatePkgUpdateInfo(pkg_id, version, update_type); [ 70s] | ----^^^^^^ [ 70s] | | [ 70s] | help: remove this `mut` [ 70s] [ 70s] warning: variable does not need to be mutable [ 70s] --> ./src/pkgmgr/server/admin_service.rs:1190:9 [ 70s] | [ 70s] 1190 | let mut backend_context = BackendContext::new( [ 70s] | ----^^^^^^^^^^^^^^^ [ 70s] | | [ 70s] | help: remove this `mut` [ 70s] [ 70s] warning: variable does not need to be mutable [ 70s] --> ./src/pkgmgr/server/admin_service.rs:1248:9 [ 70s] | [ 70s] 1248 | let mut backend_context = BackendContext::new( [ 70s] | ----^^^^^^^^^^^^^^^ [ 70s] | | [ 70s] | help: remove this `mut` [ 70s] [ 70s] warning: variable does not need to be mutable [ 70s] --> ./src/pkgmgr/server/admin_service.rs:1297:9 [ 70s] | [ 70s] 1297 | let mut backend_context = BackendContext::new( [ 70s] | ----^^^^^^^^^^^^^^^ [ 70s] | | [ 70s] | help: remove this `mut` [ 70s] [ 70s] warning: unused variable: `is_global` [ 70s] --> ./src/pkgmgr/server/admin_service.rs:1321:17 [ 70s] | [ 70s] 1321 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 70s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 70s] [ 71s] warning: unused variable: `is_global` [ 71s] --> ./src/pkgmgr/server/admin_service.rs:1368:17 [ 71s] | [ 71s] 1368 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 71s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 71s] [ 71s] warning: unused variable: `is_global` [ 71s] --> ./src/pkgmgr/server/admin_service.rs:1424:17 [ 71s] | [ 71s] 1424 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 71s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 71s] [ 71s] warning: unused variable: `is_global` [ 71s] --> ./src/pkgmgr/server/admin_service.rs:1472:17 [ 71s] | [ 71s] 1472 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 71s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 71s] [ 71s] warning: unused variable: `caller_uid` [ 71s] --> ./src/pkgmgr/server/admin_service.rs:1535:13 [ 71s] | [ 71s] 1535 | let mut caller_uid: uid_t = 0; [ 71s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 71s] [ 71s] warning: unused variable: `context` [ 71s] --> ./src/pkgmgr/server/admin_service.rs:1521:5 [ 71s] | [ 71s] 1521 | context: *mut c_void, [ 71s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 71s] [ 71s] warning: variable does not need to be mutable [ 71s] --> ./src/pkgmgr/server/admin_service.rs:1535:9 [ 71s] | [ 71s] 1535 | let mut caller_uid: uid_t = 0; [ 71s] | ----^^^^^^^^^^ [ 71s] | | [ 71s] | help: remove this `mut` [ 71s] [ 71s] warning: variable does not need to be mutable [ 71s] --> ./src/pkgmgr/server/admin_service.rs:1558:13 [ 71s] | [ 71s] 1558 | let mut backend_context = BackendContext::new( [ 71s] | ----^^^^^^^^^^^^^^^ [ 71s] | | [ 71s] | help: remove this `mut` [ 71s] [ 71s] warning: unused variable: `caller_uid` [ 71s] --> ./src/pkgmgr/server/admin_service.rs:1588:13 [ 71s] | [ 71s] 1588 | let mut caller_uid: uid_t = 0; [ 71s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 71s] [ 71s] warning: unused variable: `context` [ 71s] --> ./src/pkgmgr/server/admin_service.rs:1574:5 [ 71s] | [ 71s] 1574 | context: *mut c_void, [ 71s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 71s] [ 71s] warning: variable does not need to be mutable [ 71s] --> ./src/pkgmgr/server/admin_service.rs:1588:9 [ 71s] | [ 71s] 1588 | let mut caller_uid: uid_t = 0; [ 71s] | ----^^^^^^^^^^ [ 71s] | | [ 71s] | help: remove this `mut` [ 71s] [ 71s] warning: variable does not need to be mutable [ 71s] --> ./src/pkgmgr/server/admin_service.rs:1611:13 [ 71s] | [ 71s] 1611 | let mut backend_context = BackendContext::new( [ 71s] | ----^^^^^^^^^^^^^^^ [ 71s] | | [ 71s] | help: remove this `mut` [ 71s] [ 71s] warning: unused variable: `context` [ 71s] --> ./src/pkgmgr/server/admin_service.rs:1627:5 [ 71s] | [ 71s] 1627 | context: *mut c_void, [ 71s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 71s] [ 71s] warning: variable does not need to be mutable [ 71s] --> ./src/pkgmgr/server/admin_service.rs:1669:17 [ 71s] | [ 71s] 1669 | let mut backend_context = BackendContext::new( [ 71s] | ----^^^^^^^^^^^^^^^ [ 71s] | | [ 71s] | help: remove this `mut` [ 71s] [ 71s] warning: unused variable: `context` [ 71s] --> ./src/pkgmgr/server/admin_service.rs:1689:5 [ 71s] | [ 71s] 1689 | context: *mut c_void, [ 71s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 71s] [ 71s] warning: variable does not need to be mutable [ 71s] --> ./src/pkgmgr/server/admin_service.rs:1731:17 [ 71s] | [ 71s] 1731 | let mut backend_context = BackendContext::new( [ 71s] | ----^^^^^^^^^^^^^^^ [ 71s] | | [ 71s] | help: remove this `mut` [ 71s] [ 71s] warning: unused variable: `caller_uid` [ 71s] --> ./src/pkgmgr/server/admin_service.rs:1765:13 [ 71s] | [ 71s] 1765 | let mut caller_uid: uid_t = 0; [ 71s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 71s] [ 71s] warning: unused variable: `context` [ 71s] --> ./src/pkgmgr/server/admin_service.rs:1751:5 [ 71s] | [ 71s] 1751 | context: *mut c_void, [ 71s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 71s] [ 71s] warning: variable does not need to be mutable [ 71s] --> ./src/pkgmgr/server/admin_service.rs:1765:9 [ 71s] | [ 71s] 1765 | let mut caller_uid: uid_t = 0; [ 71s] | ----^^^^^^^^^^ [ 71s] | | [ 71s] | help: remove this `mut` [ 71s] [ 71s] warning: variable does not need to be mutable [ 71s] --> ./src/pkgmgr/server/admin_service.rs:1788:13 [ 71s] | [ 71s] 1788 | let mut backend_context = BackendContext::new( [ 71s] | ----^^^^^^^^^^^^^^^ [ 71s] | | [ 71s] | help: remove this `mut` [ 71s] [ 71s] warning: unused variable: `caller_uid` [ 71s] --> ./src/pkgmgr/server/admin_service.rs:1818:13 [ 71s] | [ 71s] 1818 | let mut caller_uid: uid_t = 0; [ 71s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 71s] [ 71s] warning: unused variable: `context` [ 71s] --> ./src/pkgmgr/server/admin_service.rs:1804:5 [ 71s] | [ 71s] 1804 | context: *mut c_void, [ 71s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 71s] [ 71s] warning: variable does not need to be mutable [ 71s] --> ./src/pkgmgr/server/admin_service.rs:1818:9 [ 71s] | [ 71s] 1818 | let mut caller_uid: uid_t = 0; [ 71s] | ----^^^^^^^^^^ [ 71s] | | [ 71s] | help: remove this `mut` [ 71s] [ 71s] warning: variable does not need to be mutable [ 71s] --> ./src/pkgmgr/server/admin_service.rs:1841:13 [ 71s] | [ 71s] 1841 | let mut backend_context = BackendContext::new( [ 71s] | ----^^^^^^^^^^^^^^^ [ 71s] | | [ 71s] | help: remove this `mut` [ 71s] [ 71s] warning: unused variable: `context` [ 71s] --> ./src/pkgmgr/server/admin_service.rs:1857:5 [ 71s] | [ 71s] 1857 | context: *mut c_void, [ 71s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 71s] [ 71s] warning: unused variable: `pid` [ 71s] --> ./src/pkgmgr/server/admin_service.rs:1860:5 [ 71s] | [ 71s] 1860 | pid: *mut c_int, [ 71s] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [ 71s] [ 71s] warning: unused variable: `user_data` [ 71s] --> ./src/pkgmgr/server/admin_service.rs:1861:5 [ 71s] | [ 71s] 1861 | user_data: *mut c_void, [ 71s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 71s] [ 71s] warning: variable does not need to be mutable [ 71s] --> ./src/pkgmgr/server/admin_service.rs:1900:9 [ 71s] | [ 71s] 1900 | let mut backend_context = BackendContext::new( [ 71s] | ----^^^^^^^^^^^^^^^ [ 71s] | | [ 71s] | help: remove this `mut` [ 71s] [ 71s] warning: unused variable: `context` [ 71s] --> ./src/pkgmgr/server/admin_service.rs:1932:5 [ 71s] | [ 71s] 1932 | context: *mut c_void, [ 71s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 71s] [ 71s] warning: variable does not need to be mutable [ 71s] --> ./src/pkgmgr/server/admin_service.rs:2012:9 [ 71s] | [ 71s] 2012 | let mut backend_context = BackendContext::new( [ 71s] | ----^^^^^^^^^^^^^^^ [ 71s] | | [ 71s] | help: remove this `mut` [ 71s] [ 71s] warning: variable does not need to be mutable [ 71s] --> ./src/pkgmgr/server/admin_service.rs:2063:9 [ 71s] | [ 71s] 2063 | let mut backend_context = BackendContext::new( [ 71s] | ----^^^^^^^^^^^^^^^ [ 71s] | | [ 71s] | help: remove this `mut` [ 71s] [ 71s] warning: unused variable: `context` [ 71s] --> ./src/pkgmgr/server/admin_service.rs:2078:5 [ 71s] | [ 71s] 2078 | context: *mut c_void, [ 71s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 71s] [ 71s] warning: unused variable: `user_data` [ 71s] --> ./src/pkgmgr/server/admin_service.rs:2081:5 [ 71s] | [ 71s] 2081 | user_data: *mut c_void, [ 71s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 71s] [ 71s] warning: unused variable: `context` [ 71s] --> ./src/pkgmgr/server/admin_service.rs:2088:5 [ 71s] | [ 71s] 2088 | context: *mut c_void, [ 71s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 71s] [ 71s] warning: unused variable: `user_data` [ 71s] --> ./src/pkgmgr/server/admin_service.rs:2091:5 [ 71s] | [ 71s] 2091 | user_data: *mut c_void, [ 71s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 71s] [ 71s] warning: variable does not need to be mutable [ 71s] --> ./src/pkgmgr/server/admin_service.rs:2133:9 [ 71s] | [ 71s] 2133 | let mut backend_context = BackendContext::new( [ 71s] | ----^^^^^^^^^^^^^^^ [ 71s] | | [ 71s] | help: remove this `mut` [ 71s] [ 71s] warning: variable does not need to be mutable [ 71s] --> ./src/pkgmgr/server/admin_service.rs:2183:9 [ 71s] | [ 71s] 2183 | let mut backend_context = BackendContext::new( [ 71s] | ----^^^^^^^^^^^^^^^ [ 71s] | | [ 71s] | help: remove this `mut` [ 71s] [ 71s] warning: unused variable: `context` [ 71s] --> ./src/pkgmgr/server/admin_service.rs:2198:5 [ 71s] | [ 71s] 2198 | context: *mut c_void, [ 71s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 71s] [ 71s] warning: unused variable: `uid` [ 71s] --> ./src/pkgmgr/server/admin_service.rs:2199:5 [ 71s] | [ 71s] 2199 | uid: c_int, [ 71s] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [ 71s] [ 71s] warning: unused variable: `pkg_id` [ 71s] --> ./src/pkgmgr/server/admin_service.rs:2200:5 [ 71s] | [ 71s] 2200 | pkg_id: *const c_char, [ 71s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 71s] [ 71s] warning: unused variable: `user_data` [ 71s] --> ./src/pkgmgr/server/admin_service.rs:2201:5 [ 71s] | [ 71s] 2201 | user_data: *mut c_void, [ 71s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 71s] [ 71s] warning: variable does not need to be mutable [ 71s] --> ./src/pkgmgr/server/admin_service.rs:2364:9 [ 71s] | [ 71s] 2364 | let mut backend_context = BackendContext::new( [ 71s] | ----^^^^^^^^^^^^^^^ [ 71s] | | [ 71s] | help: remove this `mut` [ 71s] [ 71s] warning: variable does not need to be mutable [ 71s] --> ./src/pkgmgr/server/admin_service.rs:2434:9 [ 71s] | [ 71s] 2434 | let mut backend_context = BackendContext::new( [ 71s] | ----^^^^^^^^^^^^^^^ [ 71s] | | [ 71s] | help: remove this `mut` [ 71s] [ 71s] warning: variable does not need to be mutable [ 71s] --> ./src/pkgmgr/server/admin_service.rs:2504:9 [ 71s] | [ 71s] 2504 | let mut backend_context = BackendContext::new( [ 71s] | ----^^^^^^^^^^^^^^^ [ 71s] | | [ 71s] | help: remove this `mut` [ 71s] [ 71s] warning: unused variable: `ret` [ 71s] --> ./src/pkgmgr/server/admin_service.rs:2533:9 [ 71s] | [ 71s] 2533 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 71s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 71s] [ 71s] warning: variable does not need to be mutable [ 71s] --> ./src/pkgmgr/server/admin_service.rs:2552:9 [ 71s] | [ 71s] 2552 | let mut backend_context = BackendContext::new( [ 71s] | ----^^^^^^^^^^^^^^^ [ 71s] | | [ 71s] | help: remove this `mut` [ 71s] [ 71s] warning: unused variable: `context` [ 71s] --> ./src/pkgmgr/server/admin_service.rs:2567:5 [ 71s] | [ 71s] 2567 | context: *mut c_void, [ 71s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 71s] [ 71s] warning: variable does not need to be mutable [ 71s] --> ./src/pkgmgr/server/admin_service.rs:2597:9 [ 71s] | [ 71s] 2597 | let mut backend_context = BackendContext::new( [ 71s] | ----^^^^^^^^^^^^^^^ [ 71s] | | [ 71s] | help: remove this `mut` [ 71s] [ 71s] warning: unused variable: `context` [ 71s] --> ./src/pkgmgr/server/admin_service.rs:2612:5 [ 71s] | [ 71s] 2612 | context: *mut c_void, [ 71s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 71s] [ 72s] warning: variable does not need to be mutable [ 72s] --> ./src/pkgmgr/server/admin_service.rs:2656:9 [ 72s] | [ 72s] 2656 | let mut backend_context = BackendContext::new( [ 72s] | ----^^^^^^^^^^^^^^^ [ 72s] | | [ 72s] | help: remove this `mut` [ 72s] [ 72s] warning: unused variable: `status` [ 72s] --> ./src/pkgmgr/server/backend_queue.rs:38:17 [ 72s] | [ 72s] 38 | let mut status: c_int; [ 72s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [ 72s] [ 72s] warning: unused variable: `io` [ 72s] --> ./src/pkgmgr/server/backend_queue.rs:30:33 [ 72s] | [ 72s] 30 | extern "C" fn signal_handler_cb(io: *mut glib_sys::GIOChannel, [ 72s] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [ 72s] [ 72s] warning: unused variable: `cond` [ 72s] --> ./src/pkgmgr/server/backend_queue.rs:31:9 [ 72s] | [ 72s] 31 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 72s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 72s] [ 72s] warning: variable does not need to be mutable [ 72s] --> ./src/pkgmgr/server/backend_queue.rs:71:9 [ 72s] | [ 72s] 71 | let mut mut_queue = queue.borrow_mut(); [ 72s] | ----^^^^^^^^^ [ 72s] | | [ 72s] | help: remove this `mut` [ 72s] [ 72s] warning: variable does not need to be mutable [ 72s] --> ./src/pkgmgr/server/backend_queue.rs:189:28 [ 72s] | [ 72s] 189 | pub fn push(&mut self, mut context: BackendContext) -> i32 { [ 72s] | ----^^^^^^^ [ 72s] | | [ 72s] | help: remove this `mut` [ 72s] [ 72s] warning: unused variable: `req_key` [ 72s] --> ./src/pkgmgr/server/backend_queue.rs:296:41 [ 72s] | [ 72s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 72s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_key` [ 72s] [ 72s] warning: unused variable: `ret` [ 72s] --> ./src/pkgmgr/server/backend_queue.rs:296:50 [ 72s] | [ 72s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 72s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 72s] [ 72s] warning: unused variable: `s` [ 72s] --> ./src/pkgmgr/server/backend_queue.rs:296:55 [ 72s] | [ 72s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 72s] | ^ help: if this is intentional, prefix it with an underscore: `_s` [ 72s] [ 72s] warning: variable does not need to be mutable [ 72s] --> ./src/pkgmgr/server/backend_queue.rs:278:25 [ 72s] | [ 72s] 278 | let mut backend: &mut Backend = backend.unwrap(); [ 72s] | ----^^^^^^^ [ 72s] | | [ 72s] | help: remove this `mut` [ 72s] [ 72s] warning: unused variable: `context` [ 72s] --> ./src/pkgmgr/server/cache_service.rs:31:5 [ 72s] | [ 72s] 31 | context: *mut c_void, [ 72s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 72s] [ 72s] warning: unused variable: `context` [ 72s] --> ./src/pkgmgr/server/cache_service.rs:40:5 [ 72s] | [ 72s] 40 | 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/cache_service.rs:41:5 [ 72s] | [ 72s] 41 | 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/cache_service.rs:54:9 [ 72s] | [ 72s] 54 | let ret = unsafe { rpc_port_stub_PkgMgrForClearCache_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: value assigned to `pkg_type` is never read [ 72s] --> ./src/pkgmgr/server/cache_service.rs:63:13 [ 72s] | [ 72s] 63 | let mut pkg_type: String = String::new(); [ 72s] | ^^^^^^^^ [ 72s] | [ 72s] = help: maybe it is overwritten before being read? [ 72s] = note: `#[warn(unused_assignments)]` on by default [ 72s] [ 72s] warning: variable does not need to be mutable [ 72s] --> ./src/pkgmgr/server/cache_service.rs:83:9 [ 72s] | [ 72s] 83 | let mut backend_context = BackendContext::new( [ 72s] | ----^^^^^^^^^^^^^^^ [ 72s] | | [ 72s] | help: remove this `mut` [ 72s] [ 72s] warning: unused variable: `context` [ 72s] --> ./src/pkgmgr/server/delayed_service.rs:32:5 [ 72s] | [ 72s] 32 | context: *mut c_void, [ 72s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 72s] [ 72s] warning: unused variable: `context` [ 72s] --> ./src/pkgmgr/server/delayed_service.rs:41:5 [ 72s] | [ 72s] 41 | 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/delayed_service.rs:42:5 [ 72s] | [ 72s] 42 | user_data: *mut c_void, [ 72s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 72s] [ 72s] warning: unused variable: `context` [ 72s] --> ./src/pkgmgr/server/delayed_service.rs:48:5 [ 72s] | [ 72s] 48 | context: *mut c_void, [ 72s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 72s] [ 72s] warning: unused variable: `context` [ 72s] --> ./src/pkgmgr/server/info_service.rs:43:55 [ 72s] | [ 72s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 72s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 72s] [ 72s] warning: unused variable: `context` [ 72s] --> ./src/pkgmgr/server/info_service.rs:48:58 [ 72s] | [ 72s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *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/info_service.rs:48:80 [ 72s] | [ 72s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 72s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 72s] [ 72s] warning: variable does not need to be mutable [ 72s] --> ./src/pkgmgr/server/info_service.rs:98:9 [ 72s] | [ 72s] 98 | let mut backend_context = BackendContext::new( [ 72s] | ----^^^^^^^^^^^^^^^ [ 72s] | | [ 72s] | help: remove this `mut` [ 72s] [ 72s] warning: variable does not need to be mutable [ 72s] --> ./src/pkgmgr/server/info_service.rs:160:9 [ 72s] | [ 72s] 160 | let mut backend_context = BackendContext::new( [ 72s] | ----^^^^^^^^^^^^^^^ [ 72s] | | [ 72s] | help: remove this `mut` [ 72s] [ 72s] warning: unused variable: `context` [ 72s] --> ./src/pkgmgr/server/info_service.rs:195:5 [ 72s] | [ 72s] 195 | context: *mut c_void, [ 72s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 72s] [ 72s] warning: unused variable: `context` [ 72s] --> ./src/pkgmgr/server/info_service.rs:222:5 [ 72s] | [ 72s] 222 | 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/info_service.rs:226:5 [ 72s] | [ 72s] 226 | user_data: *mut c_void [ 72s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 72s] [ 73s] warning: variable does not need to be mutable [ 73s] --> ./src/pkgmgr/server/signal.rs:144:13 [ 73s] | [ 73s] 144 | let mut c_req_type: c_int; [ 73s] | ----^^^^^^^^^^ [ 73s] | | [ 73s] | help: remove this `mut` [ 73s] [ 73s] warning: value assigned to `size_result` is never read [ 73s] --> ./src/pkgmgr/server/util.rs:351:17 [ 73s] | [ 73s] 351 | let mut size_result: i64 = -1; [ 73s] | ^^^^^^^^^^^ [ 73s] | [ 73s] = help: maybe it is overwritten before being read? [ 73s] [ 73s] warning: unused variable: `cond` [ 73s] --> ./src/pkgmgr/server/util.rs:341:9 [ 73s] | [ 73s] 341 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 73s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 73s] [ 73s] warning: value assigned to `ret` is never read [ 73s] --> ./src/pkgmgr/server/util.rs:425:21 [ 73s] | [ 73s] 425 | let mut ret: c_int = 0; [ 73s] | ^^^ [ 73s] | [ 73s] = help: maybe it is overwritten before being read? [ 73s] [ 73s] warning: unreachable pattern [ 73s] --> ./src/pkgmgr/server/util.rs:478:17 [ 73s] | [ 73s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 73s] | -------------------------------------- matches any value [ 73s] ... [ 73s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 73s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 73s] | [ 73s] = note: `#[warn(unreachable_patterns)]` on by default [ 73s] [ 73s] warning: unreachable pattern [ 73s] --> ./src/pkgmgr/server/util.rs:483:17 [ 73s] | [ 73s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 73s] | -------------------------------------- matches any value [ 73s] ... [ 73s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 73s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 73s] [ 73s] warning: unreachable pattern [ 73s] --> ./src/pkgmgr/server/util.rs:488:17 [ 73s] | [ 73s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 73s] | -------------------------------------- matches any value [ 73s] ... [ 73s] 488 | _ => { [ 73s] | ^ unreachable pattern [ 73s] [ 73s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 73s] --> ./src/pkgmgr/server/util.rs:473:17 [ 73s] | [ 73s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 73s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 73s] [ 73s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_TEXT` [ 73s] --> ./src/pkgmgr/server/util.rs:478:17 [ 73s] | [ 73s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 73s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_TEXT` [ 73s] [ 73s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 73s] --> ./src/pkgmgr/server/util.rs:483:17 [ 73s] | [ 73s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 73s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 73s] [ 73s] warning: variable does not need to be mutable [ 73s] --> ./src/pkgmgr/server/util.rs:519:13 [ 73s] | [ 73s] 519 | let mut attr = xmlTextReaderGetAttribute(reader, RES_TYPE_ATTRIBUTE_KEY.as_ptr()); [ 73s] | ----^^^^ [ 73s] | | [ 73s] | help: remove this `mut` [ 73s] [ 73s] warning: variable does not need to be mutable [ 73s] --> ./src/pkgmgr/server/util.rs:588:13 [ 73s] | [ 73s] 588 | let mut reader = [ 73s] | ----^^^^^^ [ 73s] | | [ 73s] | help: remove this `mut` [ 73s] [ 73s] warning: unused variable: `gid` [ 73s] --> ./src/pkgmgr/server/util.rs:891:52 [ 73s] | [ 73s] 891 | fn set_environment(mut envs: Vec<&mut String>, gid: libc::gid_t) -> bool { [ 73s] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [ 73s] [ 73s] warning: variable does not need to be mutable [ 73s] --> ./src/pkgmgr/server/mod.rs:89:13 [ 73s] | [ 73s] 89 | let mut backend_queue = BackendQueue::new(self.mainloop); [ 73s] | ----^^^^^^^^^^^^^ [ 73s] | | [ 73s] | help: remove this `mut` [ 73s] [ 73s] warning: unnecessary `unsafe` block [ 73s] --> ./src/pkgmgr/server/admin_service.rs:995:32 [ 73s] | [ 73s] 993 | unsafe { [ 73s] | ------ because it's nested under this `unsafe` block [ 73s] 994 | match CString::new(generated_req_key.clone()) { [ 73s] 995 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 73s] | ^^^^^^ unnecessary `unsafe` block [ 73s] | [ 73s] = note: `#[warn(unused_unsafe)]` on by default [ 73s] [ 73s] warning: unnecessary `unsafe` block [ 73s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 73s] | [ 73s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 73s] | ^^^^^^ unnecessary `unsafe` block [ 73s] | [ 73s] ::: ./src/pkgmgr/server/admin_service.rs:993:5 [ 73s] | [ 73s] 993 | unsafe { [ 73s] | ------ because it's nested under this `unsafe` block [ 73s] ... [ 73s] 997 | error!("Fail to generate req key, err({:?})", e); [ 73s] | ------------------------------------------------ in this macro invocation [ 73s] | [ 73s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 73s] [ 73s] warning: unnecessary `unsafe` block [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1023:46 [ 73s] | [ 73s] 993 | unsafe { [ 73s] | ------ because it's nested under this `unsafe` block [ 73s] ... [ 73s] 1023 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 73s] | ^^^^^^ unnecessary `unsafe` block [ 73s] [ 73s] warning: unnecessary `unsafe` block [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1077:32 [ 73s] | [ 73s] 1075 | unsafe { [ 73s] | ------ because it's nested under this `unsafe` block [ 73s] 1076 | match CString::new(generated_req_key.clone()) { [ 73s] 1077 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 73s] | ^^^^^^ unnecessary `unsafe` block [ 73s] [ 73s] warning: unnecessary `unsafe` block [ 73s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 73s] | [ 73s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 73s] | ^^^^^^ unnecessary `unsafe` block [ 73s] | [ 73s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 73s] | [ 73s] 1075 | unsafe { [ 73s] | ------ because it's nested under this `unsafe` block [ 73s] ... [ 73s] 1079 | error!("Fail to generate req key, err({:?})", e); [ 73s] | ------------------------------------------------ in this macro invocation [ 73s] | [ 73s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 73s] [ 73s] warning: unnecessary `unsafe` block [ 73s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 73s] | [ 73s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 73s] | ^^^^^^ unnecessary `unsafe` block [ 73s] | [ 73s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 73s] | [ 73s] 1075 | unsafe { [ 73s] | ------ because it's nested under this `unsafe` block [ 73s] ... [ 73s] 1106 | debug!("push disable pkg {pkg_id}"); [ 73s] | ----------------------------------- in this macro invocation [ 73s] | [ 73s] = 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) [ 73s] [ 73s] warning: unnecessary `unsafe` block [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1108:46 [ 73s] | [ 73s] 1075 | unsafe { [ 73s] | ------ because it's nested under this `unsafe` block [ 73s] ... [ 73s] 1108 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 73s] | ^^^^^^ unnecessary `unsafe` block [ 73s] [ 73s] warning: unnecessary `unsafe` block [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1537:5 [ 73s] | [ 73s] 1537 | unsafe { [ 73s] | ^^^^^^ unnecessary `unsafe` block [ 73s] [ 73s] warning: unnecessary `unsafe` block [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1590:5 [ 73s] | [ 73s] 1590 | unsafe { [ 73s] | ^^^^^^ unnecessary `unsafe` block [ 73s] [ 73s] warning: unnecessary `unsafe` block [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1643:32 [ 73s] | [ 73s] 1641 | unsafe { [ 73s] | ------ because it's nested under this `unsafe` block [ 73s] 1642 | match CString::new(generated_req_key.clone()) { [ 73s] 1643 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 73s] | ^^^^^^ unnecessary `unsafe` block [ 73s] [ 73s] warning: unnecessary `unsafe` block [ 73s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 73s] | [ 73s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 73s] | ^^^^^^ unnecessary `unsafe` block [ 73s] | [ 73s] ::: ./src/pkgmgr/server/admin_service.rs:1641:5 [ 73s] | [ 73s] 1641 | unsafe { [ 73s] | ------ because it's nested under this `unsafe` block [ 73s] ... [ 73s] 1645 | error!("Fail to generate req key, err({:?})", e); [ 73s] | ------------------------------------------------ in this macro invocation [ 73s] | [ 73s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 73s] [ 73s] warning: unnecessary `unsafe` block [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1657:42 [ 73s] | [ 73s] 1641 | unsafe { [ 73s] | ------ because it's nested under this `unsafe` block [ 73s] ... [ 73s] 1657 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 73s] | ^^^^^^ unnecessary `unsafe` block [ 73s] [ 73s] warning: unnecessary `unsafe` block [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1705:32 [ 73s] | [ 73s] 1703 | unsafe { [ 73s] | ------ because it's nested under this `unsafe` block [ 73s] 1704 | match CString::new(generated_req_key.clone()) { [ 73s] 1705 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 73s] | ^^^^^^ unnecessary `unsafe` block [ 73s] [ 73s] warning: unnecessary `unsafe` block [ 73s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 73s] | [ 73s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 73s] | ^^^^^^ unnecessary `unsafe` block [ 73s] | [ 73s] ::: ./src/pkgmgr/server/admin_service.rs:1703:5 [ 73s] | [ 73s] 1703 | unsafe { [ 73s] | ------ because it's nested under this `unsafe` block [ 73s] ... [ 73s] 1707 | error!("Fail to generate req key, err({:?})", e); [ 73s] | ------------------------------------------------ in this macro invocation [ 73s] | [ 73s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 73s] [ 73s] warning: unnecessary `unsafe` block [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1719:42 [ 73s] | [ 73s] 1703 | unsafe { [ 73s] | ------ because it's nested under this `unsafe` block [ 73s] ... [ 73s] 1719 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 73s] | ^^^^^^ unnecessary `unsafe` block [ 73s] [ 73s] warning: unnecessary `unsafe` block [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1767:5 [ 73s] | [ 73s] 1767 | unsafe { [ 73s] | ^^^^^^ unnecessary `unsafe` block [ 73s] [ 73s] warning: unnecessary `unsafe` block [ 73s] --> ./src/pkgmgr/server/admin_service.rs:1820:5 [ 73s] | [ 73s] 1820 | unsafe { [ 73s] | ^^^^^^ unnecessary `unsafe` block [ 73s] [ 73s] warning: unnecessary `unsafe` block [ 73s] --> ./src/pkgmgr/server/admin_service.rs:2296:17 [ 73s] | [ 73s] 2294 | unsafe { [ 73s] | ------ because it's nested under this `unsafe` block [ 73s] 2295 | if !(*value.offset(i as isize)).is_null() { [ 73s] 2296 | unsafe { free(*value.offset(i as isize) as *mut _) }; [ 73s] | ^^^^^^ unnecessary `unsafe` block [ 73s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/admin_service.rs:2793:9 [ 74s] | [ 74s] 2793 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] 2794 | let ret = rpc_port_stub_PkgMgrAdmin_register(&mut self.callbacks, self as *mut _ as *mut c_void); [ 74s] 2795 | debug!("admin service start : {ret}"); [ 74s] | ------------------------------------- in this macro invocation [ 74s] | [ 74s] = 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) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/admin_service.rs:2801:9 [ 74s] | [ 74s] 2801 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] 2802 | let ret = rpc_port_stub_PkgMgrAdmin_unregister(); [ 74s] 2803 | debug!("ret : {ret}"); [ 74s] | --------------------- in this macro invocation [ 74s] | [ 74s] = 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) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 74s] | [ 74s] 204 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 210 | error!("sigprocmask failed"); [ 74s] | ---------------------------- in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 74s] | [ 74s] 204 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 216 | error!("signalfd failed"); [ 74s] | ------------------------- in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/cache_service.rs:134:9 [ 74s] | [ 74s] 134 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 139 | debug!("cache service start : {ret}"); [ 74s] | ------------------------------------- in this macro invocation [ 74s] | [ 74s] = 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) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/cache_service.rs:145:9 [ 74s] | [ 74s] 145 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] 146 | let ret = rpc_port_stub_PkgMgrForClearCache_unregister(); [ 74s] 147 | debug!("ret : {ret}"); [ 74s] | --------------------- in this macro invocation [ 74s] | [ 74s] = 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) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/delayed_service.rs:107:9 [ 74s] | [ 74s] 107 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 112 | debug!("delayed result service start : {ret}"); [ 74s] | ---------------------------------------------- in this macro invocation [ 74s] | [ 74s] = 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) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/delayed_service.rs:118:9 [ 74s] | [ 74s] 118 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] 119 | let ret = rpc_port_stub_DelayedResult_unregister(); [ 74s] 120 | debug!("ret : {ret}"); [ 74s] | --------------------- in this macro invocation [ 74s] | [ 74s] = 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) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/info_service.rs:165:13 [ 74s] | [ 74s] 165 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] 166 | if mkfifo(fifo_path.as_ptr() as *const c_char, 0o600) < 0 { [ 74s] 167 | error!("Failed to mkfifo"); [ 74s] | -------------------------- in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/info_service.rs:268:9 [ 74s] | [ 74s] 268 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 273 | debug!("info service start : {ret}"); [ 74s] | ------------------------------------ in this macro invocation [ 74s] | [ 74s] = 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) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/info_service.rs:279:9 [ 74s] | [ 74s] 279 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] 280 | let ret = rpc_port_stub_PkgMgr_unregister(); [ 74s] 281 | debug!("ret : {ret}"); [ 74s] | --------------------- in this macro invocation [ 74s] | [ 74s] = 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) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 74s] | [ 74s] 131 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 134 | error!("Failure in creating the pkgmgr_installer object"); [ 74s] | --------------------------------------------------------- in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 74s] | [ 74s] 131 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 139 | error!("pkgmgr_installer_set_uid fail"); [ 74s] | --------------------------------------- in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 74s] | [ 74s] 131 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 154 | warn!("Unsupported req_type[{}]", req_type as c_int); [ 74s] | ---------------------------------------------------- in this macro invocation [ 74s] | [ 74s] = 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) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 74s] | [ 74s] 131 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 161 | error!("pkgmgr_installer_set_request_type fail"); [ 74s] | ------------------------------------------------ in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 74s] | [ 74s] 131 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 168 | error!("pkgmgr_installer_set_session_id fail : {:?}", c_req_id); [ 74s] | --------------------------------------------------------------- in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 74s] | [ 74s] 309 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] 310 | if pkgmgrinfo_appinfo_get_appid(pkgmgrinfo_appinfo_h, &mut app_id) != 0 { [ 74s] 311 | error!("Failed get appid"); [ 74s] | -------------------------- in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 74s] | [ 74s] 309 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 314 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 74s] | --------------------------------------------------------- in this macro invocation [ 74s] | [ 74s] = 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) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/server/util.rs:326:46 [ 74s] | [ 74s] 325 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 74s] | [ 74s] 325 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 329 | error!("Failed get appid"); [ 74s] | -------------------------- in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 74s] | [ 74s] 325 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 333 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 74s] | --------------------------------------------------------- in this macro invocation [ 74s] | [ 74s] = 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) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 74s] | [ 74s] 342 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 355 | error!("getsize fd read failed: {:?}", Util::c_char_to_cstr((*err).message)); [ 74s] | ---------------------------------------------------------------------------- in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 74s] | [ 74s] 342 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 361 | error!("empty result"); [ 74s] | ---------------------- in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 74s] | [ 74s] 390 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 399 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 74s] | --------------------------------------------------------- in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 74s] | [ 74s] 390 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 406 | error!("Fail to get is readonly"); [ 74s] | --------------------------------- in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 74s] | [ 74s] 422 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 429 | error!("Not found package"); [ 74s] | --------------------------- in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 74s] | [ 74s] 422 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 445 | debug!("pkgtype - {ret_string}"); [ 74s] | -------------------------------- in this macro invocation [ 74s] | [ 74s] = 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) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:803:9 [ 74s] | [ 74s] 803 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] 804 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 74s] 805 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 74s] | ------------------------------------------------------ in this macro invocation [ 74s] | [ 74s] = 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) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 74s] | [ 74s] 814 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] 815 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 74s] 816 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 74s] | ------------------------------------------------------ in this macro invocation [ 74s] | [ 74s] = 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) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 74s] | [ 74s] 814 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 822 | error!("Failed to get pid of app{:?}", CStr::from_ptr(appid)); [ 74s] | ------------------------------------------------------------- in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 74s] | [ 74s] 814 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 828 | error!("Failed to terminate app{:?}", CStr::from_ptr(appid)); [ 74s] | ------------------------------------------------------------ in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 74s] | [ 74s] 836 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 840 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 74s] | --------------------------------------------------------- in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 74s] | [ 74s] 836 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 848 | error!("Failed to get list for {:?}", CStr::from_ptr(pkgid)); [ 74s] | ------------------------------------------------------------ in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 74s] | [ 74s] 859 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 863 | warn!("cannot get user information from gumd, retry"); [ 74s] | ----------------------------------------------------- in this macro invocation [ 74s] | [ 74s] = 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) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 74s] | [ 74s] 859 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 871 | error!("cannot get user information from gumd, failed"); [ 74s] | ------------------------------------------------------- in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 74s] | [ 74s] 859 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 877 | error!("cannot get user type"); [ 74s] | ------------------------------ in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 74s] | [ 74s] 892 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 895 | error!("Failed to get the number of supplementary group IDs"); [ 74s] | ------------------------------------------------------------- in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 74s] | [ 74s] 892 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 901 | error!("Failed to get list of supplementary group IDs"); [ 74s] | ------------------------------------------------------- in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 74s] | [ 74s] 892 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 908 | error!("setgroups failed: {}", *__errno_location()); [ 74s] | --------------------------------------------------- in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 74s] | [ 74s] 928 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 942 | error!("getpwuid_r fail"); [ 74s] | ------------------------- in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 74s] | [ 74s] 928 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 949 | error!("Fail to get str, err({:?})", e); [ 74s] | --------------------------------------- in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 74s] | [ 74s] 928 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 957 | error!("Fail to get str, err({:?})", e); [ 74s] | --------------------------------------- in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 74s] | [ 74s] 928 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 966 | error!("Failed to set env for the user : {}", APPFW_UID); [ 74s] | -------------------------------------------------------- in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 74s] | [ 74s] 984 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 987 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 74s] | ----------------------------------------------------------------------------------- in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 74s] | [ 74s] 984 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 993 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 74s] | ---------------------------------------------------------------------------- in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 74s] | [ 74s] 984 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 1000 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 74s] | ---------------------------------------------------------------------------- in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/server/util.rs:1005:40 [ 74s] | [ 74s] 984 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 1005 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) } ); [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 74s] | [ 74s] 1081 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 1084 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 74s] | ----------------------------------------------------------------------------------- in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 74s] | [ 74s] 1081 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 1090 | error!("Failed get root path for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 74s] | --------------------------------------------------------------------------- in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 74s] | [ 74s] 1081 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 1098 | error!("Invalid path[{:?}]", Self::c_char_to_cstr(icon_path)); [ 74s] | ------------------------------------------------------------- in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:1109:9 [ 74s] | [ 74s] 1109 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 1119 | error!("Fail to get list for {:?}", CStr::from_ptr(pkgid)); [ 74s] | ---------------------------------------------------------- in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 74s] | [ 74s] 1129 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 1132 | error!("failed to open the fifo({}), errno({})", fifo_path, *__errno_location()); [ 74s] | -------------------------------------------------------------------------------- in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: unnecessary `unsafe` block [ 74s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 74s] | [ 74s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 74s] | ^^^^^^ unnecessary `unsafe` block [ 74s] | [ 74s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 74s] | [ 74s] 1129 | unsafe { [ 74s] | ------ because it's nested under this `unsafe` block [ 74s] ... [ 74s] 1155 | error!("failed to add io watch"); [ 74s] | -------------------------------- in this macro invocation [ 74s] | [ 74s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 74s] [ 74s] warning: constant `SD_LISTEN_FDS_START` is never used [ 74s] --> ./src/pkgmgr/server/mod.rs:28:7 [ 74s] | [ 74s] 28 | const SD_LISTEN_FDS_START: i32 = 3; [ 74s] | ^^^^^^^^^^^^^^^^^^^ [ 74s] | [ 74s] = note: `#[warn(dead_code)]` on by default [ 74s] [ 74s] warning: multiple variants are never constructed [ 74s] --> ./src/pkgmgr/server/mod.rs:43:5 [ 74s] | [ 74s] 42 | enum AUL_RETURN_VALUE { [ 74s] | ---------------- variants in this enum [ 74s] 43 | AUL_R_ENOMEM = -16, //< Out of memory (Since 5.5) [ 74s] | ^^^^^^^^^^^^ [ 74s] 44 | AUL_R_ENOENT = -15, //< App directory entry error [ 74s] | ^^^^^^^^^^^^ [ 74s] 45 | AUL_R_EREJECTED = -14, //< App disable for mode [ 74s] | ^^^^^^^^^^^^^^^ [ 74s] 46 | AUL_R_ENOAPP = -13, //< Failed to find app ID or pkg ID [ 74s] | ^^^^^^^^^^^^ [ 74s] 47 | AUL_R_EHIDDENFORGUEST = -11, //< App hidden for guest mode [ 74s] | ^^^^^^^^^^^^^^^^^^^^^ [ 74s] 48 | AUL_R_ENOLAUNCHPAD = -10, //< no launchpad [ 74s] | ^^^^^^^^^^^^^^^^^^ [ 74s] 49 | AUL_R_ETERMINATING = -9, //< application terminating [ 74s] | ^^^^^^^^^^^^^^^^^^ [ 74s] 50 | AUL_R_EILLACC = -8, //< Illegal Access [ 74s] | ^^^^^^^^^^^^^ [ 74s] 51 | AUL_R_LOCAL = -7, //< Launch by himself [ 74s] | ^^^^^^^^^^^ [ 74s] 52 | AUL_R_ETIMEOUT = -6, //< Timeout [ 74s] | ^^^^^^^^^^^^^^ [ 74s] 53 | AUL_R_ECANCELED = -5, //< Operation canceled [ 74s] | ^^^^^^^^^^^^^^^ [ 74s] 54 | AUL_R_EINVAL = -4, //< Invalid argument [ 74s] | ^^^^^^^^^^^^ [ 74s] 55 | AUL_R_ECOMM = -3, //< Comunication Error [ 74s] | ^^^^^^^^^^^ [ 74s] 56 | AUL_R_ENOINIT = -2, //< AUL handler NOT initialized [ 74s] | ^^^^^^^^^^^^^ [ 74s] 57 | AUL_R_ERROR = -1, //< General error [ 74s] | ^^^^^^^^^^^ [ 74s] [ 74s] warning: field `timer` is never read [ 74s] --> ./src/pkgmgr/server/mod.rs:63:5 [ 74s] | [ 74s] 61 | pub struct Server { [ 74s] | ------ field in this struct [ 74s] 62 | mainloop: *mut GMainLoop, [ 74s] 63 | timer: c_uint [ 74s] | ^^^^^ [ 74s] [ 74s] warning: variants `IO_ERROR`, `OUT_OF_MEMORY`, `INVALID_PARAMETER`, and `PERMISSION_DENIED` are never constructed [ 74s] --> ./src/pkgmgr/server/admin_service.rs:29:5 [ 74s] | [ 74s] 27 | enum RPC_PORT_ERROR { [ 74s] | -------------- variants in this enum [ 74s] 28 | NONE = 0, //< Successful [ 74s] 29 | IO_ERROR = -5, //< Internal I/O error [ 74s] | ^^^^^^^^ [ 74s] 30 | OUT_OF_MEMORY = -12, //< Out of memory [ 74s] | ^^^^^^^^^^^^^ [ 74s] 31 | INVALID_PARAMETER = -22, //< Invalid parameter [ 74s] | ^^^^^^^^^^^^^^^^^ [ 74s] 32 | PERMISSION_DENIED = -13, //< Permission denied [ 74s] | ^^^^^^^^^^^^^^^^^ [ 74s] [ 74s] warning: method `generate_request_id` is never used [ 74s] --> ./src/pkgmgr/server/admin_service.rs:2786:8 [ 74s] | [ 74s] 2713 | impl AdminService { [ 74s] | ----------------- method in this implementation [ 74s] ... [ 74s] 2786 | fn generate_request_id(&self) -> String { [ 74s] | ^^^^^^^^^^^^^^^^^^^ [ 74s] [ 74s] warning: field `request_type` is never read [ 74s] --> ./src/pkgmgr/server/backend_context.rs:7:5 [ 74s] | [ 74s] 6 | pub struct BackendContext { [ 74s] | -------------- field in this struct [ 74s] 7 | request_type: RequestType, [ 74s] | ^^^^^^^^^^^^ [ 74s] [ 74s] warning: type alias `GIOChannel` is never used [ 74s] --> ./src/pkgmgr/server/backend_queue.rs:14:6 [ 74s] | [ 74s] 14 | type GIOChannel = *mut c_void; [ 74s] | ^^^^^^^^^^ [ 74s] [ 74s] warning: type alias `GIOCondition` is never used [ 74s] --> ./src/pkgmgr/server/backend_queue.rs:15:6 [ 74s] | [ 74s] 15 | type GIOCondition = c_int; [ 74s] | ^^^^^^^^^^^^ [ 74s] [ 74s] warning: variants `EIO`, `ENOPKG`, `EPRIV`, `ETIMEOUT`, `EINVAL`, and `ECOMM` are never constructed [ 74s] --> ./src/pkgmgr/server/info_service.rs:22:5 [ 74s] | [ 74s] 20 | enum PKGMGR_RETURN_VALUE { [ 74s] | ------------------- variants in this enum [ 74s] 21 | ESYSTEM = -9, // Severe system error [ 74s] 22 | EIO = -8, // IO error [ 74s] | ^^^ [ 74s] 23 | ENOMEM = -7, // Out of memory [ 74s] 24 | ENOPKG = -6, // No such package [ 74s] | ^^^^^^ [ 74s] 25 | EPRIV = -5, // Privilege denied [ 74s] | ^^^^^ [ 74s] 26 | ETIMEOUT = -4, // Timeout [ 74s] | ^^^^^^^^ [ 74s] 27 | EINVAL = -3, // Invalid argument [ 74s] | ^^^^^^ [ 74s] 28 | ECOMM = -2, // Comunication Error [ 74s] | ^^^^^ [ 74s] [ 74s] warning: variants `EPRIV` and `ETIMEOUT` are never constructed [ 74s] --> ./src/pkgmgr/server/pkgmgr_return_value.rs:8:5 [ 74s] | [ 74s] 3 | pub enum PKGMGR_RETURN_VALUE { [ 74s] | ------------------- variants in this enum [ 74s] ... [ 74s] 8 | EPRIV = -5, // Privilege denied [ 74s] | ^^^^^ [ 74s] 9 | ETIMEOUT = -4, // Timeout [ 74s] | ^^^^^^^^ [ 74s] [ 74s] warning: variants `KILL`, `CHECK`, `ENABLE_APP_SPLASH_SCREEN`, `DISABLE_APP_SPLASH_SCREEN`, and `MIGRATE_EXTERNAL_IMAGE` are never constructed [ 74s] --> ./src/pkgmgr/server/request_type.rs:20:5 [ 74s] | [ 74s] 1 | pub enum RequestType { [ 74s] | ----------- variants in this enum [ 74s] ... [ 74s] 20 | KILL, [ 74s] | ^^^^ [ 74s] 21 | CHECK, [ 74s] | ^^^^^ [ 74s] ... [ 74s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 74s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 74s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 74s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 74s] ... [ 74s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 74s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 74s] [ 74s] warning: multiple variants are never constructed [ 74s] --> ./src/pkgmgr/server/signal.rs:10:2 [ 74s] | [ 74s] 9 | enum PKGMGR_REQ { [ 74s] | ---------- variants in this enum [ 74s] 10 | PERM = -1, [ 74s] | ^^^^ [ 74s] 11 | INVALID = 0, [ 74s] | ^^^^^^^ [ 74s] 12 | INSTALL = 1, [ 74s] | ^^^^^^^ [ 74s] 13 | UNINSTALL = 2, [ 74s] | ^^^^^^^^^ [ 74s] 14 | CLEAR = 3, [ 74s] | ^^^^^ [ 74s] 15 | MOVE = 4, [ 74s] | ^^^^ [ 74s] 16 | RECOVER = 5, [ 74s] | ^^^^^^^ [ 74s] 17 | REINSTALL = 6, [ 74s] | ^^^^^^^^^ [ 74s] 18 | GETSIZE = 7, [ 74s] | ^^^^^^^ [ 74s] 19 | UPGRADE = 8, [ 74s] | ^^^^^^^ [ 74s] 20 | SMACK = 9, [ 74s] | ^^^^^ [ 74s] 21 | MANIFEST_DIRECT_INSTALL = 10, [ 74s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 74s] ... [ 74s] 26 | MOUNT_INSTALL = 15, [ 74s] | ^^^^^^^^^^^^^ [ 74s] 27 | DISABLE_PKG = 16, [ 74s] | ^^^^^^^^^^^ [ 74s] 28 | ENABLE_PKG = 17, [ 74s] | ^^^^^^^^^^ [ 74s] 29 | MIGRATE_EXTIMG = 18, [ 74s] | ^^^^^^^^^^^^^^ [ 74s] 30 | RECOVER_DB = 19, [ 74s] | ^^^^^^^^^^ [ 74s] 31 | RES_COPY = 20, [ 74s] | ^^^^^^^^ [ 74s] 32 | RES_CREATE_DIR = 21, [ 74s] | ^^^^^^^^^^^^^^ [ 74s] 33 | RES_REMOVE = 22, [ 74s] | ^^^^^^^^^^ [ 74s] 34 | RES_UNINSTALL = 23 [ 74s] | ^^^^^^^^^^^^^ [ 74s] [ 74s] warning: constant `TZ_SYS_GLOBALAPP_USER` is never used [ 74s] --> ./src/pkgmgr/server/signal.rs:97:7 [ 74s] | [ 74s] 97 | const TZ_SYS_GLOBALAPP_USER: c_int = 22; [ 74s] | ^^^^^^^^^^^^^^^^^^^^^ [ 74s] [ 74s] warning: function `tzplatform_getuid` is never used [ 74s] --> ./src/pkgmgr/server/signal.rs:53:12 [ 74s] | [ 74s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 74s] | ^^^^^^^^^^^^^^^^^ [ 74s] [ 74s] warning: constant `XML_READER_TYPE_ELEMENT` is never used [ 74s] --> ./src/pkgmgr/server/util.rs:29:7 [ 74s] | [ 74s] 29 | const XML_READER_TYPE_ELEMENT: i32 = 1; [ 74s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 74s] [ 74s] warning: constant `XML_READER_TYPE_TEXT` is never used [ 74s] --> ./src/pkgmgr/server/util.rs:30:7 [ 74s] | [ 74s] 30 | const XML_READER_TYPE_TEXT: i32 = 3; [ 74s] | ^^^^^^^^^^^^^^^^^^^^ [ 74s] [ 74s] warning: constant `XML_READER_TYPE_END_ELEMENT` is never used [ 74s] --> ./src/pkgmgr/server/util.rs:31:7 [ 74s] | [ 74s] 31 | const XML_READER_TYPE_END_ELEMENT: i32 = 15; [ 74s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 74s] [ 74s] warning: type alias `GIOChannel` is never used [ 74s] --> ./src/pkgmgr/server/util.rs:33:6 [ 74s] | [ 74s] 33 | type GIOChannel = *mut c_void; [ 74s] | ^^^^^^^^^^ [ 74s] [ 74s] warning: variants `PMINFO_UI_APP`, `PMINFO_SVC_APP`, `PMINFO_WIDGET_APP`, `PMINFO_WATCH_APP`, and `PMINFO_COMPONENT_BASED_APP` are never constructed [ 74s] --> ./src/pkgmgr/server/util.rs:136:5 [ 74s] | [ 74s] 134 | enum PKGMGRINFO_APP_COMPONENT { [ 74s] | ------------------------ variants in this enum [ 74s] 135 | PMINFO_ALL_APP = 0, //< All Application [ 74s] 136 | PMINFO_UI_APP, //< UI Application [ 74s] | ^^^^^^^^^^^^^ [ 74s] 137 | PMINFO_SVC_APP, //< Service Application [ 74s] | ^^^^^^^^^^^^^^ [ 74s] 138 | PMINFO_WIDGET_APP, //< Widget Application [ 74s] | ^^^^^^^^^^^^^^^^^ [ 74s] 139 | PMINFO_WATCH_APP, //< Watch Application [ 74s] | ^^^^^^^^^^^^^^^^ [ 74s] 140 | PMINFO_COMPONENT_BASED_APP, //< Component-based Application (Since 5.5) [ 74s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 74s] [ 74s] warning: associated functions `EnableAppSplashScreen` and `DisableAppSplashScreen` are never used [ 74s] --> ./src/pkgmgr/server/util.rs:766:12 [ 74s] | [ 74s] 384 | impl Util { [ 74s] | --------- associated functions in this implementation [ 74s] ... [ 74s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 74s] | ^^^^^^^^^^^^^^^^^^^^^ [ 74s] ... [ 74s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 74s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 74s] [ 74s] warning: function `pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db` is never used [ 74s] --> ./src/pkgmgr/server/util.rs:204:8 [ 74s] | [ 74s] 204 | fn pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db( [ 74s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 74s] [ 74s] warning: unused `Result` that must be used [ 74s] --> ./src/main.rs:14:5 [ 74s] | [ 74s] 14 | pkgmgr::server::Server::run(&mut server); [ 74s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 74s] | [ 74s] = note: this `Result` may be an `Err` variant, which should be handled [ 74s] = note: `#[warn(unused_must_use)]` on by default [ 74s] help: use `let _ = ...` to ignore the resulting value [ 74s] | [ 74s] 14 | let _ = pkgmgr::server::Server::run(&mut server); [ 74s] | +++++++ [ 74s] [ 74s] warning: unused `Result` that must be used [ 74s] --> ./src/pkgmgr/server/mod.rs:93:9 [ 74s] | [ 74s] 93 | admin_service.run(); [ 74s] | ^^^^^^^^^^^^^^^^^^^ [ 74s] | [ 74s] = note: this `Result` may be an `Err` variant, which should be handled [ 74s] help: use `let _ = ...` to ignore the resulting value [ 74s] | [ 74s] 93 | let _ = admin_service.run(); [ 74s] | +++++++ [ 74s] [ 74s] warning: unused `Result` that must be used [ 74s] --> ./src/pkgmgr/server/mod.rs:95:9 [ 74s] | [ 74s] 95 | cache_service.run(); [ 74s] | ^^^^^^^^^^^^^^^^^^^ [ 74s] | [ 74s] = note: this `Result` may be an `Err` variant, which should be handled [ 74s] help: use `let _ = ...` to ignore the resulting value [ 74s] | [ 74s] 95 | let _ = cache_service.run(); [ 74s] | +++++++ [ 74s] [ 74s] warning: unused `Result` that must be used [ 74s] --> ./src/pkgmgr/server/mod.rs:97:9 [ 74s] | [ 74s] 97 | info_service.run(); [ 74s] | ^^^^^^^^^^^^^^^^^^ [ 74s] | [ 74s] = note: this `Result` may be an `Err` variant, which should be handled [ 74s] help: use `let _ = ...` to ignore the resulting value [ 74s] | [ 74s] 97 | let _ = info_service.run(); [ 74s] | +++++++ [ 74s] [ 74s] warning: unused `Result` that must be used [ 74s] --> ./src/pkgmgr/server/mod.rs:99:9 [ 74s] | [ 74s] 99 | delayed_result_service.run(); [ 74s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 74s] | [ 74s] = note: this `Result` may be an `Err` variant, which should be handled [ 74s] help: use `let _ = ...` to ignore the resulting value [ 74s] | [ 74s] 99 | let _ = delayed_result_service.run(); [ 74s] | +++++++ [ 74s] [ 74s] warning: unused `Result` that must be used [ 74s] --> ./src/pkgmgr/server/mod.rs:109:9 [ 74s] | [ 74s] 109 | admin_service.stop(); [ 74s] | ^^^^^^^^^^^^^^^^^^^^ [ 74s] | [ 74s] = note: this `Result` may be an `Err` variant, which should be handled [ 74s] help: use `let _ = ...` to ignore the resulting value [ 74s] | [ 74s] 109 | let _ = admin_service.stop(); [ 74s] | +++++++ [ 74s] [ 74s] warning: unused `Result` that must be used [ 74s] --> ./src/pkgmgr/server/mod.rs:110:9 [ 74s] | [ 74s] 110 | cache_service.stop(); [ 74s] | ^^^^^^^^^^^^^^^^^^^^ [ 74s] | [ 74s] = note: this `Result` may be an `Err` variant, which should be handled [ 74s] help: use `let _ = ...` to ignore the resulting value [ 74s] | [ 74s] 110 | let _ = cache_service.stop(); [ 74s] | +++++++ [ 74s] [ 74s] warning: unused `Result` that must be used [ 74s] --> ./src/pkgmgr/server/mod.rs:111:9 [ 74s] | [ 74s] 111 | info_service.stop(); [ 74s] | ^^^^^^^^^^^^^^^^^^^ [ 74s] | [ 74s] = note: this `Result` may be an `Err` variant, which should be handled [ 74s] help: use `let _ = ...` to ignore the resulting value [ 74s] | [ 74s] 111 | let _ = info_service.stop(); [ 74s] | +++++++ [ 74s] [ 74s] warning: unused `Result` that must be used [ 74s] --> ./src/pkgmgr/server/mod.rs:112:9 [ 74s] | [ 74s] 112 | delayed_result_service.stop(); [ 74s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 74s] | [ 74s] = note: this `Result` may be an `Err` variant, which should be handled [ 74s] help: use `let _ = ...` to ignore the resulting value [ 74s] | [ 74s] 112 | let _ = delayed_result_service.stop(); [ 74s] | +++++++ [ 74s] [ 74s] warning: unused return value of `std::mem::size_of` that must be used [ 74s] --> ./src/pkgmgr/server/backend_queue.rs:40:9 [ 74s] | [ 74s] 40 | mem::size_of::(); [ 74s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 74s] | [ 74s] help: use `let _ = ...` to ignore the resulting value [ 74s] | [ 74s] 40 | let _ = mem::size_of::(); [ 74s] | +++++++ [ 74s] [ 74s] warning: structure field `rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 74s] --> ./src/pkgmgr/server/info_service.rs:35:9 [ 74s] | [ 74s] 35 | pub rpc_port_stub_PkgMgr_create_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 74s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_create_cb` [ 74s] | [ 74s] = note: `#[warn(non_snake_case)]` on by default [ 74s] [ 74s] warning: structure field `rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 74s] --> ./src/pkgmgr/server/info_service.rs:36:9 [ 74s] | [ 74s] 36 | pub rpc_port_stub_PkgMgr_terminate_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 74s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_terminate_cb` [ 74s] [ 74s] warning: structure field `rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 74s] --> ./src/pkgmgr/server/info_service.rs:37:9 [ 74s] | [ 74s] 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... [ 74s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_cb` [ 74s] [ 74s] warning: structure field `rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 74s] --> ./src/pkgmgr/server/info_service.rs:38:9 [ 74s] | [ 74s] 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... [ 74s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 74s] [ 74s] warning: structure field `rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 74s] --> ./src/pkgmgr/server/info_service.rs:39:9 [ 74s] | [ 74s] 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... [ 74s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 74s] [ 74s] warning: structure field `rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 74s] --> ./src/pkgmgr/server/info_service.rs:40:9 [ 74s] | [ 74s] 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... [ 74s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_check_cb` [ 74s] [ 74s] warning: function `impl_rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 74s] --> ./src/pkgmgr/server/info_service.rs:43:19 [ 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: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_create_cb` [ 74s] [ 74s] warning: function `impl_rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 74s] --> ./src/pkgmgr/server/info_service.rs:48:19 [ 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: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_terminate_cb` [ 74s] [ 74s] warning: function `impl_rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 74s] --> ./src/pkgmgr/server/info_service.rs:52:19 [ 74s] | [ 74s] 52 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSize_cb( [ 74s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_cb` [ 74s] [ 74s] warning: function `impl_rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 74s] --> ./src/pkgmgr/server/info_service.rs:112:19 [ 74s] | [ 74s] 112 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSizeSync_cb( [ 74s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 74s] [ 74s] warning: function `impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 74s] --> ./src/pkgmgr/server/info_service.rs:194:19 [ 74s] | [ 74s] 194 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb( [ 74s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 74s] [ 74s] warning: function `impl_rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 74s] --> ./src/pkgmgr/server/info_service.rs:221:19 [ 74s] | [ 74s] 221 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_Check_cb( [ 74s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_check_cb` [ 74s] [ 74s] warning: method `IsPackageReadonly` should have a snake case name [ 74s] --> ./src/pkgmgr/server/util.rs:389:12 [ 74s] | [ 74s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 74s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly` [ 74s] [ 74s] warning: method `GetPackageType` should have a snake case name [ 74s] --> ./src/pkgmgr/server/util.rs:420:12 [ 74s] | [ 74s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 74s] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type` [ 74s] [ 74s] warning: variable `xmlReaderTypes_XML_READER_TYPE_ELEMENT` should have a snake case name [ 74s] --> ./src/pkgmgr/server/util.rs:473:17 [ 74s] | [ 74s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 74s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_element` [ 74s] [ 74s] warning: variable `xmlReaderTypes_XML_READER_TYPE_TEXT` should have a snake case name [ 74s] --> ./src/pkgmgr/server/util.rs:478:17 [ 74s] | [ 74s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 74s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_text` [ 74s] [ 74s] warning: variable `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` should have a snake case name [ 74s] --> ./src/pkgmgr/server/util.rs:483:17 [ 74s] | [ 74s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 74s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_end_element` [ 74s] [ 74s] warning: constant `type_map` should have an upper case name [ 74s] --> ./src/pkgmgr/server/util.rs:623:15 [ 74s] | [ 74s] 623 | const type_map : [[&str; 2]; 3] = [ [ 74s] | ^^^^^^^^ help: convert the identifier to upper case: `TYPE_MAP` [ 74s] | [ 74s] = note: `#[warn(non_upper_case_globals)]` on by default [ 74s] [ 74s] warning: method `GenerateRequestId` should have a snake case name [ 74s] --> ./src/pkgmgr/server/util.rs:646:12 [ 74s] | [ 74s] 646 | pub fn GenerateRequestId(pkgid: &str) -> Option { [ 74s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_request_id` [ 74s] [ 74s] warning: method `CreatePkgUpdateInfo` should have a snake case name [ 74s] --> ./src/pkgmgr/server/util.rs:657:12 [ 74s] | [ 74s] 657 | pub fn CreatePkgUpdateInfo(pkgid: *const c_char, version: *const c_char, update_type: c_int) -> *mut c_void { [ 74s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info` [ 74s] [ 74s] warning: method `DestroyPkgUpdateInfo` should have a snake case name [ 74s] --> ./src/pkgmgr/server/util.rs:680:12 [ 74s] | [ 74s] 680 | pub fn DestroyPkgUpdateInfo(handle: *mut c_void) -> c_int { [ 74s] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroy_pkg_update_info` [ 74s] [ 74s] warning: method `RegisterPkgUpdateInfo` should have a snake case name [ 74s] --> ./src/pkgmgr/server/util.rs:686:12 [ 74s] | [ 74s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 74s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `register_pkg_update_info` [ 74s] [ 74s] warning: method `UnregisterPkgUpdateInfo` should have a snake case name [ 74s] --> ./src/pkgmgr/server/util.rs:696:12 [ 74s] | [ 74s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 74s] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_pkg_update_info` [ 74s] [ 74s] warning: method `UnregisterAllPkgUpdateInfo` should have a snake case name [ 74s] --> ./src/pkgmgr/server/util.rs:706:12 [ 74s] | [ 74s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 74s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_all_pkg_update_info` [ 74s] [ 74s] warning: method `EnableApp` should have a snake case name [ 74s] --> ./src/pkgmgr/server/util.rs:728:12 [ 74s] | [ 74s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 74s] | ^^^^^^^^^ help: convert the identifier to snake case: `enable_app` [ 74s] [ 74s] warning: method `DisableApp` should have a snake case name [ 74s] --> ./src/pkgmgr/server/util.rs:738:12 [ 74s] | [ 74s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 74s] | ^^^^^^^^^^ help: convert the identifier to snake case: `disable_app` [ 74s] [ 74s] warning: method `EnableGlobalApp` should have a snake case name [ 74s] --> ./src/pkgmgr/server/util.rs:747:12 [ 74s] | [ 74s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 74s] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app` [ 74s] [ 74s] warning: method `DisableGlobalApp` should have a snake case name [ 74s] --> ./src/pkgmgr/server/util.rs:757:12 [ 74s] | [ 74s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 74s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app` [ 74s] [ 74s] warning: method `EnableAppSplashScreen` should have a snake case name [ 74s] --> ./src/pkgmgr/server/util.rs:766:12 [ 74s] | [ 74s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 74s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_app_splash_screen` [ 74s] [ 74s] warning: method `DisableAppSplashScreen` should have a snake case name [ 74s] --> ./src/pkgmgr/server/util.rs:775:12 [ 74s] | [ 74s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 74s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_app_splash_screen` [ 74s] [ 74s] warning: method `EnableGlobalAppSplashScreen` should have a snake case name [ 74s] --> ./src/pkgmgr/server/util.rs:784:12 [ 74s] | [ 74s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 74s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app_splash_screen` [ 74s] [ 74s] warning: method `DisableGlobalAppSplashScreen` should have a snake case name [ 74s] --> ./src/pkgmgr/server/util.rs:793:12 [ 74s] | [ 74s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 74s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app_splash_screen` [ 74s] [ 74s] warning: method `KillApp` should have a snake case name [ 74s] --> ./src/pkgmgr/server/util.rs:813:12 [ 74s] | [ 74s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 74s] | ^^^^^^^ help: convert the identifier to snake case: `kill_app` [ 74s] [ 74s] warning: method `KillAppsInPkg` should have a snake case name [ 74s] --> ./src/pkgmgr/server/util.rs:835:12 [ 74s] | [ 74s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 74s] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_apps_in_pkg` [ 74s] [ 74s] warning: method `IsAdminUser` should have a snake case name [ 74s] --> ./src/pkgmgr/server/util.rs:855:8 [ 74s] | [ 74s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 74s] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_admin_user` [ 74s] [ 138s] warning: 542 warnings emitted [ 138s] [ 138s] + export LD_LIBRARY_PATH=:/usr/lib/rustlib:/usr/lib/rustlib/dylib:/usr/lib/rustlib:/usr/lib/rustlib/dylib [ 138s] + LD_LIBRARY_PATH=:/usr/lib/rustlib:/usr/lib/rustlib/dylib:/usr/lib/rustlib:/usr/lib/rustlib/dylib [ 138s] ++ find /usr/lib -maxdepth 1 -name 'libstd-*.so' [ 138s] + __rust_std=/usr/lib/libstd-161dbff30b3b0c00.so [ 138s] + /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 [ 141s] warning: unused import: `boxed` [ 141s] --> ./src/pkgmgr/server/admin_service.rs:4:11 [ 141s] | [ 141s] 4 | use std::{boxed, str}; [ 141s] | ^^^^^ [ 141s] | [ 141s] = note: `#[warn(unused_imports)]` on by default [ 141s] [ 141s] warning: unused import: `std::mem` [ 141s] --> ./src/pkgmgr/server/admin_service.rs:6:5 [ 141s] | [ 141s] 6 | use std::mem; [ 141s] | ^^^^^^^^ [ 141s] [ 141s] warning: unused import: `std::ptr` [ 141s] --> ./src/pkgmgr/server/admin_service.rs:7:5 [ 141s] | [ 141s] 7 | use std::ptr; [ 141s] | ^^^^^^^^ [ 141s] [ 141s] warning: unused import: `malloc` [ 141s] --> ./src/pkgmgr/server/admin_service.rs:8:18 [ 141s] | [ 141s] 8 | use libc::{free, malloc, strlen}; [ 141s] | ^^^^^^ [ 141s] [ 141s] warning: unused import: `super::Server` [ 141s] --> ./src/pkgmgr/server/admin_service.rs:10:5 [ 141s] | [ 141s] 10 | use super::Server; [ 141s] | ^^^^^^^^^^^^^ [ 141s] [ 141s] warning: type `rpc_port_stub_array_string_h` should have an upper camel case name [ 141s] --> ./src/pkgmgr/server/admin_service.rs:23:6 [ 141s] | [ 141s] 23 | type rpc_port_stub_array_string_h = *mut c_void; [ 141s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RpcPortStubArrayStringH` [ 141s] | [ 141s] = note: `#[warn(non_camel_case_types)]` on by default [ 141s] [ 141s] warning: unused imports: `pid_t`, `uid_t` [ 141s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 141s] | [ 141s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 141s] | ^^^^^ ^^^^^ [ 141s] [ 141s] warning: unused imports: `c_int`, `c_void` [ 141s] --> ./src/pkgmgr/server/backend_context.rs:4:16 [ 141s] | [ 141s] 4 | use std::ffi::{c_int, c_void}; [ 141s] | ^^^^^ ^^^^^^ [ 141s] [ 141s] warning: unused import: `std::path::Path` [ 141s] --> ./src/pkgmgr/server/backend_queue.rs:10:5 [ 141s] | [ 141s] 10 | use std::path::Path; [ 141s] | ^^^^^^^^^^^^^^^ [ 141s] [ 141s] warning: denote infinite loops with `loop { ... }` [ 141s] --> ./src/pkgmgr/server/backend_queue.rs:50:9 [ 141s] | [ 141s] 50 | while true { [ 141s] | ^^^^^^^^^^ help: use `loop` [ 141s] | [ 141s] = note: `#[warn(while_true)]` on by default [ 141s] [ 141s] warning: unnecessary parentheses around `if` condition [ 141s] --> ./src/pkgmgr/server/backend_queue.rs:73:8 [ 141s] | [ 141s] 73 | if (mut_queue.is_queue_empty()) { [ 141s] | ^ ^ [ 141s] | [ 141s] = note: `#[warn(unused_parens)]` on by default [ 141s] help: remove these parentheses [ 141s] | [ 141s] 73 - if (mut_queue.is_queue_empty()) { [ 141s] 73 + if mut_queue.is_queue_empty() { [ 141s] | [ 141s] [ 141s] warning: unnecessary trailing semicolon [ 141s] --> ./src/pkgmgr/server/backend_queue.rs:297:17 [ 141s] | [ 141s] 297 | ; [ 141s] | ^ help: remove this semicolon [ 141s] | [ 141s] = note: `#[warn(redundant_semicolons)]` on by default [ 141s] [ 141s] warning: unused import: `super::Server` [ 141s] --> ./src/pkgmgr/server/cache_service.rs:1:5 [ 141s] | [ 141s] 1 | use super::Server; [ 141s] | ^^^^^^^^^^^^^ [ 141s] [ 141s] warning: unused import: `super::Server` [ 141s] --> ./src/pkgmgr/server/delayed_service.rs:1:5 [ 141s] | [ 141s] 1 | use super::Server; [ 141s] | ^^^^^^^^^^^^^ [ 141s] [ 141s] warning: unused import: `super::backend_context::*` [ 141s] --> ./src/pkgmgr/server/delayed_service.rs:4:5 [ 141s] | [ 141s] 4 | use super::backend_context::*; [ 141s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 141s] [ 141s] warning: unused import: `super::request_result::*` [ 141s] --> ./src/pkgmgr/server/delayed_service.rs:5:5 [ 141s] | [ 141s] 5 | use super::request_result::*; [ 141s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 141s] [ 141s] warning: unused import: `super::request_type::*` [ 141s] --> ./src/pkgmgr/server/delayed_service.rs:6:5 [ 141s] | [ 141s] 6 | use super::request_type::*; [ 141s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 141s] [ 141s] warning: unused import: `super::util::*` [ 141s] --> ./src/pkgmgr/server/delayed_service.rs:7:5 [ 141s] | [ 141s] 7 | use super::util::*; [ 141s] | ^^^^^^^^^^^^^^ [ 141s] [ 141s] warning: unused imports: `pid_t`, `uid_t` [ 141s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 141s] | [ 141s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 141s] | ^^^^^ ^^^^^ [ 141s] [ 141s] warning: unused import: `std::io::Error` [ 141s] --> ./src/pkgmgr/server/info_service.rs:3:5 [ 141s] | [ 141s] 3 | use std::io::Error; [ 141s] | ^^^^^^^^^^^^^^ [ 141s] [ 141s] warning: unused import: `std::mem` [ 141s] --> ./src/pkgmgr/server/info_service.rs:6:5 [ 141s] | [ 141s] 6 | use std::mem; [ 141s] | ^^^^^^^^ [ 141s] [ 141s] warning: unused import: `std::ptr` [ 141s] --> ./src/pkgmgr/server/info_service.rs:7:5 [ 141s] | [ 141s] 7 | use std::ptr; [ 141s] | ^^^^^^^^ [ 141s] [ 141s] warning: unused imports: `free`, `malloc`, `strlen` [ 141s] --> ./src/pkgmgr/server/info_service.rs:8:12 [ 141s] | [ 141s] 8 | use libc::{free, malloc, strlen, mkfifo}; [ 141s] | ^^^^ ^^^^^^ ^^^^^^ [ 141s] [ 141s] warning: unused import: `super::Server` [ 141s] --> ./src/pkgmgr/server/info_service.rs:10:5 [ 141s] | [ 141s] 10 | use super::Server; [ 141s] | ^^^^^^^^^^^^^ [ 141s] [ 141s] warning: unused import: `super::service::Service` [ 141s] --> ./src/pkgmgr/server/info_service.rs:13:5 [ 141s] | [ 141s] 13 | use super::service::Service; [ 141s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 141s] [ 141s] warning: unnecessary trailing semicolon [ 141s] --> ./src/pkgmgr/server/info_service.rs:49:5 [ 141s] | [ 141s] 49 | ; [ 141s] | ^ help: remove this semicolon [ 141s] [ 141s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 141s] --> ./src/pkgmgr/server/request_result.rs:7:5 [ 141s] | [ 141s] 7 | GETSIZE_SYNC(String, i32, i32), [ 141s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 141s] [ 141s] warning: variant `GET_GENERATE_LICENSE_RESULT` should have an upper camel case name [ 141s] --> ./src/pkgmgr/server/request_result.rs:8:5 [ 141s] | [ 141s] 8 | GET_GENERATE_LICENSE_RESULT(String, i32, CString, CString), [ 141s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetGenerateLicenseResult` [ 141s] [ 141s] warning: variant `MOUNT_INSTALL` should have an upper camel case name [ 141s] --> ./src/pkgmgr/server/request_type.rs:3:5 [ 141s] | [ 141s] 3 | MOUNT_INSTALL, [ 141s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MountInstall` [ 141s] [ 141s] warning: variant `ENABLE_PKG` should have an upper camel case name [ 141s] --> ./src/pkgmgr/server/request_type.rs:7:5 [ 141s] | [ 141s] 7 | ENABLE_PKG, [ 141s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnablePkg` [ 141s] [ 141s] warning: variant `DISABLE_PKG` should have an upper camel case name [ 141s] --> ./src/pkgmgr/server/request_type.rs:8:5 [ 141s] | [ 141s] 8 | DISABLE_PKG, [ 141s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisablePkg` [ 141s] [ 141s] warning: variant `REGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 141s] --> ./src/pkgmgr/server/request_type.rs:9:5 [ 141s] | [ 141s] 9 | REGISTER_PKG_UPDATE_INFO, [ 141s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterPkgUpdateInfo` [ 141s] [ 141s] warning: variant `UNREGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 141s] --> ./src/pkgmgr/server/request_type.rs:10:5 [ 141s] | [ 141s] 10 | UNREGISTER_PKG_UPDATE_INFO, [ 141s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterPkgUpdateInfo` [ 141s] [ 141s] warning: variant `UNREGISTER_ALL_PKG_UPDATE_INFO` should have an upper camel case name [ 141s] --> ./src/pkgmgr/server/request_type.rs:11:5 [ 141s] | [ 141s] 11 | UNREGISTER_ALL_PKG_UPDATE_INFO, [ 141s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterAllPkgUpdateInfo` [ 141s] [ 141s] warning: variant `ENABLE_APP` should have an upper camel case name [ 141s] --> ./src/pkgmgr/server/request_type.rs:12:5 [ 141s] | [ 141s] 12 | ENABLE_APP, [ 141s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableApp` [ 141s] [ 141s] warning: variant `DISABLE_APP` should have an upper camel case name [ 141s] --> ./src/pkgmgr/server/request_type.rs:13:5 [ 141s] | [ 141s] 13 | DISABLE_APP, [ 141s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableApp` [ 141s] [ 141s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 141s] --> ./src/pkgmgr/server/request_type.rs:15:5 [ 141s] | [ 141s] 15 | GETSIZE_SYNC, [ 141s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 141s] [ 141s] warning: variant `ENABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 141s] --> ./src/pkgmgr/server/request_type.rs:18:5 [ 141s] | [ 141s] 18 | ENABLE_GLOBAL_APP_FOR_UID, [ 141s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableGlobalAppForUid` [ 141s] [ 141s] warning: variant `DISABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 141s] --> ./src/pkgmgr/server/request_type.rs:19:5 [ 141s] | [ 141s] 19 | DISABLE_GLOBAL_APP_FOR_UID, [ 141s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableGlobalAppForUid` [ 141s] [ 141s] warning: variant `GENERATE_LICENSE_REQUEST` should have an upper camel case name [ 141s] --> ./src/pkgmgr/server/request_type.rs:22:5 [ 141s] | [ 141s] 22 | GENERATE_LICENSE_REQUEST, [ 141s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GenerateLicenseRequest` [ 141s] [ 141s] warning: variant `REGISTER_LICENSE` should have an upper camel case name [ 141s] --> ./src/pkgmgr/server/request_type.rs:23:5 [ 141s] | [ 141s] 23 | REGISTER_LICENSE, [ 141s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterLicense` [ 141s] [ 141s] warning: variant `DECRYPT_PACKAGE` should have an upper camel case name [ 141s] --> ./src/pkgmgr/server/request_type.rs:24:5 [ 141s] | [ 141s] 24 | DECRYPT_PACKAGE, [ 141s] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DecryptPackage` [ 141s] [ 141s] warning: variant `ENABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 141s] --> ./src/pkgmgr/server/request_type.rs:25:5 [ 141s] | [ 141s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 141s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableAppSplashScreen` [ 141s] [ 141s] warning: variant `DISABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 141s] --> ./src/pkgmgr/server/request_type.rs:26:5 [ 141s] | [ 141s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 141s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableAppSplashScreen` [ 141s] [ 141s] warning: variant `SET_APP_LABEL` should have an upper camel case name [ 141s] --> ./src/pkgmgr/server/request_type.rs:27:5 [ 141s] | [ 141s] 27 | SET_APP_LABEL, [ 141s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppLabel` [ 141s] [ 141s] warning: variant `SET_APP_ICON` should have an upper camel case name [ 141s] --> ./src/pkgmgr/server/request_type.rs:28:5 [ 141s] | [ 141s] 28 | SET_APP_ICON, [ 141s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppIcon` [ 141s] [ 141s] warning: variant `MIGRATE_EXTERNAL_IMAGE` should have an upper camel case name [ 141s] --> ./src/pkgmgr/server/request_type.rs:29:5 [ 141s] | [ 141s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 141s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MigrateExternalImage` [ 141s] [ 141s] warning: variant `RESOURCE_SHARE_COPY` should have an upper camel case name [ 141s] --> ./src/pkgmgr/server/request_type.rs:30:5 [ 141s] | [ 141s] 30 | RESOURCE_SHARE_COPY, [ 141s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCopy` [ 141s] [ 141s] warning: variant `RESOURCE_SHARE_CREATE_DIR` should have an upper camel case name [ 141s] --> ./src/pkgmgr/server/request_type.rs:31:5 [ 141s] | [ 141s] 31 | RESOURCE_SHARE_CREATE_DIR, [ 141s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCreateDir` [ 141s] [ 141s] warning: variant `RESOURCE_SHARE_REMOVE` should have an upper camel case name [ 141s] --> ./src/pkgmgr/server/request_type.rs:32:5 [ 141s] | [ 141s] 32 | RESOURCE_SHARE_REMOVE, [ 141s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareRemove` [ 141s] [ 141s] warning: variant `RESOURCE_SHARE_UNINSTALL` should have an upper camel case name [ 141s] --> ./src/pkgmgr/server/request_type.rs:33:5 [ 141s] | [ 141s] 33 | RESOURCE_SHARE_UNINSTALL, [ 141s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareUninstall` [ 141s] [ 141s] warning: variant `REMOVE_FILE` should have an upper camel case name [ 141s] --> ./src/pkgmgr/server/request_type.rs:34:5 [ 141s] | [ 141s] 34 | REMOVE_FILE, [ 141s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RemoveFile` [ 141s] [ 141s] warning: unused import: `CStr` [ 141s] --> ./src/pkgmgr/server/signal.rs:1:39 [ 141s] | [ 141s] 1 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 141s] | ^^^^ [ 141s] [ 141s] warning: unused import: `pid_t` [ 141s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 141s] | [ 141s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 141s] | ^^^^^ [ 141s] [ 141s] warning: unused imports: `CStr`, `CString`, `c_char`, `c_void` [ 141s] --> ./src/pkgmgr/server/signal.rs:39:20 [ 141s] | [ 141s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 141s] | ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^ [ 141s] [ 141s] warning: unused import: `pid_t` [ 141s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 141s] | [ 141s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 141s] | ^^^^^ [ 141s] [ 141s] warning: unused import: `std::cell::RefCell` [ 141s] --> ./src/pkgmgr/server/util.rs:1:5 [ 141s] | [ 141s] 1 | use std::cell::RefCell; [ 141s] | ^^^^^^^^^^^^^^^^^^ [ 141s] [ 141s] warning: unused import: `std::rc::Rc` [ 141s] --> ./src/pkgmgr/server/util.rs:8:5 [ 141s] | [ 141s] 8 | use std::rc::Rc; [ 141s] | ^^^^^^^^^^^ [ 141s] [ 141s] warning: type `xmlChar` should have an upper camel case name [ 141s] --> ./src/pkgmgr/server/util.rs:34:6 [ 141s] | [ 141s] 34 | type xmlChar = c_uchar; [ 141s] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlChar` [ 141s] [ 141s] warning: type `xmlTextReaderPtr` should have an upper camel case name [ 141s] --> ./src/pkgmgr/server/util.rs:35:6 [ 141s] | [ 141s] 35 | type xmlTextReaderPtr = *mut c_void; [ 141s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlTextReaderPtr` [ 141s] [ 141s] warning: unused imports: `CStr`, `CString` [ 141s] --> ./src/pkgmgr/server/util.rs:39:43 [ 141s] | [ 141s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 141s] | ^^^^ ^^^^^^^ [ 141s] [ 141s] warning: unused import: `pid_t` [ 141s] --> ./src/pkgmgr/server/util.rs:40:37 [ 141s] | [ 141s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 141s] | ^^^^^ [ 141s] [ 142s] warning: unnecessary parentheses around `if` condition [ 142s] --> ./src/pkgmgr/server/util.rs:474:24 [ 142s] | [ 142s] 474 | if (cur == depth + 1) { [ 142s] | ^ ^ [ 142s] | [ 142s] help: remove these parentheses [ 142s] | [ 142s] 474 - if (cur == depth + 1) { [ 142s] 474 + if cur == depth + 1 { [ 142s] | [ 142s] [ 142s] warning: unnecessary parentheses around `if` condition [ 142s] --> ./src/pkgmgr/server/util.rs:571:12 [ 142s] | [ 142s] 571 | if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 142s] | ^ ^ [ 142s] | [ 142s] help: remove these parentheses [ 142s] | [ 142s] 571 - if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 142s] 571 + if unzOpenCurrentFile(uf) != UNZ_OK as c_int { [ 142s] | [ 142s] [ 142s] warning: unused import: `std::ffi::CStr` [ 142s] --> ./src/pkgmgr/server/test/util_tests.rs:4:5 [ 142s] | [ 142s] 4 | use std::ffi::CStr; [ 142s] | ^^^^^^^^^^^^^^ [ 142s] [ 142s] warning: unused import: `std::mem` [ 142s] --> ./src/pkgmgr/server/test/util_tests.rs:6:5 [ 142s] | [ 142s] 6 | use std::mem; [ 142s] | ^^^^^^^^ [ 142s] [ 142s] warning: unused import: `mockall::predicate::*` [ 142s] --> ./src/pkgmgr/server/test/util_tests.rs:8:5 [ 142s] | [ 142s] 8 | use mockall::predicate::*; [ 142s] | ^^^^^^^^^^^^^^^^^^^^^ [ 142s] [ 142s] warning: unused import: `mockall::*` [ 142s] --> ./src/pkgmgr/server/test/util_tests.rs:9:5 [ 142s] | [ 142s] 9 | use mockall::*; [ 142s] | ^^^^^^^^^^ [ 142s] [ 142s] warning: unused import: `std::ffi::CString` [ 142s] --> ./src/pkgmgr/server/test/signal_tests.rs:2:5 [ 142s] | [ 142s] 2 | use std::ffi::CString; [ 142s] | ^^^^^^^^^^^^^^^^^ [ 142s] [ 142s] warning: unused import: `std::ffi::CStr` [ 142s] --> ./src/pkgmgr/server/test/signal_tests.rs:3:5 [ 142s] | [ 142s] 3 | use std::ffi::CStr; [ 142s] | ^^^^^^^^^^^^^^ [ 142s] [ 142s] warning: unused import: `std::ffi::c_char` [ 142s] --> ./src/pkgmgr/server/test/signal_tests.rs:4:5 [ 142s] | [ 142s] 4 | use std::ffi::c_char; [ 142s] | ^^^^^^^^^^^^^^^^ [ 142s] [ 142s] warning: unused import: `std::mem` [ 142s] --> ./src/pkgmgr/server/test/signal_tests.rs:5:5 [ 142s] | [ 142s] 5 | use std::mem; [ 142s] | ^^^^^^^^ [ 142s] [ 142s] warning: unused import: `mockall::predicate::*` [ 142s] --> ./src/pkgmgr/server/test/signal_tests.rs:6:5 [ 142s] | [ 142s] 6 | use mockall::predicate::*; [ 142s] | ^^^^^^^^^^^^^^^^^^^^^ [ 142s] [ 142s] warning: unused import: `mockall::*` [ 142s] --> ./src/pkgmgr/server/test/signal_tests.rs:7:5 [ 142s] | [ 142s] 7 | use mockall::*; [ 142s] | ^^^^^^^^^^ [ 142s] [ 142s] warning: unused import: `pid_t` [ 142s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 142s] | [ 142s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: unused import: `std::cell::RefCell` [ 142s] --> ./src/pkgmgr/server/mod.rs:22:5 [ 142s] | [ 142s] 22 | use std::cell::RefCell; [ 142s] | ^^^^^^^^^^^^^^^^^^ [ 142s] [ 142s] warning: unused import: `std::rc::Rc` [ 142s] --> ./src/pkgmgr/server/mod.rs:26:5 [ 142s] | [ 142s] 26 | use std::rc::Rc; [ 142s] | ^^^^^^^^^^^ [ 142s] [ 142s] warning: unused import: `std::process::Command` [ 142s] --> ./src/main.rs:9:5 [ 142s] | [ 142s] 9 | use std::process::Command; [ 142s] | ^^^^^^^^^^^^^^^^^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:5:26 [ 142s] | [ 142s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 142s] | ^^^^^ [ 142s] | [ 142s] = note: `#[warn(deprecated)]` on by default [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:5:33 [ 142s] | [ 142s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:20:20 [ 142s] | [ 142s] 20 | const GLOBAL_USER: uid_t = 201; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:322:25 [ 142s] | [ 142s] 322 | let mut caller_uid: uid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:443:25 [ 142s] | [ 142s] 443 | let mut caller_uid: uid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:548:25 [ 142s] | [ 142s] 548 | let mut caller_uid: uid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:595:25 [ 142s] | [ 142s] 595 | let mut caller_uid: uid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:718:25 [ 142s] | [ 142s] 718 | let mut caller_uid: uid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:801:25 [ 142s] | [ 142s] 801 | let mut caller_uid: uid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:853:25 [ 142s] | [ 142s] 853 | let mut caller_uid: uid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:937:25 [ 142s] | [ 142s] 937 | let mut caller_uid: uid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:990:25 [ 142s] | [ 142s] 990 | let mut caller_uid: uid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1015:76 [ 142s] | [ 142s] 1015 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, true) { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1072:25 [ 142s] | [ 142s] 1072 | let mut caller_uid: uid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1097:76 [ 142s] | [ 142s] 1097 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, false) { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1151:25 [ 142s] | [ 142s] 1151 | let mut caller_pid: pid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1152:25 [ 142s] | [ 142s] 1152 | let mut caller_uid: uid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1166:62 [ 142s] | [ 142s] 1166 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1196:66 [ 142s] | [ 142s] 1196 | let ret = Util::RegisterPkgUpdateInfo(handle, uid as uid_t); [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1215:25 [ 142s] | [ 142s] 1215 | let mut caller_pid: pid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1216:25 [ 142s] | [ 142s] 1216 | let mut caller_uid: uid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1230:62 [ 142s] | [ 142s] 1230 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1254:109 [ 142s] | [ 142s] 1254 | RequestResult::DELAYED(generated_req_key, Util::UnregisterPkgUpdateInfo(pkg_id.as_ptr(), uid as uid_t)) [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1270:25 [ 142s] | [ 142s] 1270 | let mut caller_pid: pid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1271:25 [ 142s] | [ 142s] 1271 | let mut caller_uid: uid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1303:95 [ 142s] | [ 142s] 1303 | RequestResult::DELAYED(generated_req_key, Util::UnregisterAllPkgUpdateInfo(uid as uid_t, caller_uid)) [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1312:45 [ 142s] | [ 142s] 1312 | fn handle_enable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1359:60 [ 142s] | [ 142s] 1359 | fn handle_enable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1371:40 [ 142s] | [ 142s] 1371 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1373:40 [ 142s] | [ 142s] 1373 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1380:36 [ 142s] | [ 142s] 1380 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1382:36 [ 142s] | [ 142s] 1382 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1392:36 [ 142s] | [ 142s] 1392 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1394:36 [ 142s] | [ 142s] 1394 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1400:28 [ 142s] | [ 142s] 1400 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1403:46 [ 142s] | [ 142s] 1403 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1404:59 [ 142s] | [ 142s] 1404 | Util::EnableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1405:32 [ 142s] | [ 142s] 1405 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1409:28 [ 142s] | [ 142s] 1409 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1415:46 [ 142s] | [ 142s] 1415 | fn handle_disable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1463:61 [ 142s] | [ 142s] 1463 | fn handle_disable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1475:40 [ 142s] | [ 142s] 1475 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1477:40 [ 142s] | [ 142s] 1477 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1484:36 [ 142s] | [ 142s] 1484 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1486:36 [ 142s] | [ 142s] 1486 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1496:36 [ 142s] | [ 142s] 1496 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1498:36 [ 142s] | [ 142s] 1498 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1504:28 [ 142s] | [ 142s] 1504 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1507:46 [ 142s] | [ 142s] 1507 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1508:60 [ 142s] | [ 142s] 1508 | Util::DisableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1509:32 [ 142s] | [ 142s] 1509 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1513:28 [ 142s] | [ 142s] 1513 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1535:25 [ 142s] | [ 142s] 1535 | let mut caller_uid: uid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1562:70 [ 142s] | [ 142s] 1562 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1588:25 [ 142s] | [ 142s] 1588 | let mut caller_uid: uid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1615:71 [ 142s] | [ 142s] 1615 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1673:74 [ 142s] | [ 142s] 1673 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1735:75 [ 142s] | [ 142s] 1735 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1765:25 [ 142s] | [ 142s] 1765 | let mut caller_uid: uid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1792:85 [ 142s] | [ 142s] 1792 | RequestResult::VAL(handle_enable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1818:25 [ 142s] | [ 142s] 1818 | let mut caller_uid: uid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1845:86 [ 142s] | [ 142s] 1845 | RequestResult::VAL(handle_disable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1863:40 [ 142s] | [ 142s] 1863 | Util::KillAppsInPkg(pkg_id, uid as uid_t) [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1873:25 [ 142s] | [ 142s] 1873 | let mut caller_pid: pid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1874:25 [ 142s] | [ 142s] 1874 | let mut caller_uid: uid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1985:25 [ 142s] | [ 142s] 1985 | let mut caller_pid: pid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:1986:25 [ 142s] | [ 142s] 1986 | let mut caller_uid: uid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:2035:25 [ 142s] | [ 142s] 2035 | let mut caller_pid: pid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:2036:25 [ 142s] | [ 142s] 2036 | let mut caller_uid: uid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:2083:54 [ 142s] | [ 142s] 2083 | Util::EnableGlobalAppSplashScreen(app_id, uid as uid_t) [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:2093:55 [ 142s] | [ 142s] 2093 | Util::DisableGlobalAppSplashScreen(app_id, uid as uid_t) [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:2105:25 [ 142s] | [ 142s] 2105 | let mut caller_pid: pid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:2106:25 [ 142s] | [ 142s] 2106 | let mut caller_uid: uid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:2137:102 [ 142s] | [ 142s] 2137 | RequestResult::DELAYED(generated_req_key, Util::update_app_label(app_id.as_ptr(), uid as uid_t , label.as_ptr())) [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:2155:25 [ 142s] | [ 142s] 2155 | let mut caller_pid: pid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:2156:25 [ 142s] | [ 142s] 2156 | let mut caller_uid: uid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:2187:101 [ 142s] | [ 142s] 2187 | RequestResult::DELAYED(generated_req_key, Util::update_app_icon(app_id.as_ptr(), uid as uid_t , icon_path.as_ptr())) [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:2312:25 [ 142s] | [ 142s] 2312 | let mut caller_uid: uid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:2313:25 [ 142s] | [ 142s] 2313 | let mut caller_pid: pid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:2383:25 [ 142s] | [ 142s] 2383 | let mut caller_uid: uid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:2384:25 [ 142s] | [ 142s] 2384 | let mut caller_pid: pid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:2453:25 [ 142s] | [ 142s] 2453 | let mut caller_uid: uid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:2454:25 [ 142s] | [ 142s] 2454 | let mut caller_pid: pid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:2532:25 [ 142s] | [ 142s] 2532 | let mut caller_uid: uid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:2622:41 [ 142s] | [ 142s] 2622 | if unsafe { check_valid_path(uid as uid_t, pkg_id, file_path) } != 0 { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:2681:19 [ 142s] | [ 142s] 2681 | pid: *mut pid_t, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/admin_service.rs:2682:19 [ 142s] | [ 142s] 2682 | uid: *mut uid_t [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 142s] | [ 142s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/backend_context.rs:3:33 [ 142s] | [ 142s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/cache_service.rs:12:26 [ 142s] | [ 142s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/cache_service.rs:12:33 [ 142s] | [ 142s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/cache_service.rs:23:14 [ 142s] | [ 142s] 23 | uid: uid_t, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/cache_service.rs:48:17 [ 142s] | [ 142s] 48 | target_uid: uid_t, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/cache_service.rs:53:25 [ 142s] | [ 142s] 53 | let mut caller_uid: uid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/cache_service.rs:106:19 [ 142s] | [ 142s] 106 | pid: *mut pid_t, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/cache_service.rs:107:19 [ 142s] | [ 142s] 107 | uid: *mut uid_t [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 142s] | [ 142s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/delayed_service.rs:13:33 [ 142s] | [ 142s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/info_service.rs:2:26 [ 142s] | [ 142s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/info_service.rs:2:33 [ 142s] | [ 142s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/info_service.rs:37:90 [ 142s] | [ 142s] 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... [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/info_service.rs:38:94 [ 142s] | [ 142s] 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... [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/info_service.rs:40:88 [ 142s] | [ 142s] 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... [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/info_service.rs:40:128 [ 142s] | [ 142s] 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... [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/info_service.rs:54:17 [ 142s] | [ 142s] 54 | target_uid: uid_t, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/info_service.rs:60:25 [ 142s] | [ 142s] 60 | let mut caller_pid: pid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/info_service.rs:61:25 [ 142s] | [ 142s] 61 | let mut caller_uid: uid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/info_service.rs:114:17 [ 142s] | [ 142s] 114 | target_uid: uid_t, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/info_service.rs:120:25 [ 142s] | [ 142s] 120 | let mut caller_pid: pid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/info_service.rs:121:25 [ 142s] | [ 142s] 121 | let mut caller_uid: uid_t = 0; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/info_service.rs:223:17 [ 142s] | [ 142s] 223 | target_uid: uid_t, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/info_service.rs:225:15 [ 142s] | [ 142s] 225 | pid: *mut pid_t, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/info_service.rs:228:43 [ 142s] | [ 142s] 228 | Util::check_app(pkg_id, target_uid as uid_t, pid) [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/info_service.rs:242:19 [ 142s] | [ 142s] 242 | pid: *mut pid_t, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/info_service.rs:243:19 [ 142s] | [ 142s] 243 | uid: *mut uid_t [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/signal.rs:2:26 [ 142s] | [ 142s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 142s] | [ 142s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/signal.rs:99:20 [ 142s] | [ 142s] 99 | const GLOBAL_USER: uid_t = 201; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/signal.rs:101:33 [ 142s] | [ 142s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/signal.rs:101:47 [ 142s] | [ 142s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/signal.rs:102:26 [ 142s] | [ 142s] 102 | let mut uid_vec: Vec = vec![]; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/signal.rs:110:28 [ 142s] | [ 142s] 110 | let mut uids: *mut uid_t = std::ptr::null_mut(); [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/signal.rs:124:14 [ 142s] | [ 142s] 124 | uid: uid_t, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/signal.rs:53:44 [ 142s] | [ 142s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/signal.rs:62:14 [ 142s] | [ 142s] 62 | uid: uid_t, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/signal.rs:86:14 [ 142s] | [ 142s] 86 | uid: uid_t, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/signal.rs:40:30 [ 142s] | [ 142s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 142s] | [ 142s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/signal.rs:44:45 [ 142s] | [ 142s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:4:26 [ 142s] | [ 142s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:4:33 [ 142s] | [ 142s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:22:21 [ 142s] | [ 142s] 22 | const REGULAR_USER: uid_t = 5000; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:23:20 [ 142s] | [ 142s] 23 | const GLOBAL_USER: uid_t = 201; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:25:18 [ 142s] | [ 142s] 25 | const APPFW_UID: uid_t = 301; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:307:36 [ 142s] | [ 142s] 307 | let uid : uid_t = user_data as uid_t; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:307:15 [ 142s] | [ 142s] 307 | let uid : uid_t = user_data as uid_t; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:326:81 [ 142s] | [ 142s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:326:93 [ 142s] | [ 142s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:326:25 [ 142s] | [ 142s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:326:37 [ 142s] | [ 142s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:389:57 [ 142s] | [ 142s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:420:55 [ 142s] | [ 142s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:686:62 [ 142s] | [ 142s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:696:63 [ 142s] | [ 142s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:706:44 [ 142s] | [ 142s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:706:63 [ 142s] | [ 142s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:728:49 [ 142s] | [ 142s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:738:50 [ 142s] | [ 142s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:747:55 [ 142s] | [ 142s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:757:56 [ 142s] | [ 142s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:766:61 [ 142s] | [ 142s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:775:62 [ 142s] | [ 142s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:784:67 [ 142s] | [ 142s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:793:68 [ 142s] | [ 142s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:802:54 [ 142s] | [ 142s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:802:64 [ 142s] | [ 142s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:813:47 [ 142s] | [ 142s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:835:53 [ 142s] | [ 142s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:855:25 [ 142s] | [ 142s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:983:69 [ 142s] | [ 142s] 983 | pub fn get_application_info_by_appid(appid: *const c_char, uid: uid_t) -> Option<(CString, bool)> { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:1012:41 [ 142s] | [ 142s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:1012:53 [ 142s] | [ 142s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:1029:71 [ 142s] | [ 142s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:1029:90 [ 142s] | [ 142s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:1076:56 [ 142s] | [ 142s] 1076 | pub fn update_app_label(appid: *const c_char, uid: uid_t, label: *const c_char) -> c_int { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:1080:55 [ 142s] | [ 142s] 1080 | pub fn update_app_icon(appid: *const c_char, uid: uid_t, icon_path: *const c_char) -> c_int { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:1108:49 [ 142s] | [ 142s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:1108:66 [ 142s] | [ 142s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:156:14 [ 142s] | [ 142s] 156 | uid: uid_t, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:166:14 [ 142s] | [ 142s] 166 | uid: uid_t, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:180:14 [ 142s] | [ 142s] 180 | uid: uid_t [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:185:14 [ 142s] | [ 142s] 185 | uid: uid_t [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:189:14 [ 142s] | [ 142s] 189 | uid: uid_t [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:194:14 [ 142s] | [ 142s] 194 | uid: uid_t, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:200:14 [ 142s] | [ 142s] 200 | uid: uid_t, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:206:14 [ 142s] | [ 142s] 206 | uid: uid_t, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:212:14 [ 142s] | [ 142s] 212 | uid: uid_t, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:218:14 [ 142s] | [ 142s] 218 | uid: uid_t, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:224:14 [ 142s] | [ 142s] 224 | uid: uid_t, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:237:32 [ 142s] | [ 142s] 237 | fn gum_user_get_sync(uid : uid_t, offline : c_int) -> *mut c_void; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:266:21 [ 142s] | [ 142s] 266 | caller_uid: uid_t [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:274:14 [ 142s] | [ 142s] 274 | uid: uid_t, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:40:30 [ 142s] | [ 142s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:40:37 [ 142s] | [ 142s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:46:18 [ 142s] | [ 142s] 46 | uid: uid_t, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:52:18 [ 142s] | [ 142s] 52 | uid: uid_t, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:67:18 [ 142s] | [ 142s] 67 | uid: uid_t, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:101:18 [ 142s] | [ 142s] 101 | uid: uid_t, [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:122:70 [ 142s] | [ 142s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:123:66 [ 142s] | [ 142s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:124:59 [ 142s] | [ 142s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 142s] | ^^^^^ [ 142s] [ 142s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 142s] --> ./src/pkgmgr/server/util.rs:125:97 [ 142s] | [ 142s] 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; [ 142s] | ^^^^^ [ 142s] [ 143s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 143s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 143s] | [ 143s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 143s] | ^^^^^ [ 143s] [ 143s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 143s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 143s] | [ 143s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 143s] | ^^^^^ [ 143s] [ 143s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 143s] --> ./src/pkgmgr/server/test/signal_tests.rs:12:26 [ 143s] | [ 143s] 12 | let mut uid_vec: Vec = vec![]; [ 143s] | ^^^^^ [ 143s] [ 143s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 143s] --> ./src/pkgmgr/server/test/signal_tests.rs:19:26 [ 143s] | [ 143s] 19 | let mut uid_vec: Vec = vec![]; [ 143s] | ^^^^^ [ 143s] [ 147s] warning: unreachable expression [ 147s] --> ./src/pkgmgr/server/backend_queue.rs:64:5 [ 147s] | [ 147s] 61 | return G_SOURCE_CONTINUE; [ 147s] | ------------------------ any code following this expression is unreachable [ 147s] ... [ 147s] 64 | 1 [ 147s] | ^ unreachable expression [ 147s] | [ 147s] = note: `#[warn(unreachable_code)]` on by default [ 147s] [ 152s] warning: unused import: `super::super::super::server::service::Service` [ 152s] --> ./src/pkgmgr/server/test/info_service_tests.rs:3:5 [ 152s] | [ 152s] 3 | use super::super::super::server::service::Service; [ 152s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 152s] [ 152s] warning: unused variable: `context` [ 152s] --> ./src/pkgmgr/server/admin_service.rs:297:5 [ 152s] | [ 152s] 297 | context: *mut c_void, [ 152s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 152s] | [ 152s] = note: `#[warn(unused_variables)]` on by default [ 152s] [ 152s] warning: unused variable: `context` [ 152s] --> ./src/pkgmgr/server/admin_service.rs:306:5 [ 152s] | [ 152s] 306 | context: *mut c_void, [ 152s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 152s] [ 152s] warning: unused variable: `user_data` [ 152s] --> ./src/pkgmgr/server/admin_service.rs:307:5 [ 152s] | [ 152s] 307 | user_data: *mut c_void, [ 152s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 152s] [ 152s] warning: unused variable: `ret` [ 152s] --> ./src/pkgmgr/server/admin_service.rs:323:9 [ 152s] | [ 152s] 323 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 152s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 152s] [ 152s] warning: unused variable: `req_id` [ 152s] --> ./src/pkgmgr/server/admin_service.rs:318:5 [ 152s] | [ 152s] 318 | req_id: *const c_char, [ 152s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 152s] [ 152s] warning: variable does not need to be mutable [ 152s] --> ./src/pkgmgr/server/admin_service.rs:415:9 [ 152s] | [ 152s] 415 | let mut backend_context = BackendContext::new( [ 152s] | ----^^^^^^^^^^^^^^^ [ 152s] | | [ 152s] | help: remove this `mut` [ 152s] | [ 152s] = note: `#[warn(unused_mut)]` on by default [ 152s] [ 152s] warning: unused variable: `ret` [ 152s] --> ./src/pkgmgr/server/admin_service.rs:444:9 [ 152s] | [ 152s] 444 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 152s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 152s] [ 152s] warning: unused variable: `req_id` [ 152s] --> ./src/pkgmgr/server/admin_service.rs:434:5 [ 152s] | [ 152s] 434 | req_id: *const c_char, [ 152s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 152s] [ 152s] warning: variable does not need to be mutable [ 152s] --> ./src/pkgmgr/server/admin_service.rs:510:9 [ 152s] | [ 152s] 510 | let mut backend_context = BackendContext::new( [ 152s] | ----^^^^^^^^^^^^^^^ [ 152s] | | [ 152s] | help: remove this `mut` [ 152s] [ 152s] warning: unused variable: `ret` [ 152s] --> ./src/pkgmgr/server/admin_service.rs:549:9 [ 152s] | [ 152s] 549 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 152s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 152s] [ 152s] warning: variable does not need to be mutable [ 152s] --> ./src/pkgmgr/server/admin_service.rs:571:9 [ 152s] | [ 152s] 571 | let mut backend_context = BackendContext::new( [ 152s] | ----^^^^^^^^^^^^^^^ [ 152s] | | [ 152s] | help: remove this `mut` [ 152s] [ 152s] warning: unused variable: `ret` [ 152s] --> ./src/pkgmgr/server/admin_service.rs:596:9 [ 152s] | [ 152s] 596 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 152s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 152s] [ 152s] warning: unused variable: `req_id` [ 152s] --> ./src/pkgmgr/server/admin_service.rs:591:5 [ 152s] | [ 152s] 591 | req_id: *const c_char, [ 152s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 152s] [ 152s] warning: variable does not need to be mutable [ 152s] --> ./src/pkgmgr/server/admin_service.rs:688:9 [ 152s] | [ 152s] 688 | let mut backend_context = BackendContext::new( [ 152s] | ----^^^^^^^^^^^^^^^ [ 152s] | | [ 152s] | help: remove this `mut` [ 152s] [ 152s] warning: unused variable: `ret` [ 152s] --> ./src/pkgmgr/server/admin_service.rs:719:9 [ 152s] | [ 152s] 719 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 152s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 152s] [ 152s] warning: unused variable: `req_id` [ 152s] --> ./src/pkgmgr/server/admin_service.rs:706:5 [ 152s] | [ 152s] 706 | req_id: *const c_char, [ 152s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 152s] [ 152s] warning: variable does not need to be mutable [ 152s] --> ./src/pkgmgr/server/admin_service.rs:763:9 [ 152s] | [ 152s] 763 | let mut backend_context = BackendContext::new( [ 152s] | ----^^^^^^^^^^^^^^^ [ 152s] | | [ 152s] | help: remove this `mut` [ 152s] [ 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] [ 153s] warning: variable does not need to be mutable [ 153s] --> ./src/pkgmgr/server/admin_service.rs:1669:17 [ 153s] | [ 153s] 1669 | 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:1689:5 [ 153s] | [ 153s] 1689 | 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:1731:17 [ 153s] | [ 153s] 1731 | 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:1765:13 [ 153s] | [ 153s] 1765 | 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:1751:5 [ 153s] | [ 153s] 1751 | 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:1765:9 [ 153s] | [ 153s] 1765 | 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:1788:13 [ 153s] | [ 153s] 1788 | 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:1818:13 [ 153s] | [ 153s] 1818 | 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:1804:5 [ 153s] | [ 153s] 1804 | 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:1818:9 [ 153s] | [ 153s] 1818 | 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:1841:13 [ 153s] | [ 153s] 1841 | 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:1857:5 [ 153s] | [ 153s] 1857 | context: *mut c_void, [ 153s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 153s] [ 153s] warning: unused variable: `pid` [ 153s] --> ./src/pkgmgr/server/admin_service.rs:1860:5 [ 153s] | [ 153s] 1860 | pid: *mut c_int, [ 153s] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [ 153s] [ 153s] warning: unused variable: `user_data` [ 153s] --> ./src/pkgmgr/server/admin_service.rs:1861:5 [ 153s] | [ 153s] 1861 | user_data: *mut c_void, [ 153s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 153s] [ 153s] warning: variable does not need to be mutable [ 153s] --> ./src/pkgmgr/server/admin_service.rs:1900:9 [ 153s] | [ 153s] 1900 | 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:1932:5 [ 153s] | [ 153s] 1932 | 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:2012:9 [ 153s] | [ 153s] 2012 | 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:2063:9 [ 153s] | [ 153s] 2063 | 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:2078:5 [ 153s] | [ 153s] 2078 | 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:2081:5 [ 153s] | [ 153s] 2081 | user_data: *mut c_void, [ 153s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 153s] [ 153s] warning: unused variable: `context` [ 153s] --> ./src/pkgmgr/server/admin_service.rs:2088:5 [ 153s] | [ 153s] 2088 | 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:2091:5 [ 153s] | [ 153s] 2091 | user_data: *mut c_void, [ 153s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 153s] [ 153s] warning: variable does not need to be mutable [ 153s] --> ./src/pkgmgr/server/admin_service.rs:2133:9 [ 153s] | [ 153s] 2133 | 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:2183:9 [ 153s] | [ 153s] 2183 | 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:2198:5 [ 153s] | [ 153s] 2198 | context: *mut c_void, [ 153s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 153s] [ 153s] warning: unused variable: `uid` [ 153s] --> ./src/pkgmgr/server/admin_service.rs:2199:5 [ 153s] | [ 153s] 2199 | uid: c_int, [ 153s] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [ 153s] [ 153s] warning: unused variable: `pkg_id` [ 153s] --> ./src/pkgmgr/server/admin_service.rs:2200:5 [ 153s] | [ 153s] 2200 | pkg_id: *const c_char, [ 153s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 153s] [ 153s] warning: unused variable: `user_data` [ 153s] --> ./src/pkgmgr/server/admin_service.rs:2201:5 [ 153s] | [ 153s] 2201 | user_data: *mut c_void, [ 153s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 153s] [ 153s] warning: variable does not need to be mutable [ 153s] --> ./src/pkgmgr/server/admin_service.rs:2364:9 [ 153s] | [ 153s] 2364 | 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:2434:9 [ 153s] | [ 153s] 2434 | 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:2504:9 [ 153s] | [ 153s] 2504 | 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:2533:9 [ 153s] | [ 153s] 2533 | 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:2552:9 [ 153s] | [ 153s] 2552 | 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:2567:5 [ 153s] | [ 153s] 2567 | 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:2597:9 [ 153s] | [ 153s] 2597 | 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:2612:5 [ 153s] | [ 153s] 2612 | 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:2656:9 [ 153s] | [ 153s] 2656 | let mut backend_context = BackendContext::new( [ 153s] | ----^^^^^^^^^^^^^^^ [ 153s] | | [ 153s] | help: remove this `mut` [ 153s] [ 153s] warning: unused variable: `status` [ 153s] --> ./src/pkgmgr/server/backend_queue.rs:38:17 [ 153s] | [ 153s] 38 | let mut status: c_int; [ 153s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [ 153s] [ 153s] warning: unused variable: `io` [ 153s] --> ./src/pkgmgr/server/backend_queue.rs:30:33 [ 153s] | [ 153s] 30 | extern "C" fn signal_handler_cb(io: *mut glib_sys::GIOChannel, [ 153s] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [ 153s] [ 153s] warning: unused variable: `cond` [ 153s] --> ./src/pkgmgr/server/backend_queue.rs:31:9 [ 153s] | [ 153s] 31 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 153s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 153s] [ 153s] warning: variable does not need to be mutable [ 153s] --> ./src/pkgmgr/server/backend_queue.rs:71:9 [ 153s] | [ 153s] 71 | let mut mut_queue = queue.borrow_mut(); [ 153s] | ----^^^^^^^^^ [ 153s] | | [ 153s] | help: remove this `mut` [ 153s] [ 153s] warning: variable does not need to be mutable [ 153s] --> ./src/pkgmgr/server/backend_queue.rs:189:28 [ 153s] | [ 153s] 189 | pub fn push(&mut self, mut context: BackendContext) -> i32 { [ 153s] | ----^^^^^^^ [ 153s] | | [ 153s] | help: remove this `mut` [ 153s] [ 153s] warning: unused variable: `req_key` [ 153s] --> ./src/pkgmgr/server/backend_queue.rs:296:41 [ 153s] | [ 153s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 153s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_key` [ 153s] [ 153s] warning: unused variable: `ret` [ 153s] --> ./src/pkgmgr/server/backend_queue.rs:296:50 [ 153s] | [ 153s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 153s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 153s] [ 153s] warning: unused variable: `s` [ 153s] --> ./src/pkgmgr/server/backend_queue.rs:296:55 [ 153s] | [ 153s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 153s] | ^ help: if this is intentional, prefix it with an underscore: `_s` [ 153s] [ 153s] warning: variable does not need to be mutable [ 153s] --> ./src/pkgmgr/server/backend_queue.rs:278:25 [ 153s] | [ 153s] 278 | let mut backend: &mut Backend = backend.unwrap(); [ 153s] | ----^^^^^^^ [ 153s] | | [ 153s] | help: remove this `mut` [ 153s] [ 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] [ 154s] warning: variable does not need to be mutable [ 154s] --> ./src/pkgmgr/server/signal.rs:144:13 [ 154s] | [ 154s] 144 | let mut c_req_type: c_int; [ 154s] | ----^^^^^^^^^^ [ 154s] | | [ 154s] | help: remove this `mut` [ 154s] [ 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] [ 159s] warning: unused variable: `x` [ 159s] --> ./src/pkgmgr/server/test/util_tests.rs:124:38 [ 159s] | [ 159s] 124 | 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:124:40 [ 159s] | [ 159s] 124 | 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:124:42 [ 159s] | [ 159s] 124 | 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:126:39 [ 159s] | [ 159s] 126 | 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:131:39 [ 159s] | [ 159s] 131 | ctx3.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:138:38 [ 159s] | [ 159s] 138 | 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:138:40 [ 159s] | [ 159s] 138 | 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:138:42 [ 159s] | [ 159s] 138 | 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:140:39 [ 159s] | [ 159s] 140 | 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:145:39 [ 159s] | [ 159s] 145 | ctx3.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:153:38 [ 159s] | [ 159s] 153 | ctx.expect().times(1).returning(|x| 1); [ 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:160:38 [ 159s] | [ 159s] 160 | 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:162:39 [ 159s] | [ 159s] 162 | 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:162:41 [ 159s] | [ 159s] 162 | 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:164:40 [ 159s] | [ 159s] 164 | ctx_d.expect().times(1).returning(|x| -1); [ 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:171:38 [ 159s] | [ 159s] 171 | 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:173:39 [ 159s] | [ 159s] 173 | 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:173:41 [ 159s] | [ 159s] 173 | 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:175:39 [ 159s] | [ 159s] 175 | 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:175:41 [ 159s] | [ 159s] 175 | 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:177:40 [ 159s] | [ 159s] 177 | ctx_d.expect().times(1).returning(|x| -1); [ 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:184:38 [ 159s] | [ 159s] 184 | 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:186:39 [ 159s] | [ 159s] 186 | 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:186:41 [ 159s] | [ 159s] 186 | 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:188:39 [ 159s] | [ 159s] 188 | 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:188:41 [ 159s] | [ 159s] 188 | 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:190:39 [ 159s] | [ 159s] 190 | ctx4.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:190:41 [ 159s] | [ 159s] 190 | ctx4.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:192:40 [ 159s] | [ 159s] 192 | ctx_d.expect().times(1).returning(|x| -1); [ 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: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] [ 161s] warning: unnecessary `unsafe` block [ 161s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 161s] | [ 161s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 161s] | ^^^^^^ unnecessary `unsafe` block [ 161s] | [ 161s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 161s] | [ 161s] 984 | unsafe { [ 161s] | ------ because it's nested under this `unsafe` block [ 161s] ... [ 161s] 1000 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 161s] | ---------------------------------------------------------------------------- in this macro invocation [ 161s] | [ 161s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 161s] [ 161s] warning: unnecessary `unsafe` block [ 161s] --> ./src/pkgmgr/server/util.rs:1005:40 [ 161s] | [ 161s] 984 | unsafe { [ 161s] | ------ because it's nested under this `unsafe` block [ 161s] ... [ 161s] 1005 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) } ); [ 161s] | ^^^^^^ unnecessary `unsafe` block [ 161s] [ 161s] warning: unnecessary `unsafe` block [ 161s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 161s] | [ 161s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 161s] | ^^^^^^ unnecessary `unsafe` block [ 161s] | [ 161s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 161s] | [ 161s] 1081 | unsafe { [ 161s] | ------ because it's nested under this `unsafe` block [ 161s] ... [ 161s] 1084 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 161s] | ----------------------------------------------------------------------------------- in this macro invocation [ 161s] | [ 161s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 161s] [ 161s] warning: unnecessary `unsafe` block [ 161s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 161s] | [ 161s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 161s] | ^^^^^^ unnecessary `unsafe` block [ 161s] | [ 161s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 161s] | [ 161s] 1081 | unsafe { [ 161s] | ------ because it's nested under this `unsafe` block [ 161s] ... [ 161s] 1090 | error!("Failed get root path for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 161s] | --------------------------------------------------------------------------- in this macro invocation [ 161s] | [ 161s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 161s] [ 161s] warning: unnecessary `unsafe` block [ 161s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 161s] | [ 161s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 161s] | ^^^^^^ unnecessary `unsafe` block [ 161s] | [ 161s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 161s] | [ 161s] 1081 | unsafe { [ 161s] | ------ because it's nested under this `unsafe` block [ 161s] ... [ 161s] 1098 | error!("Invalid path[{:?}]", Self::c_char_to_cstr(icon_path)); [ 161s] | ------------------------------------------------------------- in this macro invocation [ 161s] | [ 161s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 161s] [ 161s] warning: unnecessary `unsafe` block [ 161s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 161s] | [ 161s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 161s] | ^^^^^^ unnecessary `unsafe` block [ 161s] | [ 161s] ::: ./src/pkgmgr/server/util.rs:1109:9 [ 161s] | [ 161s] 1109 | unsafe { [ 161s] | ------ because it's nested under this `unsafe` block [ 161s] ... [ 161s] 1119 | error!("Fail to get list for {:?}", CStr::from_ptr(pkgid)); [ 161s] | ---------------------------------------------------------- in this macro invocation [ 161s] | [ 161s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 161s] [ 161s] warning: unnecessary `unsafe` block [ 161s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 161s] | [ 161s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 161s] | ^^^^^^ unnecessary `unsafe` block [ 161s] | [ 161s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 161s] | [ 161s] 1129 | unsafe { [ 161s] | ------ because it's nested under this `unsafe` block [ 161s] ... [ 161s] 1132 | error!("failed to open the fifo({}), errno({})", fifo_path, *__errno_location()); [ 161s] | -------------------------------------------------------------------------------- in this macro invocation [ 161s] | [ 161s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 161s] [ 161s] warning: unnecessary `unsafe` block [ 161s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 161s] | [ 161s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 161s] | ^^^^^^ unnecessary `unsafe` block [ 161s] | [ 161s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 161s] | [ 161s] 1129 | unsafe { [ 161s] | ------ because it's nested under this `unsafe` block [ 161s] ... [ 161s] 1155 | error!("failed to add io watch"); [ 161s] | -------------------------------- in this macro invocation [ 161s] | [ 161s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 161s] [ 161s] warning: constant `SD_LISTEN_FDS_START` is never used [ 161s] --> ./src/pkgmgr/server/mod.rs:28:7 [ 161s] | [ 161s] 28 | const SD_LISTEN_FDS_START: i32 = 3; [ 161s] | ^^^^^^^^^^^^^^^^^^^ [ 161s] | [ 161s] = note: `#[warn(dead_code)]` on by default [ 161s] [ 161s] warning: multiple variants are never constructed [ 161s] --> ./src/pkgmgr/server/mod.rs:43:5 [ 161s] | [ 161s] 42 | enum AUL_RETURN_VALUE { [ 161s] | ---------------- variants in this enum [ 161s] 43 | AUL_R_ENOMEM = -16, //< Out of memory (Since 5.5) [ 161s] | ^^^^^^^^^^^^ [ 161s] 44 | AUL_R_ENOENT = -15, //< App directory entry error [ 161s] | ^^^^^^^^^^^^ [ 161s] 45 | AUL_R_EREJECTED = -14, //< App disable for mode [ 161s] | ^^^^^^^^^^^^^^^ [ 161s] 46 | AUL_R_ENOAPP = -13, //< Failed to find app ID or pkg ID [ 161s] | ^^^^^^^^^^^^ [ 161s] 47 | AUL_R_EHIDDENFORGUEST = -11, //< App hidden for guest mode [ 161s] | ^^^^^^^^^^^^^^^^^^^^^ [ 161s] 48 | AUL_R_ENOLAUNCHPAD = -10, //< no launchpad [ 161s] | ^^^^^^^^^^^^^^^^^^ [ 161s] 49 | AUL_R_ETERMINATING = -9, //< application terminating [ 161s] | ^^^^^^^^^^^^^^^^^^ [ 161s] 50 | AUL_R_EILLACC = -8, //< Illegal Access [ 161s] | ^^^^^^^^^^^^^ [ 161s] 51 | AUL_R_LOCAL = -7, //< Launch by himself [ 161s] | ^^^^^^^^^^^ [ 161s] 52 | AUL_R_ETIMEOUT = -6, //< Timeout [ 161s] | ^^^^^^^^^^^^^^ [ 161s] 53 | AUL_R_ECANCELED = -5, //< Operation canceled [ 161s] | ^^^^^^^^^^^^^^^ [ 161s] 54 | AUL_R_EINVAL = -4, //< Invalid argument [ 161s] | ^^^^^^^^^^^^ [ 161s] 55 | AUL_R_ECOMM = -3, //< Comunication Error [ 161s] | ^^^^^^^^^^^ [ 161s] 56 | AUL_R_ENOINIT = -2, //< AUL handler NOT initialized [ 161s] | ^^^^^^^^^^^^^ [ 161s] 57 | AUL_R_ERROR = -1, //< General error [ 161s] | ^^^^^^^^^^^ [ 161s] [ 161s] warning: field `timer` is never read [ 161s] --> ./src/pkgmgr/server/mod.rs:63:5 [ 161s] | [ 161s] 61 | pub struct Server { [ 161s] | ------ field in this struct [ 161s] 62 | mainloop: *mut GMainLoop, [ 161s] 63 | timer: c_uint [ 161s] | ^^^^^ [ 161s] [ 161s] warning: variants `IO_ERROR`, `OUT_OF_MEMORY`, `INVALID_PARAMETER`, and `PERMISSION_DENIED` are never constructed [ 161s] --> ./src/pkgmgr/server/admin_service.rs:29:5 [ 161s] | [ 161s] 27 | enum RPC_PORT_ERROR { [ 161s] | -------------- variants in this enum [ 161s] 28 | NONE = 0, //< Successful [ 161s] 29 | IO_ERROR = -5, //< Internal I/O error [ 161s] | ^^^^^^^^ [ 161s] 30 | OUT_OF_MEMORY = -12, //< Out of memory [ 161s] | ^^^^^^^^^^^^^ [ 161s] 31 | INVALID_PARAMETER = -22, //< Invalid parameter [ 161s] | ^^^^^^^^^^^^^^^^^ [ 161s] 32 | PERMISSION_DENIED = -13, //< Permission denied [ 161s] | ^^^^^^^^^^^^^^^^^ [ 161s] [ 161s] warning: method `generate_request_id` is never used [ 161s] --> ./src/pkgmgr/server/admin_service.rs:2786:8 [ 161s] | [ 161s] 2713 | impl AdminService { [ 161s] | ----------------- method in this implementation [ 161s] ... [ 161s] 2786 | fn generate_request_id(&self) -> String { [ 161s] | ^^^^^^^^^^^^^^^^^^^ [ 161s] [ 161s] warning: field `request_type` is never read [ 161s] --> ./src/pkgmgr/server/backend_context.rs:7:5 [ 161s] | [ 161s] 6 | pub struct BackendContext { [ 161s] | -------------- field in this struct [ 161s] 7 | request_type: RequestType, [ 161s] | ^^^^^^^^^^^^ [ 161s] [ 161s] warning: type alias `GIOChannel` is never used [ 161s] --> ./src/pkgmgr/server/backend_queue.rs:14:6 [ 161s] | [ 161s] 14 | type GIOChannel = *mut c_void; [ 161s] | ^^^^^^^^^^ [ 161s] [ 161s] warning: type alias `GIOCondition` is never used [ 161s] --> ./src/pkgmgr/server/backend_queue.rs:15:6 [ 161s] | [ 161s] 15 | type GIOCondition = c_int; [ 161s] | ^^^^^^^^^^^^ [ 161s] [ 161s] warning: variants `EIO`, `ENOPKG`, `EPRIV`, `ETIMEOUT`, `EINVAL`, and `ECOMM` are never constructed [ 161s] --> ./src/pkgmgr/server/info_service.rs:22:5 [ 161s] | [ 161s] 20 | enum PKGMGR_RETURN_VALUE { [ 161s] | ------------------- variants in this enum [ 161s] 21 | ESYSTEM = -9, // Severe system error [ 161s] 22 | EIO = -8, // IO error [ 161s] | ^^^ [ 161s] 23 | ENOMEM = -7, // Out of memory [ 161s] 24 | ENOPKG = -6, // No such package [ 161s] | ^^^^^^ [ 161s] 25 | EPRIV = -5, // Privilege denied [ 161s] | ^^^^^ [ 161s] 26 | ETIMEOUT = -4, // Timeout [ 161s] | ^^^^^^^^ [ 161s] 27 | EINVAL = -3, // Invalid argument [ 161s] | ^^^^^^ [ 161s] 28 | ECOMM = -2, // Comunication Error [ 161s] | ^^^^^ [ 161s] [ 161s] warning: variants `EPRIV` and `ETIMEOUT` are never constructed [ 161s] --> ./src/pkgmgr/server/pkgmgr_return_value.rs:8:5 [ 161s] | [ 161s] 3 | pub enum PKGMGR_RETURN_VALUE { [ 161s] | ------------------- variants in this enum [ 161s] ... [ 161s] 8 | EPRIV = -5, // Privilege denied [ 161s] | ^^^^^ [ 161s] 9 | ETIMEOUT = -4, // Timeout [ 161s] | ^^^^^^^^ [ 161s] [ 161s] warning: variants `KILL`, `CHECK`, `ENABLE_APP_SPLASH_SCREEN`, `DISABLE_APP_SPLASH_SCREEN`, and `MIGRATE_EXTERNAL_IMAGE` are never constructed [ 161s] --> ./src/pkgmgr/server/request_type.rs:20:5 [ 161s] | [ 161s] 1 | pub enum RequestType { [ 161s] | ----------- variants in this enum [ 161s] ... [ 161s] 20 | KILL, [ 161s] | ^^^^ [ 161s] 21 | CHECK, [ 161s] | ^^^^^ [ 161s] ... [ 161s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 161s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 161s] ... [ 161s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 161s] [ 161s] warning: multiple variants are never constructed [ 161s] --> ./src/pkgmgr/server/signal.rs:10:2 [ 161s] | [ 161s] 9 | enum PKGMGR_REQ { [ 161s] | ---------- variants in this enum [ 161s] 10 | PERM = -1, [ 161s] | ^^^^ [ 161s] 11 | INVALID = 0, [ 161s] | ^^^^^^^ [ 161s] 12 | INSTALL = 1, [ 161s] | ^^^^^^^ [ 161s] 13 | UNINSTALL = 2, [ 161s] | ^^^^^^^^^ [ 161s] 14 | CLEAR = 3, [ 161s] | ^^^^^ [ 161s] 15 | MOVE = 4, [ 161s] | ^^^^ [ 161s] 16 | RECOVER = 5, [ 161s] | ^^^^^^^ [ 161s] 17 | REINSTALL = 6, [ 161s] | ^^^^^^^^^ [ 161s] 18 | GETSIZE = 7, [ 161s] | ^^^^^^^ [ 161s] 19 | UPGRADE = 8, [ 161s] | ^^^^^^^ [ 161s] 20 | SMACK = 9, [ 161s] | ^^^^^ [ 161s] 21 | MANIFEST_DIRECT_INSTALL = 10, [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 161s] ... [ 161s] 26 | MOUNT_INSTALL = 15, [ 161s] | ^^^^^^^^^^^^^ [ 161s] 27 | DISABLE_PKG = 16, [ 161s] | ^^^^^^^^^^^ [ 161s] 28 | ENABLE_PKG = 17, [ 161s] | ^^^^^^^^^^ [ 161s] 29 | MIGRATE_EXTIMG = 18, [ 161s] | ^^^^^^^^^^^^^^ [ 161s] 30 | RECOVER_DB = 19, [ 161s] | ^^^^^^^^^^ [ 161s] 31 | RES_COPY = 20, [ 161s] | ^^^^^^^^ [ 161s] 32 | RES_CREATE_DIR = 21, [ 161s] | ^^^^^^^^^^^^^^ [ 161s] 33 | RES_REMOVE = 22, [ 161s] | ^^^^^^^^^^ [ 161s] 34 | RES_UNINSTALL = 23 [ 161s] | ^^^^^^^^^^^^^ [ 161s] [ 161s] warning: constant `TZ_SYS_GLOBALAPP_USER` is never used [ 161s] --> ./src/pkgmgr/server/signal.rs:97:7 [ 161s] | [ 161s] 97 | const TZ_SYS_GLOBALAPP_USER: c_int = 22; [ 161s] | ^^^^^^^^^^^^^^^^^^^^^ [ 161s] [ 161s] warning: function `tzplatform_getuid` is never used [ 161s] --> ./src/pkgmgr/server/signal.rs:53:12 [ 161s] | [ 161s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 161s] | ^^^^^^^^^^^^^^^^^ [ 161s] [ 161s] warning: function `sd_get_uids` is never used [ 161s] --> ./src/pkgmgr/server/signal.rs:44:16 [ 161s] | [ 161s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 161s] | ^^^^^^^^^^^ [ 161s] [ 161s] warning: constant `XML_READER_TYPE_ELEMENT` is never used [ 161s] --> ./src/pkgmgr/server/util.rs:29:7 [ 161s] | [ 161s] 29 | const XML_READER_TYPE_ELEMENT: i32 = 1; [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 161s] [ 161s] warning: constant `XML_READER_TYPE_TEXT` is never used [ 161s] --> ./src/pkgmgr/server/util.rs:30:7 [ 161s] | [ 161s] 30 | const XML_READER_TYPE_TEXT: i32 = 3; [ 161s] | ^^^^^^^^^^^^^^^^^^^^ [ 161s] [ 161s] warning: constant `XML_READER_TYPE_END_ELEMENT` is never used [ 161s] --> ./src/pkgmgr/server/util.rs:31:7 [ 161s] | [ 161s] 31 | const XML_READER_TYPE_END_ELEMENT: i32 = 15; [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 161s] [ 161s] warning: type alias `GIOChannel` is never used [ 161s] --> ./src/pkgmgr/server/util.rs:33:6 [ 161s] | [ 161s] 33 | type GIOChannel = *mut c_void; [ 161s] | ^^^^^^^^^^ [ 161s] [ 161s] warning: variants `PMINFO_UI_APP`, `PMINFO_SVC_APP`, `PMINFO_WIDGET_APP`, `PMINFO_WATCH_APP`, and `PMINFO_COMPONENT_BASED_APP` are never constructed [ 161s] --> ./src/pkgmgr/server/util.rs:136:5 [ 161s] | [ 161s] 134 | enum PKGMGRINFO_APP_COMPONENT { [ 161s] | ------------------------ variants in this enum [ 161s] 135 | PMINFO_ALL_APP = 0, //< All Application [ 161s] 136 | PMINFO_UI_APP, //< UI Application [ 161s] | ^^^^^^^^^^^^^ [ 161s] 137 | PMINFO_SVC_APP, //< Service Application [ 161s] | ^^^^^^^^^^^^^^ [ 161s] 138 | PMINFO_WIDGET_APP, //< Widget Application [ 161s] | ^^^^^^^^^^^^^^^^^ [ 161s] 139 | PMINFO_WATCH_APP, //< Watch Application [ 161s] | ^^^^^^^^^^^^^^^^ [ 161s] 140 | PMINFO_COMPONENT_BASED_APP, //< Component-based Application (Since 5.5) [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 161s] [ 161s] warning: associated functions `EnableAppSplashScreen` and `DisableAppSplashScreen` are never used [ 161s] --> ./src/pkgmgr/server/util.rs:766:12 [ 161s] | [ 161s] 384 | impl Util { [ 161s] | --------- associated functions in this implementation [ 161s] ... [ 161s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^ [ 161s] ... [ 161s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 161s] [ 161s] warning: function `pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db` is never used [ 161s] --> ./src/pkgmgr/server/util.rs:204:8 [ 161s] | [ 161s] 204 | fn pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db( [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 161s] [ 161s] warning: function `pkgmgrinfo_pkginfo_get_usr_pkginfo` is never used [ 161s] --> ./src/pkgmgr/server/util.rs:44:16 [ 161s] | [ 161s] 44 | pub fn pkgmgrinfo_pkginfo_get_usr_pkginfo( [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 161s] [ 161s] warning: function `pkgmgrinfo_pkginfo_get_usr_disabled_pkginfo` is never used [ 161s] --> ./src/pkgmgr/server/util.rs:50:16 [ 161s] | [ 161s] 50 | pub fn pkgmgrinfo_pkginfo_get_usr_disabled_pkginfo( [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 161s] [ 161s] warning: function `pkgmgrinfo_pkginfo_is_readonly` is never used [ 161s] --> ./src/pkgmgr/server/util.rs:56:16 [ 161s] | [ 161s] 56 | pub fn pkgmgrinfo_pkginfo_is_readonly( [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 161s] [ 161s] warning: function `pkgmgrinfo_pkginfo_destroy_pkginfo` is never used [ 161s] --> ./src/pkgmgr/server/util.rs:61:16 [ 161s] | [ 161s] 61 | pub fn pkgmgrinfo_pkginfo_destroy_pkginfo( [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 161s] [ 161s] warning: function `pkgmgrinfo_pkginfo_get_usr_all_pkginfo` is never used [ 161s] --> ./src/pkgmgr/server/util.rs:65:16 [ 161s] | [ 161s] 65 | pub fn pkgmgrinfo_pkginfo_get_usr_all_pkginfo( [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 161s] [ 161s] warning: function `pkgmgrinfo_pkginfo_get_type` is never used [ 161s] --> ./src/pkgmgr/server/util.rs:71:16 [ 161s] | [ 161s] 71 | pub fn pkgmgrinfo_pkginfo_get_type( [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 161s] [ 161s] warning: function `pkgmgrinfo_updateinfo_create` is never used [ 161s] --> ./src/pkgmgr/server/util.rs:76:16 [ 161s] | [ 161s] 76 | pub fn pkgmgrinfo_updateinfo_create( [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 161s] [ 161s] warning: function `pkgmgrinfo_updateinfo_set_pkgid` is never used [ 161s] --> ./src/pkgmgr/server/util.rs:80:16 [ 161s] | [ 161s] 80 | pub fn pkgmgrinfo_updateinfo_set_pkgid( [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 161s] [ 161s] warning: function `pkgmgrinfo_updateinfo_set_version` is never used [ 161s] --> ./src/pkgmgr/server/util.rs:85:16 [ 161s] | [ 161s] 85 | pub fn pkgmgrinfo_updateinfo_set_version( [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 161s] [ 161s] warning: function `pkgmgrinfo_updateinfo_set_type` is never used [ 161s] --> ./src/pkgmgr/server/util.rs:90:16 [ 161s] | [ 161s] 90 | pub fn pkgmgrinfo_updateinfo_set_type( [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 161s] [ 161s] warning: function `pkgmgrinfo_updateinfo_destroy` is never used [ 161s] --> ./src/pkgmgr/server/util.rs:95:16 [ 161s] | [ 161s] 95 | pub fn pkgmgrinfo_updateinfo_destroy( [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 161s] [ 161s] warning: function `pkgmgrinfo_appinfo_get_usr_all_appinfo` is never used [ 161s] --> ./src/pkgmgr/server/util.rs:99:16 [ 161s] | [ 161s] 99 | pub fn pkgmgrinfo_appinfo_get_usr_all_appinfo( [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 161s] [ 161s] warning: function `pkgmgrinfo_appinfo_is_global` is never used [ 161s] --> ./src/pkgmgr/server/util.rs:105:16 [ 161s] | [ 161s] 105 | pub fn pkgmgrinfo_appinfo_is_global( [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 161s] [ 161s] warning: function `pkgmgrinfo_appinfo_get_pkgid` is never used [ 161s] --> ./src/pkgmgr/server/util.rs:110:16 [ 161s] | [ 161s] 110 | pub fn pkgmgrinfo_appinfo_get_pkgid( [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 161s] [ 161s] warning: function `pkgmgrinfo_appinfo_destroy_appinfo` is never used [ 161s] --> ./src/pkgmgr/server/util.rs:115:16 [ 161s] | [ 161s] 115 | pub fn pkgmgrinfo_appinfo_destroy_appinfo( [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 161s] [ 161s] warning: function `aul_app_is_running_for_uid` is never used [ 161s] --> ./src/pkgmgr/server/util.rs:122:16 [ 161s] | [ 161s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 161s] [ 161s] warning: function `aul_app_get_pid_for_uid` is never used [ 161s] --> ./src/pkgmgr/server/util.rs:123:16 [ 161s] | [ 161s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 161s] [ 161s] warning: function `aul_terminate_pid_for_uid` is never used [ 161s] --> ./src/pkgmgr/server/util.rs:124:16 [ 161s] | [ 161s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 161s] [ 161s] warning: function `aul_app_get_pkgid_bypid_for_uid` is never used [ 161s] --> ./src/pkgmgr/server/util.rs:125:16 [ 161s] | [ 161s] 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; [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 161s] [ 161s] warning: unused `Result` that must be used [ 161s] --> ./src/main.rs:14:5 [ 161s] | [ 161s] 14 | pkgmgr::server::Server::run(&mut server); [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 161s] | [ 161s] = note: this `Result` may be an `Err` variant, which should be handled [ 161s] = note: `#[warn(unused_must_use)]` on by default [ 161s] help: use `let _ = ...` to ignore the resulting value [ 161s] | [ 161s] 14 | let _ = pkgmgr::server::Server::run(&mut server); [ 161s] | +++++++ [ 161s] [ 161s] warning: unused `Result` that must be used [ 161s] --> ./src/pkgmgr/server/mod.rs:93:9 [ 161s] | [ 161s] 93 | admin_service.run(); [ 161s] | ^^^^^^^^^^^^^^^^^^^ [ 161s] | [ 161s] = note: this `Result` may be an `Err` variant, which should be handled [ 161s] help: use `let _ = ...` to ignore the resulting value [ 161s] | [ 161s] 93 | let _ = admin_service.run(); [ 161s] | +++++++ [ 161s] [ 161s] warning: unused `Result` that must be used [ 161s] --> ./src/pkgmgr/server/mod.rs:95:9 [ 161s] | [ 161s] 95 | cache_service.run(); [ 161s] | ^^^^^^^^^^^^^^^^^^^ [ 161s] | [ 161s] = note: this `Result` may be an `Err` variant, which should be handled [ 161s] help: use `let _ = ...` to ignore the resulting value [ 161s] | [ 161s] 95 | let _ = cache_service.run(); [ 161s] | +++++++ [ 161s] [ 161s] warning: unused `Result` that must be used [ 161s] --> ./src/pkgmgr/server/mod.rs:97:9 [ 161s] | [ 161s] 97 | info_service.run(); [ 161s] | ^^^^^^^^^^^^^^^^^^ [ 161s] | [ 161s] = note: this `Result` may be an `Err` variant, which should be handled [ 161s] help: use `let _ = ...` to ignore the resulting value [ 161s] | [ 161s] 97 | let _ = info_service.run(); [ 161s] | +++++++ [ 161s] [ 161s] warning: unused `Result` that must be used [ 161s] --> ./src/pkgmgr/server/mod.rs:99:9 [ 161s] | [ 161s] 99 | delayed_result_service.run(); [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 161s] | [ 161s] = note: this `Result` may be an `Err` variant, which should be handled [ 161s] help: use `let _ = ...` to ignore the resulting value [ 161s] | [ 161s] 99 | let _ = delayed_result_service.run(); [ 161s] | +++++++ [ 161s] [ 161s] warning: unused `Result` that must be used [ 161s] --> ./src/pkgmgr/server/mod.rs:109:9 [ 161s] | [ 161s] 109 | admin_service.stop(); [ 161s] | ^^^^^^^^^^^^^^^^^^^^ [ 161s] | [ 161s] = note: this `Result` may be an `Err` variant, which should be handled [ 161s] help: use `let _ = ...` to ignore the resulting value [ 161s] | [ 161s] 109 | let _ = admin_service.stop(); [ 161s] | +++++++ [ 161s] [ 161s] warning: unused `Result` that must be used [ 161s] --> ./src/pkgmgr/server/mod.rs:110:9 [ 161s] | [ 161s] 110 | cache_service.stop(); [ 161s] | ^^^^^^^^^^^^^^^^^^^^ [ 161s] | [ 161s] = note: this `Result` may be an `Err` variant, which should be handled [ 161s] help: use `let _ = ...` to ignore the resulting value [ 161s] | [ 161s] 110 | let _ = cache_service.stop(); [ 161s] | +++++++ [ 161s] [ 161s] warning: unused `Result` that must be used [ 161s] --> ./src/pkgmgr/server/mod.rs:111:9 [ 161s] | [ 161s] 111 | info_service.stop(); [ 161s] | ^^^^^^^^^^^^^^^^^^^ [ 161s] | [ 161s] = note: this `Result` may be an `Err` variant, which should be handled [ 161s] help: use `let _ = ...` to ignore the resulting value [ 161s] | [ 161s] 111 | let _ = info_service.stop(); [ 161s] | +++++++ [ 161s] [ 161s] warning: unused `Result` that must be used [ 161s] --> ./src/pkgmgr/server/mod.rs:112:9 [ 161s] | [ 161s] 112 | delayed_result_service.stop(); [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 161s] | [ 161s] = note: this `Result` may be an `Err` variant, which should be handled [ 161s] help: use `let _ = ...` to ignore the resulting value [ 161s] | [ 161s] 112 | let _ = delayed_result_service.stop(); [ 161s] | +++++++ [ 161s] [ 161s] warning: unused return value of `std::mem::size_of` that must be used [ 161s] --> ./src/pkgmgr/server/backend_queue.rs:40:9 [ 161s] | [ 161s] 40 | mem::size_of::(); [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 161s] | [ 161s] help: use `let _ = ...` to ignore the resulting value [ 161s] | [ 161s] 40 | let _ = mem::size_of::(); [ 161s] | +++++++ [ 161s] [ 161s] warning: structure field `rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 161s] --> ./src/pkgmgr/server/info_service.rs:35:9 [ 161s] | [ 161s] 35 | pub rpc_port_stub_PkgMgr_create_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_create_cb` [ 161s] | [ 161s] = note: `#[warn(non_snake_case)]` on by default [ 161s] [ 161s] warning: structure field `rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 161s] --> ./src/pkgmgr/server/info_service.rs:36:9 [ 161s] | [ 161s] 36 | pub rpc_port_stub_PkgMgr_terminate_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_terminate_cb` [ 161s] [ 161s] warning: structure field `rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 161s] --> ./src/pkgmgr/server/info_service.rs:37:9 [ 161s] | [ 161s] 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... [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_cb` [ 161s] [ 161s] warning: structure field `rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 161s] --> ./src/pkgmgr/server/info_service.rs:38:9 [ 161s] | [ 161s] 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... [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 161s] [ 161s] warning: structure field `rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 161s] --> ./src/pkgmgr/server/info_service.rs:39:9 [ 161s] | [ 161s] 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... [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 161s] [ 161s] warning: structure field `rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 161s] --> ./src/pkgmgr/server/info_service.rs:40:9 [ 161s] | [ 161s] 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... [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_check_cb` [ 161s] [ 161s] warning: function `impl_rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 161s] --> ./src/pkgmgr/server/info_service.rs:43:19 [ 161s] | [ 161s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_create_cb` [ 161s] [ 161s] warning: function `impl_rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 161s] --> ./src/pkgmgr/server/info_service.rs:48:19 [ 161s] | [ 161s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_terminate_cb` [ 161s] [ 161s] warning: function `impl_rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 161s] --> ./src/pkgmgr/server/info_service.rs:52:19 [ 161s] | [ 161s] 52 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSize_cb( [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_cb` [ 161s] [ 161s] warning: function `impl_rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 161s] --> ./src/pkgmgr/server/info_service.rs:112:19 [ 161s] | [ 161s] 112 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSizeSync_cb( [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 161s] [ 161s] warning: function `impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 161s] --> ./src/pkgmgr/server/info_service.rs:194:19 [ 161s] | [ 161s] 194 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb( [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 161s] [ 161s] warning: function `impl_rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 161s] --> ./src/pkgmgr/server/info_service.rs:221:19 [ 161s] | [ 161s] 221 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_Check_cb( [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_check_cb` [ 161s] [ 161s] warning: method `IsPackageReadonly` should have a snake case name [ 161s] --> ./src/pkgmgr/server/util.rs:389:12 [ 161s] | [ 161s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 161s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly` [ 161s] [ 161s] warning: method `GetPackageType` should have a snake case name [ 161s] --> ./src/pkgmgr/server/util.rs:420:12 [ 161s] | [ 161s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 161s] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type` [ 161s] [ 161s] warning: variable `xmlReaderTypes_XML_READER_TYPE_ELEMENT` should have a snake case name [ 161s] --> ./src/pkgmgr/server/util.rs:473:17 [ 161s] | [ 161s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_element` [ 161s] [ 161s] warning: variable `xmlReaderTypes_XML_READER_TYPE_TEXT` should have a snake case name [ 161s] --> ./src/pkgmgr/server/util.rs:478:17 [ 161s] | [ 161s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_text` [ 161s] [ 161s] warning: variable `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` should have a snake case name [ 161s] --> ./src/pkgmgr/server/util.rs:483:17 [ 161s] | [ 161s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_end_element` [ 161s] [ 161s] warning: constant `type_map` should have an upper case name [ 161s] --> ./src/pkgmgr/server/util.rs:623:15 [ 161s] | [ 161s] 623 | const type_map : [[&str; 2]; 3] = [ [ 161s] | ^^^^^^^^ help: convert the identifier to upper case: `TYPE_MAP` [ 161s] | [ 161s] = note: `#[warn(non_upper_case_globals)]` on by default [ 161s] [ 161s] warning: method `GenerateRequestId` should have a snake case name [ 161s] --> ./src/pkgmgr/server/util.rs:646:12 [ 161s] | [ 161s] 646 | pub fn GenerateRequestId(pkgid: &str) -> Option { [ 161s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_request_id` [ 161s] [ 161s] warning: method `CreatePkgUpdateInfo` should have a snake case name [ 161s] --> ./src/pkgmgr/server/util.rs:657:12 [ 161s] | [ 161s] 657 | pub fn CreatePkgUpdateInfo(pkgid: *const c_char, version: *const c_char, update_type: c_int) -> *mut c_void { [ 161s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info` [ 161s] [ 161s] warning: method `DestroyPkgUpdateInfo` should have a snake case name [ 161s] --> ./src/pkgmgr/server/util.rs:680:12 [ 161s] | [ 161s] 680 | pub fn DestroyPkgUpdateInfo(handle: *mut c_void) -> c_int { [ 161s] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroy_pkg_update_info` [ 161s] [ 161s] warning: method `RegisterPkgUpdateInfo` should have a snake case name [ 161s] --> ./src/pkgmgr/server/util.rs:686:12 [ 161s] | [ 161s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `register_pkg_update_info` [ 161s] [ 161s] warning: method `UnregisterPkgUpdateInfo` should have a snake case name [ 161s] --> ./src/pkgmgr/server/util.rs:696:12 [ 161s] | [ 161s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_pkg_update_info` [ 161s] [ 161s] warning: method `UnregisterAllPkgUpdateInfo` should have a snake case name [ 161s] --> ./src/pkgmgr/server/util.rs:706:12 [ 161s] | [ 161s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_all_pkg_update_info` [ 161s] [ 161s] warning: method `EnableApp` should have a snake case name [ 161s] --> ./src/pkgmgr/server/util.rs:728:12 [ 161s] | [ 161s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 161s] | ^^^^^^^^^ help: convert the identifier to snake case: `enable_app` [ 161s] [ 161s] warning: method `DisableApp` should have a snake case name [ 161s] --> ./src/pkgmgr/server/util.rs:738:12 [ 161s] | [ 161s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 161s] | ^^^^^^^^^^ help: convert the identifier to snake case: `disable_app` [ 161s] [ 161s] warning: method `EnableGlobalApp` should have a snake case name [ 161s] --> ./src/pkgmgr/server/util.rs:747:12 [ 161s] | [ 161s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 161s] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app` [ 161s] [ 161s] warning: method `DisableGlobalApp` should have a snake case name [ 161s] --> ./src/pkgmgr/server/util.rs:757:12 [ 161s] | [ 161s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 161s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app` [ 161s] [ 161s] warning: method `EnableAppSplashScreen` should have a snake case name [ 161s] --> ./src/pkgmgr/server/util.rs:766:12 [ 161s] | [ 161s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_app_splash_screen` [ 161s] [ 161s] warning: method `DisableAppSplashScreen` should have a snake case name [ 161s] --> ./src/pkgmgr/server/util.rs:775:12 [ 161s] | [ 161s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_app_splash_screen` [ 161s] [ 161s] warning: method `EnableGlobalAppSplashScreen` should have a snake case name [ 161s] --> ./src/pkgmgr/server/util.rs:784:12 [ 161s] | [ 161s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app_splash_screen` [ 161s] [ 161s] warning: method `DisableGlobalAppSplashScreen` should have a snake case name [ 161s] --> ./src/pkgmgr/server/util.rs:793:12 [ 161s] | [ 161s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 161s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app_splash_screen` [ 161s] [ 161s] warning: method `KillApp` should have a snake case name [ 161s] --> ./src/pkgmgr/server/util.rs:813:12 [ 161s] | [ 161s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 161s] | ^^^^^^^ help: convert the identifier to snake case: `kill_app` [ 161s] [ 161s] warning: method `KillAppsInPkg` should have a snake case name [ 161s] --> ./src/pkgmgr/server/util.rs:835:12 [ 161s] | [ 161s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 161s] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_apps_in_pkg` [ 161s] [ 161s] warning: method `IsAdminUser` should have a snake case name [ 161s] --> ./src/pkgmgr/server/util.rs:855:8 [ 161s] | [ 161s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 161s] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_admin_user` [ 161s] [ 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] [ 268s] warning: 735 warnings emitted [ 268s] [ 268s] + exit 0 [ 268s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.zW1V0c [ 268s] + umask 022 [ 268s] + cd /home/abuild/rpmbuild/BUILD [ 268s] + cd pkgmgr-server-1.0.15 [ 268s] + LANG=C [ 268s] + export LANG [ 268s] + unset DISPLAY [ 268s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 268s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 268s] + /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 [ 268s] /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 [ 268s] /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 [ 268s] /bin/make -f CMakeFiles/Makefile2 all [ 268s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 268s] /bin/make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/depend [ 268s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 268s] 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= [ 268s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 268s] /bin/make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build [ 268s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 268s] make[2]: Nothing to be done for 'tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build'. [ 268s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 268s] [ 50%] Built target tidl_pkgmgr_server [ 268s] /bin/make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/depend [ 268s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 268s] 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= [ 268s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 268s] /bin/make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build [ 268s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 268s] make[2]: Nothing to be done for 'util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build'. [ 268s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 268s] [100%] Built target util_pkgmgr_server [ 268s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 268s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/CMakeFiles 0 [ 268s] /bin/make -f CMakeFiles/Makefile2 preinstall [ 268s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 268s] make[1]: Nothing to be done for 'preinstall'. [ 268s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 268s] Install the project... [ 268s] /usr/bin/cmake -P cmake_install.cmake [ 268s] -- Install configuration: "" [ 268s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/systemd/system/package-manager.service [ 268s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/systemd/system/package-manager.socket [ 268s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/libtidl_pkgmgr_server.so [ 268s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/libutil_pkgmgr_server.so [ 268s] + rm -f /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/share/info/dir [ 268s] + find /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm -regex '.*\.la$' [ 268s] + xargs rm -f -- [ 268s] + find /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm -regex '.*\.a$' [ 268s] + xargs rm -f -- [ 268s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/systemd/system/basic.target.wants [ 268s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/systemd/system/sockets.target.wants [ 268s] + 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 [ 268s] + install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/bin [ 268s] + install -m 0755 ./rust_pkgmgr_server /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/bin/pkgmgr-server [ 268s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/etc/package-manager/server [ 269s] + _target= [ 269s] + _symlinks=0 [ 269s] + _files=() [ 269s] + fdupes -q -n -r /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 269s] + read _file [ 269s] + /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 [ 269s] 1+0 records in [ 269s] 1+0 records out [ 269s] 1+0 records in [ 269s] 1+0 records out [ 269s] 1+0 records in [ 269s] 1+0 records out [ 269s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/libtidl_pkgmgr_server.so [ 269s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/bin/pkgmgr-server [ 269s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/lib/libutil_pkgmgr_server.so [ 269s] 0+0 records in [ 269s] 0+0 records out [ 269s] 0+0 records in [ 269s] 0+0 records out [ 269s] 0+0 records in [ 269s] 0+0 records out [ 269s] 797 blocks [ 269s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/pkgmgr-server-debuginfo.manifest [ 269s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/pkgmgr-server-debugsource.manifest [ 269s] + /usr/lib/rpm/check-buildroot [ 269s] + /usr/lib/rpm//brp-compress [ 269s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 269s] + /usr/lib/rpm/brp-python-hardlink [ 269s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 269s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/isu.list [ 269s] ~/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm ~/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 269s] ~/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 269s] + /etc/hal/rootstrap/hal-rootstrap-checker.sh 0 /home/abuild/rpmbuild/SOURCES [ 269s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.fJp2wU [ 269s] + umask 022 [ 269s] + cd /home/abuild/rpmbuild/BUILD [ 269s] + cd pkgmgr-server-1.0.15 [ 269s] + export LD_LIBRARY_PATH=./util_pkgmgr_server/:./tidl_pkgmgr_server/:/usr/lib/rustlib/dylib [ 269s] + LD_LIBRARY_PATH=./util_pkgmgr_server/:./tidl_pkgmgr_server/:/usr/lib/rustlib/dylib [ 269s] + RUST_BACKTRACE=1 [ 269s] + RUST_TEST_THREADS=1 [ 269s] + ./unittests_rust_pkgmgr_server [ 269s] [ 269s] running 35 tests [ 270s] test pkgmgr::server::test::admin_service_tests::run_test ... ok [ 270s] test pkgmgr::server::test::admin_service_tests::stop_test ... ok [ 271s] test pkgmgr::server::test::cache_service_tests::run_test ... ok [ 271s] test pkgmgr::server::test::cache_service_tests::stop_test ... ok [ 271s] test pkgmgr::server::test::delayed_service_tests::run_test ... ok [ 271s] test pkgmgr::server::test::delayed_service_tests::stop_test ... ok [ 272s] test pkgmgr::server::test::info_service_tests::run_test ... ok [ 272s] test pkgmgr::server::test::info_service_tests::stop_test ... ok [ 272s] test pkgmgr::server::test::signal_tests::get_uid_list_test_return_uidvec1 ... ok [ 272s] test pkgmgr::server::test::signal_tests::get_uid_list_test_return_uidvec2 ... ok [ 272s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_handle ... ok [ 272s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null1 ... ok [ 272s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null2 ... ok [ 272s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null3 ... ok [ 272s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null4 ... ok [ 272s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_new_from_all ... ok [ 272s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_new_from_type ... ok [ 272s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_newtype_from_end ... ok [ 272s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_rpk_from_end ... ok [ 272s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_disable1 ... ok [ 272s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_disable2 ... ok [ 272s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_readonly ... ok [ 272s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_someFalse_from_readonly ... ok [ 272s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_someTrue_from_readonly ... ok [ 272s] test pkgmgr::server::test::util_tests::KillApp_test_return_0_from_end ... ok [ 272s] test pkgmgr::server::test::util_tests::KillApp_test_return_0_from_running ... ok [ 272s] test pkgmgr::server::test::util_tests::KillApp_test_return_minus_from_getpid ... ok [ 272s] test pkgmgr::server::test::util_tests::KillApp_test_return_minus_from_terminate ... ok [ 272s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_None ... ok [ 272s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_None_from_end ... ok [ 272s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_Some ... ok [ 272s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_appinfo ... ok [ 272s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_global ... ok [ 272s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_pkgid ... ok [ 272s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_Some_from_end ... ok [ 272s] [ 272s] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.53s [ 272s] [ 272s] + exit 0 [ 272s] Processing files: pkgmgr-server-1.0.15-1.armv7l [ 272s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIiAvPgoJPC9y [ 272s] ZXF1ZXN0PgoJPGFzc2lnbj4KCQk8ZmlsZXN5c3RlbSBwYXRoPSIvdXNyL2Jpbi9w [ 272s] a2dtZ3Itc2VydmVyIiBsYWJlbD0iU3lzdGVtIiBleGVjX2xhYmVsPSJub25lIiAv [ 272s] PgoJCTxmaWxlc3lzdGVtIHBhdGg9Ii92YXIvbGliL3BhY2thZ2UtbWFuYWdlciIg [ 272s] bGFiZWw9IlN5c3RlbSIgLz4KCTwvYXNzaWduPgo8L21hbmlmZXN0Pgo= [ 272s] [ 272s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.DLNJPg [ 272s] + umask 022 [ 272s] + cd /home/abuild/rpmbuild/BUILD [ 272s] + cd pkgmgr-server-1.0.15 [ 272s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/share/licenses/pkgmgr-server [ 272s] + export LC_ALL=C [ 272s] + LC_ALL=C [ 272s] + export LICENSEDIR [ 272s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/share/licenses/pkgmgr-server [ 272s] + cp -pr LICENSE /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm/usr/share/licenses/pkgmgr-server [ 272s] + exit 0 [ 272s] Provides: libtidl_pkgmgr_server.so libutil_pkgmgr_server.so pkgmgr-server = 1.0.15-1 pkgmgr-server(armv7l-32) = 1.0.15-1 [ 272s] Requires(interp): /bin/sh [ 272s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 272s] Requires(post): /bin/sh [ 272s] 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) [ 272s] Processing files: pkgmgr-server-debugsource-1.0.15-1.armv7l [ 272s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 272s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 272s] [ 272s] Provides: pkgmgr-server-debugsource = 1.0.15-1 pkgmgr-server-debugsource(armv7l-32) = 1.0.15-1 [ 272s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 272s] Processing files: pkgmgr-server-debuginfo-1.0.15-1.armv7l [ 272s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 272s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 272s] [ 272s] Provides: pkgmgr-server-debuginfo = 1.0.15-1 pkgmgr-server-debuginfo(armv7l-32) = 1.0.15-1 [ 272s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 272s] Recommends: pkgmgr-server-debugsource(armv7l-32) = 1.0.15-1 [ 272s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 272s] Wrote: /home/abuild/rpmbuild/SRPMS/pkgmgr-server-1.0.15-1.src.rpm [ 272s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/pkgmgr-server-1.0.15-1.armv7l.rpm [ 272s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/pkgmgr-server-debugsource-1.0.15-1.armv7l.rpm [ 273s] Wrote: /home/abuild/rpmbuild/RPMS/armv7l/pkgmgr-server-debuginfo-1.0.15-1.armv7l.rpm [ 273s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Q5uFxz [ 273s] + umask 022 [ 273s] + cd /home/abuild/rpmbuild/BUILD [ 273s] + cd pkgmgr-server-1.0.15 [ 273s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.arm [ 273s] + exit 0 [ 273s] ... checking for files with abuild user/group [ 273s] ... creating baselibs [ 273s] [ 273s] ip-192-168-56-48 finished "build pkgmgr-server.spec" at Sat Dec 28 03:13:36 UTC 2024. [ 273s]