[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.aarch64.29 [ 0s] Using BUILD_ARCH=aarch64:noarch [ 0s] [ 1s] [ 1s] ip-192-168-56-52 started "build pkgmgr-server.spec" at Mon Dec 16 09:39:08 UTC 2024. [ 1s] [ 1s] [ 1s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_standard/pkgmgr-server-1.0.15-1/pkgmgr-server.spec ... [ 1s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache --define jobs 8 --define _smp_mflags -j8 --define _costomized_smp_mflags -j20 --repository /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_standard/aarch64/RPMS --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241215.110758/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241215.110758/repos/standard/debug/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241216.010411/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241216.010411/repos/standard/debug/ /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_standard/pkgmgr-server-1.0.15-1/pkgmgr-server.spec build ... [ 1s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.aarch64.29/.srcfiles.cache ... [ 1s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.aarch64.29/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_standard/aarch64/RPMS [ 2s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241215.110758/repos/standard/packages/ [ 3s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base/tizen-base_20241215.110758/repos/standard/debug/ [ 4s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241216.010411/repos/standard/packages/ [ 12s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241216.010411/repos/standard/debug/ [ 20s] expanding package dependencies... [ 24s] copying qemu [ 24s] [ 24s] registering binfmt handlers for cross build [ 25s] calculating packages to download... [ 40s] [1/1] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/tizen-unified_20241216.010411/repos/standard/packages/aarch64/rust-minizip-sys-0.1.2-1.aarch64.rpm ... [ 40s] [ 41s] reordering...cycle: gio-branding-upstream -> libgio [ 41s] breaking dependency libgio -> gio-branding-upstream [ 41s] cycle: pkgmgr-info -> pkgmgr-info-parser [ 41s] breaking dependency pkgmgr-info -> pkgmgr-info-parser [ 41s] cycle: libgum -> gumd [ 41s] breaking dependency libgum -> gumd [ 41s] cycle: glibc-devel -> libxcrypt-devel [ 41s] breaking dependency libxcrypt-devel -> glibc-devel [ 41s] cycle: rust -> rust-devel [ 41s] breaking dependency rust-devel -> rust [ 41s] cycle: libsoftokn3 -> nss [ 41s] breaking dependency nss -> libsoftokn3 [ 41s] reordering done [ 44s] deleting capi-system-info-devel [ 44s] deleting gtest [ 45s] /sbin/ldconfig: relative path `0' used to build cache [ 45s] warning: %postun(gtest-1.14.0-0.aarch64) scriptlet failed, exit status 1 [ 45s] deleting gtest-devel [ 45s] [1/242] keeping default-ac-domains-0.1-1.1 [ 45s] [2/242] keeping dlog-config-persistent-logs-9.0.1-1 [ 45s] [3/242] keeping libmagic-data-5.45-1.3 [ 45s] [4/242] keeping pcre2-syntax-10.40-1 [ 45s] [5/242] keeping python3-pyparsing-3.1.1-1.1 [ 45s] [6/242] keeping python3-six-1.16.0-1.1 [ 45s] [7/242] cumulate rust-std-static-1.74.0-1 [ 45s] [8/242] keeping setup-0.9-1.1 [ 45s] [9/242] keeping filesystem-3.1-1.1 [ 45s] [10/242] keeping python3-packaging-23.2-1.1 [ 45s] [11/242] keeping glibc-2.39-1.6 [ 45s] [12/242] keeping bash-3.2.57-1.1 [ 45s] [13/242] keeping capi-base-common-0.4.82-1 [ 45s] [14/242] keeping cpio-2.8-1.1 [ 45s] [15/242] keeping diffutils-3.10-1.1 [ 45s] [16/242] cumulate fdupes-2.2.1-1.4 [ 45s] [17/242] keeping findutils-4.3.8-1.4 [ 45s] [18/242] keeping gdbm-1.8.3-1.6 [ 45s] [19/242] keeping hostname-3.23-1.1 [ 45s] [20/242] keeping iniparser-4.1-1.1 [ 45s] [21/242] keeping libatomic-14.2.0-1.6 [ 45s] [22/242] keeping libattr-2.5.1-1.4 [ 45s] [23/242] keeping libblkid-2.39.3-1.4 [ 45s] [24/242] keeping libbz2-1.0.8-1.4 [ 45s] [25/242] keeping libexpat-2.6.2-1.5 [ 45s] [26/242] keeping libffi-3.4.2-1.5 [ 45s] [27/242] keeping libfreebl3-3.98-1.5 [ 45s] [28/242] keeping libgcc-14.2.0-1.6 [ 45s] [29/242] keeping libgomp-14.2.0-1.6 [ 45s] [30/242] keeping libitm-14.2.0-1.6 [ 46s] [31/242] cumulate libjson-0.17-0 [ 46s] [32/242] keeping libltdl-2.4.7-1.6 [ 46s] [33/242] keeping liblua-5.1.5-1.4 [ 46s] [34/242] keeping liblzma-5.4.5-1.6 [ 46s] [35/242] keeping libopenssl11-1.1.1w-1.5 [ 46s] [36/242] keeping libopenssl3-3.0.13-1.6 [ 46s] [37/242] keeping libpcre-8.45-1.4 [ 46s] [38/242] keeping libpopt-1.16-1.3 [ 46s] [39/242] keeping libpython3_121_0-3.12.0-1.5 [ 46s] [40/242] keeping libsmack-1.3.1-1.3 [ 46s] [41/242] keeping libsmartcols-2.39.3-1.4 [ 46s] [42/242] keeping libsqlite-3.44.0-1.4 [ 46s] [43/242] keeping libuuid-2.39.3-1.4 [ 46s] [44/242] keeping libxcrypt-4.4.36-1.5 [ 46s] [45/242] keeping libzstd1-1.5.5-1.5 [ 46s] [46/242] keeping m4-1.4.19-1.1 [ 46s] [47/242] keeping net-tools-2.0_20121208git-1.3 [ 46s] [48/242] keeping nspr-4.35-1.4 [ 46s] [49/242] keeping patch-2.7.6-1.3 [ 46s] [50/242] keeping pkg-config-0.29.2-1.4 [ 46s] [51/242] keeping sed-4.1c-1.4 [ 46s] [52/242] keeping update-alternatives-1.22.2-1.1 [ 46s] [53/242] keeping which-2.17-1.1 [ 46s] [54/242] cumulate xdgmime-0.0.17-1.1 [ 46s] [55/242] keeping zlib-1.3-1.5 [ 46s] [56/242] keeping pcre2-10.40-1 [ 46s] [57/242] keeping pcre2-utf16-10.40-1 [ 46s] [58/242] keeping pcre2-utf32-10.40-1 [ 46s] [59/242] keeping build-compare-2023.06.18-1.1 [ 46s] [60/242] keeping hal-rootstrap-checker-0.1.0-1.1 [ 46s] [61/242] keeping qemu-linux-user-x86_64-cross-5.2.0.2-21.1 [ 46s] [62/242] keeping vconf-internal-keys-devel-0.0.191-0 [ 46s] [63/242] keeping binutils-libs-2.43-1.6 [ 46s] [64/242] keeping capi-base-common-devel-0.4.82-1 [ 46s] [65/242] keeping coreutils-6.9-14.1 [ 46s] [66/242] keeping cpp-14.2.0-1.6 [ 46s] [67/242] keeping gawk-3.1.5-1.1 [ 46s] [68/242] keeping gcc-c++-14.2.0-1.6 [ 46s] [69/242] keeping grep-2.5.2-1.3 [ 46s] [70/242] keeping libacl-2.3.2-1.4 [ 46s] [71/242] keeping libblkid-devel-2.39.3-1.4 [ 46s] [72/242] keeping libcap-2.69-1.4 [ 46s] [73/242] keeping libelf-0.189-1.6 [ 46s] [74/242] keeping libffi-devel-3.4.2-1.5 [ 46s] [75/242] keeping libgfortran-14.2.0-1.6 [ 46s] [76/242] keeping libmount-2.39.3-1.4 [ 46s] [77/242] keeping libstdc++-14.2.0-1.6 [ 46s] [78/242] keeping make-4.4-1.4 [ 46s] [79/242] cumulate minizip-1.3-1.5 [ 46s] [80/242] keeping nss-certs-3.98-1.5 [ 46s] [81/242] cumulate rust-std-shared-1.74.0-1 [ 46s] [82/242] keeping smack-1.3.1-1.3 [ 46s] [83/242] cumulate sqlite-3.44.0-1.4 [ 46s] [84/242] cumulate tidl-2.3.0-1 [ 46s] [85/242] cumulate unzip-610c25-1.1 [ 46s] [86/242] cumulate xdgmime-devel-0.0.17-1.1 [ 46s] [87/242] cumulate xz-devel-5.4.5-1.6 [ 46s] [88/242] keeping bzip2-1.0.8-1.4 [ 46s] [89/242] keeping libfdisk-2.39.3-1.4 [ 46s] [90/242] keeping libglib-2.80.5-0 [ 46s] [91/242] keeping libmagic-5.45-1.3 [ 46s] [92/242] keeping libxml2-2.12.5-1.5 [ 46s] [93/242] keeping shadow-utils-4.1.4.2-7.1 [ 46s] [94/242] keeping xz-5.4.5-1.6 [ 46s] [95/242] cumulate libkmod-31-1.1 [ 46s] [96/242] keeping perl-5.38.0-1.5 [ 46s] [97/242] keeping pcre2-devel-10.40-1 [ 46s] [98/242] keeping build-mkbaselibs-20120927-1.1 [ 46s] [99/242] keeping libstdc++-devel-14.2.0-1.6 [ 46s] [100/242] keeping linux-glibc-devel-6.6-1.5 [ 46s] [101/242] cumulate acl-2.3.2-1.4 [ 46s] [102/242] keeping file-5.45-1.3 [ 46s] [103/242] keeping libcap-tools-2.69-1.4 [ 46s] [104/242] keeping libgmodule-2.80.5-0 [ 46s] [105/242] keeping libgthread-2.80.5-0 [ 47s] [106/242] cumulate minizip-devel-1.3-1.5 [ 47s] [107/242] keeping tar-1.17-1.1 [ 47s] [108/242] keeping terminfo-base-full-6.4-1.6 [ 47s] [109/242] keeping autoconf-2.71-1.7 [ 47s] [110/242] keeping glibc-locale-2.39-1.6 [ 47s] [111/242] keeping gzip-1.3.12-1.3 [ 47s] [112/242] keeping libcc1-14.2.0-1.6 [ 47s] [113/242] keeping libgobject-2.80.5-0 [ 47s] [114/242] keeping libhwasan-14.2.0-1.6 [ 47s] [115/242] keeping libmount-devel-2.39.3-1.4 [ 47s] [116/242] keeping libubsan-14.2.0-1.6 [ 47s] [117/242] keeping tizen-platform-config-5.0-1 [ 47s] [118/242] keeping binutils-2.43-1.6 [ 47s] [119/242] cumulate gettext-runtime-0.21.1-2.5 [ 47s] [120/242] keeping pam-1.1.6-1.3 [ 47s] [121/242] keeping tzdata-2023c-1.1 [ 47s] [122/242] keeping dlog-9.0.1-1 [ 47s] [123/242] keeping cynara-db-migration-0.19.5-1 [ 47s] [124/242] keeping libdw-0.189-1.6 [ 47s] [125/242] cumulate ttrace-1.1.0-1 [ 47s] [126/242] keeping libarchive-3.7.2-1.5 [ 47s] [127/242] keeping shared-mime-info-1.7-0 [ 47s] [128/242] keeping dlog-logger-9.0.1-1 [ 47s] [129/242] keeping libtzplatform-config-5.0-1 [ 47s] [130/242] keeping automake-1.16.5-1.6 [ 47s] [131/242] keeping libasm-0.189-1.6 [ 47s] [132/242] cumulate libncurses5-6.4-1.6 [ 47s] [133/242] keeping libncurses6-6.4-1.6 [ 47s] [134/242] keeping build-20120927-1.1 [ 47s] [135/242] keeping libgirepository2-2.80.5-0 [ 47s] [136/242] keeping libsystemd-244-0 [ 47s] [137/242] keeping security-config-1.0-1 [ 47s] [138/242] cumulate gettext-tools-0.21.1-2.5 [ 47s] [139/242] keeping gcc-14.2.0-1.6 [ 47s] [140/242] keeping libncurses-6.4-1.6 [ 47s] [141/242] cumulate dbus-libs-1.12.20-3 [ 47s] [142/242] keeping less-643-1.1 [ 47s] [143/242] keeping libreadline-5.2-1.4 [ 47s] [144/242] cumulate libtzplatform-config-devel-5.0-1 [ 47s] [145/242] keeping qemu-accel-x86_64-aarch64-0.4-1.1 [ 47s] [146/242] keeping libtool-2.4.7-1.6 [ 47s] [147/242] cumulate ncurses-devel-6.4-1.6 [ 47s] [148/242] keeping elfutils-0.189-1.6 [ 47s] [149/242] keeping libdlog-9.0.1-1 [ 47s] [150/242] keeping cmake-3.25.2-1.5 [ 47s] [151/242] keeping capi-system-resource-1.0.0-0 [ 47s] [152/242] cumulate readline-devel-5.2-1.4 [ 47s] [153/242] keeping libdlog-devel-9.0.1-1 [ 47s] [154/242] cumulate libxml2-tools-2.12.5-1.5 [ 47s] [155/242] cumulate parcel-0.17.3-0 [ 47s] [156/242] keeping libcynara-commons-0.19.5-1 [ 47s] [157/242] keeping capi-system-info-0.5.2-1 [ 47s] [158/242] keeping python3-base-3.12.0-1.5 [ 47s] [159/242] keeping util-linux-2.39.3-1.4 [ 47s] [160/242] cumulate systemd-244-0 [ 47s] [161/242] keeping python3-3.12.0-1.1 [ 47s] [162/242] cumulate capi-system-resource-devel-1.0.0-0 [ 48s] [163/242] cumulate parcel-devel-0.17.3-0 [ 48s] [164/242] cumulate pkgmgr-0.20.21-0 [ 48s] [165/242] cumulate systemd-devel-244-0 [ 48s] [166/242] keeping util-linux-su-2.39.3-1.4 [ 48s] [167/242] cumulate libcynara-creds-commons-0.19.5-1 [ 48s] [168/242] cumulate libcynara-session-0.19.5-1 [ 48s] [169/242] keeping libcynara-client-0.19.5-1 [ 48s] [170/242] keeping python3-setuptools-69.0.2-1.1 [ 48s] [171/242] cumulate pkgmgr-types-devel-0.20.21-0 [ 48s] [172/242] cumulate libcynara-creds-socket-0.19.5-1 [ 48s] [173/242] cumulate dbus-1.12.20-3 [ 48s] [174/242] keeping libxcrypt-devel-4.4.36-1.5 [ 48s] [175/242] cumulate rust-devel-1.74.0-1 [ 48s] [176/242] keeping nss-3.98-1.5 [ 48s] [177/242] keeping libgio-2.80.5-0 [ 48s] [178/242] keeping gio-branding-upstream-2.80.5-0 [ 48s] [179/242] cumulate libjson-glib-1.8.0-0 [ 48s] [180/242] keeping glibc-devel-2.39-1.6 [ 48s] [181/242] keeping libsoftokn3-3.98-1.5 [ 48s] [182/242] cumulate rust-1.74.0-1 [ 48s] [183/242] keeping glib2-tools-2.80.5-0 [ 48s] [184/242] cumulate libgum-1.0.8-0 [ 48s] [185/242] cumulate libsyscommon-5.0.0-0 [ 48s] [186/242] keeping buxton2-1.8.10-0 [ 48s] [187/242] keeping rpm-4.14.1.1-1.5 [ 48s] [188/242] cumulate rust-anstyle-0.3.5-1 [ 48s] [189/242] cumulate rust-cfg-if-1.0.0-1 [ 48s] [190/242] cumulate rust-downcast-0.11.0-1 [ 48s] [191/242] cumulate rust-either-1.8.1-1 [ 48s] [192/242] cumulate rust-libc-0.2.139-1 [ 48s] [193/242] cumulate rust-libm-0.2.6-1 [ 48s] [194/242] cumulate rust-minizip-sys-0.1.2-1 [ 48s] [195/242] cumulate rust-normalize-line-endings-0.3.0-1 [ 48s] [196/242] cumulate rust-scopeguard-1.1.0-1 [ 49s] [197/242] cumulate rust-termtree-0.4.1-1 [ 49s] [198/242] cumulate rust-unicode-ident-1.0.6-1 [ 49s] [199/242] keeping zlib-devel-1.3-1.5 [ 49s] [200/242] cumulate rust-difflib-0.4.0-1 [ 49s] [201/242] cumulate rust-fragile-2.0.0-1 [ 49s] [202/242] cumulate rust-predicates-core-1.0.6-1 [ 49s] [203/242] cumulate rust-regex-syntax-0.6.28-1 [ 49s] [204/242] cumulate sqlite-devel-3.44.0-1.4 [ 49s] [205/242] keeping vconf-compat-1.8.10-0 [ 49s] [206/242] cumulate bundle-0.17.3-0 [ 49s] [207/242] cumulate gumd-1.0.8-0 [ 49s] [208/242] keeping rpm-build-4.14.1.1-1.5 [ 49s] [209/242] cumulate bundle-devel-0.17.3-0 [ 49s] [210/242] cumulate rust-lock_api-0.4.9-1 [ 49s] [211/242] cumulate rust-num-traits-0.2.15-1 [ 49s] [212/242] cumulate rust-glib-sys-0.17.10-1 [ 49s] [213/242] cumulate rust-itertools-0.10.5-1 [ 49s] [214/242] cumulate rust-proc-macro2-1.0.51-1 [ 49s] [215/242] cumulate rust-regex-1.7.1-1 [ 49s] [216/242] cumulate rust-predicates-tree-1.0.9-1 [ 49s] [217/242] cumulate libxml2-devel-2.12.5-1.5 [ 49s] [218/242] cumulate libstorage-1.0.0-0 [ 49s] [219/242] keeping glib2-devel-2.80.5-0 [ 50s] [220/242] cumulate pkgmgr-info-0.28.5-1 [ 50s] [221/242] cumulate libgum-devel-1.0.8-0 [ 50s] [222/242] cumulate pkgmgr-info-devel-0.28.5-1 [ 50s] [223/242] cumulate rust-float-cmp-0.9.0-1 [ 50s] [224/242] cumulate rust-spin-0.9.5-1 [ 50s] [225/242] keeping vconf-compat-devel-1.8.10-0 [ 50s] [226/242] cumulate pkgmgr-info-parser-0.28.5-1 [ 50s] [227/242] cumulate rust-quote-1.0.23-1 [ 50s] [228/242] cumulate aul-0.65.1-1 [ 50s] [229/242] cumulate rust-lazy_static-1.4.0-1 [ 50s] [230/242] cumulate pkgmgr-info-parser-devel-0.28.5-1 [ 50s] [231/242] cumulate rust-syn-1.0.107-1 [ 50s] [232/242] cumulate aul-devel-0.65.1-1 [ 50s] [233/242] cumulate rust-predicates-3.0.4-1 [ 50s] [234/242] cumulate rpc-port-1.19.1-0 [ 50s] [235/242] cumulate rpc-port-devel-1.19.1-0 [ 50s] [236/242] cumulate rust-mockall_derive-0.11.4-1 [ 50s] [237/242] cumulate rust-mockall_double-0.3.0-1 [ 50s] [238/242] cumulate pkgmgr-client-0.20.21-0 [ 50s] [239/242] cumulate pkgmgr-installer-0.20.21-0 [ 50s] [240/242] cumulate pkgmgr-installer-devel-0.20.21-0 [ 50s] [241/242] cumulate pkgmgr-client-devel-0.20.21-0 [ 50s] [242/242] cumulate rust-mockall-0.11.4-1 [ 50s] now installing cumulated packages [ 51s] Preparing... ######################################## [ 51s] Updating / installing... [ 52s] rust-std-shared-1.74.0-1 ######################################## [ 52s] pkgmgr-0.20.21-0 ######################################## [ 52s] parcel-0.17.3-0 ######################################## [ 52s] rust-cfg-if-1.0.0-1 ######################################## [ 53s] minizip-1.3-1.5 ######################################## [ 53s] rust-unicode-ident-1.0.6-1 ######################################## [ 53s] rust-proc-macro2-1.0.51-1 ######################################## [ 53s] rust-quote-1.0.23-1 ######################################## [ 54s] rust-syn-1.0.107-1 ######################################## [ 54s] rust-predicates-core-1.0.6-1 ######################################## [ 54s] libcynara-session-0.19.5-1 ######################################## [ 54s] xdgmime-0.0.17-1.1 ######################################## [ 54s] xdgmime-devel-0.0.17-1.1 ######################################## [ 55s] rust-mockall_derive-0.11.4-1 ######################################## [ 55s] parcel-devel-0.17.3-0 ######################################## [ 55s] pkgmgr-types-devel-0.20.21-0 ######################################## [ 66s] rust-devel-1.74.0-1 ######################################## [ 66s] rust-anstyle-0.3.5-1 ######################################## [ 66s] rust-downcast-0.11.0-1 ######################################## [ 66s] rust-either-1.8.1-1 ######################################## [ 66s] rust-itertools-0.10.5-1 ######################################## [ 67s] rust-libc-0.2.139-1 ######################################## [ 67s] rust-libm-0.2.6-1 ######################################## [ 67s] rust-num-traits-0.2.15-1 ######################################## [ 67s] rust-float-cmp-0.9.0-1 ######################################## [ 67s] rust-normalize-line-endings-0.3.0-1 ######################################## [ 68s] rust-scopeguard-1.1.0-1 ######################################## [ 68s] rust-lock_api-0.4.9-1 ######################################## [ 68s] rust-spin-0.9.5-1 ######################################## [ 68s] rust-lazy_static-1.4.0-1 ######################################## [ 68s] rust-termtree-0.4.1-1 ######################################## [ 68s] rust-predicates-tree-1.0.9-1 ######################################## [ 69s] rust-difflib-0.4.0-1 ######################################## [ 69s] rust-fragile-2.0.0-1 ######################################## [ 70s] rust-regex-syntax-0.6.28-1 ######################################## [ 70s] rust-regex-1.7.1-1 ######################################## [ 71s] rust-predicates-3.0.4-1 ######################################## [ 71s] libjson-glib-1.8.0-0 ######################################## [ 71s] bundle-0.17.3-0 ######################################## [ 72s] bundle-devel-0.17.3-0 ######################################## [ 72s] libcynara-creds-commons-0.19.5-1 ######################################## [ 72s] libcynara-creds-socket-0.19.5-1 ######################################## [ 72s] pkgmgr-info-parser-0.28.5-1 ######################################## [ 72s] pkgmgr-info-0.28.5-1 ######################################## [ 73s] pkgmgr-info-devel-0.28.5-1 ######################################## [ 73s] capi-system-resource-devel-1.0.0-0 ######################################## [ 73s] libxml2-tools-2.12.5-1.5 ######################################## [ 73s] libtzplatform-config-devel-5.0-1 ######################################## [ 73s] dbus-libs-1.12.20-3 ######################################## [ 73s] dbus-1.12.20-3 ######################################## [ 74s] libgum-1.0.8-0 ######################################## [ 74s] gumd-1.0.8-0 ######################################## [ 75s] libncurses5-6.4-1.6 ######################################## [ 76s] ncurses-devel-6.4-1.6 ######################################## [ 76s] readline-devel-5.2-1.4 ######################################## [ 76s] ttrace-1.1.0-1 ######################################## [ 76s] gettext-runtime-0.21.1-2.5 ######################################## [ 76s] acl-2.3.2-1.4 ######################################## [ 76s] libkmod-31-1.1 ######################################## [ 78s] systemd-244-0 ######################################## [ 79s] update-alternatives: using /usr/lib/systemd/systemd-shutdown-original to provide /usr/lib/systemd/systemd-shutdown (systemd-shutdown) in auto mode [ 79s] update-alternatives: using /usr/sbin/reboot-original to provide /usr/sbin/reboot (reboot) in auto mode [ 79s] update-alternatives: using /usr/sbin/halt-original to provide /usr/sbin/halt (halt) in auto mode [ 80s] update-alternatives: using /usr/sbin/poweroff-original to provide /usr/sbin/poweroff (poweroff) in auto mode [ 80s] update-alternatives: using /usr/sbin/shutdown-original to provide /usr/sbin/shutdown (shutdown) in auto mode [ 80s] xz-devel-5.4.5-1.6 ######################################## [ 80s] libxml2-devel-2.12.5-1.5 ######################################## [ 80s] sqlite-3.44.0-1.4 ######################################## [ 80s] libjson-0.17-0 ######################################## [ 80s] libsyscommon-5.0.0-0 ######################################## [ 80s] libstorage-1.0.0-0 ######################################## [ 81s] aul-0.65.1-1 ######################################## [ 81s] rpc-port-1.19.1-0 ######################################## [ 81s] pkgmgr-client-0.20.21-0 ######################################## [ 81s] pkgmgr-installer-0.20.21-0 ######################################## [ 87s] rust-std-static-1.74.0-1 ######################################## [ 92s] rust-1.74.0-1 ######################################## [ 92s] pkgmgr-installer-devel-0.20.21-0 ######################################## [ 92s] pkgmgr-client-devel-0.20.21-0 ######################################## [ 92s] rpc-port-devel-1.19.1-0 ######################################## [ 92s] aul-devel-0.65.1-1 ######################################## [ 92s] sqlite-devel-3.44.0-1.4 ######################################## [ 92s] pkgmgr-info-parser-devel-0.28.5-1 ######################################## [ 92s] systemd-devel-244-0 ######################################## [ 92s] gettext-tools-0.21.1-2.5 ######################################## [ 93s] libgum-devel-1.0.8-0 ######################################## [ 93s] rust-mockall-0.11.4-1 ######################################## [ 93s] rust-glib-sys-0.17.10-1 ######################################## [ 93s] rust-mockall_double-0.3.0-1 ######################################## [ 93s] minizip-devel-1.3-1.5 ######################################## [ 93s] rust-minizip-sys-0.1.2-1 ######################################## [ 93s] unzip-610c25-1.1 ######################################## [ 94s] tidl-2.3.0-1 ######################################## [ 94s] fdupes-2.2.1-1.4 ######################################## [ 94s] Running pkgmgr %posttrans script [ 94s] /var/tmp/rpm-tmp.58UfHg: line 5: pkg_initdb: command not found [ 94s] /var/tmp/rpm-tmp.58UfHg: line 6: install_preload_pkg: command not found [ 94s] /var/tmp/rpm-tmp.58UfHg: line 13: pkgcmd: command not found [ 94s] /var/tmp/rpm-tmp.58UfHg: line 15: /etc/package-manager/pkgmgr-label-initial-image.sh: No such file or directory [ 94s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.aarch64.29/etc/nsswitch.conf... [ 94s] now finalizing build dir... [ 95s] ----------------------------------------------------------------- [ 95s] ----- building pkgmgr-server.spec (user abuild) [ 95s] ----------------------------------------------------------------- [ 95s] ----------------------------------------------------------------- [ 95s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_costomized_smp_mflags -j20' --define '_srcdefattr (-,root,root)' --nosignature --target=aarch64-tizen-linux --define '_build_create_debug 1' -ba /home/abuild/rpmbuild/SOURCES/pkgmgr-server.spec [ 95s] Building target platforms: aarch64-tizen-linux [ 95s] Building for target aarch64-tizen-linux [ 95s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EzNRNe [ 95s] + umask 022 [ 95s] + cd /home/abuild/rpmbuild/BUILD [ 95s] + cd /home/abuild/rpmbuild/BUILD [ 95s] + rm -rf pkgmgr-server-1.0.15 [ 95s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/pkgmgr-server-1.0.15.tar.gz [ 95s] + /bin/tar -xof - [ 95s] + STATUS=0 [ 95s] + '[' 0 -ne 0 ']' [ 95s] + cd pkgmgr-server-1.0.15 [ 95s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 95s] + cp /home/abuild/rpmbuild/SOURCES/pkgmgr-server.manifest . [ 95s] + tidlc -s -l C -e -i ./tidl_pkgmgr_server/PkgMgr.tidl -o tidl_pkgmgr_server [ 95s] + mv tidl_pkgmgr_server.c tidl_pkgmgr_server.h ./tidl_pkgmgr_server/ [ 95s] + exit 0 [ 95s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eDdFnn [ 95s] + umask 022 [ 95s] + cd /home/abuild/rpmbuild/BUILD [ 95s] + cd pkgmgr-server-1.0.15 [ 95s] + ref=/usr/lib/rpm [ 95s] + mints=0 [ 95s] + case $(uname -m) in [ 95s] ++ uname -m [ 95s] + mints=20120610 [ 95s] + for s in guess sub [ 95s] ++ find -maxdepth 8 -name config.guess [ 95s] + for s in guess sub [ 95s] ++ find -maxdepth 8 -name config.sub [ 95s] + LANG=C [ 95s] + export LANG [ 95s] + unset DISPLAY [ 95s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g' [ 95s] + export CFLAGS [ 95s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g' [ 95s] + export CXXFLAGS [ 95s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I%_fmoddir' [ 95s] + export FFLAGS [ 95s] + LDFLAGS= [ 95s] + export LDFLAGS [ 95s] + export 'CFLAGS=-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -DTIZEN_DEBUG_ENABLE' [ 95s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -DTIZEN_DEBUG_ENABLE' [ 95s] + export 'CXXFLAGS=-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -DTIZEN_DEBUG_ENABLE' [ 95s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -DTIZEN_DEBUG_ENABLE' [ 95s] + export 'FFLAGS=-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 95s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 95s] ++ awk 'BEGIN {FS="."}{print $1}' [ 95s] ++ echo 1.0.15 [ 95s] + MAJORVER=1 [ 95s] + CFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -DTIZEN_DEBUG_ENABLE' [ 95s] + export CFLAGS [ 95s] + CXXFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -DTIZEN_DEBUG_ENABLE' [ 95s] + export CXXFLAGS [ 95s] + FFLAGS='-O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I%_fmoddir -DTIZEN_DEBUG_ENABLE' [ 95s] + export FFLAGS [ 95s] + /usr/bin/cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64 -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DCMAKE_SKIP_RPATH:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -DFULLVER=1.0.15 -DMAJORVER=1 -DUNITDIR=/usr/lib/systemd/system . [ 96s] -- The C compiler identification is GNU 14.2.0 [ 96s] -- The CXX compiler identification is GNU 14.2.0 [ 96s] -- Detecting C compiler ABI info [ 96s] -- Detecting C compiler ABI info - done [ 96s] -- Check for working C compiler: /bin/cc - skipped [ 96s] -- Detecting C compile features [ 96s] -- Detecting C compile features - done [ 96s] -- Detecting CXX compiler ABI info [ 96s] -- Detecting CXX compiler ABI info - done [ 96s] -- Check for working CXX compiler: /bin/c++ - skipped [ 96s] -- Detecting CXX compile features [ 96s] -- Detecting CXX compile features - done [ 96s] -- Found PkgConfig: /bin/pkg-config (found version "0.29.2") [ 96s] -- Checking for module 'rpc-port' [ 96s] -- Found rpc-port, version [ 97s] -- Checking for module 'dlog' [ 97s] -- Found dlog, version 1.0 [ 98s] -- Checking for module 'gio-2.0' [ 98s] -- Found gio-2.0, version 2.80.5 [ 99s] -- Checking for module 'glib-2.0' [ 99s] -- Found glib-2.0, version 2.80.5 [ 100s] -- Checking for module 'capi-base-common' [ 100s] -- Found capi-base-common, version 0.4.82 [ 101s] -- Checking for module 'pkgmgr' [ 101s] -- Found pkgmgr, version 0.20.21 [ 101s] -- Checking for module 'libtzplatform-config' [ 102s] -- Found libtzplatform-config, version 2.0 [ 102s] -- Configuring done [ 102s] -- Generating done [ 102s] CMake Warning: [ 102s] Manually-specified variables were not used by the project: [ 102s] [ 102s] FULLVER [ 102s] INCLUDE_INSTALL_DIR [ 102s] LIB_SUFFIX [ 102s] MAJORVER [ 102s] SHARE_INSTALL_PREFIX [ 102s] SYSCONF_INSTALL_DIR [ 102s] [ 102s] [ 102s] -- Build files have been written to: /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 102s] + make -j8 [ 102s] /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 [ 102s] /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 [ 102s] make -f CMakeFiles/Makefile2 all [ 102s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 102s] make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/depend [ 102s] make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/depend [ 102s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 102s] 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= [ 102s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 102s] 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= [ 103s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 103s] make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build [ 103s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 103s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 103s] make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build [ 103s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 103s] [ 25%] Building C object util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o [ 103s] cd /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server && /bin/cc -DLIBDIR=\"/usr/lib64\" -Dutil_pkgmgr_server_EXPORTS -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server/SYSTEM -I/usr/include/rpc-port -I/usr/include/dlog -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -fPIC -I/usr/include/rpc-port -I/usr/include/dlog -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/ -MD -MT util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o -MF CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o.d -o CMakeFiles/util_pkgmgr_server.dir/util_pkgmgr_server.c.o -c /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/util_pkgmgr_server/util_pkgmgr_server.c [ 103s] [ 50%] Building C object tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o [ 103s] cd /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server && /bin/cc -DLIBDIR=\"/usr/lib64\" -Dtidl_pkgmgr_server_EXPORTS -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server/SYSTEM -I/usr/include/rpc-port -I/usr/include/dlog -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -DTIZEN_DEBUG_ENABLE -Wall -Werror -Wl,-zdefs -fdata-sections -ffunction-sections -Wl,--gc-sections -D_FILE_OFFSET_BITS=64 -fPIC -I/usr/include/rpc-port -I/usr/include/dlog -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -MD -MT tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o -MF CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o.d -o CMakeFiles/tidl_pkgmgr_server.dir/tidl_pkgmgr_server.c.o -c /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/tidl_pkgmgr_server/tidl_pkgmgr_server.c [ 103s] [ 75%] Linking C shared library libutil_pkgmgr_server.so [ 103s] 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 [ 103s] /bin/cc -fPIC -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -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 [ 103s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 103s] [ 75%] Built target util_pkgmgr_server [ 105s] [100%] Linking C shared library libtidl_pkgmgr_server.so [ 105s] 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 [ 105s] /bin/cc -fPIC -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -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 [ 105s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 105s] [100%] Built target tidl_pkgmgr_server [ 105s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 105s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/CMakeFiles 0 [ 105s] + export LD_LIBRARY_PATH=:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib [ 105s] + LD_LIBRARY_PATH=:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib [ 105s] ++ find /usr/lib64 -maxdepth 1 -name 'libstd-*.so' [ 105s] + __rust_std=/usr/lib64/libstd-173ad5c1e159cc01.so [ 105s] + /usr/bin/rustc -C prefer-dynamic --extern std=/usr/lib64/libstd-173ad5c1e159cc01.so -C codegen-units=1 -C debuginfo=2 -C opt-level=3 -C relocation-model=pic -C overflow-checks=on -C symbol-mangling-version=v0 -L/usr/lib64/rustlib -L/usr/lib64/rustlib/dylib --crate-type=bin --crate-name=rust_pkgmgr_server -L native=./tidl_pkgmgr_server -L native=./util_pkgmgr_server -l minizip --edition=2021 --extern libc=/usr/lib64/rustlib/dylib/liblibc.so ./src/main.rs [ 107s] warning: unused import: `boxed` [ 107s] --> ./src/pkgmgr/server/admin_service.rs:4:11 [ 107s] | [ 107s] 4 | use std::{boxed, str}; [ 107s] | ^^^^^ [ 107s] | [ 107s] = note: `#[warn(unused_imports)]` on by default [ 107s] [ 107s] warning: unused import: `std::mem` [ 107s] --> ./src/pkgmgr/server/admin_service.rs:6:5 [ 107s] | [ 107s] 6 | use std::mem; [ 107s] | ^^^^^^^^ [ 107s] [ 107s] warning: unused import: `std::ptr` [ 107s] --> ./src/pkgmgr/server/admin_service.rs:7:5 [ 107s] | [ 107s] 7 | use std::ptr; [ 107s] | ^^^^^^^^ [ 107s] [ 107s] warning: unused import: `malloc` [ 107s] --> ./src/pkgmgr/server/admin_service.rs:8:18 [ 107s] | [ 107s] 8 | use libc::{free, malloc, strlen}; [ 107s] | ^^^^^^ [ 107s] [ 107s] warning: unused import: `super::Server` [ 107s] --> ./src/pkgmgr/server/admin_service.rs:10:5 [ 107s] | [ 107s] 10 | use super::Server; [ 107s] | ^^^^^^^^^^^^^ [ 107s] [ 107s] warning: type `rpc_port_stub_array_string_h` should have an upper camel case name [ 107s] --> ./src/pkgmgr/server/admin_service.rs:23:6 [ 107s] | [ 107s] 23 | type rpc_port_stub_array_string_h = *mut c_void; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RpcPortStubArrayStringH` [ 107s] | [ 107s] = note: `#[warn(non_camel_case_types)]` on by default [ 107s] [ 107s] warning: unused imports: `pid_t`, `uid_t` [ 107s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 107s] | [ 107s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 107s] | ^^^^^ ^^^^^ [ 107s] [ 107s] warning: unused imports: `c_int`, `c_void` [ 107s] --> ./src/pkgmgr/server/backend_context.rs:4:16 [ 107s] | [ 107s] 4 | use std::ffi::{c_int, c_void}; [ 107s] | ^^^^^ ^^^^^^ [ 107s] [ 107s] warning: unused import: `std::path::Path` [ 107s] --> ./src/pkgmgr/server/backend_queue.rs:10:5 [ 107s] | [ 107s] 10 | use std::path::Path; [ 107s] | ^^^^^^^^^^^^^^^ [ 107s] [ 107s] warning: denote infinite loops with `loop { ... }` [ 107s] --> ./src/pkgmgr/server/backend_queue.rs:50:9 [ 107s] | [ 107s] 50 | while true { [ 107s] | ^^^^^^^^^^ help: use `loop` [ 107s] | [ 107s] = note: `#[warn(while_true)]` on by default [ 107s] [ 107s] warning: unnecessary parentheses around `if` condition [ 107s] --> ./src/pkgmgr/server/backend_queue.rs:73:8 [ 107s] | [ 107s] 73 | if (mut_queue.is_queue_empty()) { [ 107s] | ^ ^ [ 107s] | [ 107s] = note: `#[warn(unused_parens)]` on by default [ 107s] help: remove these parentheses [ 107s] | [ 107s] 73 - if (mut_queue.is_queue_empty()) { [ 107s] 73 + if mut_queue.is_queue_empty() { [ 107s] | [ 107s] [ 107s] warning: unnecessary trailing semicolon [ 107s] --> ./src/pkgmgr/server/backend_queue.rs:297:17 [ 107s] | [ 107s] 297 | ; [ 107s] | ^ help: remove this semicolon [ 107s] | [ 107s] = note: `#[warn(redundant_semicolons)]` on by default [ 107s] [ 107s] warning: unused import: `super::Server` [ 107s] --> ./src/pkgmgr/server/cache_service.rs:1:5 [ 107s] | [ 107s] 1 | use super::Server; [ 107s] | ^^^^^^^^^^^^^ [ 107s] [ 107s] warning: unused import: `super::Server` [ 107s] --> ./src/pkgmgr/server/delayed_service.rs:1:5 [ 107s] | [ 107s] 1 | use super::Server; [ 107s] | ^^^^^^^^^^^^^ [ 107s] [ 107s] warning: unused import: `super::backend_context::*` [ 107s] --> ./src/pkgmgr/server/delayed_service.rs:4:5 [ 107s] | [ 107s] 4 | use super::backend_context::*; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 107s] [ 107s] warning: unused import: `super::request_result::*` [ 107s] --> ./src/pkgmgr/server/delayed_service.rs:5:5 [ 107s] | [ 107s] 5 | use super::request_result::*; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 107s] [ 107s] warning: unused import: `super::request_type::*` [ 107s] --> ./src/pkgmgr/server/delayed_service.rs:6:5 [ 107s] | [ 107s] 6 | use super::request_type::*; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 107s] [ 107s] warning: unused import: `super::util::*` [ 107s] --> ./src/pkgmgr/server/delayed_service.rs:7:5 [ 107s] | [ 107s] 7 | use super::util::*; [ 107s] | ^^^^^^^^^^^^^^ [ 107s] [ 107s] warning: unused imports: `pid_t`, `uid_t` [ 107s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 107s] | [ 107s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 107s] | ^^^^^ ^^^^^ [ 107s] [ 107s] warning: unused import: `std::io::Error` [ 107s] --> ./src/pkgmgr/server/info_service.rs:3:5 [ 107s] | [ 107s] 3 | use std::io::Error; [ 107s] | ^^^^^^^^^^^^^^ [ 107s] [ 107s] warning: unused import: `std::mem` [ 107s] --> ./src/pkgmgr/server/info_service.rs:6:5 [ 107s] | [ 107s] 6 | use std::mem; [ 107s] | ^^^^^^^^ [ 107s] [ 107s] warning: unused import: `std::ptr` [ 107s] --> ./src/pkgmgr/server/info_service.rs:7:5 [ 107s] | [ 107s] 7 | use std::ptr; [ 107s] | ^^^^^^^^ [ 107s] [ 107s] warning: unused imports: `free`, `malloc`, `strlen` [ 107s] --> ./src/pkgmgr/server/info_service.rs:8:12 [ 107s] | [ 107s] 8 | use libc::{free, malloc, strlen, mkfifo}; [ 107s] | ^^^^ ^^^^^^ ^^^^^^ [ 107s] [ 107s] warning: unused import: `super::Server` [ 107s] --> ./src/pkgmgr/server/info_service.rs:10:5 [ 107s] | [ 107s] 10 | use super::Server; [ 107s] | ^^^^^^^^^^^^^ [ 107s] [ 107s] warning: unused import: `super::service::Service` [ 107s] --> ./src/pkgmgr/server/info_service.rs:13:5 [ 107s] | [ 107s] 13 | use super::service::Service; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 107s] [ 107s] warning: unnecessary trailing semicolon [ 107s] --> ./src/pkgmgr/server/info_service.rs:49:5 [ 107s] | [ 107s] 49 | ; [ 107s] | ^ help: remove this semicolon [ 107s] [ 107s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 107s] --> ./src/pkgmgr/server/request_result.rs:7:5 [ 107s] | [ 107s] 7 | GETSIZE_SYNC(String, i32, i32), [ 107s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 107s] [ 107s] warning: variant `GET_GENERATE_LICENSE_RESULT` should have an upper camel case name [ 107s] --> ./src/pkgmgr/server/request_result.rs:8:5 [ 107s] | [ 107s] 8 | GET_GENERATE_LICENSE_RESULT(String, i32, CString, CString), [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetGenerateLicenseResult` [ 107s] [ 107s] warning: variant `MOUNT_INSTALL` should have an upper camel case name [ 107s] --> ./src/pkgmgr/server/request_type.rs:3:5 [ 107s] | [ 107s] 3 | MOUNT_INSTALL, [ 107s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MountInstall` [ 107s] [ 107s] warning: variant `ENABLE_PKG` should have an upper camel case name [ 107s] --> ./src/pkgmgr/server/request_type.rs:7:5 [ 107s] | [ 107s] 7 | ENABLE_PKG, [ 107s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnablePkg` [ 107s] [ 107s] warning: variant `DISABLE_PKG` should have an upper camel case name [ 107s] --> ./src/pkgmgr/server/request_type.rs:8:5 [ 107s] | [ 107s] 8 | DISABLE_PKG, [ 107s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisablePkg` [ 107s] [ 107s] warning: variant `REGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 107s] --> ./src/pkgmgr/server/request_type.rs:9:5 [ 107s] | [ 107s] 9 | REGISTER_PKG_UPDATE_INFO, [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterPkgUpdateInfo` [ 107s] [ 107s] warning: variant `UNREGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 107s] --> ./src/pkgmgr/server/request_type.rs:10:5 [ 107s] | [ 107s] 10 | UNREGISTER_PKG_UPDATE_INFO, [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterPkgUpdateInfo` [ 107s] [ 107s] warning: variant `UNREGISTER_ALL_PKG_UPDATE_INFO` should have an upper camel case name [ 107s] --> ./src/pkgmgr/server/request_type.rs:11:5 [ 107s] | [ 107s] 11 | UNREGISTER_ALL_PKG_UPDATE_INFO, [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterAllPkgUpdateInfo` [ 107s] [ 107s] warning: variant `ENABLE_APP` should have an upper camel case name [ 107s] --> ./src/pkgmgr/server/request_type.rs:12:5 [ 107s] | [ 107s] 12 | ENABLE_APP, [ 107s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableApp` [ 107s] [ 107s] warning: variant `DISABLE_APP` should have an upper camel case name [ 107s] --> ./src/pkgmgr/server/request_type.rs:13:5 [ 107s] | [ 107s] 13 | DISABLE_APP, [ 107s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableApp` [ 107s] [ 107s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 107s] --> ./src/pkgmgr/server/request_type.rs:15:5 [ 107s] | [ 107s] 15 | GETSIZE_SYNC, [ 107s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 107s] [ 107s] warning: variant `ENABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 107s] --> ./src/pkgmgr/server/request_type.rs:18:5 [ 107s] | [ 107s] 18 | ENABLE_GLOBAL_APP_FOR_UID, [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableGlobalAppForUid` [ 107s] [ 107s] warning: variant `DISABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 107s] --> ./src/pkgmgr/server/request_type.rs:19:5 [ 107s] | [ 107s] 19 | DISABLE_GLOBAL_APP_FOR_UID, [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableGlobalAppForUid` [ 107s] [ 107s] warning: variant `GENERATE_LICENSE_REQUEST` should have an upper camel case name [ 107s] --> ./src/pkgmgr/server/request_type.rs:22:5 [ 107s] | [ 107s] 22 | GENERATE_LICENSE_REQUEST, [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GenerateLicenseRequest` [ 107s] [ 107s] warning: variant `REGISTER_LICENSE` should have an upper camel case name [ 107s] --> ./src/pkgmgr/server/request_type.rs:23:5 [ 107s] | [ 107s] 23 | REGISTER_LICENSE, [ 107s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterLicense` [ 107s] [ 107s] warning: variant `DECRYPT_PACKAGE` should have an upper camel case name [ 107s] --> ./src/pkgmgr/server/request_type.rs:24:5 [ 107s] | [ 107s] 24 | DECRYPT_PACKAGE, [ 107s] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DecryptPackage` [ 107s] [ 107s] warning: variant `ENABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 107s] --> ./src/pkgmgr/server/request_type.rs:25:5 [ 107s] | [ 107s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableAppSplashScreen` [ 107s] [ 107s] warning: variant `DISABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 107s] --> ./src/pkgmgr/server/request_type.rs:26:5 [ 107s] | [ 107s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableAppSplashScreen` [ 107s] [ 107s] warning: variant `SET_APP_LABEL` should have an upper camel case name [ 107s] --> ./src/pkgmgr/server/request_type.rs:27:5 [ 107s] | [ 107s] 27 | SET_APP_LABEL, [ 107s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppLabel` [ 107s] [ 107s] warning: variant `SET_APP_ICON` should have an upper camel case name [ 107s] --> ./src/pkgmgr/server/request_type.rs:28:5 [ 107s] | [ 107s] 28 | SET_APP_ICON, [ 107s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppIcon` [ 107s] [ 107s] warning: variant `MIGRATE_EXTERNAL_IMAGE` should have an upper camel case name [ 107s] --> ./src/pkgmgr/server/request_type.rs:29:5 [ 107s] | [ 107s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MigrateExternalImage` [ 107s] [ 107s] warning: variant `RESOURCE_SHARE_COPY` should have an upper camel case name [ 107s] --> ./src/pkgmgr/server/request_type.rs:30:5 [ 107s] | [ 107s] 30 | RESOURCE_SHARE_COPY, [ 107s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCopy` [ 107s] [ 107s] warning: variant `RESOURCE_SHARE_CREATE_DIR` should have an upper camel case name [ 107s] --> ./src/pkgmgr/server/request_type.rs:31:5 [ 107s] | [ 107s] 31 | RESOURCE_SHARE_CREATE_DIR, [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCreateDir` [ 107s] [ 107s] warning: variant `RESOURCE_SHARE_REMOVE` should have an upper camel case name [ 107s] --> ./src/pkgmgr/server/request_type.rs:32:5 [ 107s] | [ 107s] 32 | RESOURCE_SHARE_REMOVE, [ 107s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareRemove` [ 107s] [ 107s] warning: variant `RESOURCE_SHARE_UNINSTALL` should have an upper camel case name [ 107s] --> ./src/pkgmgr/server/request_type.rs:33:5 [ 107s] | [ 107s] 33 | RESOURCE_SHARE_UNINSTALL, [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareUninstall` [ 107s] [ 107s] warning: variant `REMOVE_FILE` should have an upper camel case name [ 107s] --> ./src/pkgmgr/server/request_type.rs:34:5 [ 107s] | [ 107s] 34 | REMOVE_FILE, [ 107s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RemoveFile` [ 107s] [ 107s] warning: unused import: `CStr` [ 107s] --> ./src/pkgmgr/server/signal.rs:1:39 [ 107s] | [ 107s] 1 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 107s] | ^^^^ [ 107s] [ 107s] warning: unused import: `pid_t` [ 107s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 107s] | [ 107s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 107s] | ^^^^^ [ 107s] [ 107s] warning: unused imports: `CStr`, `CString`, `c_char`, `c_void` [ 107s] --> ./src/pkgmgr/server/signal.rs:39:20 [ 107s] | [ 107s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 107s] | ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^ [ 107s] [ 107s] warning: unused import: `pid_t` [ 107s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 107s] | [ 107s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 107s] | ^^^^^ [ 107s] [ 107s] warning: unused import: `std::cell::RefCell` [ 107s] --> ./src/pkgmgr/server/util.rs:1:5 [ 107s] | [ 107s] 1 | use std::cell::RefCell; [ 107s] | ^^^^^^^^^^^^^^^^^^ [ 107s] [ 107s] warning: unused import: `std::rc::Rc` [ 107s] --> ./src/pkgmgr/server/util.rs:8:5 [ 107s] | [ 107s] 8 | use std::rc::Rc; [ 107s] | ^^^^^^^^^^^ [ 107s] [ 107s] warning: type `xmlChar` should have an upper camel case name [ 107s] --> ./src/pkgmgr/server/util.rs:34:6 [ 107s] | [ 107s] 34 | type xmlChar = c_uchar; [ 107s] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlChar` [ 107s] [ 107s] warning: type `xmlTextReaderPtr` should have an upper camel case name [ 107s] --> ./src/pkgmgr/server/util.rs:35:6 [ 107s] | [ 107s] 35 | type xmlTextReaderPtr = *mut c_void; [ 107s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlTextReaderPtr` [ 107s] [ 107s] warning: unused imports: `CStr`, `CString` [ 107s] --> ./src/pkgmgr/server/util.rs:39:43 [ 107s] | [ 107s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 107s] | ^^^^ ^^^^^^^ [ 107s] [ 107s] warning: unused import: `pid_t` [ 107s] --> ./src/pkgmgr/server/util.rs:40:37 [ 107s] | [ 107s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 107s] | ^^^^^ [ 107s] [ 107s] warning: unnecessary parentheses around `if` condition [ 107s] --> ./src/pkgmgr/server/util.rs:474:24 [ 107s] | [ 107s] 474 | if (cur == depth + 1) { [ 107s] | ^ ^ [ 107s] | [ 107s] help: remove these parentheses [ 107s] | [ 107s] 474 - if (cur == depth + 1) { [ 107s] 474 + if cur == depth + 1 { [ 107s] | [ 107s] [ 107s] warning: unnecessary parentheses around `if` condition [ 107s] --> ./src/pkgmgr/server/util.rs:571:12 [ 107s] | [ 107s] 571 | if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 107s] | ^ ^ [ 107s] | [ 107s] help: remove these parentheses [ 107s] | [ 107s] 571 - if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 107s] 571 + if unzOpenCurrentFile(uf) != UNZ_OK as c_int { [ 107s] | [ 107s] [ 107s] warning: unused import: `super::super::super::server::signal::*` [ 107s] --> ./src/pkgmgr/server/test/signal_tests.rs:1:5 [ 107s] | [ 107s] 1 | use super::super::super::server::signal::*; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 107s] | [ 107s] help: consider adding a `#[cfg(test)]` to the containing module [ 107s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 107s] | [ 107s] 3 | pub mod signal_tests; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^ [ 107s] [ 107s] warning: unused import: `std::ffi::CString` [ 107s] --> ./src/pkgmgr/server/test/signal_tests.rs:2:5 [ 107s] | [ 107s] 2 | use std::ffi::CString; [ 107s] | ^^^^^^^^^^^^^^^^^ [ 107s] | [ 107s] help: consider adding a `#[cfg(test)]` to the containing module [ 107s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 107s] | [ 107s] 3 | pub mod signal_tests; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^ [ 107s] [ 107s] warning: unused import: `std::ffi::CStr` [ 107s] --> ./src/pkgmgr/server/test/signal_tests.rs:3:5 [ 107s] | [ 107s] 3 | use std::ffi::CStr; [ 107s] | ^^^^^^^^^^^^^^ [ 107s] | [ 107s] help: consider adding a `#[cfg(test)]` to the containing module [ 107s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 107s] | [ 107s] 3 | pub mod signal_tests; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^ [ 107s] [ 107s] warning: unused import: `std::ffi::c_char` [ 107s] --> ./src/pkgmgr/server/test/signal_tests.rs:4:5 [ 107s] | [ 107s] 4 | use std::ffi::c_char; [ 107s] | ^^^^^^^^^^^^^^^^ [ 107s] | [ 107s] help: consider adding a `#[cfg(test)]` to the containing module [ 107s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 107s] | [ 107s] 3 | pub mod signal_tests; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^ [ 107s] [ 107s] warning: unused import: `std::mem` [ 107s] --> ./src/pkgmgr/server/test/signal_tests.rs:5:5 [ 107s] | [ 107s] 5 | use std::mem; [ 107s] | ^^^^^^^^ [ 107s] | [ 107s] help: consider adding a `#[cfg(test)]` to the containing module [ 107s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 107s] | [ 107s] 3 | pub mod signal_tests; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^ [ 107s] [ 107s] warning: unused import: `mockall::predicate::*` [ 107s] --> ./src/pkgmgr/server/test/signal_tests.rs:6:5 [ 107s] | [ 107s] 6 | use mockall::predicate::*; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^ [ 107s] | [ 107s] help: consider adding a `#[cfg(test)]` to the containing module [ 107s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 107s] | [ 107s] 3 | pub mod signal_tests; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^ [ 107s] [ 107s] warning: unused import: `mockall::*` [ 107s] --> ./src/pkgmgr/server/test/signal_tests.rs:7:5 [ 107s] | [ 107s] 7 | use mockall::*; [ 107s] | ^^^^^^^^^^ [ 107s] | [ 107s] help: consider adding a `#[cfg(test)]` to the containing module [ 107s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 107s] | [ 107s] 3 | pub mod signal_tests; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^ [ 107s] [ 107s] warning: unused imports: `pid_t`, `uid_t` [ 107s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 107s] | [ 107s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 107s] | ^^^^^ ^^^^^ [ 107s] | [ 107s] help: consider adding a `#[cfg(test)]` to the containing module [ 107s] --> ./src/pkgmgr/server/test/mod.rs:3:1 [ 107s] | [ 107s] 3 | pub mod signal_tests; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^ [ 107s] [ 107s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 107s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:1:5 [ 107s] | [ 107s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 107s] | [ 107s] help: consider adding a `#[cfg(test)]` to the containing module [ 107s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 107s] | [ 107s] 4 | pub mod admin_service_tests; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 107s] [ 107s] warning: unused import: `super::super::super::server::admin_service::AdminService` [ 107s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:2:5 [ 107s] | [ 107s] 2 | use super::super::super::server::admin_service::AdminService; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 107s] | [ 107s] help: consider adding a `#[cfg(test)]` to the containing module [ 107s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 107s] | [ 107s] 4 | pub mod admin_service_tests; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 107s] [ 107s] warning: unused import: `super::super::super::server::service::Service` [ 107s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:3:5 [ 107s] | [ 107s] 3 | use super::super::super::server::service::Service; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 107s] | [ 107s] help: consider adding a `#[cfg(test)]` to the containing module [ 107s] --> ./src/pkgmgr/server/test/mod.rs:4:1 [ 107s] | [ 107s] 4 | pub mod admin_service_tests; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 107s] [ 107s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 107s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:1:5 [ 107s] | [ 107s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 107s] | [ 107s] help: consider adding a `#[cfg(test)]` to the containing module [ 107s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 107s] | [ 107s] 5 | pub mod cache_service_tests; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 107s] [ 107s] warning: unused import: `super::super::super::server::cache_service::CacheService` [ 107s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:2:5 [ 107s] | [ 107s] 2 | use super::super::super::server::cache_service::CacheService; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 107s] | [ 107s] help: consider adding a `#[cfg(test)]` to the containing module [ 107s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 107s] | [ 107s] 5 | pub mod cache_service_tests; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 107s] [ 107s] warning: unused import: `super::super::super::server::service::Service` [ 107s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:3:5 [ 107s] | [ 107s] 3 | use super::super::super::server::service::Service; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 107s] | [ 107s] help: consider adding a `#[cfg(test)]` to the containing module [ 107s] --> ./src/pkgmgr/server/test/mod.rs:5:1 [ 107s] | [ 107s] 5 | pub mod cache_service_tests; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 107s] [ 107s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 107s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:1:5 [ 107s] | [ 107s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 107s] | [ 107s] help: consider adding a `#[cfg(test)]` to the containing module [ 107s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 107s] | [ 107s] 6 | pub mod delayed_service_tests; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 107s] [ 107s] warning: unused import: `super::super::super::server::delayed_service::DelayedService` [ 107s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:2:5 [ 107s] | [ 107s] 2 | use super::super::super::server::delayed_service::DelayedService; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 107s] | [ 107s] help: consider adding a `#[cfg(test)]` to the containing module [ 107s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 107s] | [ 107s] 6 | pub mod delayed_service_tests; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 107s] [ 107s] warning: unused import: `super::super::super::server::service::Service` [ 107s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:3:5 [ 107s] | [ 107s] 3 | use super::super::super::server::service::Service; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 107s] | [ 107s] help: consider adding a `#[cfg(test)]` to the containing module [ 107s] --> ./src/pkgmgr/server/test/mod.rs:6:1 [ 107s] | [ 107s] 6 | pub mod delayed_service_tests; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 107s] [ 107s] warning: unused import: `super::super::super::server::backend_queue::BackendQueue` [ 107s] --> ./src/pkgmgr/server/test/info_service_tests.rs:1:5 [ 107s] | [ 107s] 1 | use super::super::super::server::backend_queue::BackendQueue; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 107s] | [ 107s] help: consider adding a `#[cfg(test)]` to the containing module [ 107s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 107s] | [ 107s] 7 | pub mod info_service_tests; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 107s] [ 107s] warning: unused import: `super::super::super::server::info_service::InfoService` [ 107s] --> ./src/pkgmgr/server/test/info_service_tests.rs:2:5 [ 107s] | [ 107s] 2 | use super::super::super::server::info_service::InfoService; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 107s] | [ 107s] help: consider adding a `#[cfg(test)]` to the containing module [ 107s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 107s] | [ 107s] 7 | pub mod info_service_tests; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 107s] [ 107s] warning: unused import: `super::super::super::server::service::Service` [ 107s] --> ./src/pkgmgr/server/test/info_service_tests.rs:3:5 [ 107s] | [ 107s] 3 | use super::super::super::server::service::Service; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 107s] | [ 107s] help: consider adding a `#[cfg(test)]` to the containing module [ 107s] --> ./src/pkgmgr/server/test/mod.rs:7:1 [ 107s] | [ 107s] 7 | pub mod info_service_tests; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 107s] [ 107s] warning: unused import: `std::cell::RefCell` [ 107s] --> ./src/pkgmgr/server/mod.rs:22:5 [ 107s] | [ 107s] 22 | use std::cell::RefCell; [ 107s] | ^^^^^^^^^^^^^^^^^^ [ 107s] [ 107s] warning: unused import: `std::rc::Rc` [ 107s] --> ./src/pkgmgr/server/mod.rs:26:5 [ 107s] | [ 107s] 26 | use std::rc::Rc; [ 107s] | ^^^^^^^^^^^ [ 107s] [ 107s] warning: unused import: `std::process::Command` [ 107s] --> ./src/main.rs:9:5 [ 107s] | [ 107s] 9 | use std::process::Command; [ 107s] | ^^^^^^^^^^^^^^^^^^^^^ [ 107s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:5:26 [ 108s] | [ 108s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 108s] | ^^^^^ [ 108s] | [ 108s] = note: `#[warn(deprecated)]` on by default [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:5:33 [ 108s] | [ 108s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:20:20 [ 108s] | [ 108s] 20 | const GLOBAL_USER: uid_t = 201; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:322:25 [ 108s] | [ 108s] 322 | let mut caller_uid: uid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:443:25 [ 108s] | [ 108s] 443 | let mut caller_uid: uid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:548:25 [ 108s] | [ 108s] 548 | let mut caller_uid: uid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:595:25 [ 108s] | [ 108s] 595 | let mut caller_uid: uid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:718:25 [ 108s] | [ 108s] 718 | let mut caller_uid: uid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:801:25 [ 108s] | [ 108s] 801 | let mut caller_uid: uid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:853:25 [ 108s] | [ 108s] 853 | let mut caller_uid: uid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:937:25 [ 108s] | [ 108s] 937 | let mut caller_uid: uid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:990:25 [ 108s] | [ 108s] 990 | let mut caller_uid: uid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1015:76 [ 108s] | [ 108s] 1015 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, true) { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1072:25 [ 108s] | [ 108s] 1072 | let mut caller_uid: uid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1097:76 [ 108s] | [ 108s] 1097 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, false) { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1151:25 [ 108s] | [ 108s] 1151 | let mut caller_pid: pid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1152:25 [ 108s] | [ 108s] 1152 | let mut caller_uid: uid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1166:62 [ 108s] | [ 108s] 1166 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1196:66 [ 108s] | [ 108s] 1196 | let ret = Util::RegisterPkgUpdateInfo(handle, uid as uid_t); [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1215:25 [ 108s] | [ 108s] 1215 | let mut caller_pid: pid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1216:25 [ 108s] | [ 108s] 1216 | let mut caller_uid: uid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1230:62 [ 108s] | [ 108s] 1230 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1254:109 [ 108s] | [ 108s] 1254 | RequestResult::DELAYED(generated_req_key, Util::UnregisterPkgUpdateInfo(pkg_id.as_ptr(), uid as uid_t)) [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1270:25 [ 108s] | [ 108s] 1270 | let mut caller_pid: pid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1271:25 [ 108s] | [ 108s] 1271 | let mut caller_uid: uid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1303:95 [ 108s] | [ 108s] 1303 | RequestResult::DELAYED(generated_req_key, Util::UnregisterAllPkgUpdateInfo(uid as uid_t, caller_uid)) [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1312:45 [ 108s] | [ 108s] 1312 | fn handle_enable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1359:60 [ 108s] | [ 108s] 1359 | fn handle_enable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1371:40 [ 108s] | [ 108s] 1371 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1373:40 [ 108s] | [ 108s] 1373 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1380:36 [ 108s] | [ 108s] 1380 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1382:36 [ 108s] | [ 108s] 1382 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1392:36 [ 108s] | [ 108s] 1392 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1394:36 [ 108s] | [ 108s] 1394 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1400:28 [ 108s] | [ 108s] 1400 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1403:46 [ 108s] | [ 108s] 1403 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1404:59 [ 108s] | [ 108s] 1404 | Util::EnableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1405:32 [ 108s] | [ 108s] 1405 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1409:28 [ 108s] | [ 108s] 1409 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1415:46 [ 108s] | [ 108s] 1415 | fn handle_disable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1463:61 [ 108s] | [ 108s] 1463 | fn handle_disable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1475:40 [ 108s] | [ 108s] 1475 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1477:40 [ 108s] | [ 108s] 1477 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1484:36 [ 108s] | [ 108s] 1484 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1486:36 [ 108s] | [ 108s] 1486 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1496:36 [ 108s] | [ 108s] 1496 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1498:36 [ 108s] | [ 108s] 1498 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1504:28 [ 108s] | [ 108s] 1504 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1507:46 [ 108s] | [ 108s] 1507 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1508:60 [ 108s] | [ 108s] 1508 | Util::DisableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1509:32 [ 108s] | [ 108s] 1509 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1513:28 [ 108s] | [ 108s] 1513 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1535:25 [ 108s] | [ 108s] 1535 | let mut caller_uid: uid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1562:70 [ 108s] | [ 108s] 1562 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1588:25 [ 108s] | [ 108s] 1588 | let mut caller_uid: uid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1615:71 [ 108s] | [ 108s] 1615 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1673:74 [ 108s] | [ 108s] 1673 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1735:75 [ 108s] | [ 108s] 1735 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1765:25 [ 108s] | [ 108s] 1765 | let mut caller_uid: uid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1792:85 [ 108s] | [ 108s] 1792 | RequestResult::VAL(handle_enable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1818:25 [ 108s] | [ 108s] 1818 | let mut caller_uid: uid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1845:86 [ 108s] | [ 108s] 1845 | RequestResult::VAL(handle_disable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1863:40 [ 108s] | [ 108s] 1863 | Util::KillAppsInPkg(pkg_id, uid as uid_t) [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1873:25 [ 108s] | [ 108s] 1873 | let mut caller_pid: pid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1874:25 [ 108s] | [ 108s] 1874 | let mut caller_uid: uid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1985:25 [ 108s] | [ 108s] 1985 | let mut caller_pid: pid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:1986:25 [ 108s] | [ 108s] 1986 | let mut caller_uid: uid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:2035:25 [ 108s] | [ 108s] 2035 | let mut caller_pid: pid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:2036:25 [ 108s] | [ 108s] 2036 | let mut caller_uid: uid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:2083:54 [ 108s] | [ 108s] 2083 | Util::EnableGlobalAppSplashScreen(app_id, uid as uid_t) [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:2093:55 [ 108s] | [ 108s] 2093 | Util::DisableGlobalAppSplashScreen(app_id, uid as uid_t) [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:2105:25 [ 108s] | [ 108s] 2105 | let mut caller_pid: pid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:2106:25 [ 108s] | [ 108s] 2106 | let mut caller_uid: uid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:2137:102 [ 108s] | [ 108s] 2137 | RequestResult::DELAYED(generated_req_key, Util::update_app_label(app_id.as_ptr(), uid as uid_t , label.as_ptr())) [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:2155:25 [ 108s] | [ 108s] 2155 | let mut caller_pid: pid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:2156:25 [ 108s] | [ 108s] 2156 | let mut caller_uid: uid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:2187:101 [ 108s] | [ 108s] 2187 | RequestResult::DELAYED(generated_req_key, Util::update_app_icon(app_id.as_ptr(), uid as uid_t , icon_path.as_ptr())) [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:2312:25 [ 108s] | [ 108s] 2312 | let mut caller_uid: uid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:2313:25 [ 108s] | [ 108s] 2313 | let mut caller_pid: pid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:2383:25 [ 108s] | [ 108s] 2383 | let mut caller_uid: uid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:2384:25 [ 108s] | [ 108s] 2384 | let mut caller_pid: pid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:2453:25 [ 108s] | [ 108s] 2453 | let mut caller_uid: uid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:2454:25 [ 108s] | [ 108s] 2454 | let mut caller_pid: pid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:2532:25 [ 108s] | [ 108s] 2532 | let mut caller_uid: uid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:2622:41 [ 108s] | [ 108s] 2622 | if unsafe { check_valid_path(uid as uid_t, pkg_id, file_path) } != 0 { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:2681:19 [ 108s] | [ 108s] 2681 | pid: *mut pid_t, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/admin_service.rs:2682:19 [ 108s] | [ 108s] 2682 | uid: *mut uid_t [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 108s] | [ 108s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/backend_context.rs:3:33 [ 108s] | [ 108s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/cache_service.rs:12:26 [ 108s] | [ 108s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/cache_service.rs:12:33 [ 108s] | [ 108s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/cache_service.rs:23:14 [ 108s] | [ 108s] 23 | uid: uid_t, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/cache_service.rs:48:17 [ 108s] | [ 108s] 48 | target_uid: uid_t, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/cache_service.rs:53:25 [ 108s] | [ 108s] 53 | let mut caller_uid: uid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/cache_service.rs:106:19 [ 108s] | [ 108s] 106 | pid: *mut pid_t, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/cache_service.rs:107:19 [ 108s] | [ 108s] 107 | uid: *mut uid_t [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 108s] | [ 108s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/delayed_service.rs:13:33 [ 108s] | [ 108s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/info_service.rs:2:26 [ 108s] | [ 108s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/info_service.rs:2:33 [ 108s] | [ 108s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/info_service.rs:37:90 [ 108s] | [ 108s] 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... [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/info_service.rs:38:94 [ 108s] | [ 108s] 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... [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/info_service.rs:40:88 [ 108s] | [ 108s] 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... [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/info_service.rs:40:128 [ 108s] | [ 108s] 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... [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/info_service.rs:54:17 [ 108s] | [ 108s] 54 | target_uid: uid_t, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/info_service.rs:60:25 [ 108s] | [ 108s] 60 | let mut caller_pid: pid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/info_service.rs:61:25 [ 108s] | [ 108s] 61 | let mut caller_uid: uid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/info_service.rs:114:17 [ 108s] | [ 108s] 114 | target_uid: uid_t, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/info_service.rs:120:25 [ 108s] | [ 108s] 120 | let mut caller_pid: pid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/info_service.rs:121:25 [ 108s] | [ 108s] 121 | let mut caller_uid: uid_t = 0; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/info_service.rs:223:17 [ 108s] | [ 108s] 223 | target_uid: uid_t, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/info_service.rs:225:15 [ 108s] | [ 108s] 225 | pid: *mut pid_t, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/info_service.rs:228:43 [ 108s] | [ 108s] 228 | Util::check_app(pkg_id, target_uid as uid_t, pid) [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/info_service.rs:242:19 [ 108s] | [ 108s] 242 | pid: *mut pid_t, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/info_service.rs:243:19 [ 108s] | [ 108s] 243 | uid: *mut uid_t [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/signal.rs:2:26 [ 108s] | [ 108s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 108s] | [ 108s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/signal.rs:99:20 [ 108s] | [ 108s] 99 | const GLOBAL_USER: uid_t = 201; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/signal.rs:101:33 [ 108s] | [ 108s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/signal.rs:101:47 [ 108s] | [ 108s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/signal.rs:102:26 [ 108s] | [ 108s] 102 | let mut uid_vec: Vec = vec![]; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/signal.rs:110:28 [ 108s] | [ 108s] 110 | let mut uids: *mut uid_t = std::ptr::null_mut(); [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/signal.rs:124:14 [ 108s] | [ 108s] 124 | uid: uid_t, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/signal.rs:53:44 [ 108s] | [ 108s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/signal.rs:62:14 [ 108s] | [ 108s] 62 | uid: uid_t, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/signal.rs:86:14 [ 108s] | [ 108s] 86 | uid: uid_t, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/signal.rs:40:30 [ 108s] | [ 108s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 108s] | [ 108s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/signal.rs:44:45 [ 108s] | [ 108s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:4:26 [ 108s] | [ 108s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:4:33 [ 108s] | [ 108s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:22:21 [ 108s] | [ 108s] 22 | const REGULAR_USER: uid_t = 5000; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:23:20 [ 108s] | [ 108s] 23 | const GLOBAL_USER: uid_t = 201; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:25:18 [ 108s] | [ 108s] 25 | const APPFW_UID: uid_t = 301; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:307:36 [ 108s] | [ 108s] 307 | let uid : uid_t = user_data as uid_t; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:307:15 [ 108s] | [ 108s] 307 | let uid : uid_t = user_data as uid_t; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:326:81 [ 108s] | [ 108s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:326:93 [ 108s] | [ 108s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:326:25 [ 108s] | [ 108s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:326:37 [ 108s] | [ 108s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:389:57 [ 108s] | [ 108s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:420:55 [ 108s] | [ 108s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:686:62 [ 108s] | [ 108s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:696:63 [ 108s] | [ 108s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:706:44 [ 108s] | [ 108s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:706:63 [ 108s] | [ 108s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:728:49 [ 108s] | [ 108s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:738:50 [ 108s] | [ 108s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:747:55 [ 108s] | [ 108s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:757:56 [ 108s] | [ 108s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:766:61 [ 108s] | [ 108s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:775:62 [ 108s] | [ 108s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:784:67 [ 108s] | [ 108s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:793:68 [ 108s] | [ 108s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:802:54 [ 108s] | [ 108s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:802:64 [ 108s] | [ 108s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:813:47 [ 108s] | [ 108s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:835:53 [ 108s] | [ 108s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:855:25 [ 108s] | [ 108s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:983:69 [ 108s] | [ 108s] 983 | pub fn get_application_info_by_appid(appid: *const c_char, uid: uid_t) -> Option<(CString, bool)> { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:1012:41 [ 108s] | [ 108s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:1012:53 [ 108s] | [ 108s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:1029:71 [ 108s] | [ 108s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:1029:90 [ 108s] | [ 108s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:1076:56 [ 108s] | [ 108s] 1076 | pub fn update_app_label(appid: *const c_char, uid: uid_t, label: *const c_char) -> c_int { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:1080:55 [ 108s] | [ 108s] 1080 | pub fn update_app_icon(appid: *const c_char, uid: uid_t, icon_path: *const c_char) -> c_int { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:1108:49 [ 108s] | [ 108s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:1108:66 [ 108s] | [ 108s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:156:14 [ 108s] | [ 108s] 156 | uid: uid_t, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:166:14 [ 108s] | [ 108s] 166 | uid: uid_t, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:180:14 [ 108s] | [ 108s] 180 | uid: uid_t [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:185:14 [ 108s] | [ 108s] 185 | uid: uid_t [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:189:14 [ 108s] | [ 108s] 189 | uid: uid_t [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:194:14 [ 108s] | [ 108s] 194 | uid: uid_t, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:200:14 [ 108s] | [ 108s] 200 | uid: uid_t, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:206:14 [ 108s] | [ 108s] 206 | uid: uid_t, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:212:14 [ 108s] | [ 108s] 212 | uid: uid_t, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:218:14 [ 108s] | [ 108s] 218 | uid: uid_t, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:224:14 [ 108s] | [ 108s] 224 | uid: uid_t, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:237:32 [ 108s] | [ 108s] 237 | fn gum_user_get_sync(uid : uid_t, offline : c_int) -> *mut c_void; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:266:21 [ 108s] | [ 108s] 266 | caller_uid: uid_t [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:274:14 [ 108s] | [ 108s] 274 | uid: uid_t, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:40:30 [ 108s] | [ 108s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:40:37 [ 108s] | [ 108s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:46:18 [ 108s] | [ 108s] 46 | uid: uid_t, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:52:18 [ 108s] | [ 108s] 52 | uid: uid_t, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:67:18 [ 108s] | [ 108s] 67 | uid: uid_t, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:101:18 [ 108s] | [ 108s] 101 | uid: uid_t, [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:122:70 [ 108s] | [ 108s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:123:66 [ 108s] | [ 108s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:124:59 [ 108s] | [ 108s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/util.rs:125:97 [ 108s] | [ 108s] 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; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 108s] | [ 108s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 108s] | ^^^^^ [ 108s] [ 108s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 108s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 108s] | [ 108s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 108s] | ^^^^^ [ 108s] [ 110s] warning: unreachable expression [ 110s] --> ./src/pkgmgr/server/backend_queue.rs:64:5 [ 110s] | [ 110s] 61 | return G_SOURCE_CONTINUE; [ 110s] | ------------------------ any code following this expression is unreachable [ 110s] ... [ 110s] 64 | 1 [ 110s] | ^ unreachable expression [ 110s] | [ 110s] = note: `#[warn(unreachable_code)]` on by default [ 110s] [ 115s] warning: unused variable: `context` [ 115s] --> ./src/pkgmgr/server/admin_service.rs:297:5 [ 115s] | [ 115s] 297 | context: *mut c_void, [ 115s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 115s] | [ 115s] = note: `#[warn(unused_variables)]` on by default [ 115s] [ 115s] warning: unused variable: `context` [ 115s] --> ./src/pkgmgr/server/admin_service.rs:306:5 [ 115s] | [ 115s] 306 | context: *mut c_void, [ 115s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 115s] [ 115s] warning: unused variable: `user_data` [ 115s] --> ./src/pkgmgr/server/admin_service.rs:307:5 [ 115s] | [ 115s] 307 | user_data: *mut c_void, [ 115s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 115s] [ 115s] warning: unused variable: `ret` [ 115s] --> ./src/pkgmgr/server/admin_service.rs:323:9 [ 115s] | [ 115s] 323 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 115s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 115s] [ 115s] warning: unused variable: `req_id` [ 115s] --> ./src/pkgmgr/server/admin_service.rs:318:5 [ 115s] | [ 115s] 318 | req_id: *const c_char, [ 115s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 115s] [ 115s] warning: variable does not need to be mutable [ 115s] --> ./src/pkgmgr/server/admin_service.rs:415:9 [ 115s] | [ 115s] 415 | let mut backend_context = BackendContext::new( [ 115s] | ----^^^^^^^^^^^^^^^ [ 115s] | | [ 115s] | help: remove this `mut` [ 115s] | [ 115s] = note: `#[warn(unused_mut)]` on by default [ 115s] [ 115s] warning: unused variable: `ret` [ 115s] --> ./src/pkgmgr/server/admin_service.rs:444:9 [ 115s] | [ 115s] 444 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 115s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 115s] [ 115s] warning: unused variable: `req_id` [ 115s] --> ./src/pkgmgr/server/admin_service.rs:434:5 [ 115s] | [ 115s] 434 | req_id: *const c_char, [ 115s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 115s] [ 115s] warning: variable does not need to be mutable [ 115s] --> ./src/pkgmgr/server/admin_service.rs:510:9 [ 115s] | [ 115s] 510 | let mut backend_context = BackendContext::new( [ 115s] | ----^^^^^^^^^^^^^^^ [ 115s] | | [ 115s] | help: remove this `mut` [ 115s] [ 115s] warning: unused variable: `ret` [ 115s] --> ./src/pkgmgr/server/admin_service.rs:549:9 [ 115s] | [ 115s] 549 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 115s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 115s] [ 115s] warning: variable does not need to be mutable [ 115s] --> ./src/pkgmgr/server/admin_service.rs:571:9 [ 115s] | [ 115s] 571 | let mut backend_context = BackendContext::new( [ 115s] | ----^^^^^^^^^^^^^^^ [ 115s] | | [ 115s] | help: remove this `mut` [ 115s] [ 115s] warning: unused variable: `ret` [ 115s] --> ./src/pkgmgr/server/admin_service.rs:596:9 [ 115s] | [ 115s] 596 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 115s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 115s] [ 115s] warning: unused variable: `req_id` [ 115s] --> ./src/pkgmgr/server/admin_service.rs:591:5 [ 115s] | [ 115s] 591 | req_id: *const c_char, [ 115s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 115s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:688:9 [ 116s] | [ 116s] 688 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `ret` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:719:9 [ 116s] | [ 116s] 719 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 116s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 116s] [ 116s] warning: unused variable: `req_id` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:706:5 [ 116s] | [ 116s] 706 | req_id: *const c_char, [ 116s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:763:9 [ 116s] | [ 116s] 763 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `ret` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:802:9 [ 116s] | [ 116s] 802 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 116s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:824:9 [ 116s] | [ 116s] 824 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `ret` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:854:9 [ 116s] | [ 116s] 854 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 116s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:898:9 [ 116s] | [ 116s] 898 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `ret` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:938:9 [ 116s] | [ 116s] 938 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 116s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:961:9 [ 116s] | [ 116s] 961 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `ret` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:991:9 [ 116s] | [ 116s] 991 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 116s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1038:17 [ 116s] | [ 116s] 1038 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `ret` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1073:9 [ 116s] | [ 116s] 1073 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 116s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1123:17 [ 116s] | [ 116s] 1123 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `pkg_id` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1186:9 [ 116s] | [ 116s] 1186 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) }); [ 116s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1180:9 [ 116s] | [ 116s] 1180 | let mut handle : *mut c_void = Util::CreatePkgUpdateInfo(pkg_id, version, update_type); [ 116s] | ----^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1190:9 [ 116s] | [ 116s] 1190 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1248:9 [ 116s] | [ 116s] 1248 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: variable does not need to be mutable [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1297:9 [ 116s] | [ 116s] 1297 | let mut backend_context = BackendContext::new( [ 116s] | ----^^^^^^^^^^^^^^^ [ 116s] | | [ 116s] | help: remove this `mut` [ 116s] [ 116s] warning: unused variable: `is_global` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1321:17 [ 116s] | [ 116s] 1321 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 116s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 116s] [ 116s] warning: unused variable: `is_global` [ 116s] --> ./src/pkgmgr/server/admin_service.rs:1368:17 [ 116s] | [ 116s] 1368 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 116s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 116s] [ 117s] warning: unused variable: `is_global` [ 117s] --> ./src/pkgmgr/server/admin_service.rs:1424:17 [ 117s] | [ 117s] 1424 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 117s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 117s] [ 117s] warning: unused variable: `is_global` [ 117s] --> ./src/pkgmgr/server/admin_service.rs:1472:17 [ 117s] | [ 117s] 1472 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 117s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 117s] [ 117s] warning: unused variable: `caller_uid` [ 117s] --> ./src/pkgmgr/server/admin_service.rs:1535:13 [ 117s] | [ 117s] 1535 | let mut caller_uid: uid_t = 0; [ 117s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 117s] [ 117s] warning: unused variable: `context` [ 117s] --> ./src/pkgmgr/server/admin_service.rs:1521:5 [ 117s] | [ 117s] 1521 | context: *mut c_void, [ 117s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 117s] [ 117s] warning: variable does not need to be mutable [ 117s] --> ./src/pkgmgr/server/admin_service.rs:1535:9 [ 117s] | [ 117s] 1535 | let mut caller_uid: uid_t = 0; [ 117s] | ----^^^^^^^^^^ [ 117s] | | [ 117s] | help: remove this `mut` [ 117s] [ 117s] warning: variable does not need to be mutable [ 117s] --> ./src/pkgmgr/server/admin_service.rs:1558:13 [ 117s] | [ 117s] 1558 | let mut backend_context = BackendContext::new( [ 117s] | ----^^^^^^^^^^^^^^^ [ 117s] | | [ 117s] | help: remove this `mut` [ 117s] [ 117s] warning: unused variable: `caller_uid` [ 117s] --> ./src/pkgmgr/server/admin_service.rs:1588:13 [ 117s] | [ 117s] 1588 | let mut caller_uid: uid_t = 0; [ 117s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 117s] [ 117s] warning: unused variable: `context` [ 117s] --> ./src/pkgmgr/server/admin_service.rs:1574:5 [ 117s] | [ 117s] 1574 | context: *mut c_void, [ 117s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 117s] [ 117s] warning: variable does not need to be mutable [ 117s] --> ./src/pkgmgr/server/admin_service.rs:1588:9 [ 117s] | [ 117s] 1588 | let mut caller_uid: uid_t = 0; [ 117s] | ----^^^^^^^^^^ [ 117s] | | [ 117s] | help: remove this `mut` [ 117s] [ 117s] warning: variable does not need to be mutable [ 117s] --> ./src/pkgmgr/server/admin_service.rs:1611:13 [ 117s] | [ 117s] 1611 | let mut backend_context = BackendContext::new( [ 117s] | ----^^^^^^^^^^^^^^^ [ 117s] | | [ 117s] | help: remove this `mut` [ 117s] [ 117s] warning: unused variable: `context` [ 117s] --> ./src/pkgmgr/server/admin_service.rs:1627:5 [ 117s] | [ 117s] 1627 | context: *mut c_void, [ 117s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 117s] [ 117s] warning: variable does not need to be mutable [ 117s] --> ./src/pkgmgr/server/admin_service.rs:1669:17 [ 117s] | [ 117s] 1669 | let mut backend_context = BackendContext::new( [ 117s] | ----^^^^^^^^^^^^^^^ [ 117s] | | [ 117s] | help: remove this `mut` [ 117s] [ 117s] warning: unused variable: `context` [ 117s] --> ./src/pkgmgr/server/admin_service.rs:1689:5 [ 117s] | [ 117s] 1689 | context: *mut c_void, [ 117s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 117s] [ 117s] warning: variable does not need to be mutable [ 117s] --> ./src/pkgmgr/server/admin_service.rs:1731:17 [ 117s] | [ 117s] 1731 | let mut backend_context = BackendContext::new( [ 117s] | ----^^^^^^^^^^^^^^^ [ 117s] | | [ 117s] | help: remove this `mut` [ 117s] [ 117s] warning: unused variable: `caller_uid` [ 117s] --> ./src/pkgmgr/server/admin_service.rs:1765:13 [ 117s] | [ 117s] 1765 | let mut caller_uid: uid_t = 0; [ 117s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 117s] [ 117s] warning: unused variable: `context` [ 117s] --> ./src/pkgmgr/server/admin_service.rs:1751:5 [ 117s] | [ 117s] 1751 | context: *mut c_void, [ 117s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 117s] [ 117s] warning: variable does not need to be mutable [ 117s] --> ./src/pkgmgr/server/admin_service.rs:1765:9 [ 117s] | [ 117s] 1765 | let mut caller_uid: uid_t = 0; [ 117s] | ----^^^^^^^^^^ [ 117s] | | [ 117s] | help: remove this `mut` [ 117s] [ 117s] warning: variable does not need to be mutable [ 117s] --> ./src/pkgmgr/server/admin_service.rs:1788:13 [ 117s] | [ 117s] 1788 | let mut backend_context = BackendContext::new( [ 117s] | ----^^^^^^^^^^^^^^^ [ 117s] | | [ 117s] | help: remove this `mut` [ 117s] [ 117s] warning: unused variable: `caller_uid` [ 117s] --> ./src/pkgmgr/server/admin_service.rs:1818:13 [ 117s] | [ 117s] 1818 | let mut caller_uid: uid_t = 0; [ 117s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 117s] [ 117s] warning: unused variable: `context` [ 117s] --> ./src/pkgmgr/server/admin_service.rs:1804:5 [ 117s] | [ 117s] 1804 | context: *mut c_void, [ 117s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 117s] [ 117s] warning: variable does not need to be mutable [ 117s] --> ./src/pkgmgr/server/admin_service.rs:1818:9 [ 117s] | [ 117s] 1818 | let mut caller_uid: uid_t = 0; [ 117s] | ----^^^^^^^^^^ [ 117s] | | [ 117s] | help: remove this `mut` [ 117s] [ 117s] warning: variable does not need to be mutable [ 117s] --> ./src/pkgmgr/server/admin_service.rs:1841:13 [ 117s] | [ 117s] 1841 | let mut backend_context = BackendContext::new( [ 117s] | ----^^^^^^^^^^^^^^^ [ 117s] | | [ 117s] | help: remove this `mut` [ 117s] [ 117s] warning: unused variable: `context` [ 117s] --> ./src/pkgmgr/server/admin_service.rs:1857:5 [ 117s] | [ 117s] 1857 | context: *mut c_void, [ 117s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 117s] [ 117s] warning: unused variable: `pid` [ 117s] --> ./src/pkgmgr/server/admin_service.rs:1860:5 [ 117s] | [ 117s] 1860 | pid: *mut c_int, [ 117s] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [ 117s] [ 117s] warning: unused variable: `user_data` [ 117s] --> ./src/pkgmgr/server/admin_service.rs:1861:5 [ 117s] | [ 117s] 1861 | user_data: *mut c_void, [ 117s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 117s] [ 117s] warning: variable does not need to be mutable [ 117s] --> ./src/pkgmgr/server/admin_service.rs:1900:9 [ 117s] | [ 117s] 1900 | let mut backend_context = BackendContext::new( [ 117s] | ----^^^^^^^^^^^^^^^ [ 117s] | | [ 117s] | help: remove this `mut` [ 117s] [ 117s] warning: unused variable: `context` [ 117s] --> ./src/pkgmgr/server/admin_service.rs:1932:5 [ 117s] | [ 117s] 1932 | context: *mut c_void, [ 117s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 117s] [ 118s] warning: variable does not need to be mutable [ 118s] --> ./src/pkgmgr/server/admin_service.rs:2012:9 [ 118s] | [ 118s] 2012 | let mut backend_context = BackendContext::new( [ 118s] | ----^^^^^^^^^^^^^^^ [ 118s] | | [ 118s] | help: remove this `mut` [ 118s] [ 118s] warning: variable does not need to be mutable [ 118s] --> ./src/pkgmgr/server/admin_service.rs:2063:9 [ 118s] | [ 118s] 2063 | let mut backend_context = BackendContext::new( [ 118s] | ----^^^^^^^^^^^^^^^ [ 118s] | | [ 118s] | help: remove this `mut` [ 118s] [ 118s] warning: unused variable: `context` [ 118s] --> ./src/pkgmgr/server/admin_service.rs:2078:5 [ 118s] | [ 118s] 2078 | context: *mut c_void, [ 118s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 118s] [ 118s] warning: unused variable: `user_data` [ 118s] --> ./src/pkgmgr/server/admin_service.rs:2081:5 [ 118s] | [ 118s] 2081 | user_data: *mut c_void, [ 118s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 118s] [ 118s] warning: unused variable: `context` [ 118s] --> ./src/pkgmgr/server/admin_service.rs:2088:5 [ 118s] | [ 118s] 2088 | context: *mut c_void, [ 118s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 118s] [ 118s] warning: unused variable: `user_data` [ 118s] --> ./src/pkgmgr/server/admin_service.rs:2091:5 [ 118s] | [ 118s] 2091 | user_data: *mut c_void, [ 118s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 118s] [ 118s] warning: variable does not need to be mutable [ 118s] --> ./src/pkgmgr/server/admin_service.rs:2133:9 [ 118s] | [ 118s] 2133 | let mut backend_context = BackendContext::new( [ 118s] | ----^^^^^^^^^^^^^^^ [ 118s] | | [ 118s] | help: remove this `mut` [ 118s] [ 118s] warning: variable does not need to be mutable [ 118s] --> ./src/pkgmgr/server/admin_service.rs:2183:9 [ 118s] | [ 118s] 2183 | let mut backend_context = BackendContext::new( [ 118s] | ----^^^^^^^^^^^^^^^ [ 118s] | | [ 118s] | help: remove this `mut` [ 118s] [ 118s] warning: unused variable: `context` [ 118s] --> ./src/pkgmgr/server/admin_service.rs:2198:5 [ 118s] | [ 118s] 2198 | context: *mut c_void, [ 118s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 118s] [ 118s] warning: unused variable: `uid` [ 118s] --> ./src/pkgmgr/server/admin_service.rs:2199:5 [ 118s] | [ 118s] 2199 | uid: c_int, [ 118s] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [ 118s] [ 118s] warning: unused variable: `pkg_id` [ 118s] --> ./src/pkgmgr/server/admin_service.rs:2200:5 [ 118s] | [ 118s] 2200 | pkg_id: *const c_char, [ 118s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 118s] [ 118s] warning: unused variable: `user_data` [ 118s] --> ./src/pkgmgr/server/admin_service.rs:2201:5 [ 118s] | [ 118s] 2201 | user_data: *mut c_void, [ 118s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 118s] [ 118s] warning: variable does not need to be mutable [ 118s] --> ./src/pkgmgr/server/admin_service.rs:2364:9 [ 118s] | [ 118s] 2364 | let mut backend_context = BackendContext::new( [ 118s] | ----^^^^^^^^^^^^^^^ [ 118s] | | [ 118s] | help: remove this `mut` [ 118s] [ 118s] warning: variable does not need to be mutable [ 118s] --> ./src/pkgmgr/server/admin_service.rs:2434:9 [ 118s] | [ 118s] 2434 | let mut backend_context = BackendContext::new( [ 118s] | ----^^^^^^^^^^^^^^^ [ 118s] | | [ 118s] | help: remove this `mut` [ 118s] [ 119s] warning: variable does not need to be mutable [ 119s] --> ./src/pkgmgr/server/admin_service.rs:2504:9 [ 119s] | [ 119s] 2504 | let mut backend_context = BackendContext::new( [ 119s] | ----^^^^^^^^^^^^^^^ [ 119s] | | [ 119s] | help: remove this `mut` [ 119s] [ 119s] warning: unused variable: `ret` [ 119s] --> ./src/pkgmgr/server/admin_service.rs:2533:9 [ 119s] | [ 119s] 2533 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 119s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 119s] [ 119s] warning: variable does not need to be mutable [ 119s] --> ./src/pkgmgr/server/admin_service.rs:2552:9 [ 119s] | [ 119s] 2552 | let mut backend_context = BackendContext::new( [ 119s] | ----^^^^^^^^^^^^^^^ [ 119s] | | [ 119s] | help: remove this `mut` [ 119s] [ 119s] warning: unused variable: `context` [ 119s] --> ./src/pkgmgr/server/admin_service.rs:2567:5 [ 119s] | [ 119s] 2567 | context: *mut c_void, [ 119s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 119s] [ 119s] warning: variable does not need to be mutable [ 119s] --> ./src/pkgmgr/server/admin_service.rs:2597:9 [ 119s] | [ 119s] 2597 | let mut backend_context = BackendContext::new( [ 119s] | ----^^^^^^^^^^^^^^^ [ 119s] | | [ 119s] | help: remove this `mut` [ 119s] [ 119s] warning: unused variable: `context` [ 119s] --> ./src/pkgmgr/server/admin_service.rs:2612:5 [ 119s] | [ 119s] 2612 | context: *mut c_void, [ 119s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 119s] [ 119s] warning: variable does not need to be mutable [ 119s] --> ./src/pkgmgr/server/admin_service.rs:2656:9 [ 119s] | [ 119s] 2656 | let mut backend_context = BackendContext::new( [ 119s] | ----^^^^^^^^^^^^^^^ [ 119s] | | [ 119s] | help: remove this `mut` [ 119s] [ 119s] warning: unused variable: `status` [ 119s] --> ./src/pkgmgr/server/backend_queue.rs:38:17 [ 119s] | [ 119s] 38 | let mut status: c_int; [ 119s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [ 119s] [ 119s] warning: unused variable: `io` [ 119s] --> ./src/pkgmgr/server/backend_queue.rs:30:33 [ 119s] | [ 119s] 30 | extern "C" fn signal_handler_cb(io: *mut glib_sys::GIOChannel, [ 119s] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [ 119s] [ 119s] warning: unused variable: `cond` [ 119s] --> ./src/pkgmgr/server/backend_queue.rs:31:9 [ 119s] | [ 119s] 31 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 119s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 119s] [ 119s] warning: variable does not need to be mutable [ 119s] --> ./src/pkgmgr/server/backend_queue.rs:71:9 [ 119s] | [ 119s] 71 | let mut mut_queue = queue.borrow_mut(); [ 119s] | ----^^^^^^^^^ [ 119s] | | [ 119s] | help: remove this `mut` [ 119s] [ 119s] warning: variable does not need to be mutable [ 119s] --> ./src/pkgmgr/server/backend_queue.rs:189:28 [ 119s] | [ 119s] 189 | pub fn push(&mut self, mut context: BackendContext) -> i32 { [ 119s] | ----^^^^^^^ [ 119s] | | [ 119s] | help: remove this `mut` [ 119s] [ 119s] warning: unused variable: `req_key` [ 119s] --> ./src/pkgmgr/server/backend_queue.rs:296:41 [ 119s] | [ 119s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 119s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_key` [ 119s] [ 119s] warning: unused variable: `ret` [ 119s] --> ./src/pkgmgr/server/backend_queue.rs:296:50 [ 119s] | [ 119s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 119s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 119s] [ 119s] warning: unused variable: `s` [ 119s] --> ./src/pkgmgr/server/backend_queue.rs:296:55 [ 119s] | [ 119s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 119s] | ^ help: if this is intentional, prefix it with an underscore: `_s` [ 119s] [ 119s] warning: variable does not need to be mutable [ 119s] --> ./src/pkgmgr/server/backend_queue.rs:278:25 [ 119s] | [ 119s] 278 | let mut backend: &mut Backend = backend.unwrap(); [ 119s] | ----^^^^^^^ [ 119s] | | [ 119s] | help: remove this `mut` [ 119s] [ 120s] warning: unused variable: `context` [ 120s] --> ./src/pkgmgr/server/cache_service.rs:31:5 [ 120s] | [ 120s] 31 | context: *mut c_void, [ 120s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 120s] [ 120s] warning: unused variable: `context` [ 120s] --> ./src/pkgmgr/server/cache_service.rs:40:5 [ 120s] | [ 120s] 40 | context: *mut c_void, [ 120s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 120s] [ 120s] warning: unused variable: `user_data` [ 120s] --> ./src/pkgmgr/server/cache_service.rs:41:5 [ 120s] | [ 120s] 41 | user_data: *mut c_void, [ 120s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 120s] [ 120s] warning: unused variable: `ret` [ 120s] --> ./src/pkgmgr/server/cache_service.rs:54:9 [ 120s] | [ 120s] 54 | let ret = unsafe { rpc_port_stub_PkgMgrForClearCache_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 120s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 120s] [ 120s] warning: value assigned to `pkg_type` is never read [ 120s] --> ./src/pkgmgr/server/cache_service.rs:63:13 [ 120s] | [ 120s] 63 | let mut pkg_type: String = String::new(); [ 120s] | ^^^^^^^^ [ 120s] | [ 120s] = help: maybe it is overwritten before being read? [ 120s] = note: `#[warn(unused_assignments)]` on by default [ 120s] [ 120s] warning: variable does not need to be mutable [ 120s] --> ./src/pkgmgr/server/cache_service.rs:83:9 [ 120s] | [ 120s] 83 | let mut backend_context = BackendContext::new( [ 120s] | ----^^^^^^^^^^^^^^^ [ 120s] | | [ 120s] | help: remove this `mut` [ 120s] [ 120s] warning: unused variable: `context` [ 120s] --> ./src/pkgmgr/server/delayed_service.rs:32:5 [ 120s] | [ 120s] 32 | context: *mut c_void, [ 120s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 120s] [ 120s] warning: unused variable: `context` [ 120s] --> ./src/pkgmgr/server/delayed_service.rs:41:5 [ 120s] | [ 120s] 41 | context: *mut c_void, [ 120s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 120s] [ 120s] warning: unused variable: `user_data` [ 120s] --> ./src/pkgmgr/server/delayed_service.rs:42:5 [ 120s] | [ 120s] 42 | user_data: *mut c_void, [ 120s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 120s] [ 120s] warning: unused variable: `context` [ 120s] --> ./src/pkgmgr/server/delayed_service.rs:48:5 [ 120s] | [ 120s] 48 | context: *mut c_void, [ 120s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 120s] [ 120s] warning: unused variable: `context` [ 120s] --> ./src/pkgmgr/server/info_service.rs:43:55 [ 120s] | [ 120s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 120s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 120s] [ 120s] warning: unused variable: `context` [ 120s] --> ./src/pkgmgr/server/info_service.rs:48:58 [ 120s] | [ 120s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 120s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 120s] [ 120s] warning: unused variable: `user_data` [ 120s] --> ./src/pkgmgr/server/info_service.rs:48:80 [ 120s] | [ 120s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 120s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 120s] [ 120s] warning: variable does not need to be mutable [ 120s] --> ./src/pkgmgr/server/info_service.rs:98:9 [ 120s] | [ 120s] 98 | let mut backend_context = BackendContext::new( [ 120s] | ----^^^^^^^^^^^^^^^ [ 120s] | | [ 120s] | help: remove this `mut` [ 120s] [ 120s] warning: variable does not need to be mutable [ 120s] --> ./src/pkgmgr/server/info_service.rs:160:9 [ 120s] | [ 120s] 160 | let mut backend_context = BackendContext::new( [ 120s] | ----^^^^^^^^^^^^^^^ [ 120s] | | [ 120s] | help: remove this `mut` [ 120s] [ 120s] warning: unused variable: `context` [ 120s] --> ./src/pkgmgr/server/info_service.rs:195:5 [ 120s] | [ 120s] 195 | context: *mut c_void, [ 120s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 120s] [ 120s] warning: unused variable: `context` [ 120s] --> ./src/pkgmgr/server/info_service.rs:222:5 [ 120s] | [ 120s] 222 | context: *mut c_void, [ 120s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 120s] [ 120s] warning: unused variable: `user_data` [ 120s] --> ./src/pkgmgr/server/info_service.rs:226:5 [ 120s] | [ 120s] 226 | user_data: *mut c_void [ 120s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 120s] [ 120s] warning: variable does not need to be mutable [ 120s] --> ./src/pkgmgr/server/signal.rs:144:13 [ 120s] | [ 120s] 144 | let mut c_req_type: c_int; [ 120s] | ----^^^^^^^^^^ [ 120s] | | [ 120s] | help: remove this `mut` [ 120s] [ 120s] warning: value assigned to `size_result` is never read [ 120s] --> ./src/pkgmgr/server/util.rs:351:17 [ 120s] | [ 120s] 351 | let mut size_result: i64 = -1; [ 120s] | ^^^^^^^^^^^ [ 120s] | [ 120s] = help: maybe it is overwritten before being read? [ 120s] [ 120s] warning: unused variable: `cond` [ 120s] --> ./src/pkgmgr/server/util.rs:341:9 [ 120s] | [ 120s] 341 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 120s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 120s] [ 120s] warning: value assigned to `ret` is never read [ 120s] --> ./src/pkgmgr/server/util.rs:425:21 [ 120s] | [ 120s] 425 | let mut ret: c_int = 0; [ 120s] | ^^^ [ 120s] | [ 120s] = help: maybe it is overwritten before being read? [ 120s] [ 121s] warning: unreachable pattern [ 121s] --> ./src/pkgmgr/server/util.rs:478:17 [ 121s] | [ 121s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 121s] | -------------------------------------- matches any value [ 121s] ... [ 121s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 121s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 121s] | [ 121s] = note: `#[warn(unreachable_patterns)]` on by default [ 121s] [ 121s] warning: unreachable pattern [ 121s] --> ./src/pkgmgr/server/util.rs:483:17 [ 121s] | [ 121s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 121s] | -------------------------------------- matches any value [ 121s] ... [ 121s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 121s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 121s] [ 121s] warning: unreachable pattern [ 121s] --> ./src/pkgmgr/server/util.rs:488:17 [ 121s] | [ 121s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 121s] | -------------------------------------- matches any value [ 121s] ... [ 121s] 488 | _ => { [ 121s] | ^ unreachable pattern [ 121s] [ 121s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 121s] --> ./src/pkgmgr/server/util.rs:473:17 [ 121s] | [ 121s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 121s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 121s] [ 121s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_TEXT` [ 121s] --> ./src/pkgmgr/server/util.rs:478:17 [ 121s] | [ 121s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 121s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_TEXT` [ 121s] [ 121s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 121s] --> ./src/pkgmgr/server/util.rs:483:17 [ 121s] | [ 121s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 121s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 121s] [ 121s] warning: variable does not need to be mutable [ 121s] --> ./src/pkgmgr/server/util.rs:519:13 [ 121s] | [ 121s] 519 | let mut attr = xmlTextReaderGetAttribute(reader, RES_TYPE_ATTRIBUTE_KEY.as_ptr()); [ 121s] | ----^^^^ [ 121s] | | [ 121s] | help: remove this `mut` [ 121s] [ 121s] warning: variable does not need to be mutable [ 121s] --> ./src/pkgmgr/server/util.rs:588:13 [ 121s] | [ 121s] 588 | let mut reader = [ 121s] | ----^^^^^^ [ 121s] | | [ 121s] | help: remove this `mut` [ 121s] [ 121s] warning: unused variable: `gid` [ 121s] --> ./src/pkgmgr/server/util.rs:891:52 [ 121s] | [ 121s] 891 | fn set_environment(mut envs: Vec<&mut String>, gid: libc::gid_t) -> bool { [ 121s] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [ 121s] [ 122s] warning: variable does not need to be mutable [ 122s] --> ./src/pkgmgr/server/mod.rs:89:13 [ 122s] | [ 122s] 89 | let mut backend_queue = BackendQueue::new(self.mainloop); [ 122s] | ----^^^^^^^^^^^^^ [ 122s] | | [ 122s] | help: remove this `mut` [ 122s] [ 122s] warning: unnecessary `unsafe` block [ 122s] --> ./src/pkgmgr/server/admin_service.rs:995:32 [ 122s] | [ 122s] 993 | unsafe { [ 122s] | ------ because it's nested under this `unsafe` block [ 122s] 994 | match CString::new(generated_req_key.clone()) { [ 122s] 995 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 122s] | ^^^^^^ unnecessary `unsafe` block [ 122s] | [ 122s] = note: `#[warn(unused_unsafe)]` on by default [ 122s] [ 122s] warning: unnecessary `unsafe` block [ 122s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 122s] | [ 122s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 122s] | ^^^^^^ unnecessary `unsafe` block [ 122s] | [ 122s] ::: ./src/pkgmgr/server/admin_service.rs:993:5 [ 122s] | [ 122s] 993 | unsafe { [ 122s] | ------ because it's nested under this `unsafe` block [ 122s] ... [ 122s] 997 | error!("Fail to generate req key, err({:?})", e); [ 122s] | ------------------------------------------------ in this macro invocation [ 122s] | [ 122s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 122s] [ 122s] warning: unnecessary `unsafe` block [ 122s] --> ./src/pkgmgr/server/admin_service.rs:1023:46 [ 122s] | [ 122s] 993 | unsafe { [ 122s] | ------ because it's nested under this `unsafe` block [ 122s] ... [ 122s] 1023 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 122s] | ^^^^^^ unnecessary `unsafe` block [ 122s] [ 122s] warning: unnecessary `unsafe` block [ 122s] --> ./src/pkgmgr/server/admin_service.rs:1077:32 [ 122s] | [ 122s] 1075 | unsafe { [ 122s] | ------ because it's nested under this `unsafe` block [ 122s] 1076 | match CString::new(generated_req_key.clone()) { [ 122s] 1077 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 122s] | ^^^^^^ unnecessary `unsafe` block [ 122s] [ 122s] warning: unnecessary `unsafe` block [ 122s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 122s] | [ 122s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 122s] | ^^^^^^ unnecessary `unsafe` block [ 122s] | [ 122s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 122s] | [ 122s] 1075 | unsafe { [ 122s] | ------ because it's nested under this `unsafe` block [ 122s] ... [ 122s] 1079 | error!("Fail to generate req key, err({:?})", e); [ 122s] | ------------------------------------------------ in this macro invocation [ 122s] | [ 122s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 122s] [ 122s] warning: unnecessary `unsafe` block [ 122s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 122s] | [ 122s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 122s] | ^^^^^^ unnecessary `unsafe` block [ 122s] | [ 122s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 122s] | [ 122s] 1075 | unsafe { [ 122s] | ------ because it's nested under this `unsafe` block [ 122s] ... [ 122s] 1106 | debug!("push disable pkg {pkg_id}"); [ 122s] | ----------------------------------- in this macro invocation [ 122s] | [ 122s] = 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) [ 122s] [ 122s] warning: unnecessary `unsafe` block [ 122s] --> ./src/pkgmgr/server/admin_service.rs:1108:46 [ 122s] | [ 122s] 1075 | unsafe { [ 122s] | ------ because it's nested under this `unsafe` block [ 122s] ... [ 122s] 1108 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 122s] | ^^^^^^ unnecessary `unsafe` block [ 122s] [ 122s] warning: unnecessary `unsafe` block [ 122s] --> ./src/pkgmgr/server/admin_service.rs:1537:5 [ 122s] | [ 122s] 1537 | unsafe { [ 122s] | ^^^^^^ unnecessary `unsafe` block [ 122s] [ 122s] warning: unnecessary `unsafe` block [ 122s] --> ./src/pkgmgr/server/admin_service.rs:1590:5 [ 122s] | [ 122s] 1590 | unsafe { [ 122s] | ^^^^^^ unnecessary `unsafe` block [ 122s] [ 122s] warning: unnecessary `unsafe` block [ 122s] --> ./src/pkgmgr/server/admin_service.rs:1643:32 [ 122s] | [ 122s] 1641 | unsafe { [ 122s] | ------ because it's nested under this `unsafe` block [ 122s] 1642 | match CString::new(generated_req_key.clone()) { [ 122s] 1643 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 122s] | ^^^^^^ unnecessary `unsafe` block [ 122s] [ 122s] warning: unnecessary `unsafe` block [ 122s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 122s] | [ 122s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 122s] | ^^^^^^ unnecessary `unsafe` block [ 122s] | [ 122s] ::: ./src/pkgmgr/server/admin_service.rs:1641:5 [ 122s] | [ 122s] 1641 | unsafe { [ 122s] | ------ because it's nested under this `unsafe` block [ 122s] ... [ 122s] 1645 | error!("Fail to generate req key, err({:?})", e); [ 122s] | ------------------------------------------------ in this macro invocation [ 122s] | [ 122s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 122s] [ 122s] warning: unnecessary `unsafe` block [ 122s] --> ./src/pkgmgr/server/admin_service.rs:1657:42 [ 122s] | [ 122s] 1641 | unsafe { [ 122s] | ------ because it's nested under this `unsafe` block [ 122s] ... [ 122s] 1657 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 122s] | ^^^^^^ unnecessary `unsafe` block [ 122s] [ 122s] warning: unnecessary `unsafe` block [ 122s] --> ./src/pkgmgr/server/admin_service.rs:1705:32 [ 122s] | [ 122s] 1703 | unsafe { [ 122s] | ------ because it's nested under this `unsafe` block [ 122s] 1704 | match CString::new(generated_req_key.clone()) { [ 122s] 1705 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 122s] | ^^^^^^ unnecessary `unsafe` block [ 122s] [ 122s] warning: unnecessary `unsafe` block [ 122s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 122s] | [ 122s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 122s] | ^^^^^^ unnecessary `unsafe` block [ 122s] | [ 122s] ::: ./src/pkgmgr/server/admin_service.rs:1703:5 [ 122s] | [ 122s] 1703 | unsafe { [ 122s] | ------ because it's nested under this `unsafe` block [ 122s] ... [ 122s] 1707 | error!("Fail to generate req key, err({:?})", e); [ 122s] | ------------------------------------------------ in this macro invocation [ 122s] | [ 122s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 122s] [ 122s] warning: unnecessary `unsafe` block [ 122s] --> ./src/pkgmgr/server/admin_service.rs:1719:42 [ 122s] | [ 122s] 1703 | unsafe { [ 122s] | ------ because it's nested under this `unsafe` block [ 122s] ... [ 122s] 1719 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 122s] | ^^^^^^ unnecessary `unsafe` block [ 122s] [ 122s] warning: unnecessary `unsafe` block [ 122s] --> ./src/pkgmgr/server/admin_service.rs:1767:5 [ 122s] | [ 122s] 1767 | unsafe { [ 122s] | ^^^^^^ unnecessary `unsafe` block [ 122s] [ 122s] warning: unnecessary `unsafe` block [ 122s] --> ./src/pkgmgr/server/admin_service.rs:1820:5 [ 122s] | [ 122s] 1820 | unsafe { [ 122s] | ^^^^^^ unnecessary `unsafe` block [ 122s] [ 122s] warning: unnecessary `unsafe` block [ 122s] --> ./src/pkgmgr/server/admin_service.rs:2296:17 [ 122s] | [ 122s] 2294 | unsafe { [ 122s] | ------ because it's nested under this `unsafe` block [ 122s] 2295 | if !(*value.offset(i as isize)).is_null() { [ 122s] 2296 | unsafe { free(*value.offset(i as isize) as *mut _) }; [ 122s] | ^^^^^^ unnecessary `unsafe` block [ 122s] [ 123s] warning: unnecessary `unsafe` block [ 123s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 123s] | [ 123s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 123s] | ^^^^^^ unnecessary `unsafe` block [ 123s] | [ 123s] ::: ./src/pkgmgr/server/admin_service.rs:2793:9 [ 123s] | [ 123s] 2793 | unsafe { [ 123s] | ------ because it's nested under this `unsafe` block [ 123s] 2794 | let ret = rpc_port_stub_PkgMgrAdmin_register(&mut self.callbacks, self as *mut _ as *mut c_void); [ 123s] 2795 | debug!("admin service start : {ret}"); [ 123s] | ------------------------------------- in this macro invocation [ 123s] | [ 123s] = 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) [ 123s] [ 123s] warning: unnecessary `unsafe` block [ 123s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 123s] | [ 123s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 123s] | ^^^^^^ unnecessary `unsafe` block [ 123s] | [ 123s] ::: ./src/pkgmgr/server/admin_service.rs:2801:9 [ 123s] | [ 123s] 2801 | unsafe { [ 123s] | ------ because it's nested under this `unsafe` block [ 123s] 2802 | let ret = rpc_port_stub_PkgMgrAdmin_unregister(); [ 123s] 2803 | debug!("ret : {ret}"); [ 123s] | --------------------- in this macro invocation [ 123s] | [ 123s] = 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) [ 123s] [ 123s] warning: unnecessary `unsafe` block [ 123s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 123s] | [ 123s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 123s] | ^^^^^^ unnecessary `unsafe` block [ 123s] | [ 123s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 123s] | [ 123s] 204 | unsafe { [ 123s] | ------ because it's nested under this `unsafe` block [ 123s] ... [ 123s] 210 | error!("sigprocmask failed"); [ 123s] | ---------------------------- in this macro invocation [ 123s] | [ 123s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 123s] [ 123s] warning: unnecessary `unsafe` block [ 123s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 123s] | [ 123s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 123s] | ^^^^^^ unnecessary `unsafe` block [ 123s] | [ 123s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 123s] | [ 123s] 204 | unsafe { [ 123s] | ------ because it's nested under this `unsafe` block [ 123s] ... [ 123s] 216 | error!("signalfd failed"); [ 123s] | ------------------------- in this macro invocation [ 123s] | [ 123s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 123s] [ 123s] warning: unnecessary `unsafe` block [ 123s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 123s] | [ 123s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 123s] | ^^^^^^ unnecessary `unsafe` block [ 123s] | [ 123s] ::: ./src/pkgmgr/server/cache_service.rs:134:9 [ 123s] | [ 123s] 134 | unsafe { [ 123s] | ------ because it's nested under this `unsafe` block [ 123s] ... [ 123s] 139 | debug!("cache service start : {ret}"); [ 123s] | ------------------------------------- in this macro invocation [ 123s] | [ 123s] = 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) [ 123s] [ 123s] warning: unnecessary `unsafe` block [ 123s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 123s] | [ 123s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 123s] | ^^^^^^ unnecessary `unsafe` block [ 123s] | [ 123s] ::: ./src/pkgmgr/server/cache_service.rs:145:9 [ 123s] | [ 123s] 145 | unsafe { [ 123s] | ------ because it's nested under this `unsafe` block [ 123s] 146 | let ret = rpc_port_stub_PkgMgrForClearCache_unregister(); [ 123s] 147 | debug!("ret : {ret}"); [ 123s] | --------------------- in this macro invocation [ 123s] | [ 123s] = 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) [ 123s] [ 123s] warning: unnecessary `unsafe` block [ 123s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 123s] | [ 123s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 123s] | ^^^^^^ unnecessary `unsafe` block [ 123s] | [ 123s] ::: ./src/pkgmgr/server/delayed_service.rs:107:9 [ 123s] | [ 123s] 107 | unsafe { [ 123s] | ------ because it's nested under this `unsafe` block [ 123s] ... [ 123s] 112 | debug!("delayed result service start : {ret}"); [ 123s] | ---------------------------------------------- in this macro invocation [ 123s] | [ 123s] = 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) [ 123s] [ 123s] warning: unnecessary `unsafe` block [ 123s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 123s] | [ 123s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 123s] | ^^^^^^ unnecessary `unsafe` block [ 123s] | [ 123s] ::: ./src/pkgmgr/server/delayed_service.rs:118:9 [ 123s] | [ 123s] 118 | unsafe { [ 123s] | ------ because it's nested under this `unsafe` block [ 123s] 119 | let ret = rpc_port_stub_DelayedResult_unregister(); [ 123s] 120 | debug!("ret : {ret}"); [ 123s] | --------------------- in this macro invocation [ 123s] | [ 123s] = 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) [ 123s] [ 123s] warning: unnecessary `unsafe` block [ 123s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 123s] | [ 123s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 123s] | ^^^^^^ unnecessary `unsafe` block [ 123s] | [ 123s] ::: ./src/pkgmgr/server/info_service.rs:165:13 [ 123s] | [ 123s] 165 | unsafe { [ 123s] | ------ because it's nested under this `unsafe` block [ 123s] 166 | if mkfifo(fifo_path.as_ptr() as *const c_char, 0o600) < 0 { [ 123s] 167 | error!("Failed to mkfifo"); [ 123s] | -------------------------- in this macro invocation [ 123s] | [ 123s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 123s] [ 123s] warning: unnecessary `unsafe` block [ 123s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 123s] | [ 123s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 123s] | ^^^^^^ unnecessary `unsafe` block [ 123s] | [ 123s] ::: ./src/pkgmgr/server/info_service.rs:268:9 [ 123s] | [ 123s] 268 | unsafe { [ 123s] | ------ because it's nested under this `unsafe` block [ 123s] ... [ 123s] 273 | debug!("info service start : {ret}"); [ 123s] | ------------------------------------ in this macro invocation [ 123s] | [ 123s] = 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) [ 123s] [ 123s] warning: unnecessary `unsafe` block [ 123s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 123s] | [ 123s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 123s] | ^^^^^^ unnecessary `unsafe` block [ 123s] | [ 123s] ::: ./src/pkgmgr/server/info_service.rs:279:9 [ 123s] | [ 123s] 279 | unsafe { [ 123s] | ------ because it's nested under this `unsafe` block [ 123s] 280 | let ret = rpc_port_stub_PkgMgr_unregister(); [ 123s] 281 | debug!("ret : {ret}"); [ 123s] | --------------------- in this macro invocation [ 123s] | [ 123s] = 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) [ 123s] [ 123s] warning: unnecessary `unsafe` block [ 123s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 123s] | [ 123s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 123s] | ^^^^^^ unnecessary `unsafe` block [ 123s] | [ 123s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 123s] | [ 123s] 131 | unsafe { [ 123s] | ------ because it's nested under this `unsafe` block [ 123s] ... [ 123s] 134 | error!("Failure in creating the pkgmgr_installer object"); [ 123s] | --------------------------------------------------------- in this macro invocation [ 123s] | [ 123s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 123s] [ 123s] warning: unnecessary `unsafe` block [ 123s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 123s] | [ 123s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 123s] | ^^^^^^ unnecessary `unsafe` block [ 123s] | [ 123s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 123s] | [ 123s] 131 | unsafe { [ 123s] | ------ because it's nested under this `unsafe` block [ 123s] ... [ 123s] 139 | error!("pkgmgr_installer_set_uid fail"); [ 123s] | --------------------------------------- in this macro invocation [ 123s] | [ 123s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 123s] [ 123s] warning: unnecessary `unsafe` block [ 123s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 123s] | [ 123s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 123s] | ^^^^^^ unnecessary `unsafe` block [ 123s] | [ 123s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 123s] | [ 123s] 131 | unsafe { [ 123s] | ------ because it's nested under this `unsafe` block [ 123s] ... [ 123s] 154 | warn!("Unsupported req_type[{}]", req_type as c_int); [ 123s] | ---------------------------------------------------- in this macro invocation [ 123s] | [ 123s] = 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) [ 123s] [ 123s] warning: unnecessary `unsafe` block [ 123s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 123s] | [ 123s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 123s] | ^^^^^^ unnecessary `unsafe` block [ 123s] | [ 123s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 123s] | [ 123s] 131 | unsafe { [ 123s] | ------ because it's nested under this `unsafe` block [ 123s] ... [ 123s] 161 | error!("pkgmgr_installer_set_request_type fail"); [ 123s] | ------------------------------------------------ in this macro invocation [ 123s] | [ 123s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 123s] [ 123s] warning: unnecessary `unsafe` block [ 123s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 123s] | [ 123s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 123s] | ^^^^^^ unnecessary `unsafe` block [ 123s] | [ 123s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 123s] | [ 123s] 131 | unsafe { [ 123s] | ------ because it's nested under this `unsafe` block [ 123s] ... [ 123s] 168 | error!("pkgmgr_installer_set_session_id fail : {:?}", c_req_id); [ 123s] | --------------------------------------------------------------- in this macro invocation [ 123s] | [ 123s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 123s] [ 123s] warning: unnecessary `unsafe` block [ 123s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 123s] | [ 123s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 123s] | ^^^^^^ unnecessary `unsafe` block [ 123s] | [ 123s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 123s] | [ 123s] 309 | unsafe { [ 123s] | ------ because it's nested under this `unsafe` block [ 123s] 310 | if pkgmgrinfo_appinfo_get_appid(pkgmgrinfo_appinfo_h, &mut app_id) != 0 { [ 123s] 311 | error!("Failed get appid"); [ 123s] | -------------------------- in this macro invocation [ 123s] | [ 123s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 123s] [ 123s] warning: unnecessary `unsafe` block [ 123s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 123s] | [ 123s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 123s] | ^^^^^^ unnecessary `unsafe` block [ 123s] | [ 123s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 123s] | [ 123s] 309 | unsafe { [ 123s] | ------ because it's nested under this `unsafe` block [ 123s] ... [ 123s] 314 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 123s] | --------------------------------------------------------- in this macro invocation [ 123s] | [ 123s] = 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) [ 123s] [ 123s] warning: unnecessary `unsafe` block [ 123s] --> ./src/pkgmgr/server/util.rs:326:46 [ 123s] | [ 123s] 325 | unsafe { [ 123s] | ------ because it's nested under this `unsafe` block [ 123s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 123s] | ^^^^^^ unnecessary `unsafe` block [ 123s] [ 123s] warning: unnecessary `unsafe` block [ 123s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 123s] | [ 123s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 123s] | ^^^^^^ unnecessary `unsafe` block [ 123s] | [ 123s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 123s] | [ 123s] 325 | unsafe { [ 123s] | ------ because it's nested under this `unsafe` block [ 123s] ... [ 123s] 329 | error!("Failed get appid"); [ 123s] | -------------------------- in this macro invocation [ 123s] | [ 123s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 123s] [ 123s] warning: unnecessary `unsafe` block [ 123s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 123s] | [ 123s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 123s] | ^^^^^^ unnecessary `unsafe` block [ 123s] | [ 123s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 123s] | [ 123s] 325 | unsafe { [ 123s] | ------ because it's nested under this `unsafe` block [ 123s] ... [ 123s] 333 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 123s] | --------------------------------------------------------- in this macro invocation [ 123s] | [ 123s] = 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) [ 123s] [ 123s] warning: unnecessary `unsafe` block [ 123s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 123s] | [ 123s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 123s] | ^^^^^^ unnecessary `unsafe` block [ 123s] | [ 123s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 123s] | [ 123s] 342 | unsafe { [ 123s] | ------ because it's nested under this `unsafe` block [ 123s] ... [ 123s] 355 | error!("getsize fd read failed: {:?}", Util::c_char_to_cstr((*err).message)); [ 123s] | ---------------------------------------------------------------------------- in this macro invocation [ 123s] | [ 123s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 123s] [ 123s] warning: unnecessary `unsafe` block [ 123s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 123s] | [ 123s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 123s] | ^^^^^^ unnecessary `unsafe` block [ 123s] | [ 123s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 123s] | [ 123s] 342 | unsafe { [ 123s] | ------ because it's nested under this `unsafe` block [ 123s] ... [ 123s] 361 | error!("empty result"); [ 123s] | ---------------------- in this macro invocation [ 123s] | [ 123s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 123s] [ 123s] warning: unnecessary `unsafe` block [ 123s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 123s] | [ 123s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 123s] | ^^^^^^ unnecessary `unsafe` block [ 123s] | [ 123s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 123s] | [ 123s] 390 | unsafe { [ 123s] | ------ because it's nested under this `unsafe` block [ 123s] ... [ 123s] 399 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 123s] | --------------------------------------------------------- in this macro invocation [ 123s] | [ 123s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 123s] [ 123s] warning: unnecessary `unsafe` block [ 123s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 123s] | [ 123s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 123s] | ^^^^^^ unnecessary `unsafe` block [ 123s] | [ 123s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 123s] | [ 123s] 390 | unsafe { [ 123s] | ------ because it's nested under this `unsafe` block [ 123s] ... [ 123s] 406 | error!("Fail to get is readonly"); [ 123s] | --------------------------------- in this macro invocation [ 123s] | [ 123s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 123s] [ 123s] warning: unnecessary `unsafe` block [ 123s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 123s] | [ 123s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 123s] | ^^^^^^ unnecessary `unsafe` block [ 123s] | [ 123s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 123s] | [ 123s] 422 | unsafe { [ 123s] | ------ because it's nested under this `unsafe` block [ 123s] ... [ 123s] 429 | error!("Not found package"); [ 123s] | --------------------------- in this macro invocation [ 123s] | [ 123s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 123s] [ 123s] warning: unnecessary `unsafe` block [ 123s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 123s] | [ 123s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 123s] | ^^^^^^ unnecessary `unsafe` block [ 123s] | [ 123s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 123s] | [ 123s] 422 | unsafe { [ 123s] | ------ because it's nested under this `unsafe` block [ 123s] ... [ 123s] 445 | debug!("pkgtype - {ret_string}"); [ 123s] | -------------------------------- in this macro invocation [ 123s] | [ 123s] = 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) [ 123s] [ 124s] warning: unnecessary `unsafe` block [ 124s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 124s] | [ 124s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 124s] | ^^^^^^ unnecessary `unsafe` block [ 124s] | [ 124s] ::: ./src/pkgmgr/server/util.rs:803:9 [ 124s] | [ 124s] 803 | unsafe { [ 124s] | ------ because it's nested under this `unsafe` block [ 124s] 804 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 124s] 805 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 124s] | ------------------------------------------------------ in this macro invocation [ 124s] | [ 124s] = 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) [ 124s] [ 124s] warning: unnecessary `unsafe` block [ 124s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 124s] | [ 124s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 124s] | ^^^^^^ unnecessary `unsafe` block [ 124s] | [ 124s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 124s] | [ 124s] 814 | unsafe { [ 124s] | ------ because it's nested under this `unsafe` block [ 124s] 815 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 124s] 816 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 124s] | ------------------------------------------------------ in this macro invocation [ 124s] | [ 124s] = 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) [ 124s] [ 124s] warning: unnecessary `unsafe` block [ 124s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 124s] | [ 124s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 124s] | ^^^^^^ unnecessary `unsafe` block [ 124s] | [ 124s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 124s] | [ 124s] 814 | unsafe { [ 124s] | ------ because it's nested under this `unsafe` block [ 124s] ... [ 124s] 822 | error!("Failed to get pid of app{:?}", CStr::from_ptr(appid)); [ 124s] | ------------------------------------------------------------- in this macro invocation [ 124s] | [ 124s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 124s] [ 124s] warning: unnecessary `unsafe` block [ 124s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 124s] | [ 124s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 124s] | ^^^^^^ unnecessary `unsafe` block [ 124s] | [ 124s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 124s] | [ 124s] 814 | unsafe { [ 124s] | ------ because it's nested under this `unsafe` block [ 124s] ... [ 124s] 828 | error!("Failed to terminate app{:?}", CStr::from_ptr(appid)); [ 124s] | ------------------------------------------------------------ in this macro invocation [ 124s] | [ 124s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 124s] [ 124s] warning: unnecessary `unsafe` block [ 124s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 124s] | [ 124s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 124s] | ^^^^^^ unnecessary `unsafe` block [ 124s] | [ 124s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 124s] | [ 124s] 836 | unsafe { [ 124s] | ------ because it's nested under this `unsafe` block [ 124s] ... [ 124s] 840 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 124s] | --------------------------------------------------------- in this macro invocation [ 124s] | [ 124s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 124s] [ 124s] warning: unnecessary `unsafe` block [ 124s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 124s] | [ 124s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 124s] | ^^^^^^ unnecessary `unsafe` block [ 124s] | [ 124s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 124s] | [ 124s] 836 | unsafe { [ 124s] | ------ because it's nested under this `unsafe` block [ 124s] ... [ 124s] 848 | error!("Failed to get list for {:?}", CStr::from_ptr(pkgid)); [ 124s] | ------------------------------------------------------------ in this macro invocation [ 124s] | [ 124s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 124s] [ 124s] warning: unnecessary `unsafe` block [ 124s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 124s] | [ 124s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 124s] | ^^^^^^ unnecessary `unsafe` block [ 124s] | [ 124s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 124s] | [ 124s] 859 | unsafe { [ 124s] | ------ because it's nested under this `unsafe` block [ 124s] ... [ 124s] 863 | warn!("cannot get user information from gumd, retry"); [ 124s] | ----------------------------------------------------- in this macro invocation [ 124s] | [ 124s] = 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) [ 124s] [ 124s] warning: unnecessary `unsafe` block [ 124s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 124s] | [ 124s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 124s] | ^^^^^^ unnecessary `unsafe` block [ 124s] | [ 124s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 124s] | [ 124s] 859 | unsafe { [ 124s] | ------ because it's nested under this `unsafe` block [ 124s] ... [ 124s] 871 | error!("cannot get user information from gumd, failed"); [ 124s] | ------------------------------------------------------- in this macro invocation [ 124s] | [ 124s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 124s] [ 124s] warning: unnecessary `unsafe` block [ 124s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 124s] | [ 124s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 124s] | ^^^^^^ unnecessary `unsafe` block [ 124s] | [ 124s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 124s] | [ 124s] 859 | unsafe { [ 124s] | ------ because it's nested under this `unsafe` block [ 124s] ... [ 124s] 877 | error!("cannot get user type"); [ 124s] | ------------------------------ in this macro invocation [ 124s] | [ 124s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 124s] [ 124s] warning: unnecessary `unsafe` block [ 124s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 124s] | [ 124s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 124s] | ^^^^^^ unnecessary `unsafe` block [ 124s] | [ 124s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 124s] | [ 124s] 892 | unsafe { [ 124s] | ------ because it's nested under this `unsafe` block [ 124s] ... [ 124s] 895 | error!("Failed to get the number of supplementary group IDs"); [ 124s] | ------------------------------------------------------------- in this macro invocation [ 124s] | [ 124s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 124s] [ 124s] warning: unnecessary `unsafe` block [ 124s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 124s] | [ 124s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 124s] | ^^^^^^ unnecessary `unsafe` block [ 124s] | [ 124s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 124s] | [ 124s] 892 | unsafe { [ 124s] | ------ because it's nested under this `unsafe` block [ 124s] ... [ 124s] 901 | error!("Failed to get list of supplementary group IDs"); [ 124s] | ------------------------------------------------------- in this macro invocation [ 124s] | [ 124s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 124s] [ 124s] warning: unnecessary `unsafe` block [ 124s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 124s] | [ 124s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 124s] | ^^^^^^ unnecessary `unsafe` block [ 124s] | [ 124s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 124s] | [ 124s] 892 | unsafe { [ 124s] | ------ because it's nested under this `unsafe` block [ 124s] ... [ 124s] 908 | error!("setgroups failed: {}", *__errno_location()); [ 124s] | --------------------------------------------------- in this macro invocation [ 124s] | [ 124s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 124s] [ 124s] warning: unnecessary `unsafe` block [ 124s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 124s] | [ 124s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 124s] | ^^^^^^ unnecessary `unsafe` block [ 124s] | [ 124s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 124s] | [ 124s] 928 | unsafe { [ 124s] | ------ because it's nested under this `unsafe` block [ 124s] ... [ 124s] 942 | error!("getpwuid_r fail"); [ 124s] | ------------------------- in this macro invocation [ 124s] | [ 124s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 124s] [ 124s] warning: unnecessary `unsafe` block [ 124s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 124s] | [ 124s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 124s] | ^^^^^^ unnecessary `unsafe` block [ 124s] | [ 124s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 124s] | [ 124s] 928 | unsafe { [ 124s] | ------ because it's nested under this `unsafe` block [ 124s] ... [ 124s] 949 | error!("Fail to get str, err({:?})", e); [ 124s] | --------------------------------------- in this macro invocation [ 124s] | [ 124s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 124s] [ 124s] warning: unnecessary `unsafe` block [ 124s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 124s] | [ 124s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 124s] | ^^^^^^ unnecessary `unsafe` block [ 124s] | [ 124s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 124s] | [ 124s] 928 | unsafe { [ 124s] | ------ because it's nested under this `unsafe` block [ 124s] ... [ 124s] 957 | error!("Fail to get str, err({:?})", e); [ 124s] | --------------------------------------- in this macro invocation [ 124s] | [ 124s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 124s] [ 124s] warning: unnecessary `unsafe` block [ 124s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 124s] | [ 124s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 124s] | ^^^^^^ unnecessary `unsafe` block [ 124s] | [ 124s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 124s] | [ 124s] 928 | unsafe { [ 124s] | ------ because it's nested under this `unsafe` block [ 124s] ... [ 124s] 966 | error!("Failed to set env for the user : {}", APPFW_UID); [ 124s] | -------------------------------------------------------- in this macro invocation [ 124s] | [ 124s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 124s] [ 124s] warning: unnecessary `unsafe` block [ 124s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 124s] | [ 124s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 124s] | ^^^^^^ unnecessary `unsafe` block [ 124s] | [ 124s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 124s] | [ 124s] 984 | unsafe { [ 124s] | ------ because it's nested under this `unsafe` block [ 124s] ... [ 124s] 987 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 124s] | ----------------------------------------------------------------------------------- in this macro invocation [ 124s] | [ 124s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 124s] [ 124s] warning: unnecessary `unsafe` block [ 124s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 124s] | [ 124s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 124s] | ^^^^^^ unnecessary `unsafe` block [ 124s] | [ 124s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 124s] | [ 124s] 984 | unsafe { [ 124s] | ------ because it's nested under this `unsafe` block [ 124s] ... [ 124s] 993 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 124s] | ---------------------------------------------------------------------------- in this macro invocation [ 124s] | [ 124s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 124s] [ 124s] warning: unnecessary `unsafe` block [ 124s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 124s] | [ 124s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 124s] | ^^^^^^ unnecessary `unsafe` block [ 124s] | [ 124s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 124s] | [ 124s] 984 | unsafe { [ 124s] | ------ because it's nested under this `unsafe` block [ 124s] ... [ 124s] 1000 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 124s] | ---------------------------------------------------------------------------- in this macro invocation [ 124s] | [ 124s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 124s] [ 124s] warning: unnecessary `unsafe` block [ 124s] --> ./src/pkgmgr/server/util.rs:1005:40 [ 124s] | [ 124s] 984 | unsafe { [ 124s] | ------ because it's nested under this `unsafe` block [ 124s] ... [ 124s] 1005 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) } ); [ 124s] | ^^^^^^ unnecessary `unsafe` block [ 124s] [ 124s] warning: unnecessary `unsafe` block [ 124s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 124s] | [ 124s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 124s] | ^^^^^^ unnecessary `unsafe` block [ 124s] | [ 124s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 124s] | [ 124s] 1081 | unsafe { [ 124s] | ------ because it's nested under this `unsafe` block [ 124s] ... [ 124s] 1084 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 124s] | ----------------------------------------------------------------------------------- in this macro invocation [ 124s] | [ 124s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 124s] [ 124s] warning: unnecessary `unsafe` block [ 124s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 124s] | [ 124s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 124s] | ^^^^^^ unnecessary `unsafe` block [ 124s] | [ 124s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 124s] | [ 124s] 1081 | unsafe { [ 124s] | ------ because it's nested under this `unsafe` block [ 124s] ... [ 124s] 1090 | error!("Failed get root path for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 124s] | --------------------------------------------------------------------------- in this macro invocation [ 124s] | [ 124s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 124s] [ 124s] warning: unnecessary `unsafe` block [ 124s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 124s] | [ 124s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 124s] | ^^^^^^ unnecessary `unsafe` block [ 124s] | [ 124s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 124s] | [ 124s] 1081 | unsafe { [ 124s] | ------ because it's nested under this `unsafe` block [ 124s] ... [ 124s] 1098 | error!("Invalid path[{:?}]", Self::c_char_to_cstr(icon_path)); [ 124s] | ------------------------------------------------------------- in this macro invocation [ 124s] | [ 124s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 124s] [ 124s] warning: unnecessary `unsafe` block [ 124s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 124s] | [ 124s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 124s] | ^^^^^^ unnecessary `unsafe` block [ 124s] | [ 124s] ::: ./src/pkgmgr/server/util.rs:1109:9 [ 124s] | [ 124s] 1109 | unsafe { [ 124s] | ------ because it's nested under this `unsafe` block [ 124s] ... [ 124s] 1119 | error!("Fail to get list for {:?}", CStr::from_ptr(pkgid)); [ 124s] | ---------------------------------------------------------- in this macro invocation [ 124s] | [ 124s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 124s] [ 124s] warning: unnecessary `unsafe` block [ 124s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 124s] | [ 124s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 124s] | ^^^^^^ unnecessary `unsafe` block [ 124s] | [ 124s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 124s] | [ 124s] 1129 | unsafe { [ 124s] | ------ because it's nested under this `unsafe` block [ 124s] ... [ 124s] 1132 | error!("failed to open the fifo({}), errno({})", fifo_path, *__errno_location()); [ 124s] | -------------------------------------------------------------------------------- in this macro invocation [ 124s] | [ 124s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 124s] [ 124s] warning: unnecessary `unsafe` block [ 124s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 124s] | [ 124s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 124s] | ^^^^^^ unnecessary `unsafe` block [ 124s] | [ 124s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 124s] | [ 124s] 1129 | unsafe { [ 124s] | ------ because it's nested under this `unsafe` block [ 124s] ... [ 124s] 1155 | error!("failed to add io watch"); [ 124s] | -------------------------------- in this macro invocation [ 124s] | [ 124s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 124s] [ 124s] warning: constant `SD_LISTEN_FDS_START` is never used [ 124s] --> ./src/pkgmgr/server/mod.rs:28:7 [ 124s] | [ 124s] 28 | const SD_LISTEN_FDS_START: i32 = 3; [ 124s] | ^^^^^^^^^^^^^^^^^^^ [ 124s] | [ 124s] = note: `#[warn(dead_code)]` on by default [ 124s] [ 124s] warning: multiple variants are never constructed [ 124s] --> ./src/pkgmgr/server/mod.rs:43:5 [ 124s] | [ 124s] 42 | enum AUL_RETURN_VALUE { [ 124s] | ---------------- variants in this enum [ 124s] 43 | AUL_R_ENOMEM = -16, //< Out of memory (Since 5.5) [ 124s] | ^^^^^^^^^^^^ [ 124s] 44 | AUL_R_ENOENT = -15, //< App directory entry error [ 124s] | ^^^^^^^^^^^^ [ 124s] 45 | AUL_R_EREJECTED = -14, //< App disable for mode [ 124s] | ^^^^^^^^^^^^^^^ [ 124s] 46 | AUL_R_ENOAPP = -13, //< Failed to find app ID or pkg ID [ 124s] | ^^^^^^^^^^^^ [ 124s] 47 | AUL_R_EHIDDENFORGUEST = -11, //< App hidden for guest mode [ 124s] | ^^^^^^^^^^^^^^^^^^^^^ [ 124s] 48 | AUL_R_ENOLAUNCHPAD = -10, //< no launchpad [ 124s] | ^^^^^^^^^^^^^^^^^^ [ 124s] 49 | AUL_R_ETERMINATING = -9, //< application terminating [ 124s] | ^^^^^^^^^^^^^^^^^^ [ 124s] 50 | AUL_R_EILLACC = -8, //< Illegal Access [ 124s] | ^^^^^^^^^^^^^ [ 124s] 51 | AUL_R_LOCAL = -7, //< Launch by himself [ 124s] | ^^^^^^^^^^^ [ 124s] 52 | AUL_R_ETIMEOUT = -6, //< Timeout [ 124s] | ^^^^^^^^^^^^^^ [ 124s] 53 | AUL_R_ECANCELED = -5, //< Operation canceled [ 124s] | ^^^^^^^^^^^^^^^ [ 124s] 54 | AUL_R_EINVAL = -4, //< Invalid argument [ 124s] | ^^^^^^^^^^^^ [ 124s] 55 | AUL_R_ECOMM = -3, //< Comunication Error [ 124s] | ^^^^^^^^^^^ [ 124s] 56 | AUL_R_ENOINIT = -2, //< AUL handler NOT initialized [ 124s] | ^^^^^^^^^^^^^ [ 124s] 57 | AUL_R_ERROR = -1, //< General error [ 124s] | ^^^^^^^^^^^ [ 124s] [ 124s] warning: field `timer` is never read [ 124s] --> ./src/pkgmgr/server/mod.rs:63:5 [ 124s] | [ 124s] 61 | pub struct Server { [ 124s] | ------ field in this struct [ 124s] 62 | mainloop: *mut GMainLoop, [ 124s] 63 | timer: c_uint [ 124s] | ^^^^^ [ 124s] [ 124s] warning: variants `IO_ERROR`, `OUT_OF_MEMORY`, `INVALID_PARAMETER`, and `PERMISSION_DENIED` are never constructed [ 124s] --> ./src/pkgmgr/server/admin_service.rs:29:5 [ 124s] | [ 124s] 27 | enum RPC_PORT_ERROR { [ 124s] | -------------- variants in this enum [ 124s] 28 | NONE = 0, //< Successful [ 124s] 29 | IO_ERROR = -5, //< Internal I/O error [ 124s] | ^^^^^^^^ [ 124s] 30 | OUT_OF_MEMORY = -12, //< Out of memory [ 124s] | ^^^^^^^^^^^^^ [ 124s] 31 | INVALID_PARAMETER = -22, //< Invalid parameter [ 124s] | ^^^^^^^^^^^^^^^^^ [ 124s] 32 | PERMISSION_DENIED = -13, //< Permission denied [ 124s] | ^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: method `generate_request_id` is never used [ 124s] --> ./src/pkgmgr/server/admin_service.rs:2786:8 [ 124s] | [ 124s] 2713 | impl AdminService { [ 124s] | ----------------- method in this implementation [ 124s] ... [ 124s] 2786 | fn generate_request_id(&self) -> String { [ 124s] | ^^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: field `request_type` is never read [ 124s] --> ./src/pkgmgr/server/backend_context.rs:7:5 [ 124s] | [ 124s] 6 | pub struct BackendContext { [ 124s] | -------------- field in this struct [ 124s] 7 | request_type: RequestType, [ 124s] | ^^^^^^^^^^^^ [ 124s] [ 124s] warning: type alias `GIOChannel` is never used [ 124s] --> ./src/pkgmgr/server/backend_queue.rs:14:6 [ 124s] | [ 124s] 14 | type GIOChannel = *mut c_void; [ 124s] | ^^^^^^^^^^ [ 124s] [ 124s] warning: type alias `GIOCondition` is never used [ 124s] --> ./src/pkgmgr/server/backend_queue.rs:15:6 [ 124s] | [ 124s] 15 | type GIOCondition = c_int; [ 124s] | ^^^^^^^^^^^^ [ 124s] [ 124s] warning: variants `EIO`, `ENOPKG`, `EPRIV`, `ETIMEOUT`, `EINVAL`, and `ECOMM` are never constructed [ 124s] --> ./src/pkgmgr/server/info_service.rs:22:5 [ 124s] | [ 124s] 20 | enum PKGMGR_RETURN_VALUE { [ 124s] | ------------------- variants in this enum [ 124s] 21 | ESYSTEM = -9, // Severe system error [ 124s] 22 | EIO = -8, // IO error [ 124s] | ^^^ [ 124s] 23 | ENOMEM = -7, // Out of memory [ 124s] 24 | ENOPKG = -6, // No such package [ 124s] | ^^^^^^ [ 124s] 25 | EPRIV = -5, // Privilege denied [ 124s] | ^^^^^ [ 124s] 26 | ETIMEOUT = -4, // Timeout [ 124s] | ^^^^^^^^ [ 124s] 27 | EINVAL = -3, // Invalid argument [ 124s] | ^^^^^^ [ 124s] 28 | ECOMM = -2, // Comunication Error [ 124s] | ^^^^^ [ 124s] [ 124s] warning: variants `EPRIV` and `ETIMEOUT` are never constructed [ 124s] --> ./src/pkgmgr/server/pkgmgr_return_value.rs:8:5 [ 124s] | [ 124s] 3 | pub enum PKGMGR_RETURN_VALUE { [ 124s] | ------------------- variants in this enum [ 124s] ... [ 124s] 8 | EPRIV = -5, // Privilege denied [ 124s] | ^^^^^ [ 124s] 9 | ETIMEOUT = -4, // Timeout [ 124s] | ^^^^^^^^ [ 124s] [ 124s] warning: variants `KILL`, `CHECK`, `ENABLE_APP_SPLASH_SCREEN`, `DISABLE_APP_SPLASH_SCREEN`, and `MIGRATE_EXTERNAL_IMAGE` are never constructed [ 124s] --> ./src/pkgmgr/server/request_type.rs:20:5 [ 124s] | [ 124s] 1 | pub enum RequestType { [ 124s] | ----------- variants in this enum [ 124s] ... [ 124s] 20 | KILL, [ 124s] | ^^^^ [ 124s] 21 | CHECK, [ 124s] | ^^^^^ [ 124s] ... [ 124s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] ... [ 124s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: multiple variants are never constructed [ 124s] --> ./src/pkgmgr/server/signal.rs:10:2 [ 124s] | [ 124s] 9 | enum PKGMGR_REQ { [ 124s] | ---------- variants in this enum [ 124s] 10 | PERM = -1, [ 124s] | ^^^^ [ 124s] 11 | INVALID = 0, [ 124s] | ^^^^^^^ [ 124s] 12 | INSTALL = 1, [ 124s] | ^^^^^^^ [ 124s] 13 | UNINSTALL = 2, [ 124s] | ^^^^^^^^^ [ 124s] 14 | CLEAR = 3, [ 124s] | ^^^^^ [ 124s] 15 | MOVE = 4, [ 124s] | ^^^^ [ 124s] 16 | RECOVER = 5, [ 124s] | ^^^^^^^ [ 124s] 17 | REINSTALL = 6, [ 124s] | ^^^^^^^^^ [ 124s] 18 | GETSIZE = 7, [ 124s] | ^^^^^^^ [ 124s] 19 | UPGRADE = 8, [ 124s] | ^^^^^^^ [ 124s] 20 | SMACK = 9, [ 124s] | ^^^^^ [ 124s] 21 | MANIFEST_DIRECT_INSTALL = 10, [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] ... [ 124s] 26 | MOUNT_INSTALL = 15, [ 124s] | ^^^^^^^^^^^^^ [ 124s] 27 | DISABLE_PKG = 16, [ 124s] | ^^^^^^^^^^^ [ 124s] 28 | ENABLE_PKG = 17, [ 124s] | ^^^^^^^^^^ [ 124s] 29 | MIGRATE_EXTIMG = 18, [ 124s] | ^^^^^^^^^^^^^^ [ 124s] 30 | RECOVER_DB = 19, [ 124s] | ^^^^^^^^^^ [ 124s] 31 | RES_COPY = 20, [ 124s] | ^^^^^^^^ [ 124s] 32 | RES_CREATE_DIR = 21, [ 124s] | ^^^^^^^^^^^^^^ [ 124s] 33 | RES_REMOVE = 22, [ 124s] | ^^^^^^^^^^ [ 124s] 34 | RES_UNINSTALL = 23 [ 124s] | ^^^^^^^^^^^^^ [ 124s] [ 124s] warning: constant `TZ_SYS_GLOBALAPP_USER` is never used [ 124s] --> ./src/pkgmgr/server/signal.rs:97:7 [ 124s] | [ 124s] 97 | const TZ_SYS_GLOBALAPP_USER: c_int = 22; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: function `tzplatform_getuid` is never used [ 124s] --> ./src/pkgmgr/server/signal.rs:53:12 [ 124s] | [ 124s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 124s] | ^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: constant `XML_READER_TYPE_ELEMENT` is never used [ 124s] --> ./src/pkgmgr/server/util.rs:29:7 [ 124s] | [ 124s] 29 | const XML_READER_TYPE_ELEMENT: i32 = 1; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: constant `XML_READER_TYPE_TEXT` is never used [ 124s] --> ./src/pkgmgr/server/util.rs:30:7 [ 124s] | [ 124s] 30 | const XML_READER_TYPE_TEXT: i32 = 3; [ 124s] | ^^^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: constant `XML_READER_TYPE_END_ELEMENT` is never used [ 124s] --> ./src/pkgmgr/server/util.rs:31:7 [ 124s] | [ 124s] 31 | const XML_READER_TYPE_END_ELEMENT: i32 = 15; [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: type alias `GIOChannel` is never used [ 124s] --> ./src/pkgmgr/server/util.rs:33:6 [ 124s] | [ 124s] 33 | type GIOChannel = *mut c_void; [ 124s] | ^^^^^^^^^^ [ 124s] [ 124s] warning: variants `PMINFO_UI_APP`, `PMINFO_SVC_APP`, `PMINFO_WIDGET_APP`, `PMINFO_WATCH_APP`, and `PMINFO_COMPONENT_BASED_APP` are never constructed [ 124s] --> ./src/pkgmgr/server/util.rs:136:5 [ 124s] | [ 124s] 134 | enum PKGMGRINFO_APP_COMPONENT { [ 124s] | ------------------------ variants in this enum [ 124s] 135 | PMINFO_ALL_APP = 0, //< All Application [ 124s] 136 | PMINFO_UI_APP, //< UI Application [ 124s] | ^^^^^^^^^^^^^ [ 124s] 137 | PMINFO_SVC_APP, //< Service Application [ 124s] | ^^^^^^^^^^^^^^ [ 124s] 138 | PMINFO_WIDGET_APP, //< Widget Application [ 124s] | ^^^^^^^^^^^^^^^^^ [ 124s] 139 | PMINFO_WATCH_APP, //< Watch Application [ 124s] | ^^^^^^^^^^^^^^^^ [ 124s] 140 | PMINFO_COMPONENT_BASED_APP, //< Component-based Application (Since 5.5) [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: associated functions `EnableAppSplashScreen` and `DisableAppSplashScreen` are never used [ 124s] --> ./src/pkgmgr/server/util.rs:766:12 [ 124s] | [ 124s] 384 | impl Util { [ 124s] | --------- associated functions in this implementation [ 124s] ... [ 124s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 124s] | ^^^^^^^^^^^^^^^^^^^^^ [ 124s] ... [ 124s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: function `pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db` is never used [ 124s] --> ./src/pkgmgr/server/util.rs:204:8 [ 124s] | [ 124s] 204 | fn pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db( [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] [ 124s] warning: unused `Result` that must be used [ 124s] --> ./src/main.rs:14:5 [ 124s] | [ 124s] 14 | pkgmgr::server::Server::run(&mut server); [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] | [ 124s] = note: this `Result` may be an `Err` variant, which should be handled [ 124s] = note: `#[warn(unused_must_use)]` on by default [ 124s] help: use `let _ = ...` to ignore the resulting value [ 124s] | [ 124s] 14 | let _ = pkgmgr::server::Server::run(&mut server); [ 124s] | +++++++ [ 124s] [ 124s] warning: unused `Result` that must be used [ 124s] --> ./src/pkgmgr/server/mod.rs:93:9 [ 124s] | [ 124s] 93 | admin_service.run(); [ 124s] | ^^^^^^^^^^^^^^^^^^^ [ 124s] | [ 124s] = note: this `Result` may be an `Err` variant, which should be handled [ 124s] help: use `let _ = ...` to ignore the resulting value [ 124s] | [ 124s] 93 | let _ = admin_service.run(); [ 124s] | +++++++ [ 124s] [ 124s] warning: unused `Result` that must be used [ 124s] --> ./src/pkgmgr/server/mod.rs:95:9 [ 124s] | [ 124s] 95 | cache_service.run(); [ 124s] | ^^^^^^^^^^^^^^^^^^^ [ 124s] | [ 124s] = note: this `Result` may be an `Err` variant, which should be handled [ 124s] help: use `let _ = ...` to ignore the resulting value [ 124s] | [ 124s] 95 | let _ = cache_service.run(); [ 124s] | +++++++ [ 124s] [ 124s] warning: unused `Result` that must be used [ 124s] --> ./src/pkgmgr/server/mod.rs:97:9 [ 124s] | [ 124s] 97 | info_service.run(); [ 124s] | ^^^^^^^^^^^^^^^^^^ [ 124s] | [ 124s] = note: this `Result` may be an `Err` variant, which should be handled [ 124s] help: use `let _ = ...` to ignore the resulting value [ 124s] | [ 124s] 97 | let _ = info_service.run(); [ 124s] | +++++++ [ 124s] [ 124s] warning: unused `Result` that must be used [ 124s] --> ./src/pkgmgr/server/mod.rs:99:9 [ 124s] | [ 124s] 99 | delayed_result_service.run(); [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] | [ 124s] = note: this `Result` may be an `Err` variant, which should be handled [ 124s] help: use `let _ = ...` to ignore the resulting value [ 124s] | [ 124s] 99 | let _ = delayed_result_service.run(); [ 124s] | +++++++ [ 124s] [ 124s] warning: unused `Result` that must be used [ 124s] --> ./src/pkgmgr/server/mod.rs:109:9 [ 124s] | [ 124s] 109 | admin_service.stop(); [ 124s] | ^^^^^^^^^^^^^^^^^^^^ [ 124s] | [ 124s] = note: this `Result` may be an `Err` variant, which should be handled [ 124s] help: use `let _ = ...` to ignore the resulting value [ 124s] | [ 124s] 109 | let _ = admin_service.stop(); [ 124s] | +++++++ [ 124s] [ 124s] warning: unused `Result` that must be used [ 124s] --> ./src/pkgmgr/server/mod.rs:110:9 [ 124s] | [ 124s] 110 | cache_service.stop(); [ 124s] | ^^^^^^^^^^^^^^^^^^^^ [ 124s] | [ 124s] = note: this `Result` may be an `Err` variant, which should be handled [ 124s] help: use `let _ = ...` to ignore the resulting value [ 124s] | [ 124s] 110 | let _ = cache_service.stop(); [ 124s] | +++++++ [ 124s] [ 124s] warning: unused `Result` that must be used [ 124s] --> ./src/pkgmgr/server/mod.rs:111:9 [ 124s] | [ 124s] 111 | info_service.stop(); [ 124s] | ^^^^^^^^^^^^^^^^^^^ [ 124s] | [ 124s] = note: this `Result` may be an `Err` variant, which should be handled [ 124s] help: use `let _ = ...` to ignore the resulting value [ 124s] | [ 124s] 111 | let _ = info_service.stop(); [ 124s] | +++++++ [ 124s] [ 124s] warning: unused `Result` that must be used [ 124s] --> ./src/pkgmgr/server/mod.rs:112:9 [ 124s] | [ 124s] 112 | delayed_result_service.stop(); [ 124s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 124s] | [ 124s] = note: this `Result` may be an `Err` variant, which should be handled [ 124s] help: use `let _ = ...` to ignore the resulting value [ 124s] | [ 124s] 112 | let _ = delayed_result_service.stop(); [ 124s] | +++++++ [ 124s] [ 125s] warning: unused return value of `std::mem::size_of` that must be used [ 125s] --> ./src/pkgmgr/server/backend_queue.rs:40:9 [ 125s] | [ 125s] 40 | mem::size_of::(); [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 125s] | [ 125s] help: use `let _ = ...` to ignore the resulting value [ 125s] | [ 125s] 40 | let _ = mem::size_of::(); [ 125s] | +++++++ [ 125s] [ 125s] warning: structure field `rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 125s] --> ./src/pkgmgr/server/info_service.rs:35:9 [ 125s] | [ 125s] 35 | pub rpc_port_stub_PkgMgr_create_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_create_cb` [ 125s] | [ 125s] = note: `#[warn(non_snake_case)]` on by default [ 125s] [ 125s] warning: structure field `rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 125s] --> ./src/pkgmgr/server/info_service.rs:36:9 [ 125s] | [ 125s] 36 | pub rpc_port_stub_PkgMgr_terminate_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_terminate_cb` [ 125s] [ 125s] warning: structure field `rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 125s] --> ./src/pkgmgr/server/info_service.rs:37:9 [ 125s] | [ 125s] 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... [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_cb` [ 125s] [ 125s] warning: structure field `rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 125s] --> ./src/pkgmgr/server/info_service.rs:38:9 [ 125s] | [ 125s] 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... [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 125s] [ 125s] warning: structure field `rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 125s] --> ./src/pkgmgr/server/info_service.rs:39:9 [ 125s] | [ 125s] 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... [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 125s] [ 125s] warning: structure field `rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 125s] --> ./src/pkgmgr/server/info_service.rs:40:9 [ 125s] | [ 125s] 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... [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_check_cb` [ 125s] [ 125s] warning: function `impl_rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 125s] --> ./src/pkgmgr/server/info_service.rs:43:19 [ 125s] | [ 125s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_create_cb` [ 125s] [ 125s] warning: function `impl_rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 125s] --> ./src/pkgmgr/server/info_service.rs:48:19 [ 125s] | [ 125s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_terminate_cb` [ 125s] [ 125s] warning: function `impl_rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 125s] --> ./src/pkgmgr/server/info_service.rs:52:19 [ 125s] | [ 125s] 52 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSize_cb( [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_cb` [ 125s] [ 125s] warning: function `impl_rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 125s] --> ./src/pkgmgr/server/info_service.rs:112:19 [ 125s] | [ 125s] 112 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSizeSync_cb( [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 125s] [ 125s] warning: function `impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 125s] --> ./src/pkgmgr/server/info_service.rs:194:19 [ 125s] | [ 125s] 194 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb( [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 125s] [ 125s] warning: function `impl_rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 125s] --> ./src/pkgmgr/server/info_service.rs:221:19 [ 125s] | [ 125s] 221 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_Check_cb( [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_check_cb` [ 125s] [ 125s] warning: method `IsPackageReadonly` should have a snake case name [ 125s] --> ./src/pkgmgr/server/util.rs:389:12 [ 125s] | [ 125s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 125s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly` [ 125s] [ 125s] warning: method `GetPackageType` should have a snake case name [ 125s] --> ./src/pkgmgr/server/util.rs:420:12 [ 125s] | [ 125s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 125s] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type` [ 125s] [ 125s] warning: variable `xmlReaderTypes_XML_READER_TYPE_ELEMENT` should have a snake case name [ 125s] --> ./src/pkgmgr/server/util.rs:473:17 [ 125s] | [ 125s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_element` [ 125s] [ 125s] warning: variable `xmlReaderTypes_XML_READER_TYPE_TEXT` should have a snake case name [ 125s] --> ./src/pkgmgr/server/util.rs:478:17 [ 125s] | [ 125s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_text` [ 125s] [ 125s] warning: variable `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` should have a snake case name [ 125s] --> ./src/pkgmgr/server/util.rs:483:17 [ 125s] | [ 125s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_end_element` [ 125s] [ 125s] warning: constant `type_map` should have an upper case name [ 125s] --> ./src/pkgmgr/server/util.rs:623:15 [ 125s] | [ 125s] 623 | const type_map : [[&str; 2]; 3] = [ [ 125s] | ^^^^^^^^ help: convert the identifier to upper case: `TYPE_MAP` [ 125s] | [ 125s] = note: `#[warn(non_upper_case_globals)]` on by default [ 125s] [ 125s] warning: method `GenerateRequestId` should have a snake case name [ 125s] --> ./src/pkgmgr/server/util.rs:646:12 [ 125s] | [ 125s] 646 | pub fn GenerateRequestId(pkgid: &str) -> Option { [ 125s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_request_id` [ 125s] [ 125s] warning: method `CreatePkgUpdateInfo` should have a snake case name [ 125s] --> ./src/pkgmgr/server/util.rs:657:12 [ 125s] | [ 125s] 657 | pub fn CreatePkgUpdateInfo(pkgid: *const c_char, version: *const c_char, update_type: c_int) -> *mut c_void { [ 125s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info` [ 125s] [ 125s] warning: method `DestroyPkgUpdateInfo` should have a snake case name [ 125s] --> ./src/pkgmgr/server/util.rs:680:12 [ 125s] | [ 125s] 680 | pub fn DestroyPkgUpdateInfo(handle: *mut c_void) -> c_int { [ 125s] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroy_pkg_update_info` [ 125s] [ 125s] warning: method `RegisterPkgUpdateInfo` should have a snake case name [ 125s] --> ./src/pkgmgr/server/util.rs:686:12 [ 125s] | [ 125s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 125s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `register_pkg_update_info` [ 125s] [ 125s] warning: method `UnregisterPkgUpdateInfo` should have a snake case name [ 125s] --> ./src/pkgmgr/server/util.rs:696:12 [ 125s] | [ 125s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_pkg_update_info` [ 125s] [ 125s] warning: method `UnregisterAllPkgUpdateInfo` should have a snake case name [ 125s] --> ./src/pkgmgr/server/util.rs:706:12 [ 125s] | [ 125s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_all_pkg_update_info` [ 125s] [ 125s] warning: method `EnableApp` should have a snake case name [ 125s] --> ./src/pkgmgr/server/util.rs:728:12 [ 125s] | [ 125s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 125s] | ^^^^^^^^^ help: convert the identifier to snake case: `enable_app` [ 125s] [ 125s] warning: method `DisableApp` should have a snake case name [ 125s] --> ./src/pkgmgr/server/util.rs:738:12 [ 125s] | [ 125s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 125s] | ^^^^^^^^^^ help: convert the identifier to snake case: `disable_app` [ 125s] [ 125s] warning: method `EnableGlobalApp` should have a snake case name [ 125s] --> ./src/pkgmgr/server/util.rs:747:12 [ 125s] | [ 125s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 125s] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app` [ 125s] [ 125s] warning: method `DisableGlobalApp` should have a snake case name [ 125s] --> ./src/pkgmgr/server/util.rs:757:12 [ 125s] | [ 125s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 125s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app` [ 125s] [ 125s] warning: method `EnableAppSplashScreen` should have a snake case name [ 125s] --> ./src/pkgmgr/server/util.rs:766:12 [ 125s] | [ 125s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 125s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_app_splash_screen` [ 125s] [ 125s] warning: method `DisableAppSplashScreen` should have a snake case name [ 125s] --> ./src/pkgmgr/server/util.rs:775:12 [ 125s] | [ 125s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_app_splash_screen` [ 125s] [ 125s] warning: method `EnableGlobalAppSplashScreen` should have a snake case name [ 125s] --> ./src/pkgmgr/server/util.rs:784:12 [ 125s] | [ 125s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app_splash_screen` [ 125s] [ 125s] warning: method `DisableGlobalAppSplashScreen` should have a snake case name [ 125s] --> ./src/pkgmgr/server/util.rs:793:12 [ 125s] | [ 125s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 125s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app_splash_screen` [ 125s] [ 125s] warning: method `KillApp` should have a snake case name [ 125s] --> ./src/pkgmgr/server/util.rs:813:12 [ 125s] | [ 125s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 125s] | ^^^^^^^ help: convert the identifier to snake case: `kill_app` [ 125s] [ 125s] warning: method `KillAppsInPkg` should have a snake case name [ 125s] --> ./src/pkgmgr/server/util.rs:835:12 [ 125s] | [ 125s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 125s] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_apps_in_pkg` [ 125s] [ 125s] warning: method `IsAdminUser` should have a snake case name [ 125s] --> ./src/pkgmgr/server/util.rs:855:8 [ 125s] | [ 125s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 125s] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_admin_user` [ 125s] [ 220s] warning: 542 warnings emitted [ 220s] [ 220s] + export LD_LIBRARY_PATH=:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib [ 220s] + LD_LIBRARY_PATH=:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib:/usr/lib64/rustlib:/usr/lib64/rustlib/dylib [ 220s] ++ find /usr/lib64 -maxdepth 1 -name 'libstd-*.so' [ 220s] + __rust_std=/usr/lib64/libstd-173ad5c1e159cc01.so [ 220s] + /usr/bin/rustc -C prefer-dynamic --extern std=/usr/lib64/libstd-173ad5c1e159cc01.so -C codegen-units=1 -C debuginfo=2 -C opt-level=3 -C relocation-model=pic -C overflow-checks=on -C symbol-mangling-version=v0 -L/usr/lib64/rustlib -L/usr/lib64/rustlib/dylib --test --crate-type=bin --crate-name=unittests_rust_pkgmgr_server -L native=./tidl_pkgmgr_server -L native=./util_pkgmgr_server -l minizip --edition=2021 --extern libc=/usr/lib64/rustlib/dylib/liblibc.so --cap-lints warn ./src/main.rs [ 222s] warning: unused import: `boxed` [ 222s] --> ./src/pkgmgr/server/admin_service.rs:4:11 [ 222s] | [ 222s] 4 | use std::{boxed, str}; [ 222s] | ^^^^^ [ 222s] | [ 222s] = note: `#[warn(unused_imports)]` on by default [ 222s] [ 222s] warning: unused import: `std::mem` [ 222s] --> ./src/pkgmgr/server/admin_service.rs:6:5 [ 222s] | [ 222s] 6 | use std::mem; [ 222s] | ^^^^^^^^ [ 222s] [ 222s] warning: unused import: `std::ptr` [ 222s] --> ./src/pkgmgr/server/admin_service.rs:7:5 [ 222s] | [ 222s] 7 | use std::ptr; [ 222s] | ^^^^^^^^ [ 222s] [ 222s] warning: unused import: `malloc` [ 222s] --> ./src/pkgmgr/server/admin_service.rs:8:18 [ 222s] | [ 222s] 8 | use libc::{free, malloc, strlen}; [ 222s] | ^^^^^^ [ 222s] [ 222s] warning: unused import: `super::Server` [ 222s] --> ./src/pkgmgr/server/admin_service.rs:10:5 [ 222s] | [ 222s] 10 | use super::Server; [ 222s] | ^^^^^^^^^^^^^ [ 222s] [ 222s] warning: type `rpc_port_stub_array_string_h` should have an upper camel case name [ 222s] --> ./src/pkgmgr/server/admin_service.rs:23:6 [ 222s] | [ 222s] 23 | type rpc_port_stub_array_string_h = *mut c_void; [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RpcPortStubArrayStringH` [ 222s] | [ 222s] = note: `#[warn(non_camel_case_types)]` on by default [ 222s] [ 222s] warning: unused imports: `pid_t`, `uid_t` [ 222s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 222s] | [ 222s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 222s] | ^^^^^ ^^^^^ [ 222s] [ 222s] warning: unused imports: `c_int`, `c_void` [ 222s] --> ./src/pkgmgr/server/backend_context.rs:4:16 [ 222s] | [ 222s] 4 | use std::ffi::{c_int, c_void}; [ 222s] | ^^^^^ ^^^^^^ [ 222s] [ 222s] warning: unused import: `std::path::Path` [ 222s] --> ./src/pkgmgr/server/backend_queue.rs:10:5 [ 222s] | [ 222s] 10 | use std::path::Path; [ 222s] | ^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: denote infinite loops with `loop { ... }` [ 222s] --> ./src/pkgmgr/server/backend_queue.rs:50:9 [ 222s] | [ 222s] 50 | while true { [ 222s] | ^^^^^^^^^^ help: use `loop` [ 222s] | [ 222s] = note: `#[warn(while_true)]` on by default [ 222s] [ 222s] warning: unnecessary parentheses around `if` condition [ 222s] --> ./src/pkgmgr/server/backend_queue.rs:73:8 [ 222s] | [ 222s] 73 | if (mut_queue.is_queue_empty()) { [ 222s] | ^ ^ [ 222s] | [ 222s] = note: `#[warn(unused_parens)]` on by default [ 222s] help: remove these parentheses [ 222s] | [ 222s] 73 - if (mut_queue.is_queue_empty()) { [ 222s] 73 + if mut_queue.is_queue_empty() { [ 222s] | [ 222s] [ 222s] warning: unnecessary trailing semicolon [ 222s] --> ./src/pkgmgr/server/backend_queue.rs:297:17 [ 222s] | [ 222s] 297 | ; [ 222s] | ^ help: remove this semicolon [ 222s] | [ 222s] = note: `#[warn(redundant_semicolons)]` on by default [ 222s] [ 222s] warning: unused import: `super::Server` [ 222s] --> ./src/pkgmgr/server/cache_service.rs:1:5 [ 222s] | [ 222s] 1 | use super::Server; [ 222s] | ^^^^^^^^^^^^^ [ 222s] [ 222s] warning: unused import: `super::Server` [ 222s] --> ./src/pkgmgr/server/delayed_service.rs:1:5 [ 222s] | [ 222s] 1 | use super::Server; [ 222s] | ^^^^^^^^^^^^^ [ 222s] [ 222s] warning: unused import: `super::backend_context::*` [ 222s] --> ./src/pkgmgr/server/delayed_service.rs:4:5 [ 222s] | [ 222s] 4 | use super::backend_context::*; [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: unused import: `super::request_result::*` [ 222s] --> ./src/pkgmgr/server/delayed_service.rs:5:5 [ 222s] | [ 222s] 5 | use super::request_result::*; [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: unused import: `super::request_type::*` [ 222s] --> ./src/pkgmgr/server/delayed_service.rs:6:5 [ 222s] | [ 222s] 6 | use super::request_type::*; [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: unused import: `super::util::*` [ 222s] --> ./src/pkgmgr/server/delayed_service.rs:7:5 [ 222s] | [ 222s] 7 | use super::util::*; [ 222s] | ^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: unused imports: `pid_t`, `uid_t` [ 222s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 222s] | [ 222s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 222s] | ^^^^^ ^^^^^ [ 222s] [ 222s] warning: unused import: `std::io::Error` [ 222s] --> ./src/pkgmgr/server/info_service.rs:3:5 [ 222s] | [ 222s] 3 | use std::io::Error; [ 222s] | ^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: unused import: `std::mem` [ 222s] --> ./src/pkgmgr/server/info_service.rs:6:5 [ 222s] | [ 222s] 6 | use std::mem; [ 222s] | ^^^^^^^^ [ 222s] [ 222s] warning: unused import: `std::ptr` [ 222s] --> ./src/pkgmgr/server/info_service.rs:7:5 [ 222s] | [ 222s] 7 | use std::ptr; [ 222s] | ^^^^^^^^ [ 222s] [ 222s] warning: unused imports: `free`, `malloc`, `strlen` [ 222s] --> ./src/pkgmgr/server/info_service.rs:8:12 [ 222s] | [ 222s] 8 | use libc::{free, malloc, strlen, mkfifo}; [ 222s] | ^^^^ ^^^^^^ ^^^^^^ [ 222s] [ 222s] warning: unused import: `super::Server` [ 222s] --> ./src/pkgmgr/server/info_service.rs:10:5 [ 222s] | [ 222s] 10 | use super::Server; [ 222s] | ^^^^^^^^^^^^^ [ 222s] [ 222s] warning: unused import: `super::service::Service` [ 222s] --> ./src/pkgmgr/server/info_service.rs:13:5 [ 222s] | [ 222s] 13 | use super::service::Service; [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: unnecessary trailing semicolon [ 222s] --> ./src/pkgmgr/server/info_service.rs:49:5 [ 222s] | [ 222s] 49 | ; [ 222s] | ^ help: remove this semicolon [ 222s] [ 222s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 222s] --> ./src/pkgmgr/server/request_result.rs:7:5 [ 222s] | [ 222s] 7 | GETSIZE_SYNC(String, i32, i32), [ 222s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 222s] [ 222s] warning: variant `GET_GENERATE_LICENSE_RESULT` should have an upper camel case name [ 222s] --> ./src/pkgmgr/server/request_result.rs:8:5 [ 222s] | [ 222s] 8 | GET_GENERATE_LICENSE_RESULT(String, i32, CString, CString), [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetGenerateLicenseResult` [ 222s] [ 222s] warning: variant `MOUNT_INSTALL` should have an upper camel case name [ 222s] --> ./src/pkgmgr/server/request_type.rs:3:5 [ 222s] | [ 222s] 3 | MOUNT_INSTALL, [ 222s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MountInstall` [ 222s] [ 222s] warning: variant `ENABLE_PKG` should have an upper camel case name [ 222s] --> ./src/pkgmgr/server/request_type.rs:7:5 [ 222s] | [ 222s] 7 | ENABLE_PKG, [ 222s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnablePkg` [ 222s] [ 222s] warning: variant `DISABLE_PKG` should have an upper camel case name [ 222s] --> ./src/pkgmgr/server/request_type.rs:8:5 [ 222s] | [ 222s] 8 | DISABLE_PKG, [ 222s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisablePkg` [ 222s] [ 222s] warning: variant `REGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 222s] --> ./src/pkgmgr/server/request_type.rs:9:5 [ 222s] | [ 222s] 9 | REGISTER_PKG_UPDATE_INFO, [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterPkgUpdateInfo` [ 222s] [ 222s] warning: variant `UNREGISTER_PKG_UPDATE_INFO` should have an upper camel case name [ 222s] --> ./src/pkgmgr/server/request_type.rs:10:5 [ 222s] | [ 222s] 10 | UNREGISTER_PKG_UPDATE_INFO, [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterPkgUpdateInfo` [ 222s] [ 222s] warning: variant `UNREGISTER_ALL_PKG_UPDATE_INFO` should have an upper camel case name [ 222s] --> ./src/pkgmgr/server/request_type.rs:11:5 [ 222s] | [ 222s] 11 | UNREGISTER_ALL_PKG_UPDATE_INFO, [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UnregisterAllPkgUpdateInfo` [ 222s] [ 222s] warning: variant `ENABLE_APP` should have an upper camel case name [ 222s] --> ./src/pkgmgr/server/request_type.rs:12:5 [ 222s] | [ 222s] 12 | ENABLE_APP, [ 222s] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableApp` [ 222s] [ 222s] warning: variant `DISABLE_APP` should have an upper camel case name [ 222s] --> ./src/pkgmgr/server/request_type.rs:13:5 [ 222s] | [ 222s] 13 | DISABLE_APP, [ 222s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableApp` [ 222s] [ 222s] warning: variant `GETSIZE_SYNC` should have an upper camel case name [ 222s] --> ./src/pkgmgr/server/request_type.rs:15:5 [ 222s] | [ 222s] 15 | GETSIZE_SYNC, [ 222s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetsizeSync` [ 222s] [ 222s] warning: variant `ENABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 222s] --> ./src/pkgmgr/server/request_type.rs:18:5 [ 222s] | [ 222s] 18 | ENABLE_GLOBAL_APP_FOR_UID, [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableGlobalAppForUid` [ 222s] [ 222s] warning: variant `DISABLE_GLOBAL_APP_FOR_UID` should have an upper camel case name [ 222s] --> ./src/pkgmgr/server/request_type.rs:19:5 [ 222s] | [ 222s] 19 | DISABLE_GLOBAL_APP_FOR_UID, [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableGlobalAppForUid` [ 222s] [ 222s] warning: variant `GENERATE_LICENSE_REQUEST` should have an upper camel case name [ 222s] --> ./src/pkgmgr/server/request_type.rs:22:5 [ 222s] | [ 222s] 22 | GENERATE_LICENSE_REQUEST, [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GenerateLicenseRequest` [ 222s] [ 222s] warning: variant `REGISTER_LICENSE` should have an upper camel case name [ 222s] --> ./src/pkgmgr/server/request_type.rs:23:5 [ 222s] | [ 222s] 23 | REGISTER_LICENSE, [ 222s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RegisterLicense` [ 222s] [ 222s] warning: variant `DECRYPT_PACKAGE` should have an upper camel case name [ 222s] --> ./src/pkgmgr/server/request_type.rs:24:5 [ 222s] | [ 222s] 24 | DECRYPT_PACKAGE, [ 222s] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DecryptPackage` [ 222s] [ 222s] warning: variant `ENABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 222s] --> ./src/pkgmgr/server/request_type.rs:25:5 [ 222s] | [ 222s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `EnableAppSplashScreen` [ 222s] [ 222s] warning: variant `DISABLE_APP_SPLASH_SCREEN` should have an upper camel case name [ 222s] --> ./src/pkgmgr/server/request_type.rs:26:5 [ 222s] | [ 222s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DisableAppSplashScreen` [ 222s] [ 222s] warning: variant `SET_APP_LABEL` should have an upper camel case name [ 222s] --> ./src/pkgmgr/server/request_type.rs:27:5 [ 222s] | [ 222s] 27 | SET_APP_LABEL, [ 222s] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppLabel` [ 222s] [ 222s] warning: variant `SET_APP_ICON` should have an upper camel case name [ 222s] --> ./src/pkgmgr/server/request_type.rs:28:5 [ 222s] | [ 222s] 28 | SET_APP_ICON, [ 222s] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetAppIcon` [ 222s] [ 222s] warning: variant `MIGRATE_EXTERNAL_IMAGE` should have an upper camel case name [ 222s] --> ./src/pkgmgr/server/request_type.rs:29:5 [ 222s] | [ 222s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MigrateExternalImage` [ 222s] [ 222s] warning: variant `RESOURCE_SHARE_COPY` should have an upper camel case name [ 222s] --> ./src/pkgmgr/server/request_type.rs:30:5 [ 222s] | [ 222s] 30 | RESOURCE_SHARE_COPY, [ 222s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCopy` [ 222s] [ 222s] warning: variant `RESOURCE_SHARE_CREATE_DIR` should have an upper camel case name [ 222s] --> ./src/pkgmgr/server/request_type.rs:31:5 [ 222s] | [ 222s] 31 | RESOURCE_SHARE_CREATE_DIR, [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareCreateDir` [ 222s] [ 222s] warning: variant `RESOURCE_SHARE_REMOVE` should have an upper camel case name [ 222s] --> ./src/pkgmgr/server/request_type.rs:32:5 [ 222s] | [ 222s] 32 | RESOURCE_SHARE_REMOVE, [ 222s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareRemove` [ 222s] [ 222s] warning: variant `RESOURCE_SHARE_UNINSTALL` should have an upper camel case name [ 222s] --> ./src/pkgmgr/server/request_type.rs:33:5 [ 222s] | [ 222s] 33 | RESOURCE_SHARE_UNINSTALL, [ 222s] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResourceShareUninstall` [ 222s] [ 222s] warning: variant `REMOVE_FILE` should have an upper camel case name [ 222s] --> ./src/pkgmgr/server/request_type.rs:34:5 [ 222s] | [ 222s] 34 | REMOVE_FILE, [ 222s] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RemoveFile` [ 222s] [ 222s] warning: unused import: `CStr` [ 222s] --> ./src/pkgmgr/server/signal.rs:1:39 [ 222s] | [ 222s] 1 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 222s] | ^^^^ [ 222s] [ 222s] warning: unused import: `pid_t` [ 222s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 222s] | [ 222s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 222s] | ^^^^^ [ 222s] [ 222s] warning: unused imports: `CStr`, `CString`, `c_char`, `c_void` [ 222s] --> ./src/pkgmgr/server/signal.rs:39:20 [ 222s] | [ 222s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 222s] | ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^ [ 222s] [ 222s] warning: unused import: `pid_t` [ 222s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 222s] | [ 222s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 222s] | ^^^^^ [ 222s] [ 222s] warning: unused import: `std::cell::RefCell` [ 222s] --> ./src/pkgmgr/server/util.rs:1:5 [ 222s] | [ 222s] 1 | use std::cell::RefCell; [ 222s] | ^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: unused import: `std::rc::Rc` [ 222s] --> ./src/pkgmgr/server/util.rs:8:5 [ 222s] | [ 222s] 8 | use std::rc::Rc; [ 222s] | ^^^^^^^^^^^ [ 222s] [ 222s] warning: type `xmlChar` should have an upper camel case name [ 222s] --> ./src/pkgmgr/server/util.rs:34:6 [ 222s] | [ 222s] 34 | type xmlChar = c_uchar; [ 222s] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlChar` [ 222s] [ 222s] warning: type `xmlTextReaderPtr` should have an upper camel case name [ 222s] --> ./src/pkgmgr/server/util.rs:35:6 [ 222s] | [ 222s] 35 | type xmlTextReaderPtr = *mut c_void; [ 222s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `XmlTextReaderPtr` [ 222s] [ 222s] warning: unused imports: `CStr`, `CString` [ 222s] --> ./src/pkgmgr/server/util.rs:39:43 [ 222s] | [ 222s] 39 | use std::ffi::{c_char, c_int, c_void, CStr, CString}; [ 222s] | ^^^^ ^^^^^^^ [ 222s] [ 222s] warning: unused import: `pid_t` [ 222s] --> ./src/pkgmgr/server/util.rs:40:37 [ 222s] | [ 222s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 222s] | ^^^^^ [ 222s] [ 222s] warning: unnecessary parentheses around `if` condition [ 222s] --> ./src/pkgmgr/server/util.rs:474:24 [ 222s] | [ 222s] 474 | if (cur == depth + 1) { [ 222s] | ^ ^ [ 222s] | [ 222s] help: remove these parentheses [ 222s] | [ 222s] 474 - if (cur == depth + 1) { [ 222s] 474 + if cur == depth + 1 { [ 222s] | [ 222s] [ 222s] warning: unnecessary parentheses around `if` condition [ 222s] --> ./src/pkgmgr/server/util.rs:571:12 [ 222s] | [ 222s] 571 | if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 222s] | ^ ^ [ 222s] | [ 222s] help: remove these parentheses [ 222s] | [ 222s] 571 - if (unzOpenCurrentFile(uf) != UNZ_OK as c_int) { [ 222s] 571 + if unzOpenCurrentFile(uf) != UNZ_OK as c_int { [ 222s] | [ 222s] [ 222s] warning: unused import: `std::ffi::CStr` [ 222s] --> ./src/pkgmgr/server/test/util_tests.rs:4:5 [ 222s] | [ 222s] 4 | use std::ffi::CStr; [ 222s] | ^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: unused import: `std::mem` [ 222s] --> ./src/pkgmgr/server/test/util_tests.rs:6:5 [ 222s] | [ 222s] 6 | use std::mem; [ 222s] | ^^^^^^^^ [ 222s] [ 222s] warning: unused import: `mockall::predicate::*` [ 222s] --> ./src/pkgmgr/server/test/util_tests.rs:8:5 [ 222s] | [ 222s] 8 | use mockall::predicate::*; [ 222s] | ^^^^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: unused import: `mockall::*` [ 222s] --> ./src/pkgmgr/server/test/util_tests.rs:9:5 [ 222s] | [ 222s] 9 | use mockall::*; [ 222s] | ^^^^^^^^^^ [ 222s] [ 222s] warning: unused import: `std::ffi::CString` [ 222s] --> ./src/pkgmgr/server/test/signal_tests.rs:2:5 [ 222s] | [ 222s] 2 | use std::ffi::CString; [ 222s] | ^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: unused import: `std::ffi::CStr` [ 222s] --> ./src/pkgmgr/server/test/signal_tests.rs:3:5 [ 222s] | [ 222s] 3 | use std::ffi::CStr; [ 222s] | ^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: unused import: `std::ffi::c_char` [ 222s] --> ./src/pkgmgr/server/test/signal_tests.rs:4:5 [ 222s] | [ 222s] 4 | use std::ffi::c_char; [ 222s] | ^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: unused import: `std::mem` [ 222s] --> ./src/pkgmgr/server/test/signal_tests.rs:5:5 [ 222s] | [ 222s] 5 | use std::mem; [ 222s] | ^^^^^^^^ [ 222s] [ 222s] warning: unused import: `mockall::predicate::*` [ 222s] --> ./src/pkgmgr/server/test/signal_tests.rs:6:5 [ 222s] | [ 222s] 6 | use mockall::predicate::*; [ 222s] | ^^^^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: unused import: `mockall::*` [ 222s] --> ./src/pkgmgr/server/test/signal_tests.rs:7:5 [ 222s] | [ 222s] 7 | use mockall::*; [ 222s] | ^^^^^^^^^^ [ 222s] [ 222s] warning: unused import: `pid_t` [ 222s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 222s] | [ 222s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 222s] | ^^^^^ [ 222s] [ 222s] warning: unused import: `std::cell::RefCell` [ 222s] --> ./src/pkgmgr/server/mod.rs:22:5 [ 222s] | [ 222s] 22 | use std::cell::RefCell; [ 222s] | ^^^^^^^^^^^^^^^^^^ [ 222s] [ 222s] warning: unused import: `std::rc::Rc` [ 222s] --> ./src/pkgmgr/server/mod.rs:26:5 [ 222s] | [ 222s] 26 | use std::rc::Rc; [ 222s] | ^^^^^^^^^^^ [ 222s] [ 222s] warning: unused import: `std::process::Command` [ 222s] --> ./src/main.rs:9:5 [ 222s] | [ 222s] 9 | use std::process::Command; [ 222s] | ^^^^^^^^^^^^^^^^^^^^^ [ 222s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:5:26 [ 223s] | [ 223s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 223s] | ^^^^^ [ 223s] | [ 223s] = note: `#[warn(deprecated)]` on by default [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:5:33 [ 223s] | [ 223s] 5 | use std::os::unix::raw::{uid_t, pid_t}; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:20:20 [ 223s] | [ 223s] 20 | const GLOBAL_USER: uid_t = 201; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:322:25 [ 223s] | [ 223s] 322 | let mut caller_uid: uid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:443:25 [ 223s] | [ 223s] 443 | let mut caller_uid: uid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:548:25 [ 223s] | [ 223s] 548 | let mut caller_uid: uid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:595:25 [ 223s] | [ 223s] 595 | let mut caller_uid: uid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:718:25 [ 223s] | [ 223s] 718 | let mut caller_uid: uid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:801:25 [ 223s] | [ 223s] 801 | let mut caller_uid: uid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:853:25 [ 223s] | [ 223s] 853 | let mut caller_uid: uid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:937:25 [ 223s] | [ 223s] 937 | let mut caller_uid: uid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:990:25 [ 223s] | [ 223s] 990 | let mut caller_uid: uid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1015:76 [ 223s] | [ 223s] 1015 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, true) { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1072:25 [ 223s] | [ 223s] 1072 | let mut caller_uid: uid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1097:76 [ 223s] | [ 223s] 1097 | let preload = match Util::IsPackageReadonly(c_char_ptr, uid as uid_t, false) { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1151:25 [ 223s] | [ 223s] 1151 | let mut caller_pid: pid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1152:25 [ 223s] | [ 223s] 1152 | let mut caller_uid: uid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1166:62 [ 223s] | [ 223s] 1166 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1196:66 [ 223s] | [ 223s] 1196 | let ret = Util::RegisterPkgUpdateInfo(handle, uid as uid_t); [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1215:25 [ 223s] | [ 223s] 1215 | let mut caller_pid: pid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1216:25 [ 223s] | [ 223s] 1216 | let mut caller_uid: uid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1230:62 [ 223s] | [ 223s] 1230 | if !Util::is_validate_for_set_update_info(pkg_id, uid as uid_t, caller_uid) { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1254:109 [ 223s] | [ 223s] 1254 | RequestResult::DELAYED(generated_req_key, Util::UnregisterPkgUpdateInfo(pkg_id.as_ptr(), uid as uid_t)) [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1270:25 [ 223s] | [ 223s] 1270 | let mut caller_pid: pid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1271:25 [ 223s] | [ 223s] 1271 | let mut caller_uid: uid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1303:95 [ 223s] | [ 223s] 1303 | RequestResult::DELAYED(generated_req_key, Util::UnregisterAllPkgUpdateInfo(uid as uid_t, caller_uid)) [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1312:45 [ 223s] | [ 223s] 1312 | fn handle_enable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1359:60 [ 223s] | [ 223s] 1359 | fn handle_enable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1371:40 [ 223s] | [ 223s] 1371 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1373:40 [ 223s] | [ 223s] 1373 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1380:36 [ 223s] | [ 223s] 1380 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1382:36 [ 223s] | [ 223s] 1382 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1392:36 [ 223s] | [ 223s] 1392 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1394:36 [ 223s] | [ 223s] 1394 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1400:28 [ 223s] | [ 223s] 1400 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1403:46 [ 223s] | [ 223s] 1403 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1404:59 [ 223s] | [ 223s] 1404 | Util::EnableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1405:32 [ 223s] | [ 223s] 1405 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1409:28 [ 223s] | [ 223s] 1409 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1415:46 [ 223s] | [ 223s] 1415 | fn handle_disable_app(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1463:61 [ 223s] | [ 223s] 1463 | fn handle_disable_global_app_for_uid(app_id: &CString, uid: uid_t, req_key: &String) -> i32 { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1475:40 [ 223s] | [ 223s] 1475 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1477:40 [ 223s] | [ 223s] 1477 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1484:36 [ 223s] | [ 223s] 1484 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1486:36 [ 223s] | [ 223s] 1486 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1496:36 [ 223s] | [ 223s] 1496 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1498:36 [ 223s] | [ 223s] 1498 | send_app_signal(uid as uid_t, &req_key, app_id_str, app_id_str, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1504:28 [ 223s] | [ 223s] 1504 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1507:46 [ 223s] | [ 223s] 1507 | if Util::KillApp(app_id.as_ptr(), uid as uid_t) != 0 || [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1508:60 [ 223s] | [ 223s] 1508 | Util::DisableGlobalApp(app_id.as_ptr(), uid as uid_t) != 0 { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1509:32 [ 223s] | [ 223s] 1509 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1513:28 [ 223s] | [ 223s] 1513 | send_app_signal(uid as uid_t, &req_key, pkg_id_str, app_id_str, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1535:25 [ 223s] | [ 223s] 1535 | let mut caller_uid: uid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1562:70 [ 223s] | [ 223s] 1562 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1588:25 [ 223s] | [ 223s] 1588 | let mut caller_uid: uid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1615:71 [ 223s] | [ 223s] 1615 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1673:74 [ 223s] | [ 223s] 1673 | RequestResult::VAL(handle_enable_app(&app_id, uid as uid_t, &generated_req_key)) [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1735:75 [ 223s] | [ 223s] 1735 | RequestResult::VAL(handle_disable_app(&app_id, uid as uid_t, &generated_req_key)) [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1765:25 [ 223s] | [ 223s] 1765 | let mut caller_uid: uid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1792:85 [ 223s] | [ 223s] 1792 | RequestResult::VAL(handle_enable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1818:25 [ 223s] | [ 223s] 1818 | let mut caller_uid: uid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1845:86 [ 223s] | [ 223s] 1845 | RequestResult::VAL(handle_disable_global_app_for_uid(&app_id, uid as uid_t, &generated_req_key)) [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1863:40 [ 223s] | [ 223s] 1863 | Util::KillAppsInPkg(pkg_id, uid as uid_t) [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1873:25 [ 223s] | [ 223s] 1873 | let mut caller_pid: pid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1874:25 [ 223s] | [ 223s] 1874 | let mut caller_uid: uid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1985:25 [ 223s] | [ 223s] 1985 | let mut caller_pid: pid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:1986:25 [ 223s] | [ 223s] 1986 | let mut caller_uid: uid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:2035:25 [ 223s] | [ 223s] 2035 | let mut caller_pid: pid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:2036:25 [ 223s] | [ 223s] 2036 | let mut caller_uid: uid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:2083:54 [ 223s] | [ 223s] 2083 | Util::EnableGlobalAppSplashScreen(app_id, uid as uid_t) [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:2093:55 [ 223s] | [ 223s] 2093 | Util::DisableGlobalAppSplashScreen(app_id, uid as uid_t) [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:2105:25 [ 223s] | [ 223s] 2105 | let mut caller_pid: pid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:2106:25 [ 223s] | [ 223s] 2106 | let mut caller_uid: uid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:2137:102 [ 223s] | [ 223s] 2137 | RequestResult::DELAYED(generated_req_key, Util::update_app_label(app_id.as_ptr(), uid as uid_t , label.as_ptr())) [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:2155:25 [ 223s] | [ 223s] 2155 | let mut caller_pid: pid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:2156:25 [ 223s] | [ 223s] 2156 | let mut caller_uid: uid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:2187:101 [ 223s] | [ 223s] 2187 | RequestResult::DELAYED(generated_req_key, Util::update_app_icon(app_id.as_ptr(), uid as uid_t , icon_path.as_ptr())) [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:2312:25 [ 223s] | [ 223s] 2312 | let mut caller_uid: uid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:2313:25 [ 223s] | [ 223s] 2313 | let mut caller_pid: pid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:2383:25 [ 223s] | [ 223s] 2383 | let mut caller_uid: uid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:2384:25 [ 223s] | [ 223s] 2384 | let mut caller_pid: pid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:2453:25 [ 223s] | [ 223s] 2453 | let mut caller_uid: uid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:2454:25 [ 223s] | [ 223s] 2454 | let mut caller_pid: pid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:2532:25 [ 223s] | [ 223s] 2532 | let mut caller_uid: uid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:2622:41 [ 223s] | [ 223s] 2622 | if unsafe { check_valid_path(uid as uid_t, pkg_id, file_path) } != 0 { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:2681:19 [ 223s] | [ 223s] 2681 | pid: *mut pid_t, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/admin_service.rs:2682:19 [ 223s] | [ 223s] 2682 | uid: *mut uid_t [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/backend_context.rs:3:26 [ 223s] | [ 223s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/backend_context.rs:3:33 [ 223s] | [ 223s] 3 | use std::os::unix::raw::{uid_t, pid_t}; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/cache_service.rs:12:26 [ 223s] | [ 223s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/cache_service.rs:12:33 [ 223s] | [ 223s] 12 | use std::os::unix::raw::{uid_t, pid_t}; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/cache_service.rs:23:14 [ 223s] | [ 223s] 23 | uid: uid_t, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/cache_service.rs:48:17 [ 223s] | [ 223s] 48 | target_uid: uid_t, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/cache_service.rs:53:25 [ 223s] | [ 223s] 53 | let mut caller_uid: uid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/cache_service.rs:106:19 [ 223s] | [ 223s] 106 | pid: *mut pid_t, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/cache_service.rs:107:19 [ 223s] | [ 223s] 107 | uid: *mut uid_t [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/delayed_service.rs:13:26 [ 223s] | [ 223s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/delayed_service.rs:13:33 [ 223s] | [ 223s] 13 | use std::os::unix::raw::{uid_t, pid_t}; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/info_service.rs:2:26 [ 223s] | [ 223s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/info_service.rs:2:33 [ 223s] | [ 223s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/info_service.rs:37:90 [ 223s] | [ 223s] 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... [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/info_service.rs:38:94 [ 223s] | [ 223s] 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... [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/info_service.rs:40:88 [ 223s] | [ 223s] 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... [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/info_service.rs:40:128 [ 223s] | [ 223s] 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... [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/info_service.rs:54:17 [ 223s] | [ 223s] 54 | target_uid: uid_t, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/info_service.rs:60:25 [ 223s] | [ 223s] 60 | let mut caller_pid: pid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/info_service.rs:61:25 [ 223s] | [ 223s] 61 | let mut caller_uid: uid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/info_service.rs:114:17 [ 223s] | [ 223s] 114 | target_uid: uid_t, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/info_service.rs:120:25 [ 223s] | [ 223s] 120 | let mut caller_pid: pid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/info_service.rs:121:25 [ 223s] | [ 223s] 121 | let mut caller_uid: uid_t = 0; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/info_service.rs:223:17 [ 223s] | [ 223s] 223 | target_uid: uid_t, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/info_service.rs:225:15 [ 223s] | [ 223s] 225 | pid: *mut pid_t, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/info_service.rs:228:43 [ 223s] | [ 223s] 228 | Util::check_app(pkg_id, target_uid as uid_t, pid) [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/info_service.rs:242:19 [ 223s] | [ 223s] 242 | pid: *mut pid_t, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/info_service.rs:243:19 [ 223s] | [ 223s] 243 | uid: *mut uid_t [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/signal.rs:2:26 [ 223s] | [ 223s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/signal.rs:2:33 [ 223s] | [ 223s] 2 | use std::os::unix::raw::{uid_t, pid_t}; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/signal.rs:99:20 [ 223s] | [ 223s] 99 | const GLOBAL_USER: uid_t = 201; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/signal.rs:101:33 [ 223s] | [ 223s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/signal.rs:101:47 [ 223s] | [ 223s] 101 | pub fn get_uid_list(target_uid: uid_t) -> Vec { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/signal.rs:102:26 [ 223s] | [ 223s] 102 | let mut uid_vec: Vec = vec![]; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/signal.rs:110:28 [ 223s] | [ 223s] 110 | let mut uids: *mut uid_t = std::ptr::null_mut(); [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/signal.rs:124:14 [ 223s] | [ 223s] 124 | uid: uid_t, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/signal.rs:53:44 [ 223s] | [ 223s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/signal.rs:62:14 [ 223s] | [ 223s] 62 | uid: uid_t, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/signal.rs:86:14 [ 223s] | [ 223s] 86 | uid: uid_t, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/signal.rs:40:30 [ 223s] | [ 223s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/signal.rs:40:37 [ 223s] | [ 223s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/signal.rs:44:45 [ 223s] | [ 223s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:4:26 [ 223s] | [ 223s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:4:33 [ 223s] | [ 223s] 4 | use std::os::unix::raw::{uid_t, pid_t}; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:22:21 [ 223s] | [ 223s] 22 | const REGULAR_USER: uid_t = 5000; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:23:20 [ 223s] | [ 223s] 23 | const GLOBAL_USER: uid_t = 201; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:25:18 [ 223s] | [ 223s] 25 | const APPFW_UID: uid_t = 301; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:307:36 [ 223s] | [ 223s] 307 | let uid : uid_t = user_data as uid_t; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:307:15 [ 223s] | [ 223s] 307 | let uid : uid_t = user_data as uid_t; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:326:81 [ 223s] | [ 223s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:326:93 [ 223s] | [ 223s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:326:25 [ 223s] | [ 223s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:326:37 [ 223s] | [ 223s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:389:57 [ 223s] | [ 223s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:420:55 [ 223s] | [ 223s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:686:62 [ 223s] | [ 223s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:696:63 [ 223s] | [ 223s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:706:44 [ 223s] | [ 223s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:706:63 [ 223s] | [ 223s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:728:49 [ 223s] | [ 223s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:738:50 [ 223s] | [ 223s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:747:55 [ 223s] | [ 223s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:757:56 [ 223s] | [ 223s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:766:61 [ 223s] | [ 223s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:775:62 [ 223s] | [ 223s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:784:67 [ 223s] | [ 223s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:793:68 [ 223s] | [ 223s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:802:54 [ 223s] | [ 223s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:802:64 [ 223s] | [ 223s] 802 | pub fn is_app_running(appid: *const c_char, uid: uid_t) -> pid_t { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:813:47 [ 223s] | [ 223s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:835:53 [ 223s] | [ 223s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:855:25 [ 223s] | [ 223s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:983:69 [ 223s] | [ 223s] 983 | pub fn get_application_info_by_appid(appid: *const c_char, uid: uid_t) -> Option<(CString, bool)> { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:1012:41 [ 223s] | [ 223s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:1012:53 [ 223s] | [ 223s] 1012 | pub fn get_pkgid_bypid_for_uid(pid: pid_t, uid: uid_t) -> Option { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:1029:71 [ 223s] | [ 223s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:1029:90 [ 223s] | [ 223s] 1029 | pub fn is_validate_for_set_update_info(pkgid: *const c_char, uid: uid_t, caller_uid: uid_t) -> bool { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:1076:56 [ 223s] | [ 223s] 1076 | pub fn update_app_label(appid: *const c_char, uid: uid_t, label: *const c_char) -> c_int { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:1080:55 [ 223s] | [ 223s] 1080 | pub fn update_app_icon(appid: *const c_char, uid: uid_t, icon_path: *const c_char) -> c_int { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:1108:49 [ 223s] | [ 223s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:1108:66 [ 223s] | [ 223s] 1108 | pub fn check_app(pkgid: *const c_char, uid: uid_t, pid: *mut pid_t) -> c_int { [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:156:14 [ 223s] | [ 223s] 156 | uid: uid_t, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:166:14 [ 223s] | [ 223s] 166 | uid: uid_t, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:180:14 [ 223s] | [ 223s] 180 | uid: uid_t [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:185:14 [ 223s] | [ 223s] 185 | uid: uid_t [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:189:14 [ 223s] | [ 223s] 189 | uid: uid_t [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:194:14 [ 223s] | [ 223s] 194 | uid: uid_t, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:200:14 [ 223s] | [ 223s] 200 | uid: uid_t, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:206:14 [ 223s] | [ 223s] 206 | uid: uid_t, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:212:14 [ 223s] | [ 223s] 212 | uid: uid_t, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:218:14 [ 223s] | [ 223s] 218 | uid: uid_t, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:224:14 [ 223s] | [ 223s] 224 | uid: uid_t, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:237:32 [ 223s] | [ 223s] 237 | fn gum_user_get_sync(uid : uid_t, offline : c_int) -> *mut c_void; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:266:21 [ 223s] | [ 223s] 266 | caller_uid: uid_t [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:274:14 [ 223s] | [ 223s] 274 | uid: uid_t, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:40:30 [ 223s] | [ 223s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:40:37 [ 223s] | [ 223s] 40 | use std::os::unix::raw::{uid_t, pid_t}; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:46:18 [ 223s] | [ 223s] 46 | uid: uid_t, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:52:18 [ 223s] | [ 223s] 52 | uid: uid_t, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:67:18 [ 223s] | [ 223s] 67 | uid: uid_t, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:101:18 [ 223s] | [ 223s] 101 | uid: uid_t, [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:122:70 [ 223s] | [ 223s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:123:66 [ 223s] | [ 223s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:124:59 [ 223s] | [ 223s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/util.rs:125:97 [ 223s] | [ 223s] 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; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:26 [ 223s] | [ 223s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::pid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/test/signal_tests.rs:8:33 [ 223s] | [ 223s] 8 | use std::os::unix::raw::{uid_t, pid_t}; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/test/signal_tests.rs:12:26 [ 223s] | [ 223s] 12 | let mut uid_vec: Vec = vec![]; [ 223s] | ^^^^^ [ 223s] [ 223s] warning: use of deprecated type alias `std::os::unix::raw::uid_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [ 223s] --> ./src/pkgmgr/server/test/signal_tests.rs:19:26 [ 223s] | [ 223s] 19 | let mut uid_vec: Vec = vec![]; [ 223s] | ^^^^^ [ 223s] [ 225s] warning: unreachable expression [ 225s] --> ./src/pkgmgr/server/backend_queue.rs:64:5 [ 225s] | [ 225s] 61 | return G_SOURCE_CONTINUE; [ 225s] | ------------------------ any code following this expression is unreachable [ 225s] ... [ 225s] 64 | 1 [ 225s] | ^ unreachable expression [ 225s] | [ 225s] = note: `#[warn(unreachable_code)]` on by default [ 225s] [ 229s] warning: unused import: `super::super::super::server::service::Service` [ 229s] --> ./src/pkgmgr/server/test/info_service_tests.rs:3:5 [ 229s] | [ 229s] 3 | use super::super::super::server::service::Service; [ 229s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 229s] [ 229s] warning: unused variable: `context` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:297:5 [ 229s] | [ 229s] 297 | context: *mut c_void, [ 229s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 229s] | [ 229s] = note: `#[warn(unused_variables)]` on by default [ 229s] [ 229s] warning: unused variable: `context` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:306:5 [ 229s] | [ 229s] 306 | context: *mut c_void, [ 229s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 229s] [ 229s] warning: unused variable: `user_data` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:307:5 [ 229s] | [ 229s] 307 | user_data: *mut c_void, [ 229s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 229s] [ 229s] warning: unused variable: `ret` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:323:9 [ 229s] | [ 229s] 323 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 229s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 229s] [ 229s] warning: unused variable: `req_id` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:318:5 [ 229s] | [ 229s] 318 | req_id: *const c_char, [ 229s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 229s] [ 229s] warning: variable does not need to be mutable [ 229s] --> ./src/pkgmgr/server/admin_service.rs:415:9 [ 229s] | [ 229s] 415 | let mut backend_context = BackendContext::new( [ 229s] | ----^^^^^^^^^^^^^^^ [ 229s] | | [ 229s] | help: remove this `mut` [ 229s] | [ 229s] = note: `#[warn(unused_mut)]` on by default [ 229s] [ 229s] warning: unused variable: `ret` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:444:9 [ 229s] | [ 229s] 444 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 229s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 229s] [ 229s] warning: unused variable: `req_id` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:434:5 [ 229s] | [ 229s] 434 | req_id: *const c_char, [ 229s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 229s] [ 229s] warning: variable does not need to be mutable [ 229s] --> ./src/pkgmgr/server/admin_service.rs:510:9 [ 229s] | [ 229s] 510 | let mut backend_context = BackendContext::new( [ 229s] | ----^^^^^^^^^^^^^^^ [ 229s] | | [ 229s] | help: remove this `mut` [ 229s] [ 229s] warning: unused variable: `ret` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:549:9 [ 229s] | [ 229s] 549 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 229s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 229s] [ 229s] warning: variable does not need to be mutable [ 229s] --> ./src/pkgmgr/server/admin_service.rs:571:9 [ 229s] | [ 229s] 571 | let mut backend_context = BackendContext::new( [ 229s] | ----^^^^^^^^^^^^^^^ [ 229s] | | [ 229s] | help: remove this `mut` [ 229s] [ 229s] warning: unused variable: `ret` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:596:9 [ 229s] | [ 229s] 596 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 229s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 229s] [ 229s] warning: unused variable: `req_id` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:591:5 [ 229s] | [ 229s] 591 | req_id: *const c_char, [ 229s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 229s] [ 229s] warning: variable does not need to be mutable [ 229s] --> ./src/pkgmgr/server/admin_service.rs:688:9 [ 229s] | [ 229s] 688 | let mut backend_context = BackendContext::new( [ 229s] | ----^^^^^^^^^^^^^^^ [ 229s] | | [ 229s] | help: remove this `mut` [ 229s] [ 229s] warning: unused variable: `ret` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:719:9 [ 229s] | [ 229s] 719 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 229s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 229s] [ 229s] warning: unused variable: `req_id` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:706:5 [ 229s] | [ 229s] 706 | req_id: *const c_char, [ 229s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_id` [ 229s] [ 229s] warning: variable does not need to be mutable [ 229s] --> ./src/pkgmgr/server/admin_service.rs:763:9 [ 229s] | [ 229s] 763 | let mut backend_context = BackendContext::new( [ 229s] | ----^^^^^^^^^^^^^^^ [ 229s] | | [ 229s] | help: remove this `mut` [ 229s] [ 229s] warning: unused variable: `ret` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:802:9 [ 229s] | [ 229s] 802 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 229s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 229s] [ 229s] warning: variable does not need to be mutable [ 229s] --> ./src/pkgmgr/server/admin_service.rs:824:9 [ 229s] | [ 229s] 824 | let mut backend_context = BackendContext::new( [ 229s] | ----^^^^^^^^^^^^^^^ [ 229s] | | [ 229s] | help: remove this `mut` [ 229s] [ 229s] warning: unused variable: `ret` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:854:9 [ 229s] | [ 229s] 854 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 229s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 229s] [ 229s] warning: variable does not need to be mutable [ 229s] --> ./src/pkgmgr/server/admin_service.rs:898:9 [ 229s] | [ 229s] 898 | let mut backend_context = BackendContext::new( [ 229s] | ----^^^^^^^^^^^^^^^ [ 229s] | | [ 229s] | help: remove this `mut` [ 229s] [ 229s] warning: unused variable: `ret` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:938:9 [ 229s] | [ 229s] 938 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 229s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 229s] [ 229s] warning: variable does not need to be mutable [ 229s] --> ./src/pkgmgr/server/admin_service.rs:961:9 [ 229s] | [ 229s] 961 | let mut backend_context = BackendContext::new( [ 229s] | ----^^^^^^^^^^^^^^^ [ 229s] | | [ 229s] | help: remove this `mut` [ 229s] [ 229s] warning: unused variable: `ret` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:991:9 [ 229s] | [ 229s] 991 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 229s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 229s] [ 229s] warning: variable does not need to be mutable [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1038:17 [ 229s] | [ 229s] 1038 | let mut backend_context = BackendContext::new( [ 229s] | ----^^^^^^^^^^^^^^^ [ 229s] | | [ 229s] | help: remove this `mut` [ 229s] [ 229s] warning: unused variable: `ret` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1073:9 [ 229s] | [ 229s] 1073 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 229s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 229s] [ 229s] warning: variable does not need to be mutable [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1123:17 [ 229s] | [ 229s] 1123 | let mut backend_context = BackendContext::new( [ 229s] | ----^^^^^^^^^^^^^^^ [ 229s] | | [ 229s] | help: remove this `mut` [ 229s] [ 229s] warning: unused variable: `pkg_id` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1186:9 [ 229s] | [ 229s] 1186 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) }); [ 229s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 229s] [ 229s] warning: variable does not need to be mutable [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1180:9 [ 229s] | [ 229s] 1180 | let mut handle : *mut c_void = Util::CreatePkgUpdateInfo(pkg_id, version, update_type); [ 229s] | ----^^^^^^ [ 229s] | | [ 229s] | help: remove this `mut` [ 229s] [ 229s] warning: variable does not need to be mutable [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1190:9 [ 229s] | [ 229s] 1190 | let mut backend_context = BackendContext::new( [ 229s] | ----^^^^^^^^^^^^^^^ [ 229s] | | [ 229s] | help: remove this `mut` [ 229s] [ 229s] warning: variable does not need to be mutable [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1248:9 [ 229s] | [ 229s] 1248 | let mut backend_context = BackendContext::new( [ 229s] | ----^^^^^^^^^^^^^^^ [ 229s] | | [ 229s] | help: remove this `mut` [ 229s] [ 229s] warning: variable does not need to be mutable [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1297:9 [ 229s] | [ 229s] 1297 | let mut backend_context = BackendContext::new( [ 229s] | ----^^^^^^^^^^^^^^^ [ 229s] | | [ 229s] | help: remove this `mut` [ 229s] [ 229s] warning: unused variable: `is_global` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1321:17 [ 229s] | [ 229s] 1321 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 229s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 229s] [ 229s] warning: unused variable: `is_global` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1368:17 [ 229s] | [ 229s] 1368 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 229s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 229s] [ 229s] warning: unused variable: `is_global` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1424:17 [ 229s] | [ 229s] 1424 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), uid) { [ 229s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 229s] [ 229s] warning: unused variable: `is_global` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1472:17 [ 229s] | [ 229s] 1472 | let (pkgid, is_global) = match Util::get_application_info_by_appid(app_id.as_ptr(), GLOBAL_USER) { [ 229s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_global` [ 229s] [ 229s] warning: unused variable: `caller_uid` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1535:13 [ 229s] | [ 229s] 1535 | let mut caller_uid: uid_t = 0; [ 229s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 229s] [ 229s] warning: unused variable: `context` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1521:5 [ 229s] | [ 229s] 1521 | context: *mut c_void, [ 229s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 229s] [ 229s] warning: variable does not need to be mutable [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1535:9 [ 229s] | [ 229s] 1535 | let mut caller_uid: uid_t = 0; [ 229s] | ----^^^^^^^^^^ [ 229s] | | [ 229s] | help: remove this `mut` [ 229s] [ 229s] warning: variable does not need to be mutable [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1558:13 [ 229s] | [ 229s] 1558 | let mut backend_context = BackendContext::new( [ 229s] | ----^^^^^^^^^^^^^^^ [ 229s] | | [ 229s] | help: remove this `mut` [ 229s] [ 229s] warning: unused variable: `caller_uid` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1588:13 [ 229s] | [ 229s] 1588 | let mut caller_uid: uid_t = 0; [ 229s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 229s] [ 229s] warning: unused variable: `context` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1574:5 [ 229s] | [ 229s] 1574 | context: *mut c_void, [ 229s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 229s] [ 229s] warning: variable does not need to be mutable [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1588:9 [ 229s] | [ 229s] 1588 | let mut caller_uid: uid_t = 0; [ 229s] | ----^^^^^^^^^^ [ 229s] | | [ 229s] | help: remove this `mut` [ 229s] [ 229s] warning: variable does not need to be mutable [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1611:13 [ 229s] | [ 229s] 1611 | let mut backend_context = BackendContext::new( [ 229s] | ----^^^^^^^^^^^^^^^ [ 229s] | | [ 229s] | help: remove this `mut` [ 229s] [ 229s] warning: unused variable: `context` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1627:5 [ 229s] | [ 229s] 1627 | context: *mut c_void, [ 229s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 229s] [ 229s] warning: variable does not need to be mutable [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1669:17 [ 229s] | [ 229s] 1669 | let mut backend_context = BackendContext::new( [ 229s] | ----^^^^^^^^^^^^^^^ [ 229s] | | [ 229s] | help: remove this `mut` [ 229s] [ 229s] warning: unused variable: `context` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1689:5 [ 229s] | [ 229s] 1689 | context: *mut c_void, [ 229s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 229s] [ 229s] warning: variable does not need to be mutable [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1731:17 [ 229s] | [ 229s] 1731 | let mut backend_context = BackendContext::new( [ 229s] | ----^^^^^^^^^^^^^^^ [ 229s] | | [ 229s] | help: remove this `mut` [ 229s] [ 229s] warning: unused variable: `caller_uid` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1765:13 [ 229s] | [ 229s] 1765 | let mut caller_uid: uid_t = 0; [ 229s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 229s] [ 229s] warning: unused variable: `context` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1751:5 [ 229s] | [ 229s] 1751 | context: *mut c_void, [ 229s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 229s] [ 229s] warning: variable does not need to be mutable [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1765:9 [ 229s] | [ 229s] 1765 | let mut caller_uid: uid_t = 0; [ 229s] | ----^^^^^^^^^^ [ 229s] | | [ 229s] | help: remove this `mut` [ 229s] [ 229s] warning: variable does not need to be mutable [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1788:13 [ 229s] | [ 229s] 1788 | let mut backend_context = BackendContext::new( [ 229s] | ----^^^^^^^^^^^^^^^ [ 229s] | | [ 229s] | help: remove this `mut` [ 229s] [ 229s] warning: unused variable: `caller_uid` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1818:13 [ 229s] | [ 229s] 1818 | let mut caller_uid: uid_t = 0; [ 229s] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_uid` [ 229s] [ 229s] warning: unused variable: `context` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1804:5 [ 229s] | [ 229s] 1804 | context: *mut c_void, [ 229s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 229s] [ 229s] warning: variable does not need to be mutable [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1818:9 [ 229s] | [ 229s] 1818 | let mut caller_uid: uid_t = 0; [ 229s] | ----^^^^^^^^^^ [ 229s] | | [ 229s] | help: remove this `mut` [ 229s] [ 229s] warning: variable does not need to be mutable [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1841:13 [ 229s] | [ 229s] 1841 | let mut backend_context = BackendContext::new( [ 229s] | ----^^^^^^^^^^^^^^^ [ 229s] | | [ 229s] | help: remove this `mut` [ 229s] [ 229s] warning: unused variable: `context` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1857:5 [ 229s] | [ 229s] 1857 | context: *mut c_void, [ 229s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 229s] [ 229s] warning: unused variable: `pid` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1860:5 [ 229s] | [ 229s] 1860 | pid: *mut c_int, [ 229s] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [ 229s] [ 229s] warning: unused variable: `user_data` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1861:5 [ 229s] | [ 229s] 1861 | user_data: *mut c_void, [ 229s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 229s] [ 229s] warning: variable does not need to be mutable [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1900:9 [ 229s] | [ 229s] 1900 | let mut backend_context = BackendContext::new( [ 229s] | ----^^^^^^^^^^^^^^^ [ 229s] | | [ 229s] | help: remove this `mut` [ 229s] [ 229s] warning: unused variable: `context` [ 229s] --> ./src/pkgmgr/server/admin_service.rs:1932:5 [ 229s] | [ 229s] 1932 | context: *mut c_void, [ 229s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 229s] [ 230s] warning: variable does not need to be mutable [ 230s] --> ./src/pkgmgr/server/admin_service.rs:2012:9 [ 230s] | [ 230s] 2012 | let mut backend_context = BackendContext::new( [ 230s] | ----^^^^^^^^^^^^^^^ [ 230s] | | [ 230s] | help: remove this `mut` [ 230s] [ 230s] warning: variable does not need to be mutable [ 230s] --> ./src/pkgmgr/server/admin_service.rs:2063:9 [ 230s] | [ 230s] 2063 | let mut backend_context = BackendContext::new( [ 230s] | ----^^^^^^^^^^^^^^^ [ 230s] | | [ 230s] | help: remove this `mut` [ 230s] [ 230s] warning: unused variable: `context` [ 230s] --> ./src/pkgmgr/server/admin_service.rs:2078:5 [ 230s] | [ 230s] 2078 | context: *mut c_void, [ 230s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 230s] [ 230s] warning: unused variable: `user_data` [ 230s] --> ./src/pkgmgr/server/admin_service.rs:2081:5 [ 230s] | [ 230s] 2081 | user_data: *mut c_void, [ 230s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 230s] [ 230s] warning: unused variable: `context` [ 230s] --> ./src/pkgmgr/server/admin_service.rs:2088:5 [ 230s] | [ 230s] 2088 | context: *mut c_void, [ 230s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 230s] [ 230s] warning: unused variable: `user_data` [ 230s] --> ./src/pkgmgr/server/admin_service.rs:2091:5 [ 230s] | [ 230s] 2091 | user_data: *mut c_void, [ 230s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 230s] [ 230s] warning: variable does not need to be mutable [ 230s] --> ./src/pkgmgr/server/admin_service.rs:2133:9 [ 230s] | [ 230s] 2133 | let mut backend_context = BackendContext::new( [ 230s] | ----^^^^^^^^^^^^^^^ [ 230s] | | [ 230s] | help: remove this `mut` [ 230s] [ 230s] warning: variable does not need to be mutable [ 230s] --> ./src/pkgmgr/server/admin_service.rs:2183:9 [ 230s] | [ 230s] 2183 | let mut backend_context = BackendContext::new( [ 230s] | ----^^^^^^^^^^^^^^^ [ 230s] | | [ 230s] | help: remove this `mut` [ 230s] [ 230s] warning: unused variable: `context` [ 230s] --> ./src/pkgmgr/server/admin_service.rs:2198:5 [ 230s] | [ 230s] 2198 | context: *mut c_void, [ 230s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 230s] [ 230s] warning: unused variable: `uid` [ 230s] --> ./src/pkgmgr/server/admin_service.rs:2199:5 [ 230s] | [ 230s] 2199 | uid: c_int, [ 230s] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [ 230s] [ 230s] warning: unused variable: `pkg_id` [ 230s] --> ./src/pkgmgr/server/admin_service.rs:2200:5 [ 230s] | [ 230s] 2200 | pkg_id: *const c_char, [ 230s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pkg_id` [ 230s] [ 230s] warning: unused variable: `user_data` [ 230s] --> ./src/pkgmgr/server/admin_service.rs:2201:5 [ 230s] | [ 230s] 2201 | user_data: *mut c_void, [ 230s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 230s] [ 230s] warning: variable does not need to be mutable [ 230s] --> ./src/pkgmgr/server/admin_service.rs:2364:9 [ 230s] | [ 230s] 2364 | let mut backend_context = BackendContext::new( [ 230s] | ----^^^^^^^^^^^^^^^ [ 230s] | | [ 230s] | help: remove this `mut` [ 230s] [ 230s] warning: variable does not need to be mutable [ 230s] --> ./src/pkgmgr/server/admin_service.rs:2434:9 [ 230s] | [ 230s] 2434 | let mut backend_context = BackendContext::new( [ 230s] | ----^^^^^^^^^^^^^^^ [ 230s] | | [ 230s] | help: remove this `mut` [ 230s] [ 230s] warning: variable does not need to be mutable [ 230s] --> ./src/pkgmgr/server/admin_service.rs:2504:9 [ 230s] | [ 230s] 2504 | let mut backend_context = BackendContext::new( [ 230s] | ----^^^^^^^^^^^^^^^ [ 230s] | | [ 230s] | help: remove this `mut` [ 230s] [ 230s] warning: unused variable: `ret` [ 230s] --> ./src/pkgmgr/server/admin_service.rs:2533:9 [ 230s] | [ 230s] 2533 | let ret = unsafe { rpc_port_stub_PkgMgrAdmin_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 230s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 230s] [ 230s] warning: variable does not need to be mutable [ 230s] --> ./src/pkgmgr/server/admin_service.rs:2552:9 [ 230s] | [ 230s] 2552 | let mut backend_context = BackendContext::new( [ 230s] | ----^^^^^^^^^^^^^^^ [ 230s] | | [ 230s] | help: remove this `mut` [ 230s] [ 230s] warning: unused variable: `context` [ 230s] --> ./src/pkgmgr/server/admin_service.rs:2567:5 [ 230s] | [ 230s] 2567 | context: *mut c_void, [ 230s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 230s] [ 230s] warning: variable does not need to be mutable [ 230s] --> ./src/pkgmgr/server/admin_service.rs:2597:9 [ 230s] | [ 230s] 2597 | let mut backend_context = BackendContext::new( [ 230s] | ----^^^^^^^^^^^^^^^ [ 230s] | | [ 230s] | help: remove this `mut` [ 230s] [ 230s] warning: unused variable: `context` [ 230s] --> ./src/pkgmgr/server/admin_service.rs:2612:5 [ 230s] | [ 230s] 2612 | context: *mut c_void, [ 230s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 230s] [ 230s] warning: variable does not need to be mutable [ 230s] --> ./src/pkgmgr/server/admin_service.rs:2656:9 [ 230s] | [ 230s] 2656 | let mut backend_context = BackendContext::new( [ 230s] | ----^^^^^^^^^^^^^^^ [ 230s] | | [ 230s] | help: remove this `mut` [ 230s] [ 230s] warning: unused variable: `status` [ 230s] --> ./src/pkgmgr/server/backend_queue.rs:38:17 [ 230s] | [ 230s] 38 | let mut status: c_int; [ 230s] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [ 230s] [ 230s] warning: unused variable: `io` [ 230s] --> ./src/pkgmgr/server/backend_queue.rs:30:33 [ 230s] | [ 230s] 30 | extern "C" fn signal_handler_cb(io: *mut glib_sys::GIOChannel, [ 230s] | ^^ help: if this is intentional, prefix it with an underscore: `_io` [ 230s] [ 230s] warning: unused variable: `cond` [ 230s] --> ./src/pkgmgr/server/backend_queue.rs:31:9 [ 230s] | [ 230s] 31 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 230s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 230s] [ 230s] warning: variable does not need to be mutable [ 230s] --> ./src/pkgmgr/server/backend_queue.rs:71:9 [ 230s] | [ 230s] 71 | let mut mut_queue = queue.borrow_mut(); [ 230s] | ----^^^^^^^^^ [ 230s] | | [ 230s] | help: remove this `mut` [ 230s] [ 230s] warning: variable does not need to be mutable [ 230s] --> ./src/pkgmgr/server/backend_queue.rs:189:28 [ 230s] | [ 230s] 189 | pub fn push(&mut self, mut context: BackendContext) -> i32 { [ 230s] | ----^^^^^^^ [ 230s] | | [ 230s] | help: remove this `mut` [ 230s] [ 230s] warning: unused variable: `req_key` [ 230s] --> ./src/pkgmgr/server/backend_queue.rs:296:41 [ 230s] | [ 230s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 230s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_req_key` [ 230s] [ 230s] warning: unused variable: `ret` [ 230s] --> ./src/pkgmgr/server/backend_queue.rs:296:50 [ 230s] | [ 230s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 230s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 230s] [ 230s] warning: unused variable: `s` [ 230s] --> ./src/pkgmgr/server/backend_queue.rs:296:55 [ 230s] | [ 230s] 296 | RequestResult::GETSIZE_SYNC(req_key, ret, s) => { [ 230s] | ^ help: if this is intentional, prefix it with an underscore: `_s` [ 230s] [ 230s] warning: variable does not need to be mutable [ 230s] --> ./src/pkgmgr/server/backend_queue.rs:278:25 [ 230s] | [ 230s] 278 | let mut backend: &mut Backend = backend.unwrap(); [ 230s] | ----^^^^^^^ [ 230s] | | [ 230s] | help: remove this `mut` [ 230s] [ 230s] warning: unused variable: `context` [ 230s] --> ./src/pkgmgr/server/cache_service.rs:31:5 [ 230s] | [ 230s] 31 | context: *mut c_void, [ 230s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 230s] [ 230s] warning: unused variable: `context` [ 230s] --> ./src/pkgmgr/server/cache_service.rs:40:5 [ 230s] | [ 230s] 40 | context: *mut c_void, [ 230s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 230s] [ 230s] warning: unused variable: `user_data` [ 230s] --> ./src/pkgmgr/server/cache_service.rs:41:5 [ 230s] | [ 230s] 41 | user_data: *mut c_void, [ 230s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 230s] [ 230s] warning: unused variable: `ret` [ 230s] --> ./src/pkgmgr/server/cache_service.rs:54:9 [ 230s] | [ 230s] 54 | let ret = unsafe { rpc_port_stub_PkgMgrForClearCache_context_get_peer_info(context, std::ptr::null_mut(), &mut caller_uid) }; [ 230s] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [ 230s] [ 230s] warning: value assigned to `pkg_type` is never read [ 230s] --> ./src/pkgmgr/server/cache_service.rs:63:13 [ 230s] | [ 230s] 63 | let mut pkg_type: String = String::new(); [ 230s] | ^^^^^^^^ [ 230s] | [ 230s] = help: maybe it is overwritten before being read? [ 230s] = note: `#[warn(unused_assignments)]` on by default [ 230s] [ 230s] warning: variable does not need to be mutable [ 230s] --> ./src/pkgmgr/server/cache_service.rs:83:9 [ 230s] | [ 230s] 83 | let mut backend_context = BackendContext::new( [ 230s] | ----^^^^^^^^^^^^^^^ [ 230s] | | [ 230s] | help: remove this `mut` [ 230s] [ 230s] warning: unused variable: `context` [ 230s] --> ./src/pkgmgr/server/delayed_service.rs:32:5 [ 230s] | [ 230s] 32 | context: *mut c_void, [ 230s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 230s] [ 230s] warning: unused variable: `context` [ 230s] --> ./src/pkgmgr/server/delayed_service.rs:41:5 [ 230s] | [ 230s] 41 | context: *mut c_void, [ 230s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 230s] [ 230s] warning: unused variable: `user_data` [ 230s] --> ./src/pkgmgr/server/delayed_service.rs:42:5 [ 230s] | [ 230s] 42 | user_data: *mut c_void, [ 230s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 230s] [ 230s] warning: unused variable: `context` [ 230s] --> ./src/pkgmgr/server/delayed_service.rs:48:5 [ 230s] | [ 230s] 48 | context: *mut c_void, [ 230s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 230s] [ 230s] warning: unused variable: `context` [ 230s] --> ./src/pkgmgr/server/info_service.rs:43:55 [ 230s] | [ 230s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 230s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 230s] [ 230s] warning: unused variable: `context` [ 230s] --> ./src/pkgmgr/server/info_service.rs:48:58 [ 230s] | [ 230s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 230s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 230s] [ 230s] warning: unused variable: `user_data` [ 230s] --> ./src/pkgmgr/server/info_service.rs:48:80 [ 230s] | [ 230s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 230s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 230s] [ 230s] warning: variable does not need to be mutable [ 230s] --> ./src/pkgmgr/server/info_service.rs:98:9 [ 230s] | [ 230s] 98 | let mut backend_context = BackendContext::new( [ 230s] | ----^^^^^^^^^^^^^^^ [ 230s] | | [ 230s] | help: remove this `mut` [ 230s] [ 230s] warning: variable does not need to be mutable [ 230s] --> ./src/pkgmgr/server/info_service.rs:160:9 [ 230s] | [ 230s] 160 | let mut backend_context = BackendContext::new( [ 230s] | ----^^^^^^^^^^^^^^^ [ 230s] | | [ 230s] | help: remove this `mut` [ 230s] [ 230s] warning: unused variable: `context` [ 230s] --> ./src/pkgmgr/server/info_service.rs:195:5 [ 230s] | [ 230s] 195 | context: *mut c_void, [ 230s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 230s] [ 230s] warning: unused variable: `context` [ 230s] --> ./src/pkgmgr/server/info_service.rs:222:5 [ 230s] | [ 230s] 222 | context: *mut c_void, [ 230s] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [ 230s] [ 230s] warning: unused variable: `user_data` [ 230s] --> ./src/pkgmgr/server/info_service.rs:226:5 [ 230s] | [ 230s] 226 | user_data: *mut c_void [ 230s] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_data` [ 230s] [ 230s] warning: variable does not need to be mutable [ 230s] --> ./src/pkgmgr/server/signal.rs:144:13 [ 230s] | [ 230s] 144 | let mut c_req_type: c_int; [ 230s] | ----^^^^^^^^^^ [ 230s] | | [ 230s] | help: remove this `mut` [ 230s] [ 234s] warning: value assigned to `size_result` is never read [ 234s] --> ./src/pkgmgr/server/util.rs:351:17 [ 234s] | [ 234s] 351 | let mut size_result: i64 = -1; [ 234s] | ^^^^^^^^^^^ [ 234s] | [ 234s] = help: maybe it is overwritten before being read? [ 234s] [ 234s] warning: unused variable: `cond` [ 234s] --> ./src/pkgmgr/server/util.rs:341:9 [ 234s] | [ 234s] 341 | cond: c_uint, data: *mut c_void) -> glib_sys::gboolean { [ 234s] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cond` [ 234s] [ 234s] warning: value assigned to `ret` is never read [ 234s] --> ./src/pkgmgr/server/util.rs:425:21 [ 234s] | [ 234s] 425 | let mut ret: c_int = 0; [ 234s] | ^^^ [ 234s] | [ 234s] = help: maybe it is overwritten before being read? [ 234s] [ 234s] warning: unreachable pattern [ 234s] --> ./src/pkgmgr/server/util.rs:478:17 [ 234s] | [ 234s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 234s] | -------------------------------------- matches any value [ 234s] ... [ 234s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 234s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 234s] | [ 234s] = note: `#[warn(unreachable_patterns)]` on by default [ 234s] [ 234s] warning: unreachable pattern [ 234s] --> ./src/pkgmgr/server/util.rs:483:17 [ 234s] | [ 234s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 234s] | -------------------------------------- matches any value [ 234s] ... [ 234s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 234s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable pattern [ 234s] [ 234s] warning: unreachable pattern [ 234s] --> ./src/pkgmgr/server/util.rs:488:17 [ 234s] | [ 234s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 234s] | -------------------------------------- matches any value [ 234s] ... [ 234s] 488 | _ => { [ 234s] | ^ unreachable pattern [ 234s] [ 234s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 234s] --> ./src/pkgmgr/server/util.rs:473:17 [ 234s] | [ 234s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 234s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_ELEMENT` [ 234s] [ 234s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_TEXT` [ 234s] --> ./src/pkgmgr/server/util.rs:478:17 [ 234s] | [ 234s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 234s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_TEXT` [ 234s] [ 234s] warning: unused variable: `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 234s] --> ./src/pkgmgr/server/util.rs:483:17 [ 234s] | [ 234s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 234s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` [ 234s] [ 234s] warning: variable does not need to be mutable [ 234s] --> ./src/pkgmgr/server/util.rs:519:13 [ 234s] | [ 234s] 519 | let mut attr = xmlTextReaderGetAttribute(reader, RES_TYPE_ATTRIBUTE_KEY.as_ptr()); [ 234s] | ----^^^^ [ 234s] | | [ 234s] | help: remove this `mut` [ 234s] [ 234s] warning: variable does not need to be mutable [ 234s] --> ./src/pkgmgr/server/util.rs:588:13 [ 234s] | [ 234s] 588 | let mut reader = [ 234s] | ----^^^^^^ [ 234s] | | [ 234s] | help: remove this `mut` [ 234s] [ 234s] warning: unused variable: `gid` [ 234s] --> ./src/pkgmgr/server/util.rs:891:52 [ 234s] | [ 234s] 891 | fn set_environment(mut envs: Vec<&mut String>, gid: libc::gid_t) -> bool { [ 234s] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:15:38 [ 234s] | [ 234s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:15:40 [ 234s] | [ 234s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `z` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:15:42 [ 234s] | [ 234s] 15 | ctx.expect().times(1).returning(|x,y,z| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:22:38 [ 234s] | [ 234s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:22:40 [ 234s] | [ 234s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `z` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:22:42 [ 234s] | [ 234s] 22 | ctx.expect().times(1).returning(|x,y,z| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:29:38 [ 234s] | [ 234s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:29:40 [ 234s] | [ 234s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `z` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:29:42 [ 234s] | [ 234s] 29 | ctx.expect().times(1).returning(|x,y,z| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:31:39 [ 234s] | [ 234s] 31 | ctx2.expect().times(1).returning(|x,y| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:31:41 [ 234s] | [ 234s] 31 | ctx2.expect().times(1).returning(|x,y| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:38:38 [ 234s] | [ 234s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:38:40 [ 234s] | [ 234s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `z` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:38:42 [ 234s] | [ 234s] 38 | ctx.expect().times(1).returning(|x,y,z| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:40:39 [ 234s] | [ 234s] 40 | ctx2.expect().times(1).returning(|x,y: *mut bool| { [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:45:40 [ 234s] | [ 234s] 45 | ctx_d.expect().times(1).returning(|x| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:52:38 [ 234s] | [ 234s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:52:40 [ 234s] | [ 234s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `z` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:52:42 [ 234s] | [ 234s] 52 | ctx.expect().times(1).returning(|x,y,z| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:54:39 [ 234s] | [ 234s] 54 | ctx2.expect().times(1).returning(|x,y: *mut bool| { [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:59:40 [ 234s] | [ 234s] 59 | ctx_d.expect().times(1).returning(|x| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:67:38 [ 234s] | [ 234s] 67 | ctx.expect().times(1).returning(|x,y| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:67:40 [ 234s] | [ 234s] 67 | ctx.expect().times(1).returning(|x,y| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:74:38 [ 234s] | [ 234s] 74 | ctx.expect().times(1).returning(|x,y| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:74:40 [ 234s] | [ 234s] 74 | ctx.expect().times(1).returning(|x,y| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:76:39 [ 234s] | [ 234s] 76 | ctx2.expect().times(1).returning(|x,y| -1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:76:41 [ 234s] | [ 234s] 76 | ctx2.expect().times(1).returning(|x,y| -1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:83:38 [ 234s] | [ 234s] 83 | ctx.expect().times(1).returning(|x,y| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:83:40 [ 234s] | [ 234s] 83 | ctx.expect().times(1).returning(|x,y| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:85:39 [ 234s] | [ 234s] 85 | ctx2.expect().times(1).returning(|x,y| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:85:41 [ 234s] | [ 234s] 85 | ctx2.expect().times(1).returning(|x,y| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:87:39 [ 234s] | [ 234s] 87 | ctx3.expect().times(1).returning(|x,y| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:87:41 [ 234s] | [ 234s] 87 | ctx3.expect().times(1).returning(|x,y| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:94:38 [ 234s] | [ 234s] 94 | ctx.expect().times(1).returning(|x,y| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:94:40 [ 234s] | [ 234s] 94 | ctx.expect().times(1).returning(|x,y| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:96:39 [ 234s] | [ 234s] 96 | ctx2.expect().times(1).returning(|x,y| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:96:41 [ 234s] | [ 234s] 96 | ctx2.expect().times(1).returning(|x,y| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:98:39 [ 234s] | [ 234s] 98 | ctx3.expect().times(1).returning(|x,y| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:98:41 [ 234s] | [ 234s] 98 | ctx3.expect().times(1).returning(|x,y| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:106:38 [ 234s] | [ 234s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:106:40 [ 234s] | [ 234s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `z` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:106:42 [ 234s] | [ 234s] 106 | ctx.expect().times(1).returning(|x,y,z| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:113:38 [ 234s] | [ 234s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:113:40 [ 234s] | [ 234s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `z` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:113:42 [ 234s] | [ 234s] 113 | ctx.expect().times(1).returning(|x,y,z| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:115:39 [ 234s] | [ 234s] 115 | ctx2.expect().times(1).returning(|x,y| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:115:41 [ 234s] | [ 234s] 115 | ctx2.expect().times(1).returning(|x,y| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:117:39 [ 234s] | [ 234s] 117 | ctx3.expect().times(1).returning(|x| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:124:38 [ 234s] | [ 234s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:124:40 [ 234s] | [ 234s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `z` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:124:42 [ 234s] | [ 234s] 124 | ctx.expect().times(1).returning(|x,y,z| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:126:39 [ 234s] | [ 234s] 126 | ctx2.expect().times(1).returning(|x,y| { [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:131:39 [ 234s] | [ 234s] 131 | ctx3.expect().times(1).returning(|x| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:138:38 [ 234s] | [ 234s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:138:40 [ 234s] | [ 234s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `z` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:138:42 [ 234s] | [ 234s] 138 | ctx.expect().times(1).returning(|x,y,z| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:140:39 [ 234s] | [ 234s] 140 | ctx2.expect().times(1).returning(|x,y| { [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:145:39 [ 234s] | [ 234s] 145 | ctx3.expect().times(1).returning(|x| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:153:38 [ 234s] | [ 234s] 153 | ctx.expect().times(1).returning(|x| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:160:38 [ 234s] | [ 234s] 160 | ctx.expect().times(1).returning(|x| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:162:39 [ 234s] | [ 234s] 162 | ctx2.expect().times(1).returning(|x,y| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:162:41 [ 234s] | [ 234s] 162 | ctx2.expect().times(1).returning(|x,y| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:164:40 [ 234s] | [ 234s] 164 | ctx_d.expect().times(1).returning(|x| -1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:171:38 [ 234s] | [ 234s] 171 | ctx.expect().times(1).returning(|x| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:173:39 [ 234s] | [ 234s] 173 | ctx2.expect().times(1).returning(|x,y| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:173:41 [ 234s] | [ 234s] 173 | ctx2.expect().times(1).returning(|x,y| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:175:39 [ 234s] | [ 234s] 175 | ctx3.expect().times(1).returning(|x,y| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:175:41 [ 234s] | [ 234s] 175 | ctx3.expect().times(1).returning(|x,y| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:177:40 [ 234s] | [ 234s] 177 | ctx_d.expect().times(1).returning(|x| -1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:184:38 [ 234s] | [ 234s] 184 | ctx.expect().times(1).returning(|x| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:186:39 [ 234s] | [ 234s] 186 | ctx2.expect().times(1).returning(|x,y| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:186:41 [ 234s] | [ 234s] 186 | ctx2.expect().times(1).returning(|x,y| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:188:39 [ 234s] | [ 234s] 188 | ctx3.expect().times(1).returning(|x,y| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:188:41 [ 234s] | [ 234s] 188 | ctx3.expect().times(1).returning(|x,y| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:190:39 [ 234s] | [ 234s] 190 | ctx4.expect().times(1).returning(|x,y| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:190:41 [ 234s] | [ 234s] 190 | ctx4.expect().times(1).returning(|x,y| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:192:40 [ 234s] | [ 234s] 192 | ctx_d.expect().times(1).returning(|x| -1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:199:38 [ 234s] | [ 234s] 199 | ctx.expect().times(1).returning(|x| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:201:39 [ 234s] | [ 234s] 201 | ctx2.expect().times(1).returning(|x,y| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:201:41 [ 234s] | [ 234s] 201 | ctx2.expect().times(1).returning(|x,y| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:203:39 [ 234s] | [ 234s] 203 | ctx3.expect().times(1).returning(|x,y| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:203:41 [ 234s] | [ 234s] 203 | ctx3.expect().times(1).returning(|x,y| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:205:39 [ 234s] | [ 234s] 205 | ctx4.expect().times(1).returning(|x,y| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:205:41 [ 234s] | [ 234s] 205 | ctx4.expect().times(1).returning(|x,y| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:213:38 [ 234s] | [ 234s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:213:40 [ 234s] | [ 234s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `z` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:213:42 [ 234s] | [ 234s] 213 | ctx.expect().times(1).returning(|x,y,z| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:220:38 [ 234s] | [ 234s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:220:40 [ 234s] | [ 234s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `z` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:220:42 [ 234s] | [ 234s] 220 | ctx.expect().times(1).returning(|x,y,z| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:222:39 [ 234s] | [ 234s] 222 | ctx2.expect().times(1).returning(|x,y| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:222:41 [ 234s] | [ 234s] 222 | ctx2.expect().times(1).returning(|x,y| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:224:40 [ 234s] | [ 234s] 224 | ctx_d.expect().times(1).returning(|x| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:231:38 [ 234s] | [ 234s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:231:40 [ 234s] | [ 234s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `z` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:231:42 [ 234s] | [ 234s] 231 | ctx.expect().times(1).returning(|x,y,z| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:233:39 [ 234s] | [ 234s] 233 | ctx2.expect().times(1).returning(|x,y| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:233:41 [ 234s] | [ 234s] 233 | ctx2.expect().times(1).returning(|x,y| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:235:39 [ 234s] | [ 234s] 235 | ctx3.expect().times(1).returning(|x,y| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:235:41 [ 234s] | [ 234s] 235 | ctx3.expect().times(1).returning(|x,y| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:237:40 [ 234s] | [ 234s] 237 | ctx_d.expect().times(1).returning(|x| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:244:38 [ 234s] | [ 234s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:244:40 [ 234s] | [ 234s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `z` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:244:42 [ 234s] | [ 234s] 244 | ctx.expect().times(1).returning(|x,y,z| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:246:39 [ 234s] | [ 234s] 246 | ctx2.expect().times(1).returning(|x,y| { [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:251:39 [ 234s] | [ 234s] 251 | ctx3.expect().times(1).returning(|x, y| { [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:256:40 [ 234s] | [ 234s] 256 | ctx_d.expect().times(1).returning(|x| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:264:38 [ 234s] | [ 234s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `y` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:264:40 [ 234s] | [ 234s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_y` [ 234s] [ 234s] warning: unused variable: `z` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:264:42 [ 234s] | [ 234s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 234s] [ 234s] warning: unused variable: `e` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:264:44 [ 234s] | [ 234s] 264 | ctx.expect().times(1).returning(|x,y,z,e| 1); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:271:38 [ 234s] | [ 234s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `z` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:271:42 [ 234s] | [ 234s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 234s] [ 234s] warning: unused variable: `e` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:271:44 [ 234s] | [ 234s] 271 | ctx.expect().times(1).returning(|x,y,z,e| { [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:285:38 [ 234s] | [ 234s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: unused variable: `z` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:285:42 [ 234s] | [ 234s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_z` [ 234s] [ 234s] warning: unused variable: `e` [ 234s] --> ./src/pkgmgr/server/test/util_tests.rs:285:44 [ 234s] | [ 234s] 285 | ctx.expect().times(1).returning(|x,y,z,e| { [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_e` [ 234s] [ 234s] warning: unused variable: `x` [ 234s] --> ./src/pkgmgr/server/test/signal_tests.rs:21:38 [ 234s] | [ 234s] 21 | ctx.expect().times(1).returning(|x| 0); [ 234s] | ^ help: if this is intentional, prefix it with an underscore: `_x` [ 234s] [ 234s] warning: variable does not need to be mutable [ 234s] --> ./src/pkgmgr/server/test/signal_tests.rs:19:9 [ 234s] | [ 234s] 19 | let mut uid_vec: Vec = vec![]; [ 234s] | ----^^^^^^^ [ 234s] | | [ 234s] | help: remove this `mut` [ 234s] [ 234s] warning: variable does not need to be mutable [ 234s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:7:9 [ 234s] | [ 234s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 234s] | ----^^^^^^^^^^^^^ [ 234s] | | [ 234s] | help: remove this `mut` [ 234s] [ 234s] warning: variable does not need to be mutable [ 234s] --> ./src/pkgmgr/server/test/admin_service_tests.rs:14:9 [ 234s] | [ 234s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 234s] | ----^^^^^^^^^^^^^ [ 234s] | | [ 234s] | help: remove this `mut` [ 234s] [ 234s] warning: variable does not need to be mutable [ 234s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:7:9 [ 234s] | [ 234s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 234s] | ----^^^^^^^^^^^^^ [ 234s] | | [ 234s] | help: remove this `mut` [ 234s] [ 234s] warning: variable does not need to be mutable [ 234s] --> ./src/pkgmgr/server/test/cache_service_tests.rs:14:9 [ 234s] | [ 234s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 234s] | ----^^^^^^^^^^^^^ [ 234s] | | [ 234s] | help: remove this `mut` [ 234s] [ 234s] warning: variable does not need to be mutable [ 234s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:7:9 [ 234s] | [ 234s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 234s] | ----^^^^^^^^^^^^^ [ 234s] | | [ 234s] | help: remove this `mut` [ 234s] [ 234s] warning: variable does not need to be mutable [ 234s] --> ./src/pkgmgr/server/test/delayed_service_tests.rs:14:9 [ 234s] | [ 234s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 234s] | ----^^^^^^^^^^^^^ [ 234s] | | [ 234s] | help: remove this `mut` [ 234s] [ 234s] warning: variable does not need to be mutable [ 234s] --> ./src/pkgmgr/server/test/info_service_tests.rs:7:9 [ 234s] | [ 234s] 7 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 234s] | ----^^^^^^^^^^^^^ [ 234s] | | [ 234s] | help: remove this `mut` [ 234s] [ 234s] warning: variable does not need to be mutable [ 234s] --> ./src/pkgmgr/server/test/info_service_tests.rs:14:9 [ 234s] | [ 234s] 14 | let mut backend_queue = BackendQueue::new(std::ptr::null_mut()); [ 234s] | ----^^^^^^^^^^^^^ [ 234s] | | [ 234s] | help: remove this `mut` [ 234s] [ 234s] warning: variable does not need to be mutable [ 234s] --> ./src/pkgmgr/server/mod.rs:89:13 [ 234s] | [ 234s] 89 | let mut backend_queue = BackendQueue::new(self.mainloop); [ 234s] | ----^^^^^^^^^^^^^ [ 234s] | | [ 234s] | help: remove this `mut` [ 234s] [ 234s] warning: unnecessary `unsafe` block [ 234s] --> ./src/pkgmgr/server/admin_service.rs:995:32 [ 234s] | [ 234s] 993 | unsafe { [ 234s] | ------ because it's nested under this `unsafe` block [ 234s] 994 | match CString::new(generated_req_key.clone()) { [ 234s] 995 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 234s] | ^^^^^^ unnecessary `unsafe` block [ 234s] | [ 234s] = note: `#[warn(unused_unsafe)]` on by default [ 234s] [ 234s] warning: unnecessary `unsafe` block [ 234s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 234s] | [ 234s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 234s] | ^^^^^^ unnecessary `unsafe` block [ 234s] | [ 234s] ::: ./src/pkgmgr/server/admin_service.rs:993:5 [ 234s] | [ 234s] 993 | unsafe { [ 234s] | ------ because it's nested under this `unsafe` block [ 234s] ... [ 234s] 997 | error!("Fail to generate req key, err({:?})", e); [ 234s] | ------------------------------------------------ in this macro invocation [ 234s] | [ 234s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 234s] [ 234s] warning: unnecessary `unsafe` block [ 234s] --> ./src/pkgmgr/server/admin_service.rs:1023:46 [ 234s] | [ 234s] 993 | unsafe { [ 234s] | ------ because it's nested under this `unsafe` block [ 234s] ... [ 234s] 1023 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 234s] | ^^^^^^ unnecessary `unsafe` block [ 234s] [ 234s] warning: unnecessary `unsafe` block [ 234s] --> ./src/pkgmgr/server/admin_service.rs:1077:32 [ 234s] | [ 234s] 1075 | unsafe { [ 234s] | ------ because it's nested under this `unsafe` block [ 234s] 1076 | match CString::new(generated_req_key.clone()) { [ 234s] 1077 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 234s] | ^^^^^^ unnecessary `unsafe` block [ 234s] [ 234s] warning: unnecessary `unsafe` block [ 234s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 234s] | [ 234s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 234s] | ^^^^^^ unnecessary `unsafe` block [ 234s] | [ 234s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 234s] | [ 234s] 1075 | unsafe { [ 234s] | ------ because it's nested under this `unsafe` block [ 234s] ... [ 234s] 1079 | error!("Fail to generate req key, err({:?})", e); [ 234s] | ------------------------------------------------ in this macro invocation [ 234s] | [ 234s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 234s] [ 234s] warning: unnecessary `unsafe` block [ 234s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 234s] | [ 234s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 234s] | ^^^^^^ unnecessary `unsafe` block [ 234s] | [ 234s] ::: ./src/pkgmgr/server/admin_service.rs:1075:5 [ 234s] | [ 234s] 1075 | unsafe { [ 234s] | ------ because it's nested under this `unsafe` block [ 234s] ... [ 234s] 1106 | debug!("push disable pkg {pkg_id}"); [ 234s] | ----------------------------------- in this macro invocation [ 234s] | [ 234s] = 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) [ 234s] [ 234s] warning: unnecessary `unsafe` block [ 234s] --> ./src/pkgmgr/server/admin_service.rs:1108:46 [ 234s] | [ 234s] 1075 | unsafe { [ 234s] | ------ because it's nested under this `unsafe` block [ 234s] ... [ 234s] 1108 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 234s] | ^^^^^^ unnecessary `unsafe` block [ 234s] [ 235s] warning: unnecessary `unsafe` block [ 235s] --> ./src/pkgmgr/server/admin_service.rs:1537:5 [ 235s] | [ 235s] 1537 | unsafe { [ 235s] | ^^^^^^ unnecessary `unsafe` block [ 235s] [ 235s] warning: unnecessary `unsafe` block [ 235s] --> ./src/pkgmgr/server/admin_service.rs:1590:5 [ 235s] | [ 235s] 1590 | unsafe { [ 235s] | ^^^^^^ unnecessary `unsafe` block [ 235s] [ 235s] warning: unnecessary `unsafe` block [ 235s] --> ./src/pkgmgr/server/admin_service.rs:1643:32 [ 235s] | [ 235s] 1641 | unsafe { [ 235s] | ------ because it's nested under this `unsafe` block [ 235s] 1642 | match CString::new(generated_req_key.clone()) { [ 235s] 1643 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 235s] | ^^^^^^ unnecessary `unsafe` block [ 235s] [ 235s] warning: unnecessary `unsafe` block [ 235s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 235s] | [ 235s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 235s] | ^^^^^^ unnecessary `unsafe` block [ 235s] | [ 235s] ::: ./src/pkgmgr/server/admin_service.rs:1641:5 [ 235s] | [ 235s] 1641 | unsafe { [ 235s] | ------ because it's nested under this `unsafe` block [ 235s] ... [ 235s] 1645 | error!("Fail to generate req key, err({:?})", e); [ 235s] | ------------------------------------------------ in this macro invocation [ 235s] | [ 235s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 235s] [ 235s] warning: unnecessary `unsafe` block [ 235s] --> ./src/pkgmgr/server/admin_service.rs:1657:42 [ 235s] | [ 235s] 1641 | unsafe { [ 235s] | ------ because it's nested under this `unsafe` block [ 235s] ... [ 235s] 1657 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 235s] | ^^^^^^ unnecessary `unsafe` block [ 235s] [ 235s] warning: unnecessary `unsafe` block [ 235s] --> ./src/pkgmgr/server/admin_service.rs:1705:32 [ 235s] | [ 235s] 1703 | unsafe { [ 235s] | ------ because it's nested under this `unsafe` block [ 235s] 1704 | match CString::new(generated_req_key.clone()) { [ 235s] 1705 | Ok(raw_req_key) => unsafe { *req_key = raw_req_key.into_raw() }, [ 235s] | ^^^^^^ unnecessary `unsafe` block [ 235s] [ 235s] warning: unnecessary `unsafe` block [ 235s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 235s] | [ 235s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 235s] | ^^^^^^ unnecessary `unsafe` block [ 235s] | [ 235s] ::: ./src/pkgmgr/server/admin_service.rs:1703:5 [ 235s] | [ 235s] 1703 | unsafe { [ 235s] | ------ because it's nested under this `unsafe` block [ 235s] ... [ 235s] 1707 | error!("Fail to generate req key, err({:?})", e); [ 235s] | ------------------------------------------------ in this macro invocation [ 235s] | [ 235s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 235s] [ 235s] warning: unnecessary `unsafe` block [ 235s] --> ./src/pkgmgr/server/admin_service.rs:1719:42 [ 235s] | [ 235s] 1703 | unsafe { [ 235s] | ------ because it's nested under this `unsafe` block [ 235s] ... [ 235s] 1719 | let service: &mut AdminService = unsafe { &mut *(user_data as *mut AdminService) }; [ 235s] | ^^^^^^ unnecessary `unsafe` block [ 235s] [ 235s] warning: unnecessary `unsafe` block [ 235s] --> ./src/pkgmgr/server/admin_service.rs:1767:5 [ 235s] | [ 235s] 1767 | unsafe { [ 235s] | ^^^^^^ unnecessary `unsafe` block [ 235s] [ 235s] warning: unnecessary `unsafe` block [ 235s] --> ./src/pkgmgr/server/admin_service.rs:1820:5 [ 235s] | [ 235s] 1820 | unsafe { [ 235s] | ^^^^^^ unnecessary `unsafe` block [ 235s] [ 235s] warning: unnecessary `unsafe` block [ 235s] --> ./src/pkgmgr/server/admin_service.rs:2296:17 [ 235s] | [ 235s] 2294 | unsafe { [ 235s] | ------ because it's nested under this `unsafe` block [ 235s] 2295 | if !(*value.offset(i as isize)).is_null() { [ 235s] 2296 | unsafe { free(*value.offset(i as isize) as *mut _) }; [ 235s] | ^^^^^^ unnecessary `unsafe` block [ 235s] [ 235s] warning: unnecessary `unsafe` block [ 235s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 235s] | [ 235s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 235s] | ^^^^^^ unnecessary `unsafe` block [ 235s] | [ 235s] ::: ./src/pkgmgr/server/admin_service.rs:2793:9 [ 235s] | [ 235s] 2793 | unsafe { [ 235s] | ------ because it's nested under this `unsafe` block [ 235s] 2794 | let ret = rpc_port_stub_PkgMgrAdmin_register(&mut self.callbacks, self as *mut _ as *mut c_void); [ 235s] 2795 | debug!("admin service start : {ret}"); [ 235s] | ------------------------------------- in this macro invocation [ 235s] | [ 235s] = 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) [ 235s] [ 235s] warning: unnecessary `unsafe` block [ 235s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 235s] | [ 235s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 235s] | ^^^^^^ unnecessary `unsafe` block [ 235s] | [ 235s] ::: ./src/pkgmgr/server/admin_service.rs:2801:9 [ 235s] | [ 235s] 2801 | unsafe { [ 235s] | ------ because it's nested under this `unsafe` block [ 235s] 2802 | let ret = rpc_port_stub_PkgMgrAdmin_unregister(); [ 235s] 2803 | debug!("ret : {ret}"); [ 235s] | --------------------- in this macro invocation [ 235s] | [ 235s] = 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) [ 235s] [ 235s] warning: unnecessary `unsafe` block [ 235s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 235s] | [ 235s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 235s] | ^^^^^^ unnecessary `unsafe` block [ 235s] | [ 235s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 235s] | [ 235s] 204 | unsafe { [ 235s] | ------ because it's nested under this `unsafe` block [ 235s] ... [ 235s] 210 | error!("sigprocmask failed"); [ 235s] | ---------------------------- in this macro invocation [ 235s] | [ 235s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 235s] [ 235s] warning: unnecessary `unsafe` block [ 235s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 235s] | [ 235s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 235s] | ^^^^^^ unnecessary `unsafe` block [ 235s] | [ 235s] ::: ./src/pkgmgr/server/backend_queue.rs:204:9 [ 235s] | [ 235s] 204 | unsafe { [ 235s] | ------ because it's nested under this `unsafe` block [ 235s] ... [ 235s] 216 | error!("signalfd failed"); [ 235s] | ------------------------- in this macro invocation [ 235s] | [ 235s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 235s] [ 235s] warning: unnecessary `unsafe` block [ 235s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 235s] | [ 235s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 235s] | ^^^^^^ unnecessary `unsafe` block [ 235s] | [ 235s] ::: ./src/pkgmgr/server/cache_service.rs:134:9 [ 235s] | [ 235s] 134 | unsafe { [ 235s] | ------ because it's nested under this `unsafe` block [ 235s] ... [ 235s] 139 | debug!("cache service start : {ret}"); [ 235s] | ------------------------------------- in this macro invocation [ 235s] | [ 235s] = 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) [ 235s] [ 235s] warning: unnecessary `unsafe` block [ 235s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 235s] | [ 235s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 235s] | ^^^^^^ unnecessary `unsafe` block [ 235s] | [ 235s] ::: ./src/pkgmgr/server/cache_service.rs:145:9 [ 235s] | [ 235s] 145 | unsafe { [ 235s] | ------ because it's nested under this `unsafe` block [ 235s] 146 | let ret = rpc_port_stub_PkgMgrForClearCache_unregister(); [ 235s] 147 | debug!("ret : {ret}"); [ 235s] | --------------------- in this macro invocation [ 235s] | [ 235s] = 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) [ 235s] [ 235s] warning: unnecessary `unsafe` block [ 235s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 235s] | [ 235s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 235s] | ^^^^^^ unnecessary `unsafe` block [ 235s] | [ 235s] ::: ./src/pkgmgr/server/delayed_service.rs:107:9 [ 235s] | [ 235s] 107 | unsafe { [ 235s] | ------ because it's nested under this `unsafe` block [ 235s] ... [ 235s] 112 | debug!("delayed result service start : {ret}"); [ 235s] | ---------------------------------------------- in this macro invocation [ 235s] | [ 235s] = 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) [ 235s] [ 235s] warning: unnecessary `unsafe` block [ 235s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 235s] | [ 235s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 235s] | ^^^^^^ unnecessary `unsafe` block [ 235s] | [ 235s] ::: ./src/pkgmgr/server/delayed_service.rs:118:9 [ 235s] | [ 235s] 118 | unsafe { [ 235s] | ------ because it's nested under this `unsafe` block [ 235s] 119 | let ret = rpc_port_stub_DelayedResult_unregister(); [ 235s] 120 | debug!("ret : {ret}"); [ 235s] | --------------------- in this macro invocation [ 235s] | [ 235s] = 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) [ 235s] [ 235s] warning: unnecessary `unsafe` block [ 235s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 235s] | [ 235s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 235s] | ^^^^^^ unnecessary `unsafe` block [ 235s] | [ 235s] ::: ./src/pkgmgr/server/info_service.rs:165:13 [ 235s] | [ 235s] 165 | unsafe { [ 235s] | ------ because it's nested under this `unsafe` block [ 235s] 166 | if mkfifo(fifo_path.as_ptr() as *const c_char, 0o600) < 0 { [ 235s] 167 | error!("Failed to mkfifo"); [ 235s] | -------------------------- in this macro invocation [ 235s] | [ 235s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 235s] [ 235s] warning: unnecessary `unsafe` block [ 235s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 235s] | [ 235s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 235s] | ^^^^^^ unnecessary `unsafe` block [ 235s] | [ 235s] ::: ./src/pkgmgr/server/info_service.rs:268:9 [ 235s] | [ 235s] 268 | unsafe { [ 235s] | ------ because it's nested under this `unsafe` block [ 235s] ... [ 235s] 273 | debug!("info service start : {ret}"); [ 235s] | ------------------------------------ in this macro invocation [ 235s] | [ 235s] = 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) [ 235s] [ 235s] warning: unnecessary `unsafe` block [ 235s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 235s] | [ 235s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 235s] | ^^^^^^ unnecessary `unsafe` block [ 235s] | [ 235s] ::: ./src/pkgmgr/server/info_service.rs:279:9 [ 235s] | [ 235s] 279 | unsafe { [ 235s] | ------ because it's nested under this `unsafe` block [ 235s] 280 | let ret = rpc_port_stub_PkgMgr_unregister(); [ 235s] 281 | debug!("ret : {ret}"); [ 235s] | --------------------- in this macro invocation [ 235s] | [ 235s] = 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) [ 235s] [ 235s] warning: unnecessary `unsafe` block [ 235s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 235s] | [ 235s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 235s] | ^^^^^^ unnecessary `unsafe` block [ 235s] | [ 235s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 235s] | [ 235s] 131 | unsafe { [ 235s] | ------ because it's nested under this `unsafe` block [ 235s] ... [ 235s] 134 | error!("Failure in creating the pkgmgr_installer object"); [ 235s] | --------------------------------------------------------- in this macro invocation [ 235s] | [ 235s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 235s] [ 235s] warning: unnecessary `unsafe` block [ 235s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 235s] | [ 235s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 235s] | ^^^^^^ unnecessary `unsafe` block [ 235s] | [ 235s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 235s] | [ 235s] 131 | unsafe { [ 235s] | ------ because it's nested under this `unsafe` block [ 235s] ... [ 235s] 139 | error!("pkgmgr_installer_set_uid fail"); [ 235s] | --------------------------------------- in this macro invocation [ 235s] | [ 235s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 235s] [ 235s] warning: unnecessary `unsafe` block [ 235s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 235s] | [ 235s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 235s] | ^^^^^^ unnecessary `unsafe` block [ 235s] | [ 235s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 235s] | [ 235s] 131 | unsafe { [ 235s] | ------ because it's nested under this `unsafe` block [ 235s] ... [ 235s] 154 | warn!("Unsupported req_type[{}]", req_type as c_int); [ 235s] | ---------------------------------------------------- in this macro invocation [ 235s] | [ 235s] = 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) [ 235s] [ 235s] warning: unnecessary `unsafe` block [ 235s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 235s] | [ 235s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 235s] | ^^^^^^ unnecessary `unsafe` block [ 235s] | [ 235s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 235s] | [ 235s] 131 | unsafe { [ 235s] | ------ because it's nested under this `unsafe` block [ 235s] ... [ 235s] 161 | error!("pkgmgr_installer_set_request_type fail"); [ 235s] | ------------------------------------------------ in this macro invocation [ 235s] | [ 235s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 235s] [ 235s] warning: unnecessary `unsafe` block [ 235s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 235s] | [ 235s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 235s] | ^^^^^^ unnecessary `unsafe` block [ 235s] | [ 235s] ::: ./src/pkgmgr/server/signal.rs:131:5 [ 235s] | [ 235s] 131 | unsafe { [ 235s] | ------ because it's nested under this `unsafe` block [ 235s] ... [ 235s] 168 | error!("pkgmgr_installer_set_session_id fail : {:?}", c_req_id); [ 235s] | --------------------------------------------------------------- in this macro invocation [ 235s] | [ 235s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 235s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 236s] | [ 236s] 309 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] 310 | if pkgmgrinfo_appinfo_get_appid(pkgmgrinfo_appinfo_h, &mut app_id) != 0 { [ 236s] 311 | error!("Failed get appid"); [ 236s] | -------------------------- in this macro invocation [ 236s] | [ 236s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:309:5 [ 236s] | [ 236s] 309 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] ... [ 236s] 314 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 236s] | --------------------------------------------------------- in this macro invocation [ 236s] | [ 236s] = 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) [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/server/util.rs:326:46 [ 236s] | [ 236s] 325 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] 326 | let data: &mut (uid_t, *mut pid_t) = unsafe { &mut *(user_data as *mut (uid_t, *mut pid_t)) }; [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 236s] | [ 236s] 325 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] ... [ 236s] 329 | error!("Failed get appid"); [ 236s] | -------------------------- in this macro invocation [ 236s] | [ 236s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:325:5 [ 236s] | [ 236s] 325 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] ... [ 236s] 333 | debug!("pkgapp_cb called [{:?}]", CStr::from_ptr(app_id)); [ 236s] | --------------------------------------------------------- in this macro invocation [ 236s] | [ 236s] = 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) [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 236s] | [ 236s] 342 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] ... [ 236s] 355 | error!("getsize fd read failed: {:?}", Util::c_char_to_cstr((*err).message)); [ 236s] | ---------------------------------------------------------------------------- in this macro invocation [ 236s] | [ 236s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:342:5 [ 236s] | [ 236s] 342 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] ... [ 236s] 361 | error!("empty result"); [ 236s] | ---------------------- in this macro invocation [ 236s] | [ 236s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 236s] | [ 236s] 390 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] ... [ 236s] 399 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 236s] | --------------------------------------------------------- in this macro invocation [ 236s] | [ 236s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:390:9 [ 236s] | [ 236s] 390 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] ... [ 236s] 406 | error!("Fail to get is readonly"); [ 236s] | --------------------------------- in this macro invocation [ 236s] | [ 236s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 236s] | [ 236s] 422 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] ... [ 236s] 429 | error!("Not found package"); [ 236s] | --------------------------- in this macro invocation [ 236s] | [ 236s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:422:9 [ 236s] | [ 236s] 422 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] ... [ 236s] 445 | debug!("pkgtype - {ret_string}"); [ 236s] | -------------------------------- in this macro invocation [ 236s] | [ 236s] = 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) [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:803:9 [ 236s] | [ 236s] 803 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] 804 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 236s] 805 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 236s] | ------------------------------------------------------ in this macro invocation [ 236s] | [ 236s] = 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) [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 236s] | [ 236s] 814 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] 815 | if mffi::aul_app_is_running_for_uid(appid, uid) == 0 { [ 236s] 816 | warn!("app{:?} is not running", CStr::from_ptr(appid)); [ 236s] | ------------------------------------------------------ in this macro invocation [ 236s] | [ 236s] = 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) [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 236s] | [ 236s] 814 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] ... [ 236s] 822 | error!("Failed to get pid of app{:?}", CStr::from_ptr(appid)); [ 236s] | ------------------------------------------------------------- in this macro invocation [ 236s] | [ 236s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:814:9 [ 236s] | [ 236s] 814 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] ... [ 236s] 828 | error!("Failed to terminate app{:?}", CStr::from_ptr(appid)); [ 236s] | ------------------------------------------------------------ in this macro invocation [ 236s] | [ 236s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 236s] | [ 236s] 836 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] ... [ 236s] 840 | error!("Not found package : {:?}", CStr::from_ptr(pkgid)); [ 236s] | --------------------------------------------------------- in this macro invocation [ 236s] | [ 236s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:836:9 [ 236s] | [ 236s] 836 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] ... [ 236s] 848 | error!("Failed to get list for {:?}", CStr::from_ptr(pkgid)); [ 236s] | ------------------------------------------------------------ in this macro invocation [ 236s] | [ 236s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 236s] | [ 236s] 859 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] ... [ 236s] 863 | warn!("cannot get user information from gumd, retry"); [ 236s] | ----------------------------------------------------- in this macro invocation [ 236s] | [ 236s] = 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) [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 236s] | [ 236s] 859 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] ... [ 236s] 871 | error!("cannot get user information from gumd, failed"); [ 236s] | ------------------------------------------------------- in this macro invocation [ 236s] | [ 236s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:859:9 [ 236s] | [ 236s] 859 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] ... [ 236s] 877 | error!("cannot get user type"); [ 236s] | ------------------------------ in this macro invocation [ 236s] | [ 236s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 236s] | [ 236s] 892 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] ... [ 236s] 895 | error!("Failed to get the number of supplementary group IDs"); [ 236s] | ------------------------------------------------------------- in this macro invocation [ 236s] | [ 236s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 236s] | [ 236s] 892 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] ... [ 236s] 901 | error!("Failed to get list of supplementary group IDs"); [ 236s] | ------------------------------------------------------- in this macro invocation [ 236s] | [ 236s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:892:9 [ 236s] | [ 236s] 892 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] ... [ 236s] 908 | error!("setgroups failed: {}", *__errno_location()); [ 236s] | --------------------------------------------------- in this macro invocation [ 236s] | [ 236s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 236s] | [ 236s] 928 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] ... [ 236s] 942 | error!("getpwuid_r fail"); [ 236s] | ------------------------- in this macro invocation [ 236s] | [ 236s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 236s] | [ 236s] 928 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] ... [ 236s] 949 | error!("Fail to get str, err({:?})", e); [ 236s] | --------------------------------------- in this macro invocation [ 236s] | [ 236s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 236s] | [ 236s] 928 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] ... [ 236s] 957 | error!("Fail to get str, err({:?})", e); [ 236s] | --------------------------------------- in this macro invocation [ 236s] | [ 236s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:928:9 [ 236s] | [ 236s] 928 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] ... [ 236s] 966 | error!("Failed to set env for the user : {}", APPFW_UID); [ 236s] | -------------------------------------------------------- in this macro invocation [ 236s] | [ 236s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 236s] | [ 236s] 984 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] ... [ 236s] 987 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 236s] | ----------------------------------------------------------------------------------- in this macro invocation [ 236s] | [ 236s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 236s] | [ 236s] 984 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] ... [ 236s] 993 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 236s] | ---------------------------------------------------------------------------- in this macro invocation [ 236s] | [ 236s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:984:9 [ 236s] | [ 236s] 984 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] ... [ 236s] 1000 | error!("Fail to get is global for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 236s] | ---------------------------------------------------------------------------- in this macro invocation [ 236s] | [ 236s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/server/util.rs:1005:40 [ 236s] | [ 236s] 984 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] ... [ 236s] 1005 | let pkg_id = CString::from(unsafe { CStr::from_ptr(pkg_id) } ); [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 236s] | [ 236s] 1081 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] ... [ 236s] 1084 | error!("Fail to get application info for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 236s] | ----------------------------------------------------------------------------------- in this macro invocation [ 236s] | [ 236s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 236s] | [ 236s] 1081 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] ... [ 236s] 1090 | error!("Failed get root path for appid[{:?}]", Self::c_char_to_cstr(appid)); [ 236s] | --------------------------------------------------------------------------- in this macro invocation [ 236s] | [ 236s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:1081:7 [ 236s] | [ 236s] 1081 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] ... [ 236s] 1098 | error!("Invalid path[{:?}]", Self::c_char_to_cstr(icon_path)); [ 236s] | ------------------------------------------------------------- in this macro invocation [ 236s] | [ 236s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:1109:9 [ 236s] | [ 236s] 1109 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] ... [ 236s] 1119 | error!("Fail to get list for {:?}", CStr::from_ptr(pkgid)); [ 236s] | ---------------------------------------------------------- in this macro invocation [ 236s] | [ 236s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 236s] | [ 236s] 1129 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] ... [ 236s] 1132 | error!("failed to open the fifo({}), errno({})", fifo_path, *__errno_location()); [ 236s] | -------------------------------------------------------------------------------- in this macro invocation [ 236s] | [ 236s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 236s] [ 236s] warning: unnecessary `unsafe` block [ 236s] --> ./src/pkgmgr/dlog_wrapper.rs:28:9 [ 236s] | [ 236s] 28 | unsafe { __dlog_print(0, prio, "PKGMGR_SERVER\0".as_ptr(), total_log.as_ptr()); } [ 236s] | ^^^^^^ unnecessary `unsafe` block [ 236s] | [ 236s] ::: ./src/pkgmgr/server/util.rs:1129:9 [ 236s] | [ 236s] 1129 | unsafe { [ 236s] | ------ because it's nested under this `unsafe` block [ 236s] ... [ 236s] 1155 | error!("failed to add io watch"); [ 236s] | -------------------------------- in this macro invocation [ 236s] | [ 236s] = note: this warning originates in the macro `DLOG` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [ 236s] [ 236s] warning: constant `SD_LISTEN_FDS_START` is never used [ 236s] --> ./src/pkgmgr/server/mod.rs:28:7 [ 236s] | [ 236s] 28 | const SD_LISTEN_FDS_START: i32 = 3; [ 236s] | ^^^^^^^^^^^^^^^^^^^ [ 236s] | [ 236s] = note: `#[warn(dead_code)]` on by default [ 236s] [ 236s] warning: multiple variants are never constructed [ 236s] --> ./src/pkgmgr/server/mod.rs:43:5 [ 236s] | [ 236s] 42 | enum AUL_RETURN_VALUE { [ 236s] | ---------------- variants in this enum [ 236s] 43 | AUL_R_ENOMEM = -16, //< Out of memory (Since 5.5) [ 236s] | ^^^^^^^^^^^^ [ 236s] 44 | AUL_R_ENOENT = -15, //< App directory entry error [ 236s] | ^^^^^^^^^^^^ [ 236s] 45 | AUL_R_EREJECTED = -14, //< App disable for mode [ 236s] | ^^^^^^^^^^^^^^^ [ 236s] 46 | AUL_R_ENOAPP = -13, //< Failed to find app ID or pkg ID [ 236s] | ^^^^^^^^^^^^ [ 236s] 47 | AUL_R_EHIDDENFORGUEST = -11, //< App hidden for guest mode [ 236s] | ^^^^^^^^^^^^^^^^^^^^^ [ 236s] 48 | AUL_R_ENOLAUNCHPAD = -10, //< no launchpad [ 236s] | ^^^^^^^^^^^^^^^^^^ [ 236s] 49 | AUL_R_ETERMINATING = -9, //< application terminating [ 236s] | ^^^^^^^^^^^^^^^^^^ [ 236s] 50 | AUL_R_EILLACC = -8, //< Illegal Access [ 236s] | ^^^^^^^^^^^^^ [ 236s] 51 | AUL_R_LOCAL = -7, //< Launch by himself [ 236s] | ^^^^^^^^^^^ [ 236s] 52 | AUL_R_ETIMEOUT = -6, //< Timeout [ 236s] | ^^^^^^^^^^^^^^ [ 236s] 53 | AUL_R_ECANCELED = -5, //< Operation canceled [ 236s] | ^^^^^^^^^^^^^^^ [ 236s] 54 | AUL_R_EINVAL = -4, //< Invalid argument [ 236s] | ^^^^^^^^^^^^ [ 236s] 55 | AUL_R_ECOMM = -3, //< Comunication Error [ 236s] | ^^^^^^^^^^^ [ 236s] 56 | AUL_R_ENOINIT = -2, //< AUL handler NOT initialized [ 236s] | ^^^^^^^^^^^^^ [ 236s] 57 | AUL_R_ERROR = -1, //< General error [ 236s] | ^^^^^^^^^^^ [ 236s] [ 236s] warning: field `timer` is never read [ 236s] --> ./src/pkgmgr/server/mod.rs:63:5 [ 236s] | [ 236s] 61 | pub struct Server { [ 236s] | ------ field in this struct [ 236s] 62 | mainloop: *mut GMainLoop, [ 236s] 63 | timer: c_uint [ 236s] | ^^^^^ [ 236s] [ 236s] warning: variants `IO_ERROR`, `OUT_OF_MEMORY`, `INVALID_PARAMETER`, and `PERMISSION_DENIED` are never constructed [ 236s] --> ./src/pkgmgr/server/admin_service.rs:29:5 [ 236s] | [ 236s] 27 | enum RPC_PORT_ERROR { [ 236s] | -------------- variants in this enum [ 236s] 28 | NONE = 0, //< Successful [ 236s] 29 | IO_ERROR = -5, //< Internal I/O error [ 236s] | ^^^^^^^^ [ 236s] 30 | OUT_OF_MEMORY = -12, //< Out of memory [ 236s] | ^^^^^^^^^^^^^ [ 236s] 31 | INVALID_PARAMETER = -22, //< Invalid parameter [ 236s] | ^^^^^^^^^^^^^^^^^ [ 236s] 32 | PERMISSION_DENIED = -13, //< Permission denied [ 236s] | ^^^^^^^^^^^^^^^^^ [ 236s] [ 236s] warning: method `generate_request_id` is never used [ 236s] --> ./src/pkgmgr/server/admin_service.rs:2786:8 [ 236s] | [ 236s] 2713 | impl AdminService { [ 236s] | ----------------- method in this implementation [ 236s] ... [ 236s] 2786 | fn generate_request_id(&self) -> String { [ 236s] | ^^^^^^^^^^^^^^^^^^^ [ 236s] [ 236s] warning: field `request_type` is never read [ 236s] --> ./src/pkgmgr/server/backend_context.rs:7:5 [ 236s] | [ 236s] 6 | pub struct BackendContext { [ 236s] | -------------- field in this struct [ 236s] 7 | request_type: RequestType, [ 236s] | ^^^^^^^^^^^^ [ 236s] [ 236s] warning: type alias `GIOChannel` is never used [ 236s] --> ./src/pkgmgr/server/backend_queue.rs:14:6 [ 236s] | [ 236s] 14 | type GIOChannel = *mut c_void; [ 236s] | ^^^^^^^^^^ [ 236s] [ 236s] warning: type alias `GIOCondition` is never used [ 236s] --> ./src/pkgmgr/server/backend_queue.rs:15:6 [ 236s] | [ 236s] 15 | type GIOCondition = c_int; [ 236s] | ^^^^^^^^^^^^ [ 236s] [ 236s] warning: variants `EIO`, `ENOPKG`, `EPRIV`, `ETIMEOUT`, `EINVAL`, and `ECOMM` are never constructed [ 236s] --> ./src/pkgmgr/server/info_service.rs:22:5 [ 236s] | [ 236s] 20 | enum PKGMGR_RETURN_VALUE { [ 236s] | ------------------- variants in this enum [ 236s] 21 | ESYSTEM = -9, // Severe system error [ 236s] 22 | EIO = -8, // IO error [ 236s] | ^^^ [ 236s] 23 | ENOMEM = -7, // Out of memory [ 236s] 24 | ENOPKG = -6, // No such package [ 236s] | ^^^^^^ [ 236s] 25 | EPRIV = -5, // Privilege denied [ 236s] | ^^^^^ [ 236s] 26 | ETIMEOUT = -4, // Timeout [ 236s] | ^^^^^^^^ [ 236s] 27 | EINVAL = -3, // Invalid argument [ 236s] | ^^^^^^ [ 236s] 28 | ECOMM = -2, // Comunication Error [ 236s] | ^^^^^ [ 236s] [ 236s] warning: variants `EPRIV` and `ETIMEOUT` are never constructed [ 236s] --> ./src/pkgmgr/server/pkgmgr_return_value.rs:8:5 [ 236s] | [ 236s] 3 | pub enum PKGMGR_RETURN_VALUE { [ 236s] | ------------------- variants in this enum [ 236s] ... [ 236s] 8 | EPRIV = -5, // Privilege denied [ 236s] | ^^^^^ [ 236s] 9 | ETIMEOUT = -4, // Timeout [ 236s] | ^^^^^^^^ [ 236s] [ 236s] warning: variants `KILL`, `CHECK`, `ENABLE_APP_SPLASH_SCREEN`, `DISABLE_APP_SPLASH_SCREEN`, and `MIGRATE_EXTERNAL_IMAGE` are never constructed [ 236s] --> ./src/pkgmgr/server/request_type.rs:20:5 [ 236s] | [ 236s] 1 | pub enum RequestType { [ 236s] | ----------- variants in this enum [ 236s] ... [ 236s] 20 | KILL, [ 236s] | ^^^^ [ 236s] 21 | CHECK, [ 236s] | ^^^^^ [ 236s] ... [ 236s] 25 | ENABLE_APP_SPLASH_SCREEN, [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^ [ 236s] 26 | DISABLE_APP_SPLASH_SCREEN, [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 236s] ... [ 236s] 29 | MIGRATE_EXTERNAL_IMAGE, [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 236s] [ 236s] warning: multiple variants are never constructed [ 236s] --> ./src/pkgmgr/server/signal.rs:10:2 [ 236s] | [ 236s] 9 | enum PKGMGR_REQ { [ 236s] | ---------- variants in this enum [ 236s] 10 | PERM = -1, [ 236s] | ^^^^ [ 236s] 11 | INVALID = 0, [ 236s] | ^^^^^^^ [ 236s] 12 | INSTALL = 1, [ 236s] | ^^^^^^^ [ 236s] 13 | UNINSTALL = 2, [ 236s] | ^^^^^^^^^ [ 236s] 14 | CLEAR = 3, [ 236s] | ^^^^^ [ 236s] 15 | MOVE = 4, [ 236s] | ^^^^ [ 236s] 16 | RECOVER = 5, [ 236s] | ^^^^^^^ [ 236s] 17 | REINSTALL = 6, [ 236s] | ^^^^^^^^^ [ 236s] 18 | GETSIZE = 7, [ 236s] | ^^^^^^^ [ 236s] 19 | UPGRADE = 8, [ 236s] | ^^^^^^^ [ 236s] 20 | SMACK = 9, [ 236s] | ^^^^^ [ 236s] 21 | MANIFEST_DIRECT_INSTALL = 10, [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 236s] ... [ 236s] 26 | MOUNT_INSTALL = 15, [ 236s] | ^^^^^^^^^^^^^ [ 236s] 27 | DISABLE_PKG = 16, [ 236s] | ^^^^^^^^^^^ [ 236s] 28 | ENABLE_PKG = 17, [ 236s] | ^^^^^^^^^^ [ 236s] 29 | MIGRATE_EXTIMG = 18, [ 236s] | ^^^^^^^^^^^^^^ [ 236s] 30 | RECOVER_DB = 19, [ 236s] | ^^^^^^^^^^ [ 236s] 31 | RES_COPY = 20, [ 236s] | ^^^^^^^^ [ 236s] 32 | RES_CREATE_DIR = 21, [ 236s] | ^^^^^^^^^^^^^^ [ 236s] 33 | RES_REMOVE = 22, [ 236s] | ^^^^^^^^^^ [ 236s] 34 | RES_UNINSTALL = 23 [ 236s] | ^^^^^^^^^^^^^ [ 236s] [ 236s] warning: constant `TZ_SYS_GLOBALAPP_USER` is never used [ 236s] --> ./src/pkgmgr/server/signal.rs:97:7 [ 236s] | [ 236s] 97 | const TZ_SYS_GLOBALAPP_USER: c_int = 22; [ 236s] | ^^^^^^^^^^^^^^^^^^^^^ [ 236s] [ 236s] warning: function `tzplatform_getuid` is never used [ 236s] --> ./src/pkgmgr/server/signal.rs:53:12 [ 236s] | [ 236s] 53 | pub fn tzplatform_getuid(id: c_int) -> uid_t; [ 236s] | ^^^^^^^^^^^^^^^^^ [ 236s] [ 236s] warning: function `sd_get_uids` is never used [ 236s] --> ./src/pkgmgr/server/signal.rs:44:16 [ 236s] | [ 236s] 44 | pub fn sd_get_uids(users: *mut *mut uid_t) -> c_int; [ 236s] | ^^^^^^^^^^^ [ 236s] [ 236s] warning: constant `XML_READER_TYPE_ELEMENT` is never used [ 236s] --> ./src/pkgmgr/server/util.rs:29:7 [ 236s] | [ 236s] 29 | const XML_READER_TYPE_ELEMENT: i32 = 1; [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 236s] [ 236s] warning: constant `XML_READER_TYPE_TEXT` is never used [ 236s] --> ./src/pkgmgr/server/util.rs:30:7 [ 236s] | [ 236s] 30 | const XML_READER_TYPE_TEXT: i32 = 3; [ 236s] | ^^^^^^^^^^^^^^^^^^^^ [ 236s] [ 236s] warning: constant `XML_READER_TYPE_END_ELEMENT` is never used [ 236s] --> ./src/pkgmgr/server/util.rs:31:7 [ 236s] | [ 236s] 31 | const XML_READER_TYPE_END_ELEMENT: i32 = 15; [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 236s] [ 236s] warning: type alias `GIOChannel` is never used [ 236s] --> ./src/pkgmgr/server/util.rs:33:6 [ 236s] | [ 236s] 33 | type GIOChannel = *mut c_void; [ 236s] | ^^^^^^^^^^ [ 236s] [ 236s] warning: variants `PMINFO_UI_APP`, `PMINFO_SVC_APP`, `PMINFO_WIDGET_APP`, `PMINFO_WATCH_APP`, and `PMINFO_COMPONENT_BASED_APP` are never constructed [ 236s] --> ./src/pkgmgr/server/util.rs:136:5 [ 236s] | [ 236s] 134 | enum PKGMGRINFO_APP_COMPONENT { [ 236s] | ------------------------ variants in this enum [ 236s] 135 | PMINFO_ALL_APP = 0, //< All Application [ 236s] 136 | PMINFO_UI_APP, //< UI Application [ 236s] | ^^^^^^^^^^^^^ [ 236s] 137 | PMINFO_SVC_APP, //< Service Application [ 236s] | ^^^^^^^^^^^^^^ [ 236s] 138 | PMINFO_WIDGET_APP, //< Widget Application [ 236s] | ^^^^^^^^^^^^^^^^^ [ 236s] 139 | PMINFO_WATCH_APP, //< Watch Application [ 236s] | ^^^^^^^^^^^^^^^^ [ 236s] 140 | PMINFO_COMPONENT_BASED_APP, //< Component-based Application (Since 5.5) [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 236s] [ 236s] warning: associated functions `EnableAppSplashScreen` and `DisableAppSplashScreen` are never used [ 236s] --> ./src/pkgmgr/server/util.rs:766:12 [ 236s] | [ 236s] 384 | impl Util { [ 236s] | --------- associated functions in this implementation [ 236s] ... [ 236s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^ [ 236s] ... [ 236s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^ [ 236s] [ 236s] warning: function `pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db` is never used [ 236s] --> ./src/pkgmgr/server/util.rs:204:8 [ 236s] | [ 236s] 204 | fn pkgmgr_parser_update_app_splash_screen_display_info_in_usr_db( [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 236s] [ 236s] warning: function `pkgmgrinfo_pkginfo_get_usr_pkginfo` is never used [ 236s] --> ./src/pkgmgr/server/util.rs:44:16 [ 236s] | [ 236s] 44 | pub fn pkgmgrinfo_pkginfo_get_usr_pkginfo( [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 236s] [ 236s] warning: function `pkgmgrinfo_pkginfo_get_usr_disabled_pkginfo` is never used [ 236s] --> ./src/pkgmgr/server/util.rs:50:16 [ 236s] | [ 236s] 50 | pub fn pkgmgrinfo_pkginfo_get_usr_disabled_pkginfo( [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 236s] [ 236s] warning: function `pkgmgrinfo_pkginfo_is_readonly` is never used [ 236s] --> ./src/pkgmgr/server/util.rs:56:16 [ 236s] | [ 236s] 56 | pub fn pkgmgrinfo_pkginfo_is_readonly( [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 236s] [ 236s] warning: function `pkgmgrinfo_pkginfo_destroy_pkginfo` is never used [ 236s] --> ./src/pkgmgr/server/util.rs:61:16 [ 236s] | [ 236s] 61 | pub fn pkgmgrinfo_pkginfo_destroy_pkginfo( [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 236s] [ 236s] warning: function `pkgmgrinfo_pkginfo_get_usr_all_pkginfo` is never used [ 236s] --> ./src/pkgmgr/server/util.rs:65:16 [ 236s] | [ 236s] 65 | pub fn pkgmgrinfo_pkginfo_get_usr_all_pkginfo( [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 236s] [ 236s] warning: function `pkgmgrinfo_pkginfo_get_type` is never used [ 236s] --> ./src/pkgmgr/server/util.rs:71:16 [ 236s] | [ 236s] 71 | pub fn pkgmgrinfo_pkginfo_get_type( [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 236s] [ 236s] warning: function `pkgmgrinfo_updateinfo_create` is never used [ 236s] --> ./src/pkgmgr/server/util.rs:76:16 [ 236s] | [ 236s] 76 | pub fn pkgmgrinfo_updateinfo_create( [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 236s] [ 236s] warning: function `pkgmgrinfo_updateinfo_set_pkgid` is never used [ 236s] --> ./src/pkgmgr/server/util.rs:80:16 [ 236s] | [ 236s] 80 | pub fn pkgmgrinfo_updateinfo_set_pkgid( [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 236s] [ 236s] warning: function `pkgmgrinfo_updateinfo_set_version` is never used [ 236s] --> ./src/pkgmgr/server/util.rs:85:16 [ 236s] | [ 236s] 85 | pub fn pkgmgrinfo_updateinfo_set_version( [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 236s] [ 236s] warning: function `pkgmgrinfo_updateinfo_set_type` is never used [ 236s] --> ./src/pkgmgr/server/util.rs:90:16 [ 236s] | [ 236s] 90 | pub fn pkgmgrinfo_updateinfo_set_type( [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 236s] [ 236s] warning: function `pkgmgrinfo_updateinfo_destroy` is never used [ 236s] --> ./src/pkgmgr/server/util.rs:95:16 [ 236s] | [ 236s] 95 | pub fn pkgmgrinfo_updateinfo_destroy( [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 236s] [ 236s] warning: function `pkgmgrinfo_appinfo_get_usr_all_appinfo` is never used [ 236s] --> ./src/pkgmgr/server/util.rs:99:16 [ 236s] | [ 236s] 99 | pub fn pkgmgrinfo_appinfo_get_usr_all_appinfo( [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 236s] [ 236s] warning: function `pkgmgrinfo_appinfo_is_global` is never used [ 236s] --> ./src/pkgmgr/server/util.rs:105:16 [ 236s] | [ 236s] 105 | pub fn pkgmgrinfo_appinfo_is_global( [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 236s] [ 236s] warning: function `pkgmgrinfo_appinfo_get_pkgid` is never used [ 236s] --> ./src/pkgmgr/server/util.rs:110:16 [ 236s] | [ 236s] 110 | pub fn pkgmgrinfo_appinfo_get_pkgid( [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 236s] [ 236s] warning: function `pkgmgrinfo_appinfo_destroy_appinfo` is never used [ 236s] --> ./src/pkgmgr/server/util.rs:115:16 [ 236s] | [ 236s] 115 | pub fn pkgmgrinfo_appinfo_destroy_appinfo( [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 236s] [ 236s] warning: function `aul_app_is_running_for_uid` is never used [ 236s] --> ./src/pkgmgr/server/util.rs:122:16 [ 236s] | [ 236s] 122 | pub fn aul_app_is_running_for_uid(appid: *const c_char, uid: uid_t) -> c_int; [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 236s] [ 236s] warning: function `aul_app_get_pid_for_uid` is never used [ 236s] --> ./src/pkgmgr/server/util.rs:123:16 [ 236s] | [ 236s] 123 | pub fn aul_app_get_pid_for_uid(ppid: *const c_char, uid: uid_t) -> c_int; [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^ [ 236s] [ 236s] warning: function `aul_terminate_pid_for_uid` is never used [ 236s] --> ./src/pkgmgr/server/util.rs:124:16 [ 236s] | [ 236s] 124 | pub fn aul_terminate_pid_for_uid(pid: c_int, uid: uid_t) -> c_int; [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [ 236s] [ 236s] warning: function `aul_app_get_pkgid_bypid_for_uid` is never used [ 236s] --> ./src/pkgmgr/server/util.rs:125:16 [ 236s] | [ 236s] 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; [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 236s] [ 236s] warning: unused `Result` that must be used [ 236s] --> ./src/main.rs:14:5 [ 236s] | [ 236s] 14 | pkgmgr::server::Server::run(&mut server); [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 236s] | [ 236s] = note: this `Result` may be an `Err` variant, which should be handled [ 236s] = note: `#[warn(unused_must_use)]` on by default [ 236s] help: use `let _ = ...` to ignore the resulting value [ 236s] | [ 236s] 14 | let _ = pkgmgr::server::Server::run(&mut server); [ 236s] | +++++++ [ 236s] [ 236s] warning: unused `Result` that must be used [ 236s] --> ./src/pkgmgr/server/mod.rs:93:9 [ 236s] | [ 236s] 93 | admin_service.run(); [ 236s] | ^^^^^^^^^^^^^^^^^^^ [ 236s] | [ 236s] = note: this `Result` may be an `Err` variant, which should be handled [ 236s] help: use `let _ = ...` to ignore the resulting value [ 236s] | [ 236s] 93 | let _ = admin_service.run(); [ 236s] | +++++++ [ 236s] [ 236s] warning: unused `Result` that must be used [ 236s] --> ./src/pkgmgr/server/mod.rs:95:9 [ 236s] | [ 236s] 95 | cache_service.run(); [ 236s] | ^^^^^^^^^^^^^^^^^^^ [ 236s] | [ 236s] = note: this `Result` may be an `Err` variant, which should be handled [ 236s] help: use `let _ = ...` to ignore the resulting value [ 236s] | [ 236s] 95 | let _ = cache_service.run(); [ 236s] | +++++++ [ 236s] [ 236s] warning: unused `Result` that must be used [ 236s] --> ./src/pkgmgr/server/mod.rs:97:9 [ 236s] | [ 236s] 97 | info_service.run(); [ 236s] | ^^^^^^^^^^^^^^^^^^ [ 236s] | [ 236s] = note: this `Result` may be an `Err` variant, which should be handled [ 236s] help: use `let _ = ...` to ignore the resulting value [ 236s] | [ 236s] 97 | let _ = info_service.run(); [ 236s] | +++++++ [ 236s] [ 236s] warning: unused `Result` that must be used [ 236s] --> ./src/pkgmgr/server/mod.rs:99:9 [ 236s] | [ 236s] 99 | delayed_result_service.run(); [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 236s] | [ 236s] = note: this `Result` may be an `Err` variant, which should be handled [ 236s] help: use `let _ = ...` to ignore the resulting value [ 236s] | [ 236s] 99 | let _ = delayed_result_service.run(); [ 236s] | +++++++ [ 236s] [ 236s] warning: unused `Result` that must be used [ 236s] --> ./src/pkgmgr/server/mod.rs:109:9 [ 236s] | [ 236s] 109 | admin_service.stop(); [ 236s] | ^^^^^^^^^^^^^^^^^^^^ [ 236s] | [ 236s] = note: this `Result` may be an `Err` variant, which should be handled [ 236s] help: use `let _ = ...` to ignore the resulting value [ 236s] | [ 236s] 109 | let _ = admin_service.stop(); [ 236s] | +++++++ [ 236s] [ 236s] warning: unused `Result` that must be used [ 236s] --> ./src/pkgmgr/server/mod.rs:110:9 [ 236s] | [ 236s] 110 | cache_service.stop(); [ 236s] | ^^^^^^^^^^^^^^^^^^^^ [ 236s] | [ 236s] = note: this `Result` may be an `Err` variant, which should be handled [ 236s] help: use `let _ = ...` to ignore the resulting value [ 236s] | [ 236s] 110 | let _ = cache_service.stop(); [ 236s] | +++++++ [ 236s] [ 236s] warning: unused `Result` that must be used [ 236s] --> ./src/pkgmgr/server/mod.rs:111:9 [ 236s] | [ 236s] 111 | info_service.stop(); [ 236s] | ^^^^^^^^^^^^^^^^^^^ [ 236s] | [ 236s] = note: this `Result` may be an `Err` variant, which should be handled [ 236s] help: use `let _ = ...` to ignore the resulting value [ 236s] | [ 236s] 111 | let _ = info_service.stop(); [ 236s] | +++++++ [ 236s] [ 236s] warning: unused `Result` that must be used [ 236s] --> ./src/pkgmgr/server/mod.rs:112:9 [ 236s] | [ 236s] 112 | delayed_result_service.stop(); [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 236s] | [ 236s] = note: this `Result` may be an `Err` variant, which should be handled [ 236s] help: use `let _ = ...` to ignore the resulting value [ 236s] | [ 236s] 112 | let _ = delayed_result_service.stop(); [ 236s] | +++++++ [ 236s] [ 236s] warning: unused return value of `std::mem::size_of` that must be used [ 236s] --> ./src/pkgmgr/server/backend_queue.rs:40:9 [ 236s] | [ 236s] 40 | mem::size_of::(); [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 236s] | [ 236s] help: use `let _ = ...` to ignore the resulting value [ 236s] | [ 236s] 40 | let _ = mem::size_of::(); [ 236s] | +++++++ [ 236s] [ 236s] warning: structure field `rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 236s] --> ./src/pkgmgr/server/info_service.rs:35:9 [ 236s] | [ 236s] 35 | pub rpc_port_stub_PkgMgr_create_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_create_cb` [ 236s] | [ 236s] = note: `#[warn(non_snake_case)]` on by default [ 236s] [ 236s] warning: structure field `rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 236s] --> ./src/pkgmgr/server/info_service.rs:36:9 [ 236s] | [ 236s] 36 | pub rpc_port_stub_PkgMgr_terminate_cb: extern "C" fn(context: *mut c_void, user_data: *mut c_void), [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_terminate_cb` [ 236s] [ 236s] warning: structure field `rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 236s] --> ./src/pkgmgr/server/info_service.rs:37:9 [ 236s] | [ 236s] 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... [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_cb` [ 236s] [ 236s] warning: structure field `rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 236s] --> ./src/pkgmgr/server/info_service.rs:38:9 [ 236s] | [ 236s] 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... [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 236s] [ 236s] warning: structure field `rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 236s] --> ./src/pkgmgr/server/info_service.rs:39:9 [ 236s] | [ 236s] 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... [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 236s] [ 236s] warning: structure field `rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 236s] --> ./src/pkgmgr/server/info_service.rs:40:9 [ 236s] | [ 236s] 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... [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `rpc_port_stub_pkg_mgr_check_cb` [ 236s] [ 236s] warning: function `impl_rpc_port_stub_PkgMgr_create_cb` should have a snake case name [ 236s] --> ./src/pkgmgr/server/info_service.rs:43:19 [ 236s] | [ 236s] 43 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_create_cb(context: *mut c_void, user_data: *mut c_void) { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_create_cb` [ 236s] [ 236s] warning: function `impl_rpc_port_stub_PkgMgr_terminate_cb` should have a snake case name [ 236s] --> ./src/pkgmgr/server/info_service.rs:48:19 [ 236s] | [ 236s] 48 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_terminate_cb(context: *mut c_void, user_data: *mut c_void) { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_terminate_cb` [ 236s] [ 236s] warning: function `impl_rpc_port_stub_PkgMgr_GetSize_cb` should have a snake case name [ 236s] --> ./src/pkgmgr/server/info_service.rs:52:19 [ 236s] | [ 236s] 52 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSize_cb( [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_cb` [ 236s] [ 236s] warning: function `impl_rpc_port_stub_PkgMgr_GetSizeSync_cb` should have a snake case name [ 236s] --> ./src/pkgmgr/server/info_service.rs:112:19 [ 236s] | [ 236s] 112 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetSizeSync_cb( [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_size_sync_cb` [ 236s] [ 236s] warning: function `impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb` should have a snake case name [ 236s] --> ./src/pkgmgr/server/info_service.rs:194:19 [ 236s] | [ 236s] 194 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_GetResultSizeSync_cb( [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_get_result_size_sync_cb` [ 236s] [ 236s] warning: function `impl_rpc_port_stub_PkgMgr_Check_cb` should have a snake case name [ 236s] --> ./src/pkgmgr/server/info_service.rs:221:19 [ 236s] | [ 236s] 221 | pub extern "C" fn impl_rpc_port_stub_PkgMgr_Check_cb( [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `impl_rpc_port_stub_pkg_mgr_check_cb` [ 236s] [ 236s] warning: method `IsPackageReadonly` should have a snake case name [ 236s] --> ./src/pkgmgr/server/util.rs:389:12 [ 236s] | [ 236s] 389 | pub fn IsPackageReadonly(pkgid: *const c_char, uid: uid_t, is_disabled: bool) -> Option { [ 236s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly` [ 236s] [ 236s] warning: method `GetPackageType` should have a snake case name [ 236s] --> ./src/pkgmgr/server/util.rs:420:12 [ 236s] | [ 236s] 420 | pub fn GetPackageType(pkgid: *const c_char , uid: uid_t) -> String { [ 236s] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type` [ 236s] [ 236s] warning: variable `xmlReaderTypes_XML_READER_TYPE_ELEMENT` should have a snake case name [ 236s] --> ./src/pkgmgr/server/util.rs:473:17 [ 236s] | [ 236s] 473 | xmlReaderTypes_XML_READER_TYPE_ELEMENT => { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_element` [ 236s] [ 236s] warning: variable `xmlReaderTypes_XML_READER_TYPE_TEXT` should have a snake case name [ 236s] --> ./src/pkgmgr/server/util.rs:478:17 [ 236s] | [ 236s] 478 | xmlReaderTypes_XML_READER_TYPE_TEXT => { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_text` [ 236s] [ 236s] warning: variable `xmlReaderTypes_XML_READER_TYPE_END_ELEMENT` should have a snake case name [ 236s] --> ./src/pkgmgr/server/util.rs:483:17 [ 236s] | [ 236s] 483 | xmlReaderTypes_XML_READER_TYPE_END_ELEMENT => { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `xml_reader_types_xml_reader_type_end_element` [ 236s] [ 236s] warning: constant `type_map` should have an upper case name [ 236s] --> ./src/pkgmgr/server/util.rs:623:15 [ 236s] | [ 236s] 623 | const type_map : [[&str; 2]; 3] = [ [ 236s] | ^^^^^^^^ help: convert the identifier to upper case: `TYPE_MAP` [ 236s] | [ 236s] = note: `#[warn(non_upper_case_globals)]` on by default [ 236s] [ 236s] warning: method `GenerateRequestId` should have a snake case name [ 236s] --> ./src/pkgmgr/server/util.rs:646:12 [ 236s] | [ 236s] 646 | pub fn GenerateRequestId(pkgid: &str) -> Option { [ 236s] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_request_id` [ 236s] [ 236s] warning: method `CreatePkgUpdateInfo` should have a snake case name [ 236s] --> ./src/pkgmgr/server/util.rs:657:12 [ 236s] | [ 236s] 657 | pub fn CreatePkgUpdateInfo(pkgid: *const c_char, version: *const c_char, update_type: c_int) -> *mut c_void { [ 236s] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info` [ 236s] [ 236s] warning: method `DestroyPkgUpdateInfo` should have a snake case name [ 236s] --> ./src/pkgmgr/server/util.rs:680:12 [ 236s] | [ 236s] 680 | pub fn DestroyPkgUpdateInfo(handle: *mut c_void) -> c_int { [ 236s] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroy_pkg_update_info` [ 236s] [ 236s] warning: method `RegisterPkgUpdateInfo` should have a snake case name [ 236s] --> ./src/pkgmgr/server/util.rs:686:12 [ 236s] | [ 236s] 686 | pub fn RegisterPkgUpdateInfo(handle: *const c_void, uid: uid_t) -> c_int { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `register_pkg_update_info` [ 236s] [ 236s] warning: method `UnregisterPkgUpdateInfo` should have a snake case name [ 236s] --> ./src/pkgmgr/server/util.rs:696:12 [ 236s] | [ 236s] 696 | pub fn UnregisterPkgUpdateInfo(pkgid: *const c_char, uid: uid_t) -> c_int { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_pkg_update_info` [ 236s] [ 236s] warning: method `UnregisterAllPkgUpdateInfo` should have a snake case name [ 236s] --> ./src/pkgmgr/server/util.rs:706:12 [ 236s] | [ 236s] 706 | pub fn UnregisterAllPkgUpdateInfo(uid: uid_t, caller_uid: uid_t) -> c_int { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unregister_all_pkg_update_info` [ 236s] [ 236s] warning: method `EnableApp` should have a snake case name [ 236s] --> ./src/pkgmgr/server/util.rs:728:12 [ 236s] | [ 236s] 728 | pub fn EnableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 236s] | ^^^^^^^^^ help: convert the identifier to snake case: `enable_app` [ 236s] [ 236s] warning: method `DisableApp` should have a snake case name [ 236s] --> ./src/pkgmgr/server/util.rs:738:12 [ 236s] | [ 236s] 738 | pub fn DisableApp(appid: *const c_char, uid: uid_t) -> c_int { [ 236s] | ^^^^^^^^^^ help: convert the identifier to snake case: `disable_app` [ 236s] [ 236s] warning: method `EnableGlobalApp` should have a snake case name [ 236s] --> ./src/pkgmgr/server/util.rs:747:12 [ 236s] | [ 236s] 747 | pub fn EnableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 236s] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app` [ 236s] [ 236s] warning: method `DisableGlobalApp` should have a snake case name [ 236s] --> ./src/pkgmgr/server/util.rs:757:12 [ 236s] | [ 236s] 757 | pub fn DisableGlobalApp(appid: *const c_char, uid: uid_t) -> c_int { [ 236s] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app` [ 236s] [ 236s] warning: method `EnableAppSplashScreen` should have a snake case name [ 236s] --> ./src/pkgmgr/server/util.rs:766:12 [ 236s] | [ 236s] 766 | pub fn EnableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_app_splash_screen` [ 236s] [ 236s] warning: method `DisableAppSplashScreen` should have a snake case name [ 236s] --> ./src/pkgmgr/server/util.rs:775:12 [ 236s] | [ 236s] 775 | pub fn DisableAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_app_splash_screen` [ 236s] [ 236s] warning: method `EnableGlobalAppSplashScreen` should have a snake case name [ 236s] --> ./src/pkgmgr/server/util.rs:784:12 [ 236s] | [ 236s] 784 | pub fn EnableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enable_global_app_splash_screen` [ 236s] [ 236s] warning: method `DisableGlobalAppSplashScreen` should have a snake case name [ 236s] --> ./src/pkgmgr/server/util.rs:793:12 [ 236s] | [ 236s] 793 | pub fn DisableGlobalAppSplashScreen(appid: *const c_char, uid: uid_t) -> c_int { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `disable_global_app_splash_screen` [ 236s] [ 236s] warning: method `KillApp` should have a snake case name [ 236s] --> ./src/pkgmgr/server/util.rs:813:12 [ 236s] | [ 236s] 813 | pub fn KillApp(appid: *const c_char, uid: uid_t) -> c_int { [ 236s] | ^^^^^^^ help: convert the identifier to snake case: `kill_app` [ 236s] [ 236s] warning: method `KillAppsInPkg` should have a snake case name [ 236s] --> ./src/pkgmgr/server/util.rs:835:12 [ 236s] | [ 236s] 835 | pub fn KillAppsInPkg(pkgid: *const c_char, uid: uid_t) -> c_int { [ 236s] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_apps_in_pkg` [ 236s] [ 236s] warning: method `IsAdminUser` should have a snake case name [ 236s] --> ./src/pkgmgr/server/util.rs:855:8 [ 236s] | [ 236s] 855 | fn IsAdminUser(uid: uid_t) -> Option { [ 236s] | ^^^^^^^^^^^ help: convert the identifier to snake case: `is_admin_user` [ 236s] [ 236s] warning: function `IsPackageReadonly_test_return_None_from_disable1` should have a snake case name [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:13:4 [ 236s] | [ 236s] 13 | fn IsPackageReadonly_test_return_None_from_disable1() { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_disable1` [ 236s] [ 236s] warning: getting the inner pointer of a temporary `CString` [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:16:77 [ 236s] | [ 236s] 16 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, false)); [ 236s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 236s] | | [ 236s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 236s] | [ 236s] = 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 [ 236s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 236s] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [ 236s] [ 236s] warning: function `IsPackageReadonly_test_return_None_from_disable2` should have a snake case name [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:20:4 [ 236s] | [ 236s] 20 | fn IsPackageReadonly_test_return_None_from_disable2() { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_disable2` [ 236s] [ 236s] warning: getting the inner pointer of a temporary `CString` [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:23:77 [ 236s] | [ 236s] 23 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 236s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 236s] | | [ 236s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 236s] | [ 236s] = 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 [ 236s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 236s] [ 236s] warning: function `IsPackageReadonly_test_return_None_from_readonly` should have a snake case name [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:27:4 [ 236s] | [ 236s] 27 | fn IsPackageReadonly_test_return_None_from_readonly() { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_none_from_readonly` [ 236s] [ 236s] warning: getting the inner pointer of a temporary `CString` [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:32:77 [ 236s] | [ 236s] 32 | assert_eq!(None, Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 236s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 236s] | | [ 236s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 236s] | [ 236s] = 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 [ 236s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 236s] [ 236s] warning: function `IsPackageReadonly_test_return_someTrue_from_readonly` should have a snake case name [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:36:4 [ 236s] | [ 236s] 36 | fn IsPackageReadonly_test_return_someTrue_from_readonly() { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_some_true_from_readonly` [ 236s] [ 236s] warning: getting the inner pointer of a temporary `CString` [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:46:83 [ 236s] | [ 236s] 46 | assert_eq!(Some(true), Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 236s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 236s] | | [ 236s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 236s] | [ 236s] = 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 [ 236s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 236s] [ 236s] warning: function `IsPackageReadonly_test_return_someFalse_from_readonly` should have a snake case name [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:50:4 [ 236s] | [ 236s] 50 | fn IsPackageReadonly_test_return_someFalse_from_readonly() { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_package_readonly_test_return_some_false_from_readonly` [ 236s] [ 236s] warning: getting the inner pointer of a temporary `CString` [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:60:84 [ 236s] | [ 236s] 60 | assert_eq!(Some(false), Util::IsPackageReadonly(CString::new("hello").unwrap().as_ptr(), 1, true)); [ 236s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 236s] | | [ 236s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 236s] | [ 236s] = 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 [ 236s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 236s] [ 236s] warning: function `KillApp_test_return_0_from_running` should have a snake case name [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:65:4 [ 236s] | [ 236s] 65 | fn KillApp_test_return_0_from_running() { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_0_from_running` [ 236s] [ 236s] warning: getting the inner pointer of a temporary `CString` [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:68:64 [ 236s] | [ 236s] 68 | assert_eq!(0, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 236s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 236s] | | [ 236s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 236s] | [ 236s] = 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 [ 236s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 236s] [ 236s] warning: function `KillApp_test_return_minus_from_getpid` should have a snake case name [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:72:4 [ 236s] | [ 236s] 72 | fn KillApp_test_return_minus_from_getpid() { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_minus_from_getpid` [ 236s] [ 236s] warning: getting the inner pointer of a temporary `CString` [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:77:65 [ 236s] | [ 236s] 77 | assert_eq!(-1, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 236s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 236s] | | [ 236s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 236s] | [ 236s] = 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 [ 236s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 236s] [ 236s] warning: function `KillApp_test_return_minus_from_terminate` should have a snake case name [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:81:4 [ 236s] | [ 236s] 81 | fn KillApp_test_return_minus_from_terminate() { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_minus_from_terminate` [ 236s] [ 236s] warning: getting the inner pointer of a temporary `CString` [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:88:65 [ 236s] | [ 236s] 88 | assert_eq!(-1, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 236s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 236s] | | [ 236s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 236s] | [ 236s] = 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 [ 236s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 236s] [ 236s] warning: function `KillApp_test_return_0_from_end` should have a snake case name [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:92:4 [ 236s] | [ 236s] 92 | fn KillApp_test_return_0_from_end() { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `kill_app_test_return_0_from_end` [ 236s] [ 236s] warning: getting the inner pointer of a temporary `CString` [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:99:64 [ 236s] | [ 236s] 99 | assert_eq!(0, Util::KillApp(CString::new("hello").unwrap().as_ptr(), 1)); [ 236s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 236s] | | [ 236s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 236s] | [ 236s] = 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 [ 236s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 236s] [ 236s] warning: function `GetPackageType_test_return_new_from_all` should have a snake case name [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:104:4 [ 236s] | [ 236s] 104 | fn GetPackageType_test_return_new_from_all() { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_new_from_all` [ 236s] [ 236s] warning: getting the inner pointer of a temporary `CString` [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:107:83 [ 236s] | [ 236s] 107 | assert_eq!(String::new(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 236s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 236s] | | [ 236s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 236s] | [ 236s] = 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 [ 236s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 236s] [ 236s] warning: function `GetPackageType_test_return_new_from_type` should have a snake case name [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:111:4 [ 236s] | [ 236s] 111 | fn GetPackageType_test_return_new_from_type() { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_new_from_type` [ 236s] [ 236s] warning: getting the inner pointer of a temporary `CString` [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:118:83 [ 236s] | [ 236s] 118 | assert_eq!(String::new(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 236s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 236s] | | [ 236s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 236s] | [ 236s] = 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 [ 236s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 236s] [ 236s] warning: function `GetPackageType_test_return_rpk_from_end` should have a snake case name [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:122:4 [ 236s] | [ 236s] 122 | fn GetPackageType_test_return_rpk_from_end() { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_rpk_from_end` [ 236s] [ 236s] warning: getting the inner pointer of a temporary `CString` [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:132:87 [ 236s] | [ 236s] 132 | assert_eq!("rpk".to_string(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 236s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 236s] | | [ 236s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 236s] | [ 236s] = 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 [ 236s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 236s] [ 236s] warning: function `GetPackageType_test_return_newtype_from_end` should have a snake case name [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:136:4 [ 236s] | [ 236s] 136 | fn GetPackageType_test_return_newtype_from_end() { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_package_type_test_return_newtype_from_end` [ 236s] [ 236s] warning: getting the inner pointer of a temporary `CString` [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:146:87 [ 236s] | [ 236s] 146 | assert_eq!("ABC".to_string(), Util::GetPackageType(CString::new("hello").unwrap().as_ptr(), 1)); [ 236s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 236s] | | [ 236s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 236s] | [ 236s] = 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 [ 236s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 236s] [ 236s] warning: function `CreatePkgUpdateInfo_test_return_null1` should have a snake case name [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:151:4 [ 236s] | [ 236s] 151 | fn CreatePkgUpdateInfo_test_return_null1() { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null1` [ 236s] [ 236s] warning: getting the inner pointer of a temporary `CString` [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:154:95 [ 236s] | [ 236s] 154 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 236s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 236s] | | [ 236s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 236s] | [ 236s] = 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 [ 236s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 236s] [ 236s] warning: getting the inner pointer of a temporary `CString` [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:154:138 [ 236s] | [ 236s] 154 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 236s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 236s] | | [ 236s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 236s] | [ 236s] = 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 [ 236s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 236s] [ 236s] warning: function `CreatePkgUpdateInfo_test_return_null2` should have a snake case name [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:158:4 [ 236s] | [ 236s] 158 | fn CreatePkgUpdateInfo_test_return_null2() { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null2` [ 236s] [ 236s] warning: getting the inner pointer of a temporary `CString` [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:165:95 [ 236s] | [ 236s] 165 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 236s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 236s] | | [ 236s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 236s] | [ 236s] = 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 [ 236s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 236s] [ 236s] warning: getting the inner pointer of a temporary `CString` [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:165:138 [ 236s] | [ 236s] 165 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 236s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 236s] | | [ 236s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 236s] | [ 236s] = 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 [ 236s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 236s] [ 236s] warning: function `CreatePkgUpdateInfo_test_return_null3` should have a snake case name [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:169:4 [ 236s] | [ 236s] 169 | fn CreatePkgUpdateInfo_test_return_null3() { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null3` [ 236s] [ 236s] warning: getting the inner pointer of a temporary `CString` [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:178:95 [ 236s] | [ 236s] 178 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 236s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 236s] | | [ 236s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 236s] | [ 236s] = 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 [ 236s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 236s] [ 236s] warning: getting the inner pointer of a temporary `CString` [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:178:138 [ 236s] | [ 236s] 178 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 236s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 236s] | | [ 236s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 236s] | [ 236s] = 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 [ 236s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 236s] [ 236s] warning: function `CreatePkgUpdateInfo_test_return_null4` should have a snake case name [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:182:4 [ 236s] | [ 236s] 182 | fn CreatePkgUpdateInfo_test_return_null4() { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_null4` [ 236s] [ 236s] warning: getting the inner pointer of a temporary `CString` [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:193:95 [ 236s] | [ 236s] 193 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 236s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 236s] | | [ 236s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 236s] | [ 236s] = 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 [ 236s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 236s] [ 236s] warning: getting the inner pointer of a temporary `CString` [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:193:138 [ 236s] | [ 236s] 193 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 236s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 236s] | | [ 236s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 236s] | [ 236s] = 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 [ 236s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 236s] [ 236s] warning: function `CreatePkgUpdateInfo_test_return_handle` should have a snake case name [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:197:4 [ 236s] | [ 236s] 197 | fn CreatePkgUpdateInfo_test_return_handle() { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_pkg_update_info_test_return_handle` [ 236s] [ 236s] warning: getting the inner pointer of a temporary `CString` [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:206:95 [ 236s] | [ 236s] 206 | ...:null_mut(), Util::CreatePkgUpdateInfo(CString::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 236s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 236s] | | [ 236s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 236s] | [ 236s] = 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 [ 236s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 236s] [ 236s] warning: getting the inner pointer of a temporary `CString` [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:206:138 [ 236s] | [ 236s] 206 | ...ing::new("hello").unwrap().as_ptr(), CString::new("version").unwrap().as_ptr(), 1)); [ 236s] | -------------------------------- ^^^^^^ this pointer will be invalid [ 236s] | | [ 236s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 236s] | [ 236s] = 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 [ 236s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 236s] [ 236s] warning: function `getapplicationinfobyappid_test_return_None_from_appinfo` should have a snake case name [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:211:4 [ 236s] | [ 236s] 211 | fn getapplicationinfobyappid_test_return_None_from_appinfo() { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_appinfo` [ 236s] [ 236s] warning: getting the inner pointer of a temporary `CString` [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:214:89 [ 236s] | [ 236s] 214 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 236s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 236s] | | [ 236s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 236s] | [ 236s] = 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 [ 236s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 236s] [ 236s] warning: function `getapplicationinfobyappid_test_return_None_from_global` should have a snake case name [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:218:4 [ 236s] | [ 236s] 218 | fn getapplicationinfobyappid_test_return_None_from_global() { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_global` [ 236s] [ 236s] warning: getting the inner pointer of a temporary `CString` [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:225:89 [ 236s] | [ 236s] 225 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 236s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 236s] | | [ 236s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 236s] | [ 236s] = 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 [ 236s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 236s] [ 236s] warning: function `getapplicationinfobyappid_test_return_None_from_pkgid` should have a snake case name [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:229:4 [ 236s] | [ 236s] 229 | fn getapplicationinfobyappid_test_return_None_from_pkgid() { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `getapplicationinfobyappid_test_return_none_from_pkgid` [ 236s] [ 236s] warning: getting the inner pointer of a temporary `CString` [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:238:89 [ 236s] | [ 236s] 238 | assert_eq!(None, Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 236s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 236s] | | [ 236s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 236s] | [ 236s] = 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 [ 236s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 236s] [ 236s] warning: function `getapplicationinfobyappid_test_return_Some_from_end` should have a snake case name [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:242:4 [ 236s] | [ 236s] 242 | fn getapplicationinfobyappid_test_return_Some_from_end() { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `getapplicationinfobyappid_test_return_some_from_end` [ 236s] [ 236s] warning: getting the inner pointer of a temporary `CString` [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:257:127 [ 236s] | [ 236s] 257 | assert_eq!(Some((CString::new("aaa").unwrap(), true)), Util::get_application_info_by_appid(CString::new("hello").unwrap().as_ptr(), 1)); [ 236s] | ------------------------------ ^^^^^^ this pointer will be invalid [ 236s] | | [ 236s] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [ 236s] | [ 236s] = 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 [ 236s] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [ 236s] [ 236s] warning: function `get_pkgid_bypid_for_uid_test_return_None` should have a snake case name [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:262:4 [ 236s] | [ 236s] 262 | fn get_pkgid_bypid_for_uid_test_return_None() { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_pkgid_bypid_for_uid_test_return_none` [ 236s] [ 236s] warning: function `get_pkgid_bypid_for_uid_test_return_Some` should have a snake case name [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:269:4 [ 236s] | [ 236s] 269 | fn get_pkgid_bypid_for_uid_test_return_Some() { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `get_pkgid_bypid_for_uid_test_return_some` [ 236s] [ 236s] warning: function `get_pkgid_bypid_for_uid_test_return_None_from_end` should have a snake case name [ 236s] --> ./src/pkgmgr/server/test/util_tests.rs:283:4 [ 236s] | [ 236s] 283 | fn get_pkgid_bypid_for_uid_test_return_None_from_end() { [ 236s] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_pkgid_bypid_for_uid_test_return_none_from_end` [ 236s] [ 407s] warning: 735 warnings emitted [ 407s] [ 407s] + exit 0 [ 407s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.kkevi7 [ 407s] + umask 022 [ 407s] + cd /home/abuild/rpmbuild/BUILD [ 407s] + cd pkgmgr-server-1.0.15 [ 407s] + LANG=C [ 407s] + export LANG [ 407s] + unset DISPLAY [ 407s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64 [ 407s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64 [ 407s] + /bin/make DESTDIR=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64 INSTALL_ROOT=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64 install [ 407s] /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 [ 407s] /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 [ 407s] /bin/make -f CMakeFiles/Makefile2 all [ 407s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 407s] /bin/make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/depend [ 407s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 407s] 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= [ 407s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 407s] /bin/make -f tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build.make tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build [ 407s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 407s] make[2]: Nothing to be done for 'tidl_pkgmgr_server/CMakeFiles/tidl_pkgmgr_server.dir/build'. [ 407s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 407s] [ 50%] Built target tidl_pkgmgr_server [ 407s] /bin/make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/depend [ 407s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 407s] 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= [ 407s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 407s] /bin/make -f util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build.make util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build [ 407s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 407s] make[2]: Nothing to be done for 'util_pkgmgr_server/CMakeFiles/util_pkgmgr_server.dir/build'. [ 407s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 407s] [100%] Built target util_pkgmgr_server [ 407s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 407s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/CMakeFiles 0 [ 407s] /bin/make -f CMakeFiles/Makefile2 preinstall [ 407s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 407s] make[1]: Nothing to be done for 'preinstall'. [ 407s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15' [ 407s] Install the project... [ 407s] /usr/bin/cmake -P cmake_install.cmake [ 407s] -- Install configuration: "" [ 407s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64/usr/lib/systemd/system/package-manager.service [ 407s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64/usr/lib/systemd/system/package-manager.socket [ 407s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64/usr/lib64/libtidl_pkgmgr_server.so [ 407s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64/usr/lib64/libutil_pkgmgr_server.so [ 407s] + rm -f /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64/usr/share/info/dir [ 407s] + find /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64 -regex '.*\.la$' [ 407s] + xargs rm -f -- [ 407s] + find /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64 -regex '.*\.a$' [ 407s] + xargs rm -f -- [ 407s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64/usr/lib/systemd/system/basic.target.wants [ 407s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64/usr/lib/systemd/system/sockets.target.wants [ 407s] + ln -sf ../package-manager.socket /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64/usr/lib/systemd/system/sockets.target.wants/package-manager.socket [ 407s] + install -d -m 0755 /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64/usr/bin [ 407s] + install -m 0755 ./rust_pkgmgr_server /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64/usr/bin/pkgmgr-server [ 407s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64/etc/package-manager/server [ 407s] + _target= [ 407s] + _symlinks=0 [ 407s] + _files=() [ 407s] + fdupes -q -n -r /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64 [ 407s] + read _file [ 407s] + /usr/lib/rpm/find-debuginfo.sh -j8 --build-id-seed 1.0.15-1 --unique-debug-src-base pkgmgr-server-1.0.15-1.aarch64 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 407s] 1+0 records in [ 407s] 1+0 records out [ 407s] 1+0 records in [ 407s] 1+0 records out [ 407s] 1+0 records in [ 407s] 1+0 records out [ 407s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64/usr/bin/pkgmgr-server [ 407s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64/usr/lib64/libutil_pkgmgr_server.so [ 407s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64/usr/lib64/libtidl_pkgmgr_server.so [ 407s] 0+0 records in [ 407s] 0+0 records out [ 407s] 0+0 records in [ 407s] 0+0 records out [ 407s] 0+0 records in [ 407s] 0+0 records out [ 407s] 797 blocks [ 408s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/pkgmgr-server-debuginfo.manifest [ 408s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/pkgmgr-server-debugsource.manifest [ 408s] + /usr/lib/rpm/check-buildroot [ 408s] + /usr/lib/rpm//brp-compress [ 408s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 408s] + /usr/lib/rpm/brp-python-hardlink [ 408s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64 [ 408s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/pkgmgr-server-1.0.15/isu.list [ 408s] ~/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64 ~/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 408s] ~/rpmbuild/BUILD/pkgmgr-server-1.0.15 [ 408s] + /etc/hal/rootstrap/hal-rootstrap-checker.sh 0 /home/abuild/rpmbuild/SOURCES [ 408s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.p4DwS6 [ 408s] + umask 022 [ 408s] + cd /home/abuild/rpmbuild/BUILD [ 408s] + cd pkgmgr-server-1.0.15 [ 408s] + export LD_LIBRARY_PATH=./util_pkgmgr_server/:./tidl_pkgmgr_server/:/usr/lib64/rustlib/dylib [ 408s] + LD_LIBRARY_PATH=./util_pkgmgr_server/:./tidl_pkgmgr_server/:/usr/lib64/rustlib/dylib [ 408s] + RUST_BACKTRACE=1 [ 408s] + RUST_TEST_THREADS=1 [ 408s] + ./unittests_rust_pkgmgr_server [ 408s] [ 408s] running 35 tests [ 409s] test pkgmgr::server::test::admin_service_tests::run_test ... ok [ 409s] test pkgmgr::server::test::admin_service_tests::stop_test ... ok [ 409s] test pkgmgr::server::test::cache_service_tests::run_test ... ok [ 409s] test pkgmgr::server::test::cache_service_tests::stop_test ... ok [ 410s] test pkgmgr::server::test::delayed_service_tests::run_test ... ok [ 410s] test pkgmgr::server::test::delayed_service_tests::stop_test ... ok [ 411s] test pkgmgr::server::test::info_service_tests::run_test ... ok [ 411s] test pkgmgr::server::test::info_service_tests::stop_test ... ok [ 411s] test pkgmgr::server::test::signal_tests::get_uid_list_test_return_uidvec1 ... ok [ 411s] test pkgmgr::server::test::signal_tests::get_uid_list_test_return_uidvec2 ... ok [ 411s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_handle ... ok [ 411s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null1 ... ok [ 411s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null2 ... ok [ 411s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null3 ... ok [ 411s] test pkgmgr::server::test::util_tests::CreatePkgUpdateInfo_test_return_null4 ... ok [ 411s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_new_from_all ... ok [ 411s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_new_from_type ... ok [ 411s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_newtype_from_end ... ok [ 411s] test pkgmgr::server::test::util_tests::GetPackageType_test_return_rpk_from_end ... ok [ 411s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_disable1 ... ok [ 411s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_disable2 ... ok [ 411s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_None_from_readonly ... ok [ 411s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_someFalse_from_readonly ... ok [ 411s] test pkgmgr::server::test::util_tests::IsPackageReadonly_test_return_someTrue_from_readonly ... ok [ 411s] test pkgmgr::server::test::util_tests::KillApp_test_return_0_from_end ... ok [ 411s] test pkgmgr::server::test::util_tests::KillApp_test_return_0_from_running ... ok [ 411s] test pkgmgr::server::test::util_tests::KillApp_test_return_minus_from_getpid ... ok [ 411s] test pkgmgr::server::test::util_tests::KillApp_test_return_minus_from_terminate ... ok [ 411s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_None ... ok [ 411s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_None_from_end ... ok [ 411s] test pkgmgr::server::test::util_tests::get_pkgid_bypid_for_uid_test_return_Some ... ok [ 411s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_appinfo ... ok [ 411s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_global ... ok [ 411s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_None_from_pkgid ... ok [ 411s] test pkgmgr::server::test::util_tests::getapplicationinfobyappid_test_return_Some_from_end ... ok [ 411s] [ 411s] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.58s [ 411s] [ 411s] + exit 0 [ 411s] Processing files: pkgmgr-server-1.0.15-1.aarch64 [ 411s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIiAvPgoJPC9y [ 411s] ZXF1ZXN0PgoJPGFzc2lnbj4KCQk8ZmlsZXN5c3RlbSBwYXRoPSIvdXNyL2Jpbi9w [ 411s] a2dtZ3Itc2VydmVyIiBsYWJlbD0iU3lzdGVtIiBleGVjX2xhYmVsPSJub25lIiAv [ 411s] PgoJCTxmaWxlc3lzdGVtIHBhdGg9Ii92YXIvbGliL3BhY2thZ2UtbWFuYWdlciIg [ 411s] bGFiZWw9IlN5c3RlbSIgLz4KCTwvYXNzaWduPgo8L21hbmlmZXN0Pgo= [ 411s] [ 411s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Mtme9Q [ 411s] + umask 022 [ 411s] + cd /home/abuild/rpmbuild/BUILD [ 411s] + cd pkgmgr-server-1.0.15 [ 411s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64/usr/share/licenses/pkgmgr-server [ 411s] + export LC_ALL=C [ 411s] + LC_ALL=C [ 411s] + export LICENSEDIR [ 411s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64/usr/share/licenses/pkgmgr-server [ 411s] + cp -pr LICENSE /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64/usr/share/licenses/pkgmgr-server [ 411s] + exit 0 [ 411s] Provides: libtidl_pkgmgr_server.so()(64bit) libutil_pkgmgr_server.so()(64bit) pkgmgr-server = 1.0.15-1 pkgmgr-server(aarch-64) = 1.0.15-1 [ 411s] Requires(interp): /bin/sh [ 411s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 411s] Requires(post): /bin/sh [ 411s] Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libaul.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcapi-base-common.so.0()(64bit) libdlog.so.0()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgum.so.0()(64bit) libminizip.so.1()(64bit) libpkgmgr-info.so.0()(64bit) libpkgmgr_installer.so.0()(64bit) libpkgmgr_parser.so.0()(64bit) librpc-port.so.1()(64bit) libstd-173ad5c1e159cc01.so()(64bit) libsystemd.so.0()(64bit) libsystemd.so.0(LIBSYSTEMD_209)(64bit) libtidl_pkgmgr_server.so()(64bit) libtzplatform-config-2.0.so.2()(64bit) libtzplatform-config-2.0.so.2(TPC)(64bit) libutil_pkgmgr_server.so()(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libxml2.so.2(LIBXML2_2.5.0)(64bit) libxml2.so.2(LIBXML2_2.6.0)(64bit) [ 411s] Processing files: pkgmgr-server-debugsource-1.0.15-1.aarch64 [ 411s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 411s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 411s] [ 411s] Provides: pkgmgr-server-debugsource = 1.0.15-1 pkgmgr-server-debugsource(aarch-64) = 1.0.15-1 [ 411s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 411s] Processing files: pkgmgr-server-debuginfo-1.0.15-1.aarch64 [ 411s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 411s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 411s] [ 411s] Provides: pkgmgr-server-debuginfo = 1.0.15-1 pkgmgr-server-debuginfo(aarch-64) = 1.0.15-1 [ 411s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 411s] Recommends: pkgmgr-server-debugsource(aarch-64) = 1.0.15-1 [ 411s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64 [ 411s] Wrote: /home/abuild/rpmbuild/SRPMS/pkgmgr-server-1.0.15-1.src.rpm [ 411s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/pkgmgr-server-1.0.15-1.aarch64.rpm [ 411s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/pkgmgr-server-debugsource-1.0.15-1.aarch64.rpm [ 412s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/pkgmgr-server-debuginfo-1.0.15-1.aarch64.rpm [ 412s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.XihWMn [ 412s] + umask 022 [ 412s] + cd /home/abuild/rpmbuild/BUILD [ 412s] + cd pkgmgr-server-1.0.15 [ 412s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/pkgmgr-server-1.0.15-1.aarch64 [ 412s] + exit 0 [ 412s] ... checking for files with abuild user/group [ 412s] ... creating baselibs [ 413s] [ 413s] ip-192-168-56-52 finished "build pkgmgr-server.spec" at Mon Dec 16 09:46:00 UTC 2024. [ 413s]